mirror of
https://github.com/zulip/zulip.git
synced 2025-10-22 20:42:14 +00:00
left_sidebar: Make muted mention indicator more faded than unmuted.
This commit is contained in:
@@ -642,7 +642,7 @@ input.settings_text_input {
|
||||
.unread_mention_info:not(:empty) {
|
||||
margin-right: 5px;
|
||||
margin-left: 2px;
|
||||
opacity: 0.5;
|
||||
opacity: var(--opacity-unread-mention-info);
|
||||
}
|
||||
|
||||
/* Implement the web app's default-hidden convention for alert
|
||||
|
@@ -408,6 +408,10 @@
|
||||
--opacity-sidebar-heading-hover: 0.9;
|
||||
--opacity-left-sidebar-muted: 0.55;
|
||||
--opacity-left-sidebar-muted-hover: 0.75;
|
||||
--opacity-unread-mention-info: 0.5;
|
||||
/* Since --opacity-unread-mention-info is too close to
|
||||
--opacity-left-sidebar-muted */
|
||||
--opacity-left-sidebar-muted-mentions: 0.3;
|
||||
--opacity-right-sidebar-subheading: 0.65;
|
||||
--opacity-right-sidebar-subheading-hover: 0.9;
|
||||
|
||||
|
@@ -799,7 +799,7 @@ ul.filters {
|
||||
|
||||
.has-only-muted-mentions {
|
||||
.unread_mention_info {
|
||||
opacity: var(--opacity-left-sidebar-muted);
|
||||
opacity: var(--opacity-left-sidebar-muted-mentions);
|
||||
}
|
||||
|
||||
&:hover .unread_mention_info {
|
||||
@@ -850,6 +850,12 @@ ul.filters {
|
||||
opacity: var(--opacity-left-sidebar-muted);
|
||||
}
|
||||
|
||||
.unread_mention_info {
|
||||
/* Default opacity for this icon is too close to
|
||||
--opacity-left-sidebar-muted */
|
||||
opacity: var(--opacity-left-sidebar-muted-mentions);
|
||||
}
|
||||
|
||||
&:hover {
|
||||
.stream-privacy,
|
||||
.stream-name,
|
||||
|
Reference in New Issue
Block a user