From faf976602e9f51bc16bff45314dc4149ec6daea4 Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Mon, 13 Nov 2023 05:32:41 +0200 Subject: [PATCH] hide tabs toolbar: Add light-dark workaround for default theme --- chrome/hide_tabs_toolbar.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/chrome/hide_tabs_toolbar.css b/chrome/hide_tabs_toolbar.css index 1dcf560..1a8a59c 100644 --- a/chrome/hide_tabs_toolbar.css +++ b/chrome/hide_tabs_toolbar.css @@ -52,4 +52,14 @@ Window controls will be all wrong without it opacity: 0; pointer-events: none; margin-left: var(--uc-window-drag-space-pre,0px) +} +/* 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-non-lwt-bgcolor: #f9f9fb !important; +} +/* ...and for dark variant */ +@media (prefers-color-scheme: dark){ + :root:not(:-moz-lwtheme){ + --toolbar-non-lwt-bgcolor: rgb(43, 42, 51) !important; + } } \ No newline at end of file