Remove fx 119 specific light-dark() workarounds

This commit is contained in:
MrOtherGuy
2023-12-09 16:35:39 +02:00
parent 67a9e9f9c9
commit c79cfaf813
8 changed files with 3 additions and 87 deletions

View File

@@ -51,18 +51,3 @@ See the above repository for updates as well as full license text. */
/* This may seem pretty weird, but it gets around an issue where the height of urlbar may suddenly change when one starts typing into it */
/* If you are otherwise modifying the urlbar height then you might need to modify the height of this too */
#urlbar > #urlbar-input-container::before{ content: ""; display: flex; height: 24px; }
/* This is a workaround for fx 119 specifically for users that use default theme, should remove when 120 is released. See bug 1853524 */
#urlbar:not(:-moz-lwtheme){
--toolbar-bgcolor: #f9f9fb;
--toolbar-field-background-color: rgb(240, 240, 244);
--toolbar-field-focus-background-color: white;
}
/* ...and for dark variant */
@media (prefers-color-scheme: dark){
#urlbar:not(:-moz-lwtheme){
--toolbar-bgcolor: rgb(43, 42, 51);
--toolbar-field-background-color: rgb(28, 27, 34);
--toolbar-field-focus-background-color: rgb(66, 65, 77)
}
}