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.

css: Remove hover effect over active sub filter.

Gittenburg253ae8ee511c
diff --git a/static/styles/left-sidebar.scss b/static/styles/left-sidebar.scss
index 2e3b69b3165..fb85bfbd49b 100644
--- a/static/styles/left-sidebar.scss
+++ b/static/styles/left-sidebar.scss
@@ -163,11 +163,13 @@ li.show-more-topics {
max-height: 200px;
}
-.top_left_row:hover,
-.bottom_left_row:hover,
-#stream_filters li.highlighted_stream {
- background-color: hsla(120, 12.3%, 71.4%, 0.38);
- border-radius: 4px;
+:not(.active-sub-filter) {
+ &.top_left_row:hover,
+ &.bottom_left_row:hover,
+ &#stream_filters li.highlighted_stream {
+ background-color: hsla(120, 12.3%, 71.4%, 0.38);
+ border-radius: 4px;
+ }
}
#add-stream-link {
diff --git a/static/styles/night_mode.scss b/static/styles/night_mode.scss
index a1839e9fa52..fe6ce6c047e 100644
--- a/static/styles/night_mode.scss
+++ b/static/styles/night_mode.scss
@@ -384,9 +384,14 @@ on a dark background, and don't change the dark labels dark either. */
background-color: hsla(199, 33%, 46%, 0.2);
}
- .top_left_row:hover,
- .bottom_left_row:hover,
- #stream_filters li.highlighted_stream,
+ :not(.active-sub-filter) {
+ &.top_left_row:hover,
+ &.bottom_left_row:hover,
+ &#stream_filters li.highlighted_stream {
+ background-color: hsla(136, 25%, 73%, 0.2);
+ }
+ }
+
#user_presences li:hover,
#user_presences li.highlighted_user {
background-color: hsla(136, 25%, 73%, 0.2);