Skip to content

Commit bc198c3

Browse files
committed
fix customs prefs in FF120
1 parent e7f0abd commit bc198c3

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

userChrome.css

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
--panel-separator-zap-gradient: linear-gradient(var(--custom-accent-color, #0a84ff), var(--custom-accent-color, #0a84ff)) !important;
7474
}
7575
/* can be manually overridden by pref */
76-
@supports -moz-bool-pref("browser.appmenugradient.overwrite") {
76+
@media (-moz-bool-pref: "browser.appmenugradient.overwrite") {
7777
:root{
7878
--panel-separator-zap-gradient: linear-gradient(var(--custom-accent-color, #0a84ff), var(--custom-accent-color, #0a84ff)) !important;
7979
}
@@ -84,7 +84,7 @@
8484

8585
/* override mozilla min/max/close buttons with default ones (only relevant on linux) */
8686
@media (-moz-gtk-csd-available) {
87-
@supports -moz-bool-pref("browser.windowcontrolbuttons.overwrite") {
87+
@media (-moz-bool-pref: "browser.windowcontrolbuttons.overwrite") {
8888
.titlebar-button:-moz-lwtheme {
8989
appearance: auto !important;
9090
}
@@ -125,10 +125,12 @@ otherwise will change height when tabs overflow [FIXED] */
125125

126126

127127
/* Reduce left spacer on tab bar */
128-
@supports (not (-moz-osx-font-smoothing: auto)) and (not (-moz-bool-pref("browser.lefttabspacer.enable"))) {
129-
.titlebar-spacer[type="pre-tabs"] {
130-
display: none !important;
131-
}
128+
@supports (not (-moz-osx-font-smoothing: auto)){
129+
@media not (-moz-bool-pref:"browser.lefttabspacer.enable") {
130+
.titlebar-spacer[type="pre-tabs"] {
131+
display: none !important;
132+
}
133+
}
132134
}
133135

134136

@@ -225,7 +227,7 @@ otherwise will change height when tabs overflow [FIXED] */
225227

226228

227229
/* squares the profile picture on toolbar if logged into sync AND not disabled by pref */
228-
@supports not -moz-bool-pref("browser.syncavatar.round") {
230+
@media not (-moz-bool-pref:"browser.syncavatar.round") {
229231
#fxa-avatar-image {border-radius: 0 !important;}
230232
}
231233

@@ -235,7 +237,7 @@ otherwise will change height when tabs overflow [FIXED] */
235237

236238

237239
/* option to hide extensions button */
238-
@supports -moz-bool-pref("browser.unifiedextensions.hide") {
240+
@media (-moz-bool-pref:"browser.unifiedextensions.hide") {
239241
#unified-extensions-button {display: none}
240242
}
241243

0 commit comments

Comments
 (0)