File tree Expand file tree Collapse file tree 3 files changed +19
-5
lines changed
src/Symfony/Bundle/WebProfilerBundle Expand file tree Collapse file tree 3 files changed +19
-5
lines changed Original file line number Diff line number Diff line change 14
14
use Symfony \Bundle \FullStack ;
15
15
use Symfony \Bundle \WebProfilerBundle \Csp \ContentSecurityPolicyHandler ;
16
16
use Symfony \Bundle \WebProfilerBundle \Profiler \TemplateManager ;
17
- use Symfony \Component \Finder \SplFileInfo ;
18
17
use Symfony \Component \HttpFoundation \RedirectResponse ;
19
18
use Symfony \Component \HttpFoundation \Request ;
20
19
use Symfony \Component \HttpFoundation \Response ;
Original file line number Diff line number Diff line change 31
31
{% endblock %}
32
32
33
33
{% block menu %}
34
- <span class =" label {{ 0 == collector .templateCount ? ' disabled' }} label-status- " >
34
+ <span class =" label {{ 0 == collector .templateCount ? ' disabled' }}" >
35
35
<span class =" icon" >{{ source (' @WebProfiler/Icon/twig.svg' ) }}</span >
36
36
<strong >Twig</strong >
37
37
</span >
Original file line number Diff line number Diff line change 77
77
}
78
78
79
79
.sf-toolbarreset .hide-button {
80
- background: var(--gray-700 );
80
+ background: var(--gray-800 );
81
81
display: block;
82
82
position: absolute;
83
- top: 0 ;
83
+ top: 2px ;
84
84
right: 0;
85
85
width: 36px;
86
- height: 36px ;
86
+ height: 34px ;
87
87
cursor: pointer;
88
88
text-align: center;
89
89
border: none;
90
90
margin: 0;
91
91
padding: 0;
92
92
}
93
+ .sf-toolbarreset .hide-button:hover {
94
+ background: var(--gray-700);
95
+ }
93
96
.sf-toolbarreset .hide-button svg {
94
97
max-height: 18px;
95
98
margin-top: 1px;
@@ -329,6 +332,15 @@ div.sf-toolbar .sf-toolbar-block .sf-toolbar-info-piece.sf-toolbar-info-php-ext
329
332
overflow: hidden;
330
333
text-overflow: ellipsis;
331
334
}
335
+ .sf-toolbar-block:hover .sf-toolbar-icon {
336
+ border-bottom-left-radius: 4px;
337
+ border-bottom-right-radius: 4px;
338
+ box-shadow: 2px 0 0 var(--black), inset 0 -2px 0 var(--black);
339
+ }
340
+ .sf-toolbar-block.sf-toolbar-block-right:hover .sf-toolbar-icon {
341
+ box-shadow: -2px 0 0 var(--black), inset 0 -2px 0 var(--black);
342
+ }
343
+
332
344
.sf-toolbar-block-request .sf-toolbar-icon {
333
345
padding-left: 0;
334
346
padding-right: 0;
@@ -351,6 +363,9 @@ div.sf-toolbar .sf-toolbar-block .sf-toolbar-info-piece.sf-toolbar-info-php-ext
351
363
.sf-toolbar-block.sf-toolbar-block-sf-cli .sf-toolbar-label {
352
364
margin-left: 0;
353
365
}
366
+ .sf-toolbar-block.sf-toolbar-block-sf-cli:hover .sf-toolbar-icon {
367
+ box-shadow: 2px 0 0 var(--black), inset 0 -2px 0 var(--black);
368
+ }
354
369
355
370
.sf-toolbar-block:hover,
356
371
.sf-toolbar-block.hover {
You can’t perform that action at this time.
0 commit comments