From e3237ae7e19ffbf1e7ffceabc779c4088b680e72 Mon Sep 17 00:00:00 2001 From: Junchen Liu Date: Tue, 1 Mar 2022 01:07:28 -0500 Subject: [PATCH] css: Fix hover color for "Edit topic" icon in recipient bars. Previously, this had different hover behavior from the adjacent elements, which seems like a bug. The CSS for this component is shared with Recent Topics; we migrate the styling for on_hover_topic_read for consistency. Fixes #21273. --- static/styles/zulip.css | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/static/styles/zulip.css b/static/styles/zulip.css index e3c369f713..bda8cd35a5 100644 --- a/static/styles/zulip.css +++ b/static/styles/zulip.css @@ -1372,11 +1372,6 @@ td.pointer { color: hsl(200, 100%, 40%); } -.on_hover_topic_edit, -.on_hover_topic_read { - opacity: 0.2; -} - .always_visible_topic_edit { opacity: 0.7; } @@ -1390,6 +1385,8 @@ td.pointer { } } +.on_hover_topic_edit, +.on_hover_topic_read, .on_hover_topic_unresolve, .on_hover_topic_resolve, .on_hover_topic_mute { @@ -1401,9 +1398,7 @@ td.pointer { } } -.on_hover_topic_edit, -.always_visible_topic_edit, -.on_hover_topic_read { +.always_visible_topic_edit { &:hover { cursor: pointer; opacity: 1;