Fix window buttons not working #101

This commit is contained in:
bmFtZQ 2023-10-25 20:35:15 +08:00
parent 71a4bbd932
commit 879abab444
3 changed files with 5 additions and 2 deletions

View file

@ -142,6 +142,7 @@ bugs with certain themes eg. dark text on dark background.) */
}
}
/* Mica broken on newer versions of Firefox */
@media (-moz-windows-compositor) {
@supports -moz-bool-pref("uc.tweak.win11-mica") {
/* enable mica appearance */

View file

@ -2,7 +2,7 @@
/* windows 11 style window controls (no known way to detect between windows 10
and 11 so applied to both) */
@media (-moz-windows-compositor),
@media (-moz-platform: windows),
(-moz-gtk-csd-available) {
.titlebar-min {
list-style-image: url("win11-minimize.svg") !important;
@ -23,7 +23,7 @@ and 11 so applied to both) */
/* darkmode icon that uses thicker strokes and is easier to see (only needed
at 1x scale) */
@media (max-resolution: 1dppx) {
:root[lwtheme-brighttext="true"] .titlebar-close,
toolbar[brighttext] .titlebar-close,
.titlebar-close:hover {
list-style-image: url("win11-close-dark.svg") !important;
}