remove old @supports -moz-bool-pref uses

This commit is contained in:
MrOtherGuy
2024-05-16 05:11:36 +03:00
parent c3ef474fd1
commit cb601a0a29
9 changed files with 1 additions and 101 deletions

View File

@@ -22,11 +22,3 @@ See the above repository for updates as well as full license text. */
border-width: 0 1px 1px 1px !important;
}
}
@supports -moz-bool-pref("userchrome.centered-statuspanel.on-top.enabled"){
#statuspanel:not([hidden]){
inset-block: 0 auto !important;
}
#statuspanel-label{
border-width: 0 1px 1px 1px !important;
}
}

View File

@@ -91,23 +91,3 @@ findbar::after{
border-right: 1px solid var(--chrome-content-separator-color);
}
}
@supports -moz-bool-pref("userchrome.floating-findbar-on-right.enabled"){
findbar{
flex-direction: row-reverse;
}
findbar > .findbar-container{
flex-direction: row-reverse;
border-inline-width: 1px 0px;
border-bottom-right-radius: 0px;
border-bottom-left-radius: 4px;
}
/*
Move findbar so it isn't over the scrollbar
Delete if you want findbar to begin from right window edge
*/
findbar{
margin-right: 16px;
border-right: 1px solid var(--chrome-content-separator-color);
}
}

View File

@@ -22,13 +22,3 @@ See the above repository for updates as well as full license text. */
color-scheme: dark !important;
}
}
@supports -moz-bool-pref("userchrome.menupopups.force-light"){
menupopup{
color-scheme: light !important;
}
}
@supports -moz-bool-pref("userchrome.menupopups.force-dark"){
menupopup{
color-scheme: dark !important;
}
}

View File

@@ -239,23 +239,6 @@ See the above repository for updates as well as full license text. */
top: calc(var(--multirow-toolbar-height) + var(--multirow-top-padding) + var(--multirow-menubar-height));
}
}
@supports -moz-bool-pref("userchrome.multirowtabs.static-menubar.enabled"){
:root{
--multirow-menubar-height: 28px;
--uc-window-drag-space-width: 0px;
--uc-window-control-width: 0px;
}
#main-menubar,
#toolbar-menubar{ height: var(--multirow-menubar-height); background-image: none; }
#toolbar-menubar > #menubar-items{ visibility: visible; background-image: none !important; }
.titlebar-buttonbox-container{ background: none !important }
:root:not([inFullscreen]) #nav-bar{
top: calc(var(--multirow-menubar-height) + var(--multirow-top-padding));
}
:root[BookmarksToolbarOverlapsBrowser] #PersonalToolbar{
top: calc(var(--multirow-toolbar-height) + var(--multirow-top-padding) + var(--multirow-menubar-height));
}
}
@media (-moz-bool-pref: "userchrome.multi-row-tabs.full-width-tabs.enabled"){
.tabbrowser-tab[fadein]:not([pinned]){ max-width: 100vw !important; }
}

View File

@@ -97,15 +97,6 @@ Window controls will be all wrong without it
display: flex;
}
}
@supports -moz-bool-pref("userchrome.force-window-controls-on-left.enabled"){
:root:not([inFullscreen]) #TabsToolbar-customization-target > .titlebar-spacer[type="pre-tabs"]{
width: var(--uc-window-drag-space-post) !important;
display: flex !important;
}
#TabsToolbar > .titlebar-buttonbox-container{
display: flex;
}
}
/* 1px margin on touch density causes tabs to be too high */
.tab-close-button{ margin-top: 0 !important }

View File

@@ -103,15 +103,7 @@ See the above repository for updates as well as full license text. */
z-index: auto;
}
}
@supports -moz-bool-pref("userchrome.selected-tab-as-urlbar.nav-buttons-space.disabled"){
#TabsToolbar > .toolbar-items{ margin-left: 0px }
#nav-bar-customization-target{ margin-left: 0px }
#back-button, #forward-button{
order: auto;
z-index: auto;
}
}
#nav-bar{
height: calc(var(--tab-min-height) + 2*var(--tab-block-margin));
box-shadow: none !important;

View File

@@ -29,9 +29,6 @@ linux_gtk_window_control_patch.css
(-moz-platform: macos){
.titlebar-buttonbox-container{ left:0; right: unset !important; }
}
@supports -moz-bool-pref("userchrome.force-window-controls-on-left.enabled"){
.titlebar-buttonbox-container{ left:0; right: unset !important; }
}
:root[uidensity="compact"] .titlebar-buttonbox-container{ height: 32px }
@@ -83,10 +80,3 @@ linux_gtk_window_control_patch.css
}
:root[inFullscreen] #navigator-toolbox:not(:hover) .titlebar-buttonbox-container{ display: none !important; }
}
@supports -moz-bool-pref("browser.fullscreen.autohide"){
#main-window[inFullscreen]:not([inDOMFullscreen]) > body::after{
margin-bottom: 1px;
}
:root[inFullscreen] #navigator-toolbox:not(:hover) .titlebar-buttonbox-container{ display: none !important; }
}

View File

@@ -24,9 +24,6 @@ have menubar permanently enabled and want it on top
(-moz-platform: macos){
.titlebar-buttonbox-container{ left:0; right: unset !important; }
}
@supports -moz-bool-pref("userchrome.force-window-controls-on-left.enabled"){
.titlebar-buttonbox-container{ left:0; right: unset !important; }
}
:root[uidensity="compact"] #TabsToolbar > .titlebar-buttonbox-container{ height: 32px }

View File

@@ -83,18 +83,3 @@ See the above repository for updates as well as full license text. */
flex-direction: row-reverse;
}
}
/* This pref can be used to force window controls on left even if that is not normal behavior on your OS */
@supports -moz-bool-pref("userchrome.force-window-controls-on-left.enabled"){
:root[tabsintitlebar="true"] #nav-bar{
border-inline-width: calc(var(--uc-window-control-width,0px) + var(--uc-window-drag-space-post,0px)) var(--uc-window-drag-space-pre,0px)
}
:root[sizemode="fullscreen"] #TabsToolbar > .titlebar-buttonbox-container:last-child,
:root[sizemode="fullscreen"] #window-controls{ right: unset; }
.titlebar-buttonbox-container{
order: -1 !important;
}
.titlebar-buttonbox{
flex-direction: row-reverse;
}
}