mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
sidebars: Remove unnecessary opaque color variant.
There is no longer any opacity in the --color-background-hover-narrow-filter, so the opaque variant just adds noise and the potential for drift from the original color.
This commit is contained in:
@@ -769,13 +769,6 @@
|
||||
hsl(0deg 0% 97%),
|
||||
color-mix(in srgb, hsl(0deg 0% 97%) 8%, hsl(0deg 0% 11%))
|
||||
);
|
||||
/* We mix an opaque version with the background for
|
||||
replicating the color on .sidebar-topic-check, which
|
||||
will mask a portion of the topic-grouping bracket. */
|
||||
--color-background-opaque-hover-narrow-filter: light-dark(
|
||||
var(--color-background-hover-narrow-filter),
|
||||
color-mix(in srgb, hsl(0deg 0% 97%) 8%, hsl(0deg 0% 11%))
|
||||
);
|
||||
--color-shadow-sidebar-row-hover: light-dark(
|
||||
hsl(0deg 0% 0% / 30%),
|
||||
hsl(0deg 0% 100% / 30%)
|
||||
@@ -987,9 +980,8 @@
|
||||
hsl(18deg 100% 84%),
|
||||
hsl(22deg 70% 35%)
|
||||
);
|
||||
--color-buddy-list-highlighted-user: light-dark(
|
||||
var(--color-background-hover-narrow-filter),
|
||||
var(--color-background-opaque-hover-narrow-filter)
|
||||
--color-buddy-list-highlighted-user: var(
|
||||
--color-background-hover-narrow-filter
|
||||
);
|
||||
--color-buddy-list-avatar-loading: light-dark(
|
||||
hsl(0deg 0% 0% / 10%),
|
||||
|
@@ -431,7 +431,7 @@
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background-color: var(--color-background-opaque-hover-narrow-filter);
|
||||
background-color: var(--color-background-hover-narrow-filter);
|
||||
box-shadow: inset 0 0 0 1px var(--color-shadow-sidebar-row-hover);
|
||||
/* We only set the border radius on the hover/popover states,
|
||||
so as to prevent the background on highlighted channels
|
||||
@@ -698,9 +698,7 @@
|
||||
box-shadow: inset 0 0 0 1px var(--color-shadow-sidebar-row-hover);
|
||||
|
||||
.sidebar-topic-check {
|
||||
background-color: var(
|
||||
--color-background-opaque-hover-narrow-filter
|
||||
);
|
||||
background-color: var(--color-background-hover-narrow-filter);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user