mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2026-03-13 18:30:36 -07:00
Fix: Remove Bottom Rounded Corner at photon-style #184
This commit is contained in:
parent
2be081cd0f
commit
f6b2656e53
1 changed files with 0 additions and 43 deletions
|
|
@ -887,49 +887,6 @@
|
|||
margin: unset !important;
|
||||
}
|
||||
|
||||
/** Selected Tab - Bottom Rounded Corner ************************************/
|
||||
#tabbrowser-tabs {
|
||||
--tab-corner-rounding: 4px; /* 10px looks about like chromium - 17px looks close to Australis tabs */
|
||||
--tab-corner-padding: 1px;
|
||||
}
|
||||
|
||||
:root:not([customizing="true"])[gtktiledwindow="true"][lwtheme="true"] tab[visuallyselected] > stack::before,
|
||||
:root:not([customizing="true"]):not([gtktiledwindow="true"]) tab[visuallyselected] > stack::before,
|
||||
:root:not([customizing="true"])[gtktiledwindow="true"][lwtheme="true"] tab[visuallyselected] > stack::after,
|
||||
:root:not([customizing="true"]):not([gtktiledwindow="true"]) tab[visuallyselected] > stack::after {
|
||||
/* Box */
|
||||
content: "" !important;
|
||||
display: block !important;
|
||||
position: absolute !important;
|
||||
z-index: 1 !important;
|
||||
|
||||
/* Shape */
|
||||
width: var(--tab-corner-rounding) !important;
|
||||
height: 100% !important;
|
||||
|
||||
/* Color */
|
||||
fill: var(--toolbar-bgcolor) !important;
|
||||
stroke: var(--tabs-border-color, transparent) !important;
|
||||
-moz-context-properties: fill, stroke !important;
|
||||
|
||||
/* Image */
|
||||
background-size: var(--tab-corner-rounding);
|
||||
background-repeat: no-repeat;
|
||||
background-position-y: bottom;
|
||||
}
|
||||
|
||||
: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[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);
|
||||
}
|
||||
|
||||
/** Unselected Tab - Divide line ********************************************/
|
||||
.tabbrowser-tab[first-visible-tab]::before,
|
||||
.tabbrowser-tab::after,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue