hgweb: be consistent with the background highlighting on closed branches (Issue2386) stable
authorRyan Phillips <ryan@trolocsis.com>
Sun, 19 Sep 2010 21:20:38 -0500
branchstable
changeset 12353 0c2c969e032b
parent 12352 5be733b20bd1
child 12355 2935cb0ab4e9
child 12359 55dc918c21d5
child 12544 cf1df979956e
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.
mercurial/templates/static/style-gitweb.css
mercurial/templates/static/style-monoblue.css
--- 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 {