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
This commit is contained in:
MrOtherGuy
2024-04-17 16:49:19 +03:00
parent 822be8f660
commit 1be0e7d40f
@@ -6,19 +6,23 @@ See the above repository for updates as well as full license text. */
.titlebar-button{ .titlebar-button{
list-style-image: none !important; list-style-image: none !important;
appearance: auto !important; appearance: auto !important;
padding: 0 !important;
} }
.titlebar-button > .toolbarbutton-icon{ .titlebar-button > .toolbarbutton-icon{
appearance: auto !important;
background: none !important; background: none !important;
width: unset !important;
height: unset !important;
} }
.titlebar-min { .titlebar-min > .toolbarbutton-icon{
-moz-default-appearance: -moz-window-button-minimize !important; -moz-default-appearance: -moz-window-button-minimize !important;
} }
.titlebar-max { .titlebar-max > .toolbarbutton-icon{
-moz-default-appearance: -moz-window-button-maximize !important; -moz-default-appearance: -moz-window-button-maximize !important;
} }
.titlebar-restore { .titlebar-restore > .toolbarbutton-icon{
-moz-default-appearance: -moz-window-button-restore !important; -moz-default-appearance: -moz-window-button-restore !important;
} }
.titlebar-close { .titlebar-close > .toolbarbutton-icon{
-moz-default-appearance: -moz-window-button-close !important; -moz-default-appearance: -moz-window-button-close !important;
} }