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.

templates: Use new lock and hashtag icons for stream privacy.

Sahil Batra067c71adc437
diff --git a/web/styles/app_components.css b/web/styles/app_components.css
index 32ab63e45cc..af043bbe109 100644
--- a/web/styles/app_components.css
+++ b/web/styles/app_components.css
@@ -833,13 +833,18 @@ div.overlay {
font-size: 0.75em;
}
- &.fa-lock {
+ &.zulip-icon-lock {
+ position: relative;
+ top: 0.06em;
padding-right: 1px;
- font-size: 0.865em;
+ font-size: 0.8em;
}
- &.hashtag:empty::after {
- font-size: 1em;
+ &.zulip-icon-hashtag {
+ position: relative;
+ top: 0.06em;
+ padding-right: 1px;
+ font-size: 0.75em;
}
}
diff --git a/web/templates/inline_decorated_stream_name.hbs b/web/templates/inline_decorated_stream_name.hbs
index 3f6fc0909f4..760c8d6f620 100644
--- a/web/templates/inline_decorated_stream_name.hbs
+++ b/web/templates/inline_decorated_stream_name.hbs
@@ -1,8 +1,8 @@
{{! This controls whether the swatch next to streams in the left sidebar has a lock icon. }}
{{#if stream.invite_only }}
-<i class="fa fa-lock stream-privacy-type-icon" aria-hidden="true"></i>{{stream.name ~}}
+<i class="zulip-icon zulip-icon-lock stream-privacy-type-icon" aria-hidden="true"></i>{{stream.name ~}}
{{ else if stream.is_web_public }}
<i class="zulip-icon zulip-icon-globe stream-privacy-type-icon" aria-hidden="true"></i>{{stream.name ~}}
{{ else }}
-<span class="hashtag stream-privacy-type-icon"></span>{{stream.name ~}}
+<i class="zulip-icon zulip-icon-hashtag stream-privacy-type-icon"></i>{{stream.name ~}}
{{/if}}