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.

navbar: Show left-sidebar-style unread dot on streams toggle.

Karl Stolley8ee764382b9e
diff --git a/web/styles/zulip.css b/web/styles/zulip.css
index 5a4a4e0d98d..819c30fba35 100644
--- a/web/styles/zulip.css
+++ b/web/styles/zulip.css
@@ -2297,20 +2297,15 @@ div.focused-message-list {
#streamlist-toggle-unreadcount {
position: absolute;
display: none;
- height: 12px;
- min-width: 12px;
- line-height: 12px;
- background-color: hsl(0deg 100% 20%);
- top: 4px;
- right: 4px;
- border: 1px solid hsl(0deg 0% 93%);
- box-shadow: 0 0 1px hsl(0deg 0% 0% / 20%);
- border-radius: 12px;
- padding: 1px;
- font-size: 9px;
- z-index: 15;
- font-weight: normal;
- color: hsl(0deg 0% 100%);
+ height: 6px;
+ width: 6px;
+ background-color: var(--color-background-unread-counter-dot);
+ top: 10px;
+ right: 9px;
+ border: 2px solid var(--color-background-navbar);
+ border-radius: 6px;
+ padding: 0;
+ font-size: 0;
}
.nav .dropdown-menu {
@@ -3188,6 +3183,11 @@ select.invite-as {
height: var(--header-height);
}
+ #streamlist-toggle-unreadcount {
+ /* Adjust in response to shorter navbar. */
+ top: 5px;
+ }
+
.column-right #personal-menu .header-button-avatar {
width: 20px;
height: 20px;