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 1414use Symfony \Bundle \FullStack ;
1515use Symfony \Bundle \WebProfilerBundle \Csp \ContentSecurityPolicyHandler ;
1616use Symfony \Bundle \WebProfilerBundle \Profiler \TemplateManager ;
17- use Symfony \Component \Finder \SplFileInfo ;
1817use Symfony \Component \HttpFoundation \RedirectResponse ;
1918use Symfony \Component \HttpFoundation \Request ;
2019use Symfony \Component \HttpFoundation \Response ;
Original file line number Diff line number Diff line change 3131{% endblock %}
3232
3333{% block menu %}
34- <span class =" label {{ 0 == collector .templateCount ? ' disabled' }} label-status- " >
34+ <span class =" label {{ 0 == collector .templateCount ? ' disabled' }}" >
3535 <span class =" icon" >{{ source (' @WebProfiler/Icon/twig.svg' ) }}</span >
3636 <strong >Twig</strong >
3737 </span >
Original file line number Diff line number Diff line change 7777}
7878
7979.sf-toolbarreset .hide-button {
80- background: var(--gray-700 );
80+ background: var(--gray-800 );
8181 display: block;
8282 position: absolute;
83- top: 0 ;
83+ top: 2px ;
8484 right: 0;
8585 width: 36px;
86- height: 36px ;
86+ height: 34px ;
8787 cursor: pointer;
8888 text-align: center;
8989 border: none;
9090 margin: 0;
9191 padding: 0;
9292}
93+ .sf-toolbarreset .hide-button:hover {
94+ background: var(--gray-700);
95+ }
9396.sf-toolbarreset .hide-button svg {
9497 max-height: 18px;
9598 margin-top: 1px;
@@ -329,6 +332,15 @@ div.sf-toolbar .sf-toolbar-block .sf-toolbar-info-piece.sf-toolbar-info-php-ext
329332 overflow: hidden;
330333 text-overflow: ellipsis;
331334}
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+
332344.sf-toolbar-block-request .sf-toolbar-icon {
333345 padding-left: 0;
334346 padding-right: 0;
@@ -351,6 +363,9 @@ div.sf-toolbar .sf-toolbar-block .sf-toolbar-info-piece.sf-toolbar-info-php-ext
351363.sf-toolbar-block.sf-toolbar-block-sf-cli .sf-toolbar-label {
352364 margin-left: 0;
353365}
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+ }
354369
355370.sf-toolbar-block:hover,
356371.sf-toolbar-block.hover {
You can’t perform that action at this time.
0 commit comments