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

@@ -3,8 +3,7 @@ See the above repository for updates as well as full license text. */
/* This reorders toolbar to place tabs below other toolbars. Requires Firefox 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{
@@ -12,8 +11,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"){
.global-notificationbox,
#tab-notification-deck,
#notifications-toolbar,
@@ -39,8 +37,7 @@ See the above repository for updates as well as full license text. */
> .titlebar-spacer[type="post-tabs"]{
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"]{