Fix: Tab - Selected tab background color when moving

This commit is contained in:
alstjr7375 2024-02-19 01:17:21 +09:00
parent 41acca6f96
commit 3a0b786bc3
3 changed files with 22 additions and 0 deletions

12
css/leptonChrome.css generated
View file

@ -6769,6 +6769,7 @@
.tab-background:is([selected], [multiselected]) {
background-color: var(--tab-selected-bgcolor, var(--toolbar-bgcolor)) !important;
}
#tabbrowser-arrowscrollbox > .tabbrowser-tab > .tab-stack > .tab-background[selected]:-moz-lwtheme,
#tabbrowser-tabs:not([movingtab])
> #tabbrowser-arrowscrollbox
> .tabbrowser-tab
@ -6783,6 +6784,11 @@
background-repeat: repeat-x, repeat-x, no-repeat !important;
}
@supports -moz-bool-pref("userChrome.theme.transparent.frame") {
:root:not([lwtheme-image])
#tabbrowser-arrowscrollbox
> .tabbrowser-tab
> .tab-stack
> .tab-background[selected]:-moz-lwtheme,
:root:not([lwtheme-image])
#tabbrowser-tabs:not([movingtab])
> #tabbrowser-arrowscrollbox
@ -20754,6 +20760,7 @@
.tab-background:is([selected], [multiselected]) {
background-color: var(--tab-selected-bgcolor, var(--toolbar-bgcolor)) !important;
}
#tabbrowser-arrowscrollbox > .tabbrowser-tab > .tab-stack > .tab-background[selected]:-moz-lwtheme,
#tabbrowser-tabs:not([movingtab])
> #tabbrowser-arrowscrollbox
> .tabbrowser-tab
@ -20769,6 +20776,11 @@
}
}
@media (-moz-bool-pref: "userChrome.tab.color_like_toolbar") and (-moz-bool-pref: "userChrome.theme.transparent.frame") {
:root:not([lwtheme-image])
#tabbrowser-arrowscrollbox
> .tabbrowser-tab
> .tab-stack
> .tab-background[selected]:-moz-lwtheme,
:root:not([lwtheme-image])
#tabbrowser-tabs:not([movingtab])
> #tabbrowser-arrowscrollbox

View file

@ -7196,6 +7196,7 @@
.tab-background:is([selected], [multiselected]) {
background-color: var(--tab-selected-bgcolor, var(--toolbar-bgcolor)) !important;
}
#tabbrowser-arrowscrollbox > .tabbrowser-tab > .tab-stack > .tab-background[selected]:-moz-lwtheme,
#tabbrowser-tabs:not([movingtab])
> #tabbrowser-arrowscrollbox
> .tabbrowser-tab
@ -7210,6 +7211,11 @@
background-repeat: repeat-x, repeat-x, no-repeat !important;
}
@supports -moz-bool-pref("userChrome.theme.transparent.frame") {
:root:not([lwtheme-image])
#tabbrowser-arrowscrollbox
> .tabbrowser-tab
> .tab-stack
> .tab-background[selected]:-moz-lwtheme,
:root:not([lwtheme-image])
#tabbrowser-tabs:not([movingtab])
> #tabbrowser-arrowscrollbox

View file

@ -7,6 +7,10 @@
background-color: var(--tab-selected-bgcolor, var(--toolbar-bgcolor)) !important;
}
#tabbrowser-arrowscrollbox
> .tabbrowser-tab
> .tab-stack
> .tab-background[selected]:-moz-lwtheme,
#tabbrowser-tabs:not([movingtab])
> #tabbrowser-arrowscrollbox
> .tabbrowser-tab