Add more space between tabs, change floating tabs browser-frame-bgcolor value to lwt-accent-color, make rounded corners not default, hide the separator of adjacent tabs, remove active tab bold

This commit is contained in:
TGSAN 2023-07-25 00:29:06 +08:00
parent 3dc125e32b
commit 00fb0e70cb
5 changed files with 20 additions and 23 deletions

View file

@ -315,7 +315,7 @@ toolbarbutton[part="scrollbutton-down"] {
/* tab separators */
.tabbrowser-tab:not([last-visible-tab="true"]) {
margin-inline-end: -1px !important;
margin-inline-end: 3px !important;
}
.tabbrowser-tab:not([selected="true"], :hover, [beforeselected-visible], [beforehovered]) .tab-stack::after {
@ -323,11 +323,16 @@ toolbarbutton[part="scrollbutton-down"] {
position: absolute;
display: block;
height: 20px;
right: 0;
right: -1px;
top: 6px;
border-right: 1px solid color-mix(in srgb, currentColor 34%, transparent);
}
/* need layout.css.has-selector.enabled */
.tabbrowser-tab:has(+ .tabbrowser-tab:is([selected="true"], :hover, [beforeselected-visible], [beforehovered])) .tab-stack::after {
display: none;
}
#tabbrowser-tabs[haspinnedtabs]:not([positionpinnedtabs])>#tabbrowser-arrowscrollbox>.tabbrowser-tab[first-visible-unpinned-tab] {
margin-inline-start: 0 !important;
}