Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

recent_view: Make icon change on hover for visibility indicator robust.

Aman Agrawalf57a3abd83c6
diff --git a/web/styles/dark_theme.css b/web/styles/dark_theme.css
index f29ce75b0d1..68995522fe4 100644
--- a/web/styles/dark_theme.css
+++ b/web/styles/dark_theme.css
@@ -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%);
}
diff --git a/web/styles/recent_view.css b/web/styles/recent_view.css
index 22f1838cdb2..d788edf4126 100644
--- a/web/styles/recent_view.css
+++ b/web/styles/recent_view.css
@@ -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 {