Remove uses of :-moz-lwtheme pseudo-class

The pseudo-class is removed in 126, but can be usually be trivially
replaced with :root[lwtheme]
This commit is contained in:
MrOtherGuy
2024-03-20 07:13:32 +02:00
parent 4215caf2b8
commit 2e47c6caa4
7 changed files with 11 additions and 11 deletions

View File

@@ -71,8 +71,8 @@ See the above repository for updates as well as full license text. */
stroke: var(--lwt-tabs-border-color,transparent);
}
.tabbrowser-tab[selected] > .tab-stack:-moz-lwtheme::before,
.tabbrowser-tab[selected] > .tab-stack:-moz-lwtheme::after{
:root[lwtheme] .tabbrowser-tab[selected] > .tab-stack::before,
:root[lwtheme] .tabbrowser-tab[selected] > .tab-stack::after{
fill: var(--lwt-selected-tab-background-color,var(--toolbar-bgcolor)) !important;
}
.tabbrowser-tab[selected] > .tab-stack::after,
@@ -120,7 +120,7 @@ See the above repository for updates as well as full license text. */
border-top: none !important;
--toolbar-bgcolor: transparent;
}
.tab-background:not(:-moz-lwtheme){
:root:not([lwtheme]) .tab-background{
background-color: var(--lwt-selected-tab-background-color) !important;
}
.tabbrowser-tab[selected] > .tab-stack::before,