code cleanup: remove uses of -moz-bool-pref

This commit is contained in:
MrOtherGuy
2025-11-02 06:45:00 +02:00
parent c0eb3732a8
commit 8d3c6ab4fc
19 changed files with 32 additions and 61 deletions
+2 -4
View File
@@ -13,8 +13,7 @@ See the above repository for updates as well as full license text. */
#toolbar-menubar:not([autohide="true"],[autohide=""]) > .titlebar-buttonbox-container{ display: none !important; }
#toolbar-menubar{ left:0 }
@media (-moz-bool-pref: "userchrome.force-window-controls-on-left.enabled"),
-moz-pref("userchrome.force-window-controls-on-left.enabled"),
@media -moz-pref("userchrome.force-window-controls-on-left.enabled"),
(-moz-gtk-csd-reversed-placement),
(-moz-platform: macos){
#TabsToolbar > .titlebar-buttonbox-container{
@@ -66,8 +65,7 @@ See the above repository for updates as well as full license text. */
#urlbar[open]:focus-within{ min-width: var(--uc-urlbar-min-width,none) !important; }
/* Set this pref if you want unpinned tabs to become hidden unless selected */
@media (-moz-bool-pref: "userchrome.hide-unpinned-tabs.enabled"),
-moz-pref("userchrome.hide-unpinned-tabs.enabled"){
@media -moz-pref("userchrome.hide-unpinned-tabs.enabled"){
#alltabs-button{ display: flex !important }
.tabbrowser-tab:not([pinned]):not([selected]){ visibility: collapse }
}