Fix window buttons not working #101
This commit is contained in:
parent
71a4bbd932
commit
879abab444
3 changed files with 5 additions and 2 deletions
|
@ -73,6 +73,7 @@ To disable a tweak, set the key to `false` or delete it, then restart the browse
|
||||||
|
|
||||||
| enable Mica toolbar background *(Windows 11 only)* |
|
| enable Mica toolbar background *(Windows 11 only)* |
|
||||||
| ------------------------------------------------------------------- |
|
| ------------------------------------------------------------------- |
|
||||||
|
| **BROKEN ON NEWER VERSIONS OF FIREFOX** |
|
||||||
| **See [Mica Tweak Instructions][3] for installation instructions.** |
|
| **See [Mica Tweak Instructions][3] for installation instructions.** |
|
||||||
| **NOTE: Only works on default theme: 'System theme - auto'** |
|
| **NOTE: Only works on default theme: 'System theme - auto'** |
|
||||||
| `uc.tweak.win11-mica` |
|
| `uc.tweak.win11-mica` |
|
||||||
|
@ -105,6 +106,7 @@ To disable a tweak, set the key to `false` or delete it, then restart the browse
|
||||||
| `uc.tweak.show-tab-close-button-on-hover` |
|
| `uc.tweak.show-tab-close-button-on-hover` |
|
||||||
|
|
||||||
## Mica Tweak Instructions (Windows 11 Only)
|
## Mica Tweak Instructions (Windows 11 Only)
|
||||||
|
NOTE: Broken on newer versions of Firefox.
|
||||||
1. Download and install [Mica For Everyone][2].
|
1. Download and install [Mica For Everyone][2].
|
||||||
2. Create a custom process rule with the following:
|
2. Create a custom process rule with the following:
|
||||||
1. Name: `firefox`
|
1. Name: `firefox`
|
||||||
|
|
|
@ -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) {
|
@media (-moz-windows-compositor) {
|
||||||
@supports -moz-bool-pref("uc.tweak.win11-mica") {
|
@supports -moz-bool-pref("uc.tweak.win11-mica") {
|
||||||
/* enable mica appearance */
|
/* enable mica appearance */
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
/* windows 11 style window controls (no known way to detect between windows 10
|
/* windows 11 style window controls (no known way to detect between windows 10
|
||||||
and 11 so applied to both) */
|
and 11 so applied to both) */
|
||||||
@media (-moz-windows-compositor),
|
@media (-moz-platform: windows),
|
||||||
(-moz-gtk-csd-available) {
|
(-moz-gtk-csd-available) {
|
||||||
.titlebar-min {
|
.titlebar-min {
|
||||||
list-style-image: url("win11-minimize.svg") !important;
|
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
|
/* darkmode icon that uses thicker strokes and is easier to see (only needed
|
||||||
at 1x scale) */
|
at 1x scale) */
|
||||||
@media (max-resolution: 1dppx) {
|
@media (max-resolution: 1dppx) {
|
||||||
:root[lwtheme-brighttext="true"] .titlebar-close,
|
toolbar[brighttext] .titlebar-close,
|
||||||
.titlebar-close:hover {
|
.titlebar-close:hover {
|
||||||
list-style-image: url("win11-close-dark.svg") !important;
|
list-style-image: url("win11-close-dark.svg") !important;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue