HTML hover effect is now only shown on tables with hidden rows.

This commit is contained in:
Adam Waldenberg 2013-05-20 16:22:08 +02:00
parent 1992d3dc94
commit 0c0f39f2c9
1 changed files with 2 additions and 1 deletions

View File

@ -66,6 +66,7 @@
$("table.git tfoot tr td:first-child").filter(function() {{
return $(this).parent().parent().parent().find("tbody tr:hidden").length > 0;
}}).each(function() {{
$(this).addClass("hoverable");
this.innerHTML = "Show minor authors ∨";
}}).toggle(function() {{
this.innerHTML = "Hide minor authors ∧";
@ -198,7 +199,7 @@
min-height: 0;
}}
table#changes thead tr th:hover, table#blame thead tr th:hover,
table#changes tfoot tr td:hover, table#blame tfoot tr td:hover, div.button:hover {{
table#changes tfoot tr td.hoverable:hover, table#blame tfoot tr td.hoverable:hover, div.button:hover {{
background-color: #eddede;
border: 1px solid #bbb;
cursor: hand;