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: Replace user_circle_class with fa fa-group icon.

Nikhil Maskeb7fb130578a8
diff --git a/static/styles/left_sidebar.css b/static/styles/left_sidebar.css
index b6caac97c99..1a0cff0ff73 100644
--- a/static/styles/left_sidebar.css
+++ b/static/styles/left_sidebar.css
@@ -161,6 +161,11 @@ li.show-more-topics {
#private-container {
max-height: 200px;
+
+ /* Match the opacity for global-filters icons. */
+ span.fa-group {
+ opacity: 0.7;
+ }
}
:not(.active-sub-filter) {
diff --git a/static/templates/pm_list_item.hbs b/static/templates/pm_list_item.hbs
index 5404635060e..3b5535078a8 100644
--- a/static/templates/pm_list_item.hbs
+++ b/static/templates/pm_list_item.hbs
@@ -3,13 +3,9 @@
<div class="pm_left_col">
{{#if is_group}}
- {{#if fraction_present}}
- <span class="{{user_circle_class}} user_circle" style="background:hsla(106, 74%, 44%, {{fraction_present}});"></span>
- {{else}}
- <span class="{{user_circle_class}} user_circle" style="background:none; border-color:hsl(0, 0%, 50%);"></span>
- {{/if}}
+ <span class="fa fa-group"></span>
{{else}}
- <span class="{{user_circle_class}} user_circle"></span>
+ <span class="{{user_circle_class}} user_circle"></span>
{{/if}}
</div>