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

View File

@@ -2,8 +2,7 @@
See the above repository for updates as well as full license text. */
/* Requires Fx 133+ */
@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"){
#nav-bar > .titlebar-buttonbox-container{
order: -1 !important;
> .titlebar-buttonbox{
@@ -11,8 +10,7 @@ See the above repository for updates as well as full license text. */
}
}
}
@media not (-moz-bool-pref: "sidebar.verticalTabs"),
not -moz-pref("sidebar.verticalTabs"){
@media not -moz-pref("sidebar.verticalTabs"){
#main-window > body{
display: grid !important;
grid-template-rows: repeat(8,max-content) 1fr;
@@ -55,8 +53,7 @@ See the above repository for updates as well as full license text. */
display: flex !important;
}
}
@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){
> .titlebar-spacer[type="post-tabs"]{
@@ -67,8 +64,7 @@ See the above repository for updates as well as full license text. */
}
}
}
@media (-moz-bool-pref: "browser.fullscreen.autohide"),
-moz-pref("browser.fullscreen.autohide"){
@media -moz-pref("browser.fullscreen.autohide"){
#main-window[sizemode="fullscreen"]:not([inDOMFullscreen]){
> body {
grid-template-rows: repeat(8,0px) 1fr;