mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2026-02-19 14:42:00 -08:00
Fix: remove bottom corner rounding
This commit is contained in:
parent
03c6d852cb
commit
796c8c1f45
1 changed files with 0 additions and 37 deletions
|
|
@ -49,43 +49,6 @@
|
|||
box-shadow: 0 0 1px var(--toolbar-color) !important;
|
||||
}
|
||||
|
||||
/* Selected Tab - Bottom Rounded Corner */
|
||||
tab {
|
||||
--tab-corner-rounding: 8px;
|
||||
--animation-speed: 0.15s;
|
||||
}
|
||||
|
||||
/* Bottom corner rounding for tabs, Remove this section if your tab bottom corners look bad */
|
||||
tab[visuallyselected] .tab-background::before,
|
||||
tab[visuallyselected] .tab-background::after {
|
||||
content: "" !important;
|
||||
display: inline !important;
|
||||
position: absolute !important;
|
||||
width: var(--tab-corner-rounding) !important;
|
||||
height: var(--tab-corner-rounding) !important;
|
||||
bottom: -1px !important;
|
||||
pointer-events: none !important;
|
||||
background-color: transparent !important;
|
||||
transition: var(--animation-speed) !important;
|
||||
}
|
||||
|
||||
tab[visuallyselected] .tab-background::before {
|
||||
border-bottom-right-radius: var(--tab-corner-rounding) !important;
|
||||
transform: translateX(calc(-1 * var(--tab-corner-rounding))) !important;
|
||||
box-shadow: 0 1px 1px -1px var(--toolbar-color), /* <- Selected Box Shadow */
|
||||
4px 4px 0px 4px var(--toolbar-bgcolor) !important;
|
||||
transition: var(--animation-speed) !important;
|
||||
}
|
||||
|
||||
tab[visuallyselected] .tab-background::after {
|
||||
border-bottom-left-radius: var(--tab-corner-rounding) !important;
|
||||
right: 0px !important;
|
||||
transform: translateX(calc(var(--tab-corner-rounding) + 1px)) !important;
|
||||
box-shadow: -1px 0 0 -1px var(--toolbar-color), /* <- Selected Box Shadow */
|
||||
-4px 4px 0px 4px var(--toolbar-bgcolor) !important;
|
||||
transition: var(--animation-speed) !important;
|
||||
}
|
||||
|
||||
/* Unselected Tab - Divide line */
|
||||
.tab-content::before,
|
||||
.tab-content::after {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue