aboutsummaryrefslogtreecommitdiff
path: root/gitweb/gitweb.css
diff options
context:
space:
mode:
authorJakub Narebski <jnareb@gmail.com>2009-09-01 13:39:18 +0200
committerJunio C Hamano <gitster@pobox.com>2009-09-01 08:34:25 -0700
commite206d62a922d80f2d00427ddfb93435adbf1cc59 (patch)
tree4a5748f16e32b8537febd3c495de70ddc15b3df5 /gitweb/gitweb.css
parent4af819d4cad206648b832f4d6103547981ab8004 (diff)
downloadgit-e206d62a922d80f2d00427ddfb93435adbf1cc59.tar.gz
git-e206d62a922d80f2d00427ddfb93435adbf1cc59.tar.xz
gitweb: Colorize 'blame_incremental' view during processing
This requires using 3 colors, not only two, to choose a color that is different from colors of up to 2 neighbors. gitweb.js selects the least used color, if more than one color is possible. Signed-off-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gitweb/gitweb.css')
-rw-r--r--gitweb/gitweb.css5
1 files changed, 5 insertions, 0 deletions
diff --git a/gitweb/gitweb.css b/gitweb/gitweb.css
index 4a2e49656..c101e4af7 100644
--- a/gitweb/gitweb.css
+++ b/gitweb/gitweb.css
@@ -257,6 +257,11 @@ tr.no-previous td.linenr {
font-weight: bold;
}
+/* for 'blame_incremental', during processing */
+tr.color1 { background-color: #f6fff6; }
+tr.color2 { background-color: #f6f6ff; }
+tr.color3 { background-color: #fff6f6; }
+
td {
padding: 2px 5px;
font-size: 100%;