# HG changeset patch # User Matt Mackall # Date 2012-07-25 19:49:53 # Node ID 106cdea0183d6a5cc196c008f8bf3b590607676e # Parent 336121088ef14228c44273d3bac6a355eb030dd7 hgweb: improve colors for comparison page delete: red -> red insert: green -> yellow change: yellow -> gray diff --git a/mercurial/templates/static/style-coal.css b/mercurial/templates/static/style-coal.css --- a/mercurial/templates/static/style-coal.css +++ b/mercurial/templates/static/style-coal.css @@ -304,16 +304,16 @@ ul#graphnodes li .info { } .delete { - background-color: black; - color: white; + background-color: #faa; + color: #333; } .insert { - background-color: #d0d0d0; + background-color: #ffa; } .replace { - background-color: #f9f9f9; + background-color: #e8e8e8; } .header { diff --git a/mercurial/templates/static/style-gitweb.css b/mercurial/templates/static/style-gitweb.css --- a/mercurial/templates/static/style-gitweb.css +++ b/mercurial/templates/static/style-gitweb.css @@ -144,15 +144,16 @@ ul#graphnodes li .info { } .delete { - background-color: #ffc5ce; + background-color: #faa; + color: #333; } .insert { - background-color: #c5ffc4; + background-color: #ffa; } .replace { - background-color: #ffff99; + background-color: #e8e8e8; } .comparison { diff --git a/mercurial/templates/static/style-monoblue.css b/mercurial/templates/static/style-monoblue.css --- a/mercurial/templates/static/style-monoblue.css +++ b/mercurial/templates/static/style-monoblue.css @@ -496,15 +496,16 @@ ul#graphnodes li .info { } .delete { - background-color: #ffc5ce; + background-color: #faa; + color: #333; } .insert { - background-color: #c5ffc4; + background-color: #ffa; } .replace { - background-color: #ffff99; + background-color: #e8e8e8; } .comparison { diff --git a/mercurial/templates/static/style-paper.css b/mercurial/templates/static/style-paper.css --- a/mercurial/templates/static/style-paper.css +++ b/mercurial/templates/static/style-paper.css @@ -293,15 +293,16 @@ ul#graphnodes li .info { } .delete { - background-color: #ffc5ce; + background-color: #faa; + color: #333; } .insert { - background-color: #c5ffc4; + background-color: #ffa; } .replace { - background-color: #ffff99; + background-color: #e8e8e8; } .header { diff --git a/tests/test-hgweb.t b/tests/test-hgweb.t --- a/tests/test-hgweb.t +++ b/tests/test-hgweb.t @@ -455,15 +455,16 @@ static file } .delete { - background-color: #ffc5ce; + background-color: #faa; + color: #333; } .insert { - background-color: #c5ffc4; + background-color: #ffa; } .replace { - background-color: #ffff99; + background-color: #e8e8e8; } .comparison {