Mercurial > hg-stable
changeset 17243:106cdea0183d stable
hgweb: improve colors for comparison page
delete: red -> red
insert: green -> yellow
change: yellow -> gray
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 25 Jul 2012 14:49:53 -0500 |
parents | 336121088ef1 |
children | 483aa765f6c4 |
files | mercurial/templates/static/style-coal.css mercurial/templates/static/style-gitweb.css mercurial/templates/static/style-monoblue.css mercurial/templates/static/style-paper.css tests/test-hgweb.t |
diffstat | 5 files changed, 20 insertions(+), 16 deletions(-) [+] |
line wrap: on
line diff
--- 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 {
--- 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 {
--- 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 {
--- 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 {
--- 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 {