From ff76fdc7c3a60b0f1da506973b239950c77187af Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Fri, 3 Sep 2021 16:57:43 +0900 Subject: [PATCH] Add: Global Menubar - Active color at linux --- userChrome.css | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/userChrome.css b/userChrome.css index 56b6cb3..a64cc80 100644 --- a/userChrome.css +++ b/userChrome.css @@ -70,7 +70,8 @@ --tabs-border-color: rgba(0, 0, 0, 0.3); } - /** Windows 7, 8 - Compatibility ********************************************/ + /** OS - Compatibility ******************************************************/ + /*= Windows 7, 8 - Tab Bar Background ***************************************/ @media (-moz-os-version: windows-win7), (-moz-os-version: windows-win8) { /* Header Color */ :root:not([lwtheme-image]) #navigator-toolbox:-moz-lwtheme { @@ -89,6 +90,15 @@ } } + /*= Linux- Global Menubar Active Color =====================================*/ + @media (-moz-gtk-csd-available) { + #main-menubar > menu[open="true"], + #main-menubar > menu[_moz-menuactive="true"] { + color: inherit !important; /* Original: -moz-menubarhovertext */ + background-color: color-mix(in srgb, currentColor 20%, transparent) !important; /* Original: -moz-menuhover */ + } + } + /** System Default Theme ****************************************************/ /*= Common - URL Bar focus color ===========================================*/ @media (-moz-windows-accent-color-in-titlebar), (-moz-gtk-csd-available) {