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.

left_sidebar: Clarify and correct active-filter hover backgrounds.

Karl Stolleyd61e86faffa3
diff --git a/web/styles/left_sidebar.css b/web/styles/left_sidebar.css
index cb34f4a2ee4..b1517d7edae 100644
--- a/web/styles/left_sidebar.css
+++ b/web/styles/left_sidebar.css
@@ -692,13 +692,24 @@
state that might show a highlight. */
border-radius: 4px;
+ /* Always show the box-shadow outline on hover and
+ an open left-sidebar menu (vdots) */
&:hover,
&:has(.left_sidebar_menu_icon_visible) {
- background-color: var(--color-background-hover-narrow-filter);
box-shadow: inset 0 0 0 1px var(--color-shadow-sidebar-row-hover);
+ }
- .sidebar-topic-check {
+ /* However, only adjust the background colors outside of active
+ filters, whose colors are more intense in light and dark mode
+ than the hover-narrow-filter color values. */
+ &:not(.active-sub-filter) {
+ &:hover,
+ &:has(.left_sidebar_menu_icon_visible) {
background-color: var(--color-background-hover-narrow-filter);
+
+ .sidebar-topic-check {
+ background-color: var(--color-background-hover-narrow-filter);
+ }
}
}