Skip to content

Commit

Permalink
HTML hover effect is now only shown on tables with hidden rows.
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-waldenberg committed May 20, 2013
1 parent 1992d3d commit 0c0f39f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion html/html.header
Original file line number Diff line number Diff line change
Expand Up @@ -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 ∧";
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 0c0f39f

Please sign in to comment.