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

@@ -40,6 +40,16 @@ This will NOT work correctly if you have hidden tabs such as with tab groups ext
:where(#nav-bar){
border-inline: var(--uc-window-drag-space-width,0) solid 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 */
:root:not(:-moz-lwtheme){
--toolbar-bgcolor: #f9f9fb;
}
/* ...and for dark variant */
@media (prefers-color-scheme: dark){
:root:not(:-moz-lwtheme){
--toolbar-bgcolor: rgb(43, 42, 51);
}
}
@media (-moz-platform: linux){
#TabsToolbar .titlebar-buttonbox{
align-items: stretch !important;