tabsbar: Fix tab separator on first tabs
This commit is contained in:
parent
0d1349acdf
commit
543f29929b
|
@ -134,7 +134,7 @@ spacer[part=overflow-start-indicator], spacer[part=overflow-end-indicator] {
|
||||||
border-left-width: 1px !important;
|
border-left-width: 1px !important;
|
||||||
border-color: transparent !important;
|
border-color: transparent !important;
|
||||||
}
|
}
|
||||||
.tabbrowser-tab:not([first-visible-unpinned-tab], [selected], :hover) {
|
.tabbrowser-tab:not(:first-of-type, [selected], :hover) {
|
||||||
--gnome-tabbar-tab-separator-hack0: var(--gnome-tabbar-background);
|
--gnome-tabbar-tab-separator-hack0: var(--gnome-tabbar-background);
|
||||||
--gnome-tabbar-tab-separator-hack1: linear-gradient(
|
--gnome-tabbar-tab-separator-hack1: linear-gradient(
|
||||||
to bottom,
|
to bottom,
|
||||||
|
@ -147,9 +147,12 @@ spacer[part=overflow-start-indicator], spacer[part=overflow-end-indicator] {
|
||||||
) 1;
|
) 1;
|
||||||
border-image: var(--gnome-tabbar-tab-separator-hack1);
|
border-image: var(--gnome-tabbar-tab-separator-hack1);
|
||||||
}
|
}
|
||||||
.tabbrowser-tab:not([first-visible-unpinned-tab]):-moz-window-inactive {
|
.tabbrowser-tab:-moz-window-inactive {
|
||||||
--gnome-tabbar-tab-separator-hack0: var(--gnome-inactive-tabbar-background);
|
--gnome-tabbar-tab-separator-hack0: var(--gnome-inactive-tabbar-background);
|
||||||
}
|
}
|
||||||
|
#tabbrowser-tabs[overflow="true"] .tabbrowser-tab[first-visible-unpinned-tab] {
|
||||||
|
border-image: none !important;
|
||||||
|
}
|
||||||
.tabbrowser-tab[selected] ~ .tabbrowser-tab:not([hidden="true"]) {
|
.tabbrowser-tab[selected] ~ .tabbrowser-tab:not([hidden="true"]) {
|
||||||
border-image: none;
|
border-image: none;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue