From 1be0e7d40f42c9962a70e9f8e912144c832d22b5 Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Wed, 17 Apr 2024 16:49:19 +0300 Subject: [PATCH] update rules in window_control_force_linux_system_style Fixes #359 The appearance rules are nowadays applied to .toolbarbutton-icon, and not the .titlebar-button itself --- chrome/window_control_force_linux_system_style.css | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/chrome/window_control_force_linux_system_style.css b/chrome/window_control_force_linux_system_style.css index 1f67efe..223c704 100644 --- a/chrome/window_control_force_linux_system_style.css +++ b/chrome/window_control_force_linux_system_style.css @@ -6,19 +6,23 @@ See the above repository for updates as well as full license text. */ .titlebar-button{ list-style-image: none !important; appearance: auto !important; + padding: 0 !important; } .titlebar-button > .toolbarbutton-icon{ + appearance: auto !important; background: none !important; + width: unset !important; + height: unset !important; } -.titlebar-min { +.titlebar-min > .toolbarbutton-icon{ -moz-default-appearance: -moz-window-button-minimize !important; } -.titlebar-max { +.titlebar-max > .toolbarbutton-icon{ -moz-default-appearance: -moz-window-button-maximize !important; } -.titlebar-restore { +.titlebar-restore > .toolbarbutton-icon{ -moz-default-appearance: -moz-window-button-restore !important; } -.titlebar-close { +.titlebar-close > .toolbarbutton-icon{ -moz-default-appearance: -moz-window-button-close !important; } \ No newline at end of file