Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fcd658e

Browse filesBrowse files
minor #40475 Be explicit about anchor background color in profiler toolbar (bezin)
This PR was merged into the 4.4 branch. Discussion ---------- Be explicit about anchor background color in profiler toolbar | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | License | MIT Hello, we have a project where we work with background colors on links. When we define this in our stylesheet, the Web Profiler picks these styles up due to the cascade. We added two CSS statements to the Web Profiler stylesheet to be explicit about the transparent background. ![2021-03-15 16_10_08](https://user-images.githubusercontent.com/4400435/111176325-860e8d80-85a9-11eb-82c4-7954aa01245a.png) ![2021-03-15 16_10_30](https://user-images.githubusercontent.com/4400435/111176328-86a72400-85a9-11eb-9515-280c5593a288.png) Commits ------- f0cac47 Be explicit about transparent background color of links in toolbar
2 parents ff9c815 + f0cac47 commit fcd658e
Copy full SHA for fcd658e

File tree

Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/toolbar.css.twig
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@
100100
.sf-toolbar-block > a:hover {
101101
display: block;
102102
text-decoration: none;
103+
background-color: transparent;
103104
color: inherit;
104105
}
105106

@@ -238,6 +239,7 @@ div.sf-toolbar .sf-toolbar-block a:hover {
238239
padding: 0 10px;
239240
}
240241
.sf-toolbar-block-request .sf-toolbar-info-piece a {
242+
background-color: transparent;
241243
text-decoration: none;
242244
}
243245
.sf-toolbar-block-request .sf-toolbar-info-piece a:hover {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.