Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
css: Fix background color of date_row in unread PMs.
Aman Agrawal87316a777ac8
diff --git a/static/styles/dark_theme.css b/static/styles/dark_theme.cssindex a4c0c3e6394..40e76c2a1ac 100644--- a/static/styles/dark_theme.css+++ b/static/styles/dark_theme.css@@ -408,11 +408,23 @@ body.dark-theme {}}+ .private-message.unread {+ .date_row {+ background-color: hsl(208, 17%, 29%);+ }+ }+.message_row.unread ~ .message_row.unread {.date_row {background-color: transparent;}}++ .private-message.unread ~ .private-message.unread {+ .date_row {+ background-color: hsl(208, 17%, 29%);+ }+ }}.top-navbar-border {diff --git a/static/styles/zulip.css b/static/styles/zulip.cssindex 13fcade6623..6425f4eb4a8 100644--- a/static/styles/zulip.css+++ b/static/styles/zulip.css@@ -3079,6 +3079,12 @@ div.topic_edit_spinner .loading_indicator_spinner {}}+ .private-message.unread {+ .date_row {+ background-color: hsl(192, 20%, 95%);+ }+ }+/* Select all but the first .message_row.unread,and remove the properties set from the previous rule. */.message_row.unread ~ .message_row.unread {@@ -3088,4 +3094,10 @@ div.topic_edit_spinner .loading_indicator_spinner {background-color: transparent;}}++ .private-message.unread ~ .private-message.unread {+ .date_row {+ background-color: hsl(192, 20%, 95%);+ }+ }}