fx 119 workaround: apply --toolbar-bgcolor workaround for a few styles

This applies same kind of change to a few styles that was introduced for
autohide_bookmarks_toolbar.css in #315
This commit is contained in:
MrOtherGuy
2023-10-29 12:31:59 +02:00
parent 2b284ede80
commit a6f9e49d12
5 changed files with 52 additions and 3 deletions

View File

@@ -60,7 +60,16 @@ As a workaround, the -moz-element background image is removed somewhat often whi
}
/* If you use a theme where urlbar is partially transparent you should edit this color to something that closely matches the perceived color of urlbar. Or perhaps use background-image - linear-gradient() can work well here. But keep the color or image opaque or otherwise you'll face an issue where urlbar text bleeds through */
#statuspanel{ background-color: var(--toolbar-bgcolor) }
/* This is a workaround for fx 119 specifically for users that use default theme, should remove when 120 is released. See bug 1853524 */
#statuspanel:not(:-moz-lwtheme){
background-color: #f9f9fb;
}
/* ...and for dark variant */
@media (prefers-color-scheme: dark){
#statuspanel:not(:-moz-lwtheme){
background-color: rgb(43, 42, 51);
}
}
#statuspanel{
color: var(--toolbar-field-color, black);
z-index: -1;