hgweb: be consistent with the background highlighting on closed branches (Issue2386)
The coal and paper web themes will highlight closed branches as a visual cue to
the user. This patch makes the other two themes constistent.
For users with difficulty differentiating colors, it would be better to split
out closed branches to a new table or optionally hide them.
--- a/mercurial/templates/static/style-gitweb.css Mon Sep 20 13:31:02 2010 +0200
+++ b/mercurial/templates/static/style-gitweb.css Sun Sep 19 21:20:38 2010 -0500
@@ -33,6 +33,7 @@
tr.dark, .parity1 { background-color:#f6f6f0; }
tr.dark:hover, .parity1:hover { background-color:#edece6; }
td { padding:2px 5px; font-size:12px; vertical-align:top; }
+td.closed { background-color: #99f; }
td.link { padding:2px 5px; font-family:sans-serif; font-size:10px; }
td.indexlinks { white-space: nowrap; }
td.indexlinks a {
--- a/mercurial/templates/static/style-monoblue.css Mon Sep 20 13:31:02 2010 +0200
+++ b/mercurial/templates/static/style-monoblue.css Sun Sep 19 21:20:38 2010 -0500
@@ -204,6 +204,9 @@
table tr td.nowrap {
white-space: nowrap;
}
+table tr td.closed {
+ background-color: #99f;
+}
/*
table tr.parity0:hover,
table tr.parity1:hover {