Skip to content

Commit f531ed2

Browse files
committed
Misc fixes and tweaks
1 parent 2b9b456 commit f531ed2

File tree

3 files changed

+19
-5
lines changed

3 files changed

+19
-5
lines changed

src/Symfony/Bundle/WebProfilerBundle/Controller/ProfilerController.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
use Symfony\Bundle\FullStack;
1515
use Symfony\Bundle\WebProfilerBundle\Csp\ContentSecurityPolicyHandler;
1616
use Symfony\Bundle\WebProfilerBundle\Profiler\TemplateManager;
17-
use Symfony\Component\Finder\SplFileInfo;
1817
use Symfony\Component\HttpFoundation\RedirectResponse;
1918
use Symfony\Component\HttpFoundation\Request;
2019
use Symfony\Component\HttpFoundation\Response;

src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/twig.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
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>

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

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,19 +77,22 @@
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 {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy