Fix: One Liner - Dynamic Separator at first tab

This commit is contained in:
alstjr7375 2022-07-21 10:17:38 +09:00
parent beaa169c20
commit bb23dcde30
2 changed files with 16 additions and 0 deletions

View file

@ -4517,6 +4517,14 @@
opacity: var(--tab-separator-opacity);
}
@supports -moz-bool-pref("userChrome.tab.one_liner") {
@supports not -moz-bool-pref("userChrome.tab.one_liner.tabbar_first") {
.tabbrowser-tab:not([visuallyselected], [multiselected], :hover):first-child .tab-background::before {
opacity: var(--tab-separator-opacity);
transform: translateX(-1.5px) translateY(calc(-50% + 1px));
}
}
}
@supports -moz-bool-pref("userChrome.tab.newtab_button_like_tab") {
#tabs-newtab-button:not(:hover, [open])::before {
opacity: var(--tab-separator-opacity);

View file

@ -57,6 +57,14 @@
.tabbrowser-tab:not([visuallyselected], [multiselected], :hover, :first-child) .tab-background::before {
opacity: var(--tab-separator-opacity);
}
@include Option("userChrome.tab.one_liner") {
@include NotOption("userChrome.tab.one_liner.tabbar_first") {
.tabbrowser-tab:not([visuallyselected], [multiselected], :hover):first-child .tab-background::before {
opacity: var(--tab-separator-opacity);
transform: translateX(-1.5px) translateY(calc(-50% + 1px));
}
}
}
@include Option("userChrome.tab.newtab_button_like_tab") {
#tabs-newtab-button:not(:hover, [open])::before {
opacity: var(--tab-separator-opacity);