Mercurial > hg
changeset 12353:0c2c969e032b stable
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.
author | Ryan Phillips <ryan@trolocsis.com> |
---|---|
date | Sun, 19 Sep 2010 21:20:38 -0500 |
parents | 5be733b20bd1 |
children | 2935cb0ab4e9 55dc918c21d5 cf1df979956e |
files | mercurial/templates/static/style-gitweb.css mercurial/templates/static/style-monoblue.css |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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 {