From 568c1cd86bad084a25345a10d357ce1d2a73b9cd Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Thu, 26 Aug 2021 08:59:45 +0300 Subject: [PATCH] create a few exceptions for default light theme colors This lets default light theme to use toolbar-bgcolor for the selected theme as well as make the line atop of selected tab (with default light theme) show as blue as per Photon styling. --- chrome/non_floating_sharp_tabs.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/chrome/non_floating_sharp_tabs.css b/chrome/non_floating_sharp_tabs.css index 51f7bad..bd0cb57 100644 --- a/chrome/non_floating_sharp_tabs.css +++ b/chrome/non_floating_sharp_tabs.css @@ -29,9 +29,12 @@ See the above repository for updates as well as full license text. */ #TabsToolbar{ --toolbarbutton-inner-padding: 7px !important; } -#navigator-toolbox:not([movingtab]) > #titlebar > #TabsToolbar{ +/* Few exceptions for default light theme */ +#navigator-toolbox:not([movingtab]):-moz-lwtheme > #titlebar > #TabsToolbar{ --toolbar-bgcolor: transparent; } +#TabsToolbar:not(:-moz-lwtheme){ --tab-line-color: transparent; } +.tab-background[selected]:not(:-moz-lwtheme){ background: var(--toolbar-bgcolor) !important; } #TabsToolbar .toolbarbutton-1 > .toolbarbutton-badge-stack, #TabsToolbar .toolbarbutton-1 > .toolbarbutton-icon{ border-radius: 2px !important; }