mirror of https://github.com/zulip/zulip.git
Generalize hover effect for stuff clickable to get the actions popover
Similar to the previous commit. (imported from commit 4b9558ea204f637467f42995a69b0dbc1e0d8cac)
This commit is contained in:
parent
03cf4199b5
commit
5052460b95
|
@ -784,13 +784,13 @@ $(function () {
|
|||
$("#main_div").on("mouseover", ".actions_hover", function (e) {
|
||||
var row = $(this).closest(".message_row");
|
||||
message_hover(row);
|
||||
row.find(".sender_name").addClass("sender_hovered");
|
||||
row.addClass("actions_hovered");
|
||||
});
|
||||
|
||||
$("#main_div").on("mouseout", ".actions_hover", function (e) {
|
||||
var row = $(this).closest(".message_row");
|
||||
message_unhover();
|
||||
row.find(".sender_name").removeClass("sender_hovered");
|
||||
row.removeClass("actions_hovered");
|
||||
});
|
||||
|
||||
$("#main_div").on("click", ".actions_hover", function (e) {
|
||||
|
|
|
@ -231,7 +231,7 @@ td.pointer {
|
|||
font-weight: bold;
|
||||
}
|
||||
|
||||
.sender_hovered {
|
||||
.actions_hovered .sender_name {
|
||||
color: #0088CC;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue