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: Set backgrounds on condensed icon visible and hover.

Karl Stolley9f5ca4f6f704
diff --git a/web/styles/left_sidebar.css b/web/styles/left_sidebar.css
index 599607315a4..115a2b05ca1 100644
--- a/web/styles/left_sidebar.css
+++ b/web/styles/left_sidebar.css
@@ -495,6 +495,11 @@ li.active-sub-filter {
flex: 1 0 24px;
/* Unset padding from individual top_left items */
padding: 0;
+ border-radius: 4px;
+
+ &:hover {
+ background: var(--color-background-hover-narrow-filter);
+ }
}
.left-sidebar-navigation-icon-container {
@@ -504,6 +509,11 @@ li.active-sub-filter {
text-align: center;
}
+ .active-filter {
+ /* Don't display a background on condensed icons. */
+ background: unset;
+ }
+
.filter-icon {
display: flex;
align-items: center;