Icon and a fix

- now has an option to enable icon visibility
- yellow minimize, green maximize, just like Steve wanted
This commit is contained in:
DinnoDEV 2025-04-01 07:01:13 +07:00 committed by GitHub
parent 48f6105fd9
commit 15000b9fb9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 27 additions and 12 deletions

View file

@ -33,6 +33,17 @@
visibility: collapse !important; visibility: collapse !important;
} }
@media (-moz-bool-pref: "theme.zen-minimal-exit-menu.enable-icon-visibility"){
.titlebar-button > image {
visibility: visible !important;
max-height: 8px !important;
max-width: 8px !important;
position: relative !important;
left: 2.55px !important;
filter: brightness(0) !important;
}
}
@media (-moz-bool-pref: "theme.zen-minimal-exit-menu.enable-macos-identic") { @media (-moz-bool-pref: "theme.zen-minimal-exit-menu.enable-macos-identic") {
.titlebar-button:hover { .titlebar-button:hover {
opacity: 0.25 !important; opacity: 0.25 !important;
@ -45,11 +56,11 @@
} }
.titlebar-min:hover { .titlebar-min:hover {
background-color: hsl(130, 50%, 40%) !important; background-color: hsl(60, 50%, 50%) !important;
} }
.titlebar-max:hover, .titlebar-restore:hover { .titlebar-max:hover, .titlebar-restore:hover {
background-color: hsl(60, 50%, 50%) !important; background-color: hsl(130, 50%, 40%) !important;
} }
.titlebar-close:hover { .titlebar-close:hover {

View file

@ -1,11 +1,15 @@
[ [
{ {
"property": "theme.zen-minimal-exit-menu.enable-macos-identic", "property": "theme.zen-minimal-exit-menu.enable-macos-identic",
"label": "Makes theme more identical to MacOS version.", "label": "Makes theme more identical to MacOS version.",
"defaultValue": "false", "defaultValue": "false",
"disabledOn": [ "disabledOn": ["macos"],
"macos" "type": "checkbox"
], },
"type": "checkbox" {
} "property": "theme.zen-minimal-exit-menu.enable-icon-visibility",
"label": "Shows the window icons.",
"defaultValue": "false",
"type": "checkbox"
}
] ]