mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
recent_view: Make icon change on hover for visibility indicator robust.
Using character index for changing icon is not reliable, so we use `background-image` to change the icon being displayed here.
This commit is contained in:
@@ -484,6 +484,12 @@
|
||||
}
|
||||
}
|
||||
|
||||
#recent_view
|
||||
.change_visibility_policy
|
||||
.visibility-status-icon:not(.recent-view-row-topic-menu):hover {
|
||||
filter: invert(1);
|
||||
}
|
||||
|
||||
.drafts-container .header-body .delete-drafts-group > *:focus {
|
||||
background-color: hsl(228deg 11% 17%);
|
||||
}
|
||||
|
@@ -60,9 +60,19 @@
|
||||
}
|
||||
}
|
||||
|
||||
&.change_visibility_policy .visibility-status-icon:hover::before {
|
||||
&.change_visibility_policy
|
||||
.visibility-status-icon:not(.recent-view-row-topic-menu):hover {
|
||||
/* Show vertical ellipsis when user hovers over visibility indicator icon. */
|
||||
content: "\f155";
|
||||
background-image: url("../shared/icons/more-vertical.svg");
|
||||
background-repeat: no-repeat;
|
||||
background-position: left bottom;
|
||||
background-size: contain;
|
||||
width: var(--base-font-size-px);
|
||||
height: var(--base-font-size-px);
|
||||
|
||||
&::before {
|
||||
content: "";
|
||||
}
|
||||
}
|
||||
|
||||
&.change_visibility_policy .recent-view-row-topic-menu {
|
||||
|
Reference in New Issue
Block a user