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)* |
|
||||
| ------------------------------------------------------------------- |
|
||||
| **BROKEN ON NEWER VERSIONS OF FIREFOX** |
|
||||
| **See [Mica Tweak Instructions][3] for installation instructions.** |
|
||||
| **NOTE: Only works on default theme: 'System theme - auto'** |
|
||||
| `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` |
|
||||
|
||||
## Mica Tweak Instructions (Windows 11 Only)
|
||||
NOTE: Broken on newer versions of Firefox.
|
||||
1. Download and install [Mica For Everyone][2].
|
||||
2. Create a custom process rule with the following:
|
||||
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) {
|
||||
@supports -moz-bool-pref("uc.tweak.win11-mica") {
|
||||
/* enable mica appearance */
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue