From 39cb78f8830938c1ef1c82a6b15f0f0446f044d0 Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Fri, 10 Dec 2021 09:16:54 +0900 Subject: [PATCH] Fix: Titlebar button - Makes to default at linux lwtheme #290 --- userChrome.css | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/userChrome.css b/userChrome.css index 2ce5c58..e18874c 100644 --- a/userChrome.css +++ b/userChrome.css @@ -185,13 +185,26 @@ } } -/*= Linux - Global Menubar Active Color ======================================*/ @media (-moz-gtk-csd-available) { + /*= Linux - Global Menubar Active Color ====================================*/ #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 */ } + + /*= Linux - Titlebar button at lwtheme =====================================*/ + .titlebar-button:-moz-lwtheme { + appearance: auto !important; + } + .titlebar-min:-moz-lwtheme, .titlebar-max:-moz-lwtheme, .titlebar-restore:-moz-lwtheme, .titlebar-close:-moz-lwtheme { + list-style-image: none !important; + } + .titlebar-button:-moz-lwtheme:hover, + .titlebar-button:-moz-lwtheme:hover:active { + background-color: unset !important; + color: unset !important; + } } /*= Linux - Light System Default Theme's Selected Tab ========================*/