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

@@ -20,7 +20,8 @@ linux_gtk_window_control_patch.css
visibility: visible !important;
}
@media (-moz-gtk-csd-reversed-placement),
@media (-moz-bool-pref: "userchrome.force-window-controls-on-left.enabled"),
(-moz-gtk-csd-reversed-placement),
(-moz-platform: macos){
.titlebar-buttonbox-container{ left:0; right: unset !important; }
}
@@ -72,6 +73,13 @@ linux_gtk_window_control_patch.css
}
:root[inFullscreen] #toolbar-menubar > .titlebar-buttonbox-container{ display: flex !important; }
@media (-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; }
}
@supports -moz-bool-pref("browser.fullscreen.autohide"){
#main-window[inFullscreen]:not([inDOMFullscreen]) > body::after{
margin-bottom: 1px;