8000 bug #27758 [WebProfilerBundle] Prevent toolbar links color override b… · symfony/symfony@46a32f1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 46a32f1

Browse files
committed
bug #27758 [WebProfilerBundle] Prevent toolbar links color override by css (alcalyn)
This PR was merged into the 2.8 branch. Discussion ---------- [WebProfilerBundle] Prevent toolbar links color override by css | Q | A | ------------- | --- | Branch? | 2.8 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #27658 | License | MIT | Doc PR | Fixes this issue: #27658 (comment) Links color in toolbar can be easily override by application css. As this could happens sometimes, this PR set links color with a stronger CSS precedence. Commits ------- e12e217 Prevent toolbar links color override by css
2 parents 1de685a + e12e217 commit 46a32f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,11 @@
150150
margin-bottom: 0;
151151
}
152152

153-
.sf-toolbar-block .sf-toolbar-info-piece a {
153+
div.sf-toolbar .sf-toolbar-block .sf-toolbar-info-piece a {
154154
color: #99CDD8;
155155
text-decoration: underline;
156156
}
157-
.sf-toolbar-block .sf-toolbar-info-piece a:hover {
157+
div.sf-toolbar .sf-toolbar-block a:hover {
158158
text-decoration: none;
159159
}
160160

0 commit comments

Comments
 (0)
0