From 0f1571231e73eba84ea9949584e517acbc55c1c8 Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Sun, 29 Oct 2023 15:34:19 +0200 Subject: [PATCH] Add !important tag where --toolbar-bgcolor is defined on :root --- chrome/hide_tabs_with_one_tab.css | 4 ++-- chrome/multi-row_tabs_below_content.css | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/chrome/hide_tabs_with_one_tab.css b/chrome/hide_tabs_with_one_tab.css index d4b566b..c60646e 100644 --- a/chrome/hide_tabs_with_one_tab.css +++ b/chrome/hide_tabs_with_one_tab.css @@ -42,12 +42,12 @@ This will NOT work correctly if you have hidden tabs such as with tab groups ext } /* 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; + --toolbar-bgcolor: #f9f9fb !important; } /* ...and for dark variant */ @media (prefers-color-scheme: dark){ :root:not(:-moz-lwtheme){ - --toolbar-bgcolor: rgb(43, 42, 51); + --toolbar-bgcolor: rgb(43, 42, 51) !important; } } @media (-moz-platform: linux){ diff --git a/chrome/multi-row_tabs_below_content.css b/chrome/multi-row_tabs_below_content.css index fecf96e..b42a800 100644 --- a/chrome/multi-row_tabs_below_content.css +++ b/chrome/multi-row_tabs_below_content.css @@ -40,12 +40,12 @@ See the above repository for updates as well as full license text. */ } /* 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; + --toolbar-bgcolor: #f9f9fb !important; } /* ...and for dark variant */ @media (prefers-color-scheme: dark){ #main-window[tabsintitlebar]:not(:-moz-lwtheme){ - --toolbar-bgcolor: rgb(43, 42, 51); + --toolbar-bgcolor: rgb(43, 42, 51) !important; } } :root[uidensity="compact"]{ --multirow-toolbar-height: 34px }