mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2026-01-08 10:13:00 -08:00
Fix: One Liner - Dynamic Separator at first tab
This commit is contained in:
parent
beaa169c20
commit
bb23dcde30
2 changed files with 16 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue