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: Ensure uniform add-channel icon colors.

Karl Stolleya4e6f120e137
diff --git a/web/styles/left_sidebar.css b/web/styles/left_sidebar.css
index 16bf715b3b1..d32b39e7699 100644
--- a/web/styles/left_sidebar.css
+++ b/web/styles/left_sidebar.css
@@ -60,13 +60,21 @@
/* 2px right margin here to match the new topic margin-right */
margin: 2px 1px 2px 0;
border-radius: 3px;
+ color: var(--color-left-sidebar-heads-up-icon);
+
+ &:hover {
+ color: var(--color-left-sidebar-heads-up-icon-hover);
+ background-color: var(
+ --background-color-left-sidebar-heads-up-icon-hover
+ );
+ cursor: pointer;
+ }
.add_stream_icon {
/* We display as flex to center the icon while
keeping the entire highlighted area clickable. */
display: flex;
place-items: center center;
- color: var(--color-left-sidebar-heads-up-icon);
&::before {
/* To horizontally center the icon within the
@@ -74,14 +82,6 @@
margin: 0 auto;
}
}
-
- &:hover {
- color: var(--color-left-sidebar-heads-up-icon-hover);
- background-color: var(
- --background-color-left-sidebar-heads-up-icon-hover
- );
- cursor: pointer;
- }
}
.masked_unread_count {