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.

buddy_list: Use 0.75 opacity for the user counts.

evykassirerd4a130d88d1b
diff --git a/web/styles/right_sidebar.css b/web/styles/right_sidebar.css
index 7fc08322006..2abe2621d8d 100644
--- a/web/styles/right_sidebar.css
+++ b/web/styles/right_sidebar.css
@@ -264,6 +264,10 @@ $user_status_emoji_width: 24px;
margin-right: 2px;
}
+.buddy-list-heading-user-count-with-parens {
+ opacity: 0.75;
+}
+
.buddy-list-subsection-header.no-display {
display: none;
}
diff --git a/web/templates/buddy_list/section_header.hbs b/web/templates/buddy_list/section_header.hbs
index 7b48d8018e8..08ed1238544 100644
--- a/web/templates/buddy_list/section_header.hbs
+++ b/web/templates/buddy_list/section_header.hbs
@@ -1,5 +1,7 @@
<i class="buddy-list-section-toggle zulip-icon zulip-icon-heading-triangle-right {{#if is_collapsed}}rotate-icon-right{{else}}rotate-icon-down{{/if}}" aria-hidden="true"></i>
<h5 id="{{id}}" data-user-count="{{user_count}}" class="buddy-list-heading no-style hidden-for-spectators">
<span class="buddy-list-heading-text">{{header_text}}</span>
- (<span class="buddy-list-heading-user-count">{{user_count}}</span>)
+ <span class="buddy-list-heading-user-count-with-parens">
+ (<span class="buddy-list-heading-user-count">{{user_count}}</span>)
+ </span>
</h5>