From caadb8fc1c68eda9e9c49d566cfe881ca53b9ec2 Mon Sep 17 00:00:00 2001 From: BlaCk_Void Date: Sun, 15 Aug 2021 01:56:52 +0900 Subject: [PATCH] Add: Windows7 Default Theme - fix for #164 --- userChrome.css | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/userChrome.css b/userChrome.css index f9e9cff..dfe6648 100644 --- a/userChrome.css +++ b/userChrome.css @@ -48,8 +48,10 @@ @media (-moz-os-version: windows-win7) { #TabsToolbar:-moz-lwtheme { color: var(--lwt-text-color) !important; + } - /* Remove Aero */ + /* Remove Aero */ + #TabsToolbar { /* Original: radial-gradient(eclipse at bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.5) 80%, transparent) */ background-image: unset !important; } @@ -71,6 +73,24 @@ } } + /*= Windows7 - Aero Based Theme ============================================*/ + @media (-moz-os-version: windows-win7) { + #TabsToolbar:not(:-moz-lwtheme) { + --background-color: rgb(229, 229, 235); + } + .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]) { + 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); + } + } + /*= Windows10 - Titlebar accent color ======================================*/ @media (-moz-windows-accent-color-in-titlebar) { /* Tab Bar */