hgweb: improve colors for comparison page
delete: red -> red
insert: green -> yellow
change: yellow -> gray
--- 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 {