summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d636ad9)
raw | patch | inline | side by side (parent: d636ad9)
author | Luben Tuikov <ltuikov@yahoo.com> | |
Fri, 4 Aug 2006 22:09:59 +0000 (15:09 -0700) | ||
committer | Junio 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>
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 | patch | blob | history | |
gitweb/gitweb.perl | patch | blob | history |
diff --git a/gitweb/gitweb.css b/gitweb/gitweb.css
index 460e7287187e2eab166be12c9f540f578ba7eaca..47c1ade87edbe4727c088435385dd66ecfe13fec 100644 (file)
--- a/gitweb/gitweb.css
+++ b/gitweb/gitweb.css
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 6a923166774a29ff1ba8b43d85500352e2074c08..ae13e3e701d0c73903521b56d31712b9799ef5e5 100755 (executable)
--- a/gitweb/gitweb.perl
+++ b/gitweb/gitweb.perl
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;