update floating tabs appearance #39
This commit is contained in:
parent
0c02950221
commit
51294bdf21
2 changed files with 31 additions and 15 deletions
|
@ -92,16 +92,18 @@
|
|||
}
|
||||
|
||||
.tabbrowser-tab:hover > .tab-stack > .tab-background:not([selected="true"], [multiselected]) {
|
||||
background-color: color-mix(in srgb, white 30%, transparent) !important;
|
||||
--uc-tab-corner-bg: color-mix(in srgb, white 30%, transparent) !important;
|
||||
}
|
||||
|
||||
:root[lwtheme-brighttext="true"] .tabbrowser-tab:hover > .tab-stack > .tab-background:not([selected="true"], [multiselected]) {
|
||||
background-color: color-mix(in srgb, currentColor 8%, transparent) !important;
|
||||
--uc-tab-corner-bg: color-mix(in srgb, currentColor 8%, transparent) !important;
|
||||
}
|
||||
|
||||
#tabbrowser-tabs .tab-background:is([selected], [multiselected]) {
|
||||
@supports not -moz-bool-pref("uc.tweak.floating-tabs") {
|
||||
:root:not([lwtheme-brighttext="true"]) .tabbrowser-tab:hover > .tab-stack > .tab-background:not([selected="true"], [multiselected]) {
|
||||
background-color: color-mix(in srgb, white 30%, transparent) !important;
|
||||
--uc-tab-corner-bg: color-mix(in srgb, white 30%, transparent) !important;
|
||||
}
|
||||
}
|
||||
|
||||
.tab-background:is([selected], [multiselected]) {
|
||||
outline: none !important;
|
||||
}
|
||||
|
||||
|
@ -170,6 +172,10 @@
|
|||
display: none !important;
|
||||
}
|
||||
|
||||
#tabbrowser-tabs:not([secondarytext-unsupported]) .tab-label-container {
|
||||
height: var(--tab-min-height) !important;
|
||||
}
|
||||
|
||||
.tab-icon-stack:is([soundplaying], [muted], [activemedia-blocked])>.tab-icon-overlay,
|
||||
.tabbrowser-tab:hover .tab-icon-stack:not([pinned], [sharing], [crashed]):is([soundplaying], [muted], [activemedia-blocked])> :not(.tab-icon-overlay) {
|
||||
opacity: 1 !important;
|
||||
|
@ -319,7 +325,8 @@ toolbarbutton[part="scrollbutton-down"] {
|
|||
}
|
||||
|
||||
.tabbrowser-tab:is([visuallyselected="true"], [multiselected])>.tab-stack>.tab-background {
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 0px 2px rgba(0, 0, 0, 0.2) !important;
|
||||
box-shadow: 0 0 0 1px var(--lwt-tab-line-color, var(--lwt-tabs-border-color, transparent)),
|
||||
0 2px 4px rgba(0, 0, 0, 0.3), 0 0px 2px rgba(0, 0, 0, 0.2) !important;
|
||||
}
|
||||
|
||||
#titlebar {
|
||||
|
@ -327,7 +334,8 @@ toolbarbutton[part="scrollbutton-down"] {
|
|||
}
|
||||
|
||||
:root[lwtheme-brighttext="true"] .tabbrowser-tab:is([visuallyselected="true"], [multiselected])>.tab-stack>.tab-background {
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.45), 0 0px 2px rgba(0, 0, 0, 0.2) !important;
|
||||
box-shadow: 0 0 0 1px var(--lwt-tab-line-color, var(--lwt-tabs-border-color, transparent)),
|
||||
0 2px 4px rgba(0, 0, 0, 0.45), 0 0px 2px rgba(0, 0, 0, 0.2) !important;
|
||||
}
|
||||
|
||||
:root[lwtheme-brighttext="true"] #titlebar {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue