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.

settings css: Use selector for empty option text instead of span.

evykassirera2431915398c
diff --git a/web/styles/subscriptions.css b/web/styles/subscriptions.css
index 6e67f9d6dee..0877b172511 100644
--- a/web/styles/subscriptions.css
+++ b/web/styles/subscriptions.css
@@ -370,7 +370,7 @@ h4.user_group_setting_subsection_title {
margin-left: 2em;
margin-right: 2em;
- & span {
+ .settings-empty-option-text {
color: hsl(0deg 0% 67%);
}
}
diff --git a/web/templates/stream_settings/stream_settings_overlay.hbs b/web/templates/stream_settings/stream_settings_overlay.hbs
index b809e534bf5..63358dc8bfb 100644
--- a/web/templates/stream_settings/stream_settings_overlay.hbs
+++ b/web/templates/stream_settings/stream_settings_overlay.hbs
@@ -28,7 +28,7 @@
</div>
<div class="no-streams-to-show">
<div class="subscribed_streams_tab_empty_text">
- <span>
+ <span class="settings-empty-option-text">
{{t 'You are not subscribed to any channels.'}}
{{#if can_view_all_streams}}
<a href="#channels/all">{{t 'View all channels'}}</a>
@@ -36,13 +36,13 @@
</span>
</div>
<div class="not_subscribed_streams_tab_empty_text">
- <span>
+ <span class="settings-empty-option-text">
{{t 'No channels to show.'}}
<a href="#channels/all">{{t 'View all channels'}}</a>
</span>
</div>
<div class="all_streams_tab_empty_text">
- <span>
+ <span class="settings-empty-option-text">
{{t 'There are no channels you can view in this organization.'}}
{{#if can_create_streams}}
<a href="#channels/new">{{t 'Create a channel'}}</a>
@@ -60,7 +60,7 @@
<div class="nothing-selected">
{{#if can_create_streams}}
<button type="button" class="create_stream_button animated-purple-button">{{t 'Create channel' }}</button>
- <span>
+ <span class="settings-empty-option-text">
{{#tr}}
First time? Read our <z-link>guidelines</z-link> for creating and naming channels.
{{#*inline "z-link"}}<a href="/help/getting-your-organization-started-with-zulip#create-channels" target="_blank" rel="noopener noreferrer">{{> @partial-block}}</a>{{/inline}}
diff --git a/web/templates/user_group_settings/user_group_settings_overlay.hbs b/web/templates/user_group_settings/user_group_settings_overlay.hbs
index e83008735b1..7f40cbf68f7 100644
--- a/web/templates/user_group_settings/user_group_settings_overlay.hbs
+++ b/web/templates/user_group_settings/user_group_settings_overlay.hbs
@@ -28,13 +28,13 @@
</div>
<div class="no-groups-to-show">
<div class="your_groups_tab_empty_text">
- <span>
+ <span class="settings-empty-option-text">
{{t 'You are not a member of any user groups.'}}
<a href="#groups/all">{{t 'View all user groups'}}</a>
</span>
</div>
<div class="all_groups_tab_empty_text">
- <span>
+ <span class="settings-empty-option-text">
{{t 'There are no user groups you can view in this organization.'}}
{{#if can_create_or_edit_user_groups}}
<a href="#groups/new">{{t 'Create a user group'}}</a>
@@ -52,7 +52,7 @@
<div class="nothing-selected">
{{#if can_create_or_edit_user_groups}}
<button type="button" class="create_user_group_button animated-purple-button">{{t 'Create user group' }}</button>
- <span>
+ <span class="settings-empty-option-text">
{{#tr}}
First time? Read our <z-link>guidelines</z-link> for creating user groups.
{{#*inline "z-link"}}<a href="/help/user-groups" target="_blank" rel="noopener noreferrer">{{> @partial-block}}</a>{{/inline}}