From ddef014eeaf6cd6cf6fa76cb98cc10e73afaf084 Mon Sep 17 00:00:00 2001 From: Aman Agrawal Date: Thu, 16 Jul 2020 11:59:00 +0530 Subject: [PATCH] recent_topics: Patch colors. Don't allow bootstrap to override row hover colors. Show unread topics in same color as others. --- static/styles/night_mode.scss | 6 +----- static/styles/recent_topics.scss | 6 +----- static/templates/recent_topics_table.hbs | 2 +- 3 files changed, 3 insertions(+), 11 deletions(-) diff --git a/static/styles/night_mode.scss b/static/styles/night_mode.scss index fbc65b6631..5c981ab0bb 100644 --- a/static/styles/night_mode.scss +++ b/static/styles/night_mode.scss @@ -432,14 +432,10 @@ on a dark background, and don't change the dark labels dark either. */ background-color: hsl(212, 28%, 18%); &:hover { - background-color: hsl(208, 26%, 11%); + background-color: hsl(208, 26%, 11%, 0.6); } } - #recent_topics_table .unread_topic { - background-color: hsl(211, 28%, 16%); - } - .btn-recent-selected, .recent_topics_table thead th { background-color: hsl(0, 0%, 0%) !important; diff --git a/static/styles/recent_topics.scss b/static/styles/recent_topics.scss index c76761e07f..fa1a00e262 100644 --- a/static/styles/recent_topics.scss +++ b/static/styles/recent_topics.scss @@ -227,17 +227,13 @@ } tr { - background-color: hsl(100, 11%, 96%); + background-color: hsl(0, 0%, 100%); &:hover { background-color: hsl(210, 100%, 97%); } } - .unread_topic { - background-color: hsl(0, 0%, 100%); - } - .last_msg_time { float: left; margin-right: 5px; diff --git a/static/templates/recent_topics_table.hbs b/static/templates/recent_topics_table.hbs index 4e55ae9f91..e3d4102b08 100644 --- a/static/templates/recent_topics_table.hbs +++ b/static/templates/recent_topics_table.hbs @@ -10,7 +10,7 @@
- +
{{t 'Stream' }}