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

@@ -38,6 +38,16 @@ See the above repository for updates as well as full license text. */
#main-window[tabsintitlebar]{
background-color: var(--toolbar-bgcolor,accentcolor) !important;;
}
/* This is a workaround for fx 119 specifically for users that use default theme, should remove when 120 is released. See bug 1853524 */
#main-window[tabsintitlebar]:not(:-moz-lwtheme){
--toolbar-bgcolor: #f9f9fb;
}
/* ...and for dark variant */
@media (prefers-color-scheme: dark){
#main-window[tabsintitlebar]:not(:-moz-lwtheme){
--toolbar-bgcolor: rgb(43, 42, 51);
}
}
:root[uidensity="compact"]{ --multirow-toolbar-height: 34px }
:root{ border-top-width: 0px !important }