Code

gitweb: blame table row no highlight fix
authorLuben Tuikov <ltuikov@yahoo.com>
Fri, 4 Aug 2006 22:09:59 +0000 (15:09 -0700)
committerJunio C Hamano <junkio@cox.net>
Tue, 8 Aug 2006 01:15:29 +0000 (18:15 -0700)
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>
gitweb/gitweb.css
gitweb/gitweb.perl

index 460e7287187e2eab166be12c9f540f578ba7eaca..47c1ade87edbe4727c088435385dd66ecfe13fec 100644 (file)
@@ -171,6 +171,10 @@ tr.dark {
        background-color: #f6f6f0;
 }
 
+tr.dark2 {
+       background-color: #f6f6f0;
+}
+
 tr.dark:hover {
        background-color: #edece6;
 }
index 6a923166774a29ff1ba8b43d85500352e2074c08..ae13e3e701d0c73903521b56d31712b9799ef5e5 100755 (executable)
@@ -1498,7 +1498,7 @@ sub git_blame2 {
        git_page_nav('','', $hash_base,$co{'tree'},$hash_base, $formats_nav);
        git_header_div('commit', esc_html($co{'title'}), $hash_base);
        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 $current_color = 0;
        my $last_rev;