Replace uses of -moz-bool-pref with -moz-pref
This new media query feature replaces the old -moz-bool-pref in Firefox
137. -moz-pref can be used to also query values of string and number
prefs
This commit is contained in:
@@ -8,7 +8,8 @@ See the above repository for updates as well as full license text. */
|
||||
--uc-tabs-hide-animation-delay: 200ms;
|
||||
}
|
||||
|
||||
@media (-moz-bool-pref: "sidebar.verticalTabs"){
|
||||
@media (-moz-bool-pref: "sidebar.verticalTabs"),
|
||||
-moz-pref("sidebar.verticalTabs"){
|
||||
#sidebar-main{
|
||||
overflow: visible !important;
|
||||
max-width: var(--tab-collapsed-width) !important;
|
||||
@@ -37,7 +38,8 @@ See the above repository for updates as well as full license text. */
|
||||
}
|
||||
}
|
||||
}
|
||||
@media not (-moz-bool-pref: "sidebar.verticalTabs"){
|
||||
@media not (-moz-bool-pref: "sidebar.verticalTabs"),
|
||||
not -moz-pref("sidebar.verticalTabs"){
|
||||
:root:not([customizing],[chromehidden~="menubar"]) #navigator-toolbox:hover,
|
||||
:root:not([customizing],[chromehidden~="menubar"]) #TabsToolbar{
|
||||
margin-bottom: calc(0px - 2 * var(--tab-block-margin) - var(--tab-min-height));
|
||||
@@ -59,7 +61,8 @@ See the above repository for updates as well as full license text. */
|
||||
transition-delay: 18ms, 0ms !important;
|
||||
}
|
||||
}
|
||||
@media (-moz-bool-pref: "userchrome.autohidetabs.show-while-inactive.enabled"){
|
||||
@media (-moz-bool-pref: "userchrome.autohidetabs.show-while-inactive.enabled"),
|
||||
-moz-pref("userchrome.autohidetabs.show-while-inactive.enabled"){
|
||||
#navigator-toolbox:-moz-window-inactive{
|
||||
margin-bottom: calc(0px - 2 * var(--tab-block-margin) - var(--tab-min-height));
|
||||
> #TabsToolbar{
|
||||
|
||||
Reference in New Issue
Block a user