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:
Keegan McAllister 2013-02-08 22:43:59 -05:00
parent 03cf4199b5
commit 5052460b95
2 changed files with 3 additions and 3 deletions

View File

@ -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) {

View File

@ -231,7 +231,7 @@ td.pointer {
font-weight: bold;
}
.sender_hovered {
.actions_hovered .sender_name {
color: #0088CC;
text-decoration: underline;
}