]> Lady’s Gitweb - Gitweb/commitdiff
gitweb: blame table row no highlight fix
authorLuben Tuikov <redacted>
Fri, 4 Aug 2006 22:09:59 +0000 (15:09 -0700)
committerLady <redacted>
Mon, 6 Apr 2026 04:05:47 +0000 (00:05 -0400)
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.css
gitweb.perl

index a32aa51e28e56785ebd8be6feaa35a14fb4a81e5b72842a75a9560d7c0ee1152..b2e665c9b287ac0f54a868e25dcb9966129e1c8ac3d0694649d17b24f1b7a1d9 100644 (file)
@@ -171,6 +171,10 @@ tr.dark {
        background-color: #f6f6f0;
 }
 
+tr.dark2 {
+       background-color: #f6f6f0;
+}
+
 tr.dark:hover {
        background-color: #edece6;
 }
index 951271bce376bde6253f092803223349473ced9749204d9d386edceb07d88cc7..99ea141fafb018608ee7478339565fc9335d64c37ee341bd519cf0f00cdbd7da 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;
This page took 0.2564 seconds and 4 git commands to generate.