hgweb: improve colors for comparison page stable
authorMatt Mackall <mpm@selenic.com>
Wed, 25 Jul 2012 14:49:53 -0500
branchstable
changeset 17243 106cdea0183d
parent 17242 336121088ef1
child 17244 483aa765f6c4
hgweb: improve colors for comparison page delete: red -> red insert: green -> yellow change: yellow -> gray
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
--- 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 {