Add @media based versions for -moz-bool-pref in various styles

Also some cleanup for menupopup_forced_color_schemes.css for remove some
old and unused variables.

This just adds media query versions to files - old ones should be
removed at some point
This commit is contained in:
MrOtherGuy
2023-10-22 14:23:41 +03:00
parent 9fe466140a
commit fd73e2094e
9 changed files with 91 additions and 23 deletions

View File

@@ -231,6 +231,23 @@ See the above repository for updates as well as full license text. */
margin-bottom: 0 !important;
z-index: auto !important;
}
@media (-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));
}
}
@supports -moz-bool-pref("userchrome.multirowtabs.static-menubar.enabled"){
:root{
--multirow-menubar-height: 28px;