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: Fix highlighted stream color with keyboard navigation.

Aman Agrawal35278a74bb1b
diff --git a/web/styles/left_sidebar.css b/web/styles/left_sidebar.css
index 6d1f331be92..c254c591f91 100644
--- a/web/styles/left_sidebar.css
+++ b/web/styles/left_sidebar.css
@@ -299,13 +299,26 @@ li.show-more-topics {
:not(.active-sub-filter) {
&.top_left_row:hover,
- &.bottom_left_row:hover,
- &#stream_filters li.highlighted_stream {
+ &.bottom_left_row:hover {
background-color: var(--color-background-hover-narrow-filter);
border-radius: 4px;
}
}
+#stream_filters .narrow-filter.highlighted_stream {
+ &.active-filter > .bottom_left_row {
+ background-color: var(--color-background-hover-narrow-filter);
+ }
+
+ &.active-filter .topic-list .bottom_left_row {
+ background-color: var(--color-background-active-narrow-filter);
+ }
+
+ .bottom_left_row:not(.active-sub-filter) {
+ background-color: var(--color-background-hover-narrow-filter);
+ }
+}
+
#login-link-container,
#subscribe-to-more-streams {
text-decoration: none;