Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
personal_menu: Add different colors for status text.
Aman Agrawal66276d88ef3b
diff --git a/web/styles/popovers.css b/web/styles/popovers.cssindex affddc118d6..1834bc804a6 100644--- a/web/styles/popovers.css+++ b/web/styles/popovers.css@@ -1261,6 +1261,14 @@ ul {gap: 5px;}+.personal-menu-status-text {+ color: var(--color-text-personal-menu-some-status);+}++.personal-menu-no-status-text {+ color: var(--color-text-personal-menu-no-status);+}+#gear-menu-dropdown {padding: 5px 0;box-shadow: var(--box-shadow-gear-menu);diff --git a/web/styles/zulip.css b/web/styles/zulip.cssindex 0a674388d83..57055ef2bc5 100644--- a/web/styles/zulip.css+++ b/web/styles/zulip.css@@ -253,6 +253,8 @@ body {--color-text-dropdown-menu: hsl(0deg 0% 15%);--color-text-full-name: hsl(0deg 0% 15%);--color-text-item: hsl(0deg 0% 40%);+ --color-text-personal-menu-no-status: hsl(0deg 0% 50%);+ --color-text-personal-menu-some-status: hsl(0deg 0% 40%);/* Icon colors */--color-icon-bot: hsl(180deg 8% 65% / 100%);@@ -461,6 +463,8 @@ body {--color-text-dropdown-menu: hsl(0deg 0% 100% / 80%);--color-text-full-name: hsl(0deg 0% 100%);--color-text-item: hsl(0deg 0% 50%);+ --color-text-personal-menu-no-status: hsl(0deg 0% 100% 35%);+ --color-text-personal-menu-some-status: hsl(0deg 0% 100% 50%);/* Icon colors */--color-icon-bot: hsl(180deg 5% 50% / 100%);diff --git a/web/templates/personal_menu.hbs b/web/templates/personal_menu.hbsindex acdf23a53bc..8dd08619b6d 100644--- a/web/templates/personal_menu.hbs+++ b/web/templates/personal_menu.hbs@@ -38,9 +38,9 @@<span class="emoji status_emoji emoji-{{status_emoji_info.emoji_code}}"></span>{{/if}}{{/if}}- <span class="status_text">+ <span class="status_text personal-menu-status-text">{{#if show_placeholder_for_status_text}}- <i>{{t "No status text"}}</i>+ <i class="personal-menu-no-status-text">{{t "No status text"}}</i>{{else}}{{status_text}}{{/if}}