@matheusbsbs / matheus-bagliano / commits / 82f930dead
Fork 0

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>

Luben Tuikov committed Aug 4, 2006 at 15:09 UTC 82f930deadc9a7990cbc0988255e6a5afd641f4b
2 files changed +5 -1
gitweb/gitweb.css
+4
@@ -171,6 +171,10 @@ tr.dark {
171 background-color: #f6f6f0;
172 }
173
174 +tr.dark2 {
175 + background-color: #f6f6f0;
176 +}
177 +
178 tr.dark:hover {
179 background-color: #edece6;
180 }
gitweb/gitweb.perl
+1 -1
@@ -1498,7 +1498,7 @@ sub git_blame2 {
1498 git_page_nav('','', $hash_base,$co{'tree'},$hash_base, $formats_nav);
1499 git_header_div('commit', esc_html($co{'title'}), $hash_base);
1500 git_print_page_path($file_name, $ftype);
1501 - my @rev_color = (qw(light dark));
1501 + my @rev_color = (qw(light2 dark2));
1502 my $num_colors = scalar(@rev_color);
1503 my $current_color = 0;
1504 my $last_rev;