Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
sidebars: Present neutral and active sidebar-row states.
Karl Stolley1d4f282cbd80
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.cssindex 7e26f6feb3e..8259b3a4458 100644--- a/web/styles/app_variables.css+++ b/web/styles/app_variables.css@@ -553,7 +553,9 @@--color-background-widget-input: hsl(0deg 0% 100%);--color-background-widget-button: hsl(0deg 0% 100%);--color-background-navbar: hsl(0deg 0% 97%);- --color-background-active-narrow-filter: hsl(202deg 56% 91%);+ --color-text-sidebar-row: hsl(0deg 0% 20%);+ --color-text-active-narrow-filter: hsl(0deg 0% 15%);+ --color-background-active-narrow-filter: hsl(0deg 0% 100%);--color-background-hover-narrow-filter: hsl(120deg 12.3% 71.4% / 38%);/* We mix an opaque version with the background forreplicating the color on .sidebar-topic-check, which@@ -1011,7 +1013,13 @@--color-background-widget-input: hsl(225deg 6% 10%);--color-background-widget-button: hsl(0deg 0% 0% / 20%);--color-background-navbar: hsl(0deg 0% 13%);- --color-background-active-narrow-filter: hsl(200deg 17% 18%);+ --color-text-sidebar-row: hsl(0deg 0% 100% / 75%);+ --color-text-active-narrow-filter: hsl(0deg 0% 90%);+ --color-background-active-narrow-filter: color-mix(+ in srgb,+ hsl(0deg 0% 100%) 8%,+ hsl(0deg 0% 11%)+ );--color-background-hover-narrow-filter: hsl(136deg 25% 73% / 20%);/* We mix an opaque version with the background forreplicating the color on .sidebar-topic-check, whichdiff --git a/web/styles/dark_theme.css b/web/styles/dark_theme.cssindex a0ae2ed4c47..89cfb0dfce4 100644--- a/web/styles/dark_theme.css+++ b/web/styles/dark_theme.css@@ -26,8 +26,15 @@}}- & a:not(.button, .compose_control_button):hover {+ &+ a:not(+ .button,+ .compose_control_button,+ .conversation-partners,+ .user-presence-link+ ):hover {color: hsl(200deg 79% 66%);+ text-decoration: none;& code {color: hsl(200deg 79% 66%);@@ -36,8 +43,6 @@& ul.dm-list,& ul.filters {- color: hsl(0deg 0% 100% / 80%);-.has-unmuted-mentions .unread_mention_info {color: hsl(236deg 33% 90%);}diff --git a/web/styles/left_sidebar.css b/web/styles/left_sidebar.cssindex 4f5c2a04d66..b38f0beb35b 100644--- a/web/styles/left_sidebar.css+++ b/web/styles/left_sidebar.css@@ -372,13 +372,12 @@ul.filters {list-style-type: none;margin-left: 0;- color: hsl(0deg 0% 20% / 100%);/* Streams take a standard row height. */line-height: var(--line-height-sidebar-row);.sidebar-topic-name,.left-sidebar-navigation-label-container {- color: inherit;+ color: var(--color-text-sidebar-row);&:hover {/* Push back against a:hover color in dark_theme.css */@@ -489,11 +488,16 @@ li.active-sub-filter {font-weight: 600 !important;position: relative;border-radius: 4px;+ color: var(--color-text-active-narrow-filter);background-color: var(--color-background-active-narrow-filter);.sidebar-topic-check {background-color: var(--color-background-active-narrow-filter);}++ .sidebar-topic-name-inner {+ color: var(--color-text-active-narrow-filter);+ }}#stream_filters .narrow-filter.active-filter {diff --git a/web/styles/right_sidebar.css b/web/styles/right_sidebar.cssindex f393a304de6..69e593f8faa 100644--- a/web/styles/right_sidebar.css+++ b/web/styles/right_sidebar.css@@ -149,11 +149,6 @@ $user_status_emoji_width: 24px;color: var(--color-text-url-hover);}}-- & a {- color: inherit;- margin-left: 0;- }}.buddy-list-subsection-header {@@ -182,6 +177,7 @@ $user_status_emoji_width: 24px;.user-presence-link,.user_sidebar_entry .selectable_sidebar_block {overflow: hidden;+ color: var(--color-text-sidebar-row);.user-name {overflow: hidden;@@ -203,6 +199,12 @@ $user_status_emoji_width: 24px;.user-presence-link {grid-area: row-content;++ &:hover,+ &:focus {+ color: var(--color-text-sidebar-row);+ text-decoration: none;+ }}.my_user_status {