Skip to content

Commit fac5391

Browse files
committed
Lots of minor improvements
1 parent ef53850 commit fac5391

File tree

2 files changed

+6
-34
lines changed

2 files changed

+6
-34
lines changed

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

Lines changed: 5 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@
232232
color: #FFF;
233233
font-size: 14px;
234234
margin-right: 4px;
235+
max-height: 36px;
235236
padding: 10px;
236237
}
237238

@@ -389,55 +390,26 @@
389390
/***** Override the setting when the toolbar is on the top *****/
390391
{% if position == 'top' %}
391392
.sf-minitoolbar {
392-
top: 0;
393393
bottom: auto;
394394
right: 0;
395-
396-
background-color: #f7f7f7;
397-
398-
background-image: -moz-linear-gradient(225deg, #e4e4e4, #ffffff);
399-
background-image: -webkit-gradient(linear, 100% 0%, 0% 0%, from(#e4e4e4), to(#ffffff));
400-
background-image: -o-linear-gradient(135deg, #e4e4e4, #ffffff);
401-
background: linear-gradient(225deg, #e4e4e4, #ffffff);
402-
403-
border-radius: 0 0 0 16px;
395+
top: 0;
404396
}
405397

406398
.sf-toolbarreset {
407-
background-image: -moz-linear-gradient(225deg, #e4e4e4, #ffffff);
408-
background-image: -webkit-gradient(linear, 100% 0%, 0% 0%, from(#e4e4e4), to(#ffffff));
409-
background-image: -o-linear-gradient(135deg, #e4e4e4, #ffffff);
410-
background: linear-gradient(225deg, #e4e4e4, #ffffff);
411-
412-
top: 0;
413399
bottom: auto;
414-
border-bottom: 1px solid #bbb;
400+
box-shadow: 0 1px 0px rgba(0, 0, 0, 0.2);
401+
top: 0;
415402
}
416403

417404
.sf-toolbar-block .sf-toolbar-info {
418-
top: 39px;
419405
bottom: auto;
420-
border-top-width: 0;
421-
border-radius: 0 0 4px 4px;
422-
}
423-
424-
.sf-toolbar-block:hover .sf-toolbar-icon {
425-
border-top: none;
426-
border-bottom: 1px dotted #DDD;
427-
margin-top: 0;
428-
margin-bottom: -1px;
406+
top: 36px;
429407
}
430408
{% endif %}
431409

432410
{% if not floatable %}
433411
.sf-toolbarreset {
434412
position: static;
435-
background: #cbcbcb;
436-
437-
background-image: -moz-linear-gradient(90deg, #cbcbcb, #e8e8e8) !important;
438-
background-image: -webkit-gradient(linear, 0% 0%, 100% 0%, from(#cbcbcb), to(#e8e8e8)) !important;
439-
background-image: -o-linear-gradient(180deg, #cbcbcb, #e8e8e8) !important;
440-
background: linear-gradient(90deg, #cbcbcb, #e8e8e8) !important;
441413
}
442414
{% endif %}
443415

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div class="sf-toolbar-block sf-toolbar-block-{{ name }} sf-toolbar-status-{{ status|default('normal') }}">
22
{% if link %}<a href="{{ path('_profiler', { token: token, panel: name }) }}">{% endif %}
33
<div class="sf-toolbar-icon">{{ icon|default('') }}</div>
4-
<div class="sf-toolbar-info">{{ text|default('') }}</div>
54
{% if link %}</a>{% endif %}
5+
<div class="sf-toolbar-info">{{ text|default('') }}</div>
66
</div>

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