Fix: Bottom rounded tab - System light theme #138

This commit is contained in:
BlaCk_Void 2021-08-15 22:35:39 +09:00
parent 8499f807ee
commit f9781f9c26

View file

@ -792,8 +792,10 @@
--tab-corner-padding: 1px;
}
:root[lwtheme="true"] tab[visuallyselected] > stack::before,
:root[lwtheme="true"] tab[visuallyselected] > stack::after {
:root[gtktiledwindow="true"][lwtheme="true"] tab[visuallyselected] > stack::before,
:root:not([gtktiledwindow="true"]) tab[visuallyselected] > stack::before,
:root[gtktiledwindow="true"][lwtheme="true"] tab[visuallyselected] > stack::after,
:root:not([gtktiledwindow="true"]) tab[visuallyselected] > stack::after {
/* Box */
content: "" !important;
display: block !important;
@ -815,11 +817,13 @@
background-position-y: bottom;
}
:root[lwtheme="true"] tab[visuallyselected] > stack::before {
:root[gtktiledwindow="true"][lwtheme="true"] tab[visuallyselected] > stack::before,
:root:not([gtktiledwindow="true"]) tab[visuallyselected] > stack::before {
left: calc(var(--tab-corner-padding) - var(--tab-corner-rounding)) !important;
background-image: url(./icons/tab-bottom-corner-left.svg);
}
:root[lwtheme="true"] tab[visuallyselected] > stack::after {
:root[gtktiledwindow="true"][lwtheme="true"] tab[visuallyselected] > stack::after,
:root:not([gtktiledwindow="true"]) tab[visuallyselected] > stack::after {
left: auto;
right: calc(var(--tab-corner-padding) - var(--tab-corner-rounding));
background-image: url(./icons/tab-bottom-corner-right.svg);