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.

message_ui: Show non-sticky recipient bar action buttons on hover.

whilstsomebody114597178c95
diff --git a/web/styles/message_header.css b/web/styles/message_header.css
index fdb03946505..21c6ea056cf 100644
--- a/web/styles/message_header.css
+++ b/web/styles/message_header.css
@@ -75,6 +75,23 @@
top: -0.5px;
}
}
+
+ .recipient_bar_controls {
+ opacity: 0;
+ }
+
+ /* Show the bar controls on hover and when the bar is sticky */
+ &:hover {
+ .recipient_bar_controls {
+ opacity: 1;
+ }
+ }
+
+ &.sticky_header {
+ .recipient_bar_controls {
+ opacity: 1;
+ }
+ }
}
}
diff --git a/web/styles/zulip.css b/web/styles/zulip.css
index 80228365468..96681ffb2a6 100644
--- a/web/styles/zulip.css
+++ b/web/styles/zulip.css
@@ -888,6 +888,13 @@ div.focused-message-list {
display: block;
}
+/* In conversation view, always show the recipient bar action buttons */
+div.focused-message-list.is-conversation-view .recipient_row {
+ & .recipient_bar_controls {
+ opacity: 1;
+ }
+}
+
.rtl {
direction: rtl;
}