From bcac6caf338b5aaed798ccae4cbdab97f0342298 Mon Sep 17 00:00:00 2001 From: BlaCk_Void Date: Wed, 15 Sep 2021 04:18:40 +0900 Subject: [PATCH] Fix: Menu Color - disabled, meubar menu at Windows7 --- userChrome.css | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/userChrome.css b/userChrome.css index 7845b5b..01e7d01 100644 --- a/userChrome.css +++ b/userChrome.css @@ -100,6 +100,11 @@ #context-navigation > menuitem { border: 1px solid transparent; /* Need reduce 2px at menu */ } + + #main-menubar > menu[open="true"], + #main-menubar > menu[_moz-menuactive="true"] { + background-color: -moz-menuhover !important; /* Make to original */ + } } @media (-moz-os-version: windows-win7) { @@ -110,8 +115,8 @@ } menu[_moz-menuactive="true"][disabled="disabled"], menuitem[_moz-menuactive="true"][disabled="true"] { - background-color: transparent; - border-color: transparent; + background-color: color-mix(in srgb, currentColor 5%, transparent) !important; + border-color: color-mix(in srgb, currentColor 60%, transparent) !important; } } @media (-moz-os-version: windows-win8) { @@ -125,11 +130,6 @@ background-color: color-mix(in srgb, currentColor 17%, transparent) !important; border-color: color-mix(in srgb, currentColor 80%, transparent) !important; } - - #main-menubar > menu[open="true"], - #main-menubar > menu[_moz-menuactive="true"] { - background-color: -moz-menuhover !important; /* Make to original */ - } } /*= Linux- Global Menubar Active Color =====================================*/