Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

sidebars: Remove unnecessary opaque color variant.

Karl Stolley00e437caa738
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.css
index 6658837ef8f..30c106b5bc8 100644
--- a/web/styles/app_variables.css
+++ b/web/styles/app_variables.css
@@ -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%),
diff --git a/web/styles/left_sidebar.css b/web/styles/left_sidebar.css
index a21b83527bd..d45406140b4 100644
--- a/web/styles/left_sidebar.css
+++ b/web/styles/left_sidebar.css
@@ -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);
}
}