summaryrefslogtreecommitdiff
path: root/gitweb
diff options
context:
space:
mode:
authorLuben Tuikov <ltuikov@yahoo.com>2006-08-04 22:09:59 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-08-08 01:15:29 (GMT)
commit82f930deadc9a7990cbc0988255e6a5afd641f4b (patch)
tree8c1067907fc3ac0be5aafccaa90ad72b70c1ed88 /gitweb
parentd636ad9743783c728469a9b644c23c0415fe1a7b (diff)
downloadgit-82f930deadc9a7990cbc0988255e6a5afd641f4b.zip
git-82f930deadc9a7990cbc0988255e6a5afd641f4b.tar.gz
git-82f930deadc9a7990cbc0988255e6a5afd641f4b.tar.bz2
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>
Diffstat (limited to 'gitweb')
-rw-r--r--gitweb/gitweb.css4
-rwxr-xr-xgitweb/gitweb.perl2
2 files changed, 5 insertions, 1 deletions
diff --git a/gitweb/gitweb.css b/gitweb/gitweb.css
index 460e728..47c1ade 100644
--- a/gitweb/gitweb.css
+++ b/gitweb/gitweb.css
@@ -171,6 +171,10 @@ tr.dark {
background-color: #f6f6f0;
}
+tr.dark2 {
+ background-color: #f6f6f0;
+}
+
tr.dark:hover {
background-color: #edece6;
}
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index 6a92316..ae13e3e 100755
--- a/gitweb/gitweb.perl
+++ b/gitweb/gitweb.perl
@@ -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;