Skip to content

Commit 155a1fc

Browse files
havvgfabpot
authored andcommitted
add toolbar & profiler SVG style classes
1 parent 122fae8 commit 155a1fc

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

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

+7-3
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,8 @@ tr.status-warning td {
482482
margin-top: -4px;
483483
vertical-align: middle;
484484
}
485-
#header h1 svg path {
485+
#header h1 svg path,
486+
#header h1 svg .sf-svg-path {
486487
fill: #FFF;
487488
}
488489
#header .search {
@@ -669,7 +670,8 @@ tr.status-warning td {
669670
height: 24px;
670671
max-width: 24px;
671672
}
672-
#menu-profiler li a .label .icon svg path {
673+
#menu-profiler li a .label .icon svg path,
674+
#menu-profiler li a .label .icon svg .sf-svg-path {
673675
fill: #DDD;
674676
}
675677
#menu-profiler li a .label strong {
@@ -696,7 +698,9 @@ tr.status-warning td {
696698
color: #FFF;
697699
}
698700
#menu-profiler li.selected a .icon svg path,
699-
#menu-profiler li a:hover .icon svg path {
701+
#menu-profiler li.selected a .icon svg .sf-svg-path,
702+
#menu-profiler li a:hover .icon svg path,
703+
#menu-profiler li a:hover .icon svg .sf-svg-path {
700704
fill: #FFF;
701705
}
702706

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

+6-2
Original file line numberDiff line numberDiff line change
@@ -259,11 +259,15 @@
259259
color: #FFF;
260260
}
261261
.sf-toolbar-status-green svg path,
262+
.sf-toolbar-status-green svg .sf-svg-path,
262263
.sf-toolbar-status-red svg path,
263-
.sf-toolbar-status-yellow svg path {
264+
.sf-toolbar-status-red svg .sf-svg-path,
265+
.sf-toolbar-status-yellow svg path,
266+
.sf-toolbar-status-yellow svg .sf-svg-path {
264267
fill: #FFF;
265268
}
266-
.sf-toolbar-block-config svg path {
269+
.sf-toolbar-block-config svg path,
270+
.sf-toolbar-block-config svg .sf-svg-path {
267271
fill: #FFF;
268272
}
269273

0 commit comments

Comments
 (0)