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.

vdots: Simplify colors on right sidebar.

Karl Stolleye5f7f1701ff4
diff --git a/web/styles/dark_theme.css b/web/styles/dark_theme.css
index 96eb6f5ba71..42e9cecdb19 100644
--- a/web/styles/dark_theme.css
+++ b/web/styles/dark_theme.css
@@ -728,8 +728,7 @@
.clear_search_button:active,
.clear_search_button:disabled:hover,
#user-groups .save-instructions,
- .close,
- #user_presences li:hover .user-list-sidebar-menu-icon {
+ .close {
color: hsl(236deg 33% 80%);
}
@@ -750,10 +749,6 @@
color: hsl(236deg 33% 90%);
}
- #user_presences li .user-list-sidebar-menu-icon:hover {
- color: hsl(0deg 0% 100%) !important;
- }
-
#streamlist-toggle,
#userlist-toggle {
color: inherit;
diff --git a/web/styles/right_sidebar.css b/web/styles/right_sidebar.css
index 80f9a400607..e06d1128d74 100644
--- a/web/styles/right_sidebar.css
+++ b/web/styles/right_sidebar.css
@@ -45,12 +45,6 @@ $user_status_emoji_width: 24px;
vertical-align: middle;
}
- &:hover {
- display: inline;
- cursor: pointer;
- color: hsl(0deg 0% 0%) !important;
- }
-
/*
Hover does not work for touch-based devices like mobile phones.
Hence the the icons does not appear, making the user unaware of its
@@ -60,6 +54,9 @@ $user_status_emoji_width: 24px;
@media (hover: none) {
display: inline;
+ /* Show dots on touchscreens in a less distracting,
+ lighter shade. */
+ color: var(--color-vdots-hint);
}
}
@@ -67,7 +64,11 @@ $user_status_emoji_width: 24px;
.user-list-sidebar-menu-icon {
display: inline;
cursor: pointer;
- color: hsl(0deg 0% 53%);
+ color: var(--color-vdots-visible);
+
+ &:hover {
+ color: var(--color-vdots-hover);
+ }
}
}