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

@@ -14,6 +14,14 @@ See the above repository for updates as well as full license text. */
margin-inline: auto !important;
}
/* Set this pref to true in about:config to make statuspanel show at top instead */
@media (-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;
}
}
@supports -moz-bool-pref("userchrome.centered-statuspanel.on-top.enabled"){
#statuspanel:not([hidden]){
inset-block: 0 auto !important;