Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7ac6822

Browse files
committed
Tweaked again the button to logout from the application
1 parent bb58f18 commit 7ac6822

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed

src/Symfony/Bundle/SecurityBundle/Resources/views/Collector/security.html.twig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
{% endif %}
2727
{% if collector.providerKey %}
2828
<div class="sf-toolbar-info-piece">
29-
<a class="sf-btn" title="Logout from the {{ collector.providerKey }} firewall" href="{{ logout_path(collector.providerKey) }}"><span class="sf-icon sf-danger">&times;</span> Logout</a>
29+
<b>Actions</b>
30+
<a class="sf-btn" title="Logout from the {{ collector.providerKey }} firewall" href="{{ logout_path(collector.providerKey) }}">Logout</a>
3031
</div>
3132
{% endif %}
3233
{% elseif collector.enabled %}

src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/toolbar.css.twig

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -126,28 +126,28 @@
126126
}
127127

128128
.sf-toolbar-block .sf-toolbar-info-piece .sf-btn {
129-
background: #F5F5F5;
130-
border: 1px solid #CCC;
131-
border-radius: 4px;
132-
display: inline-block;
129+
padding: 4px 8px;
133130
font-weight: bold;
134-
text-decoration: none;
135-
margin-top: 2px;
136-
padding: 1px 6px;
131+
color: #333;
132+
white-space: nowrap;
133+
vertical-align: middle;
134+
cursor: pointer;
135+
background-color: #EEE;
136+
background-image: -webkit-linear-gradient(#FCFCFC, #EEE);
137+
background-image: linear-gradient(#FCFCFC, #EEE);
138+
border: 1px solid #D5D5D5;
139+
border-radius: 3px;
137140
}
138141

139142
.sf-toolbar-block .sf-toolbar-info-piece .sf-btn:hover {
140143
background: #FAFAFA;
144+
text-decoration: none;
141145
}
142146

143147
.sf-toolbar-block .sf-toolbar-info-piece .sf-btn:active {
144148
border-style: inset;
145149
}
146150

147-
.sf-toolbar-block .sf-toolbar-info-piece .sf-icon.sf-danger {
148-
color: #A33;
149-
}
150-
151151
.sf-toolbar-block .sf-toolbar-info-with-next-pointer:after {
152152
content: ' :: ';
153153
color: #999;

0 commit comments

Comments
 (0)