gitweb: blame table row no highlight fix

Until now blame just used the commit/tree/tags/etc style of
highlight-able table rows, which have alternating light/dark rows that
flash when mouse pointer passes over them. This is very annoying in
blame, since the text is static and it interferes with the
per-revision block highlighting.

Signed-off-by: Luben Tuikov <ltuikov@yahoo.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Luben Tuikov 2006-08-04 15:09:59 -07:00 committed by Junio C Hamano
parent d636ad9743
commit 82f930dead
2 changed files with 5 additions and 1 deletions

View File

@ -171,6 +171,10 @@ tr.dark {
background-color: #f6f6f0; background-color: #f6f6f0;
} }
tr.dark2 {
background-color: #f6f6f0;
}
tr.dark:hover { tr.dark:hover {
background-color: #edece6; background-color: #edece6;
} }

View File

@ -1498,7 +1498,7 @@ sub git_blame2 {
git_page_nav('','', $hash_base,$co{'tree'},$hash_base, $formats_nav); git_page_nav('','', $hash_base,$co{'tree'},$hash_base, $formats_nav);
git_header_div('commit', esc_html($co{'title'}), $hash_base); git_header_div('commit', esc_html($co{'title'}), $hash_base);
git_print_page_path($file_name, $ftype); git_print_page_path($file_name, $ftype);
my @rev_color = (qw(light dark)); my @rev_color = (qw(light2 dark2));
my $num_colors = scalar(@rev_color); my $num_colors = scalar(@rev_color);
my $current_color = 0; my $current_color = 0;
my $last_rev; my $last_rev;