# HG changeset patch # User Matt Mackall # Date 1343245793 18000 # Node ID 106cdea0183d6a5cc196c008f8bf3b590607676e # Parent 336121088ef14228c44273d3bac6a355eb030dd7 hgweb: improve colors for comparison page delete: red -> red insert: green -> yellow change: yellow -> gray diff -r 336121088ef1 -r 106cdea0183d mercurial/templates/static/style-coal.css --- a/mercurial/templates/static/style-coal.css Wed Jul 25 16:27:26 2012 +0200 +++ b/mercurial/templates/static/style-coal.css Wed Jul 25 14:49:53 2012 -0500 @@ -304,16 +304,16 @@ } .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 -r 336121088ef1 -r 106cdea0183d mercurial/templates/static/style-gitweb.css --- a/mercurial/templates/static/style-gitweb.css Wed Jul 25 16:27:26 2012 +0200 +++ b/mercurial/templates/static/style-gitweb.css Wed Jul 25 14:49:53 2012 -0500 @@ -144,15 +144,16 @@ } .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 -r 336121088ef1 -r 106cdea0183d mercurial/templates/static/style-monoblue.css --- a/mercurial/templates/static/style-monoblue.css Wed Jul 25 16:27:26 2012 +0200 +++ b/mercurial/templates/static/style-monoblue.css Wed Jul 25 14:49:53 2012 -0500 @@ -496,15 +496,16 @@ } .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 -r 336121088ef1 -r 106cdea0183d mercurial/templates/static/style-paper.css --- a/mercurial/templates/static/style-paper.css Wed Jul 25 16:27:26 2012 +0200 +++ b/mercurial/templates/static/style-paper.css Wed Jul 25 14:49:53 2012 -0500 @@ -293,15 +293,16 @@ } .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 -r 336121088ef1 -r 106cdea0183d tests/test-hgweb.t --- a/tests/test-hgweb.t Wed Jul 25 16:27:26 2012 +0200 +++ b/tests/test-hgweb.t Wed Jul 25 14:49:53 2012 -0500 @@ -455,15 +455,16 @@ } .delete { - background-color: #ffc5ce; + background-color: #faa; + color: #333; } .insert { - background-color: #c5ffc4; + background-color: #ffa; } .replace { - background-color: #ffff99; + background-color: #e8e8e8; } .comparison {