diff --git a/userChrome.css b/userChrome.css index 82d6445..1cd3c1f 100644 --- a/userChrome.css +++ b/userChrome.css @@ -4,8 +4,10 @@ :root[lwtheme-mozlightdark]:not([lwthemetextcolor="bright"]) { --lwt-accent-color: rgb(229, 229, 235) !important; /* Original: rgb(240, 240, 244) */ } - :root[lwtheme-mozlightdark]:not([lwthemetextcolor="bright"]) #navigator-toolbox { - background-color: var(--lwt-accent-color); + @media not all and ((-moz-os-version: windows-win7) or (-moz-os-version: windows-win8)) { /* Level 4 */ + :root[lwtheme-mozlightdark]:not([lwthemetextcolor="bright"]) #navigator-toolbox { + background-color: var(--lwt-accent-color); + } } /*= Darkmode - Color lighter ===============================================*/ @@ -86,17 +88,20 @@ #TabsToolbar:not(:-moz-lwtheme) { --background-color: rgb(229, 229, 235); } - .tabbrowser-tab > .tab-stack > .tab-background:not([selected="true"], [multiselected]) { + #TabsToolbar:not(:-moz-lwtheme) .tabbrowser-tab > .tab-stack > .tab-background:not([selected="true"], [multiselected]) { color: var(--background-color); background-color: color-mix(in srgb, currentColor 60%, transparent); } - .tabbrowser-tab:hover > .tab-stack > .tab-background:not([selected="true"], [multiselected]) { + #TabsToolbar:not(:-moz-lwtheme) .tabbrowser-tab:hover > .tab-stack > .tab-background:not([selected="true"], [multiselected]) { background-color: color-mix(in srgb, currentColor 85%, transparent) !important; /* Original: color-mix(in srgb, currentColor 11%, transparent) */ } - #TabsToolbar:not(:-moz-lwtheme) .toolbarbutton-1 > .toolbarbutton-icon { - color: var(--background-color); - background-color: color-mix(in srgb, currentColor 50%, transparent); - } + #scrollbutton-up:not(:-moz-lwtheme), + #scrollbutton-down:not(:-moz-lwtheme), + #alltabs-button:not(:-moz-lwtheme) > .toolbarbutton-badge-stack, + #TabsToolbar:not(:-moz-lwtheme) .toolbarbutton-1 > .toolbarbutton-icon { + color: var(--background-color) !important; + background-color: color-mix(in srgb, currentColor 50%, transparent); + } } /*= Windows10 - Titlebar accent color ======================================*/