changeset 7035:b983522e7c13

less: use same color for spaces characters The light ones were barely visible and the others looked almost like normal characters. Also be more explicit and use border-color instead of color.
author domruf <dominikruf@gmail.com>
date Thu, 26 Oct 2017 19:41:21 +0200
parents 1cd6e633bab8
children 9136c3c1680e
files kallithea/public/css/style.css kallithea/public/less/kallithea-diff.less
diffstat 2 files changed, 4 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/public/css/style.css	Thu Oct 26 00:50:22 2017 +0200
+++ b/kallithea/public/css/style.css	Thu Oct 26 19:41:21 2017 +0200
@@ -1573,17 +1573,16 @@
 table.code-difftable td.code pre u.cr:before {
   content: "\21a4";
   display: inline-block;
-  color: rgba(0, 0, 0, 0.5);
 }
 /* whitespace characters */
 table.code-difftable td.code pre u {
-  color: rgba(0, 0, 0, 0.15);
+  color: rgba(0, 0, 0, 0.3);
 }
 /* trailing spaces */
 table.code-difftable td.code pre i {
   border-style: solid;
   border-width: 0 0 0 1px;
-  color: rgba(0, 0, 0, 0.5);
+  border-color: rgba(0, 0, 0, 0.3);
 }
 /** LINE NUMBERS **/
 table.code-difftable .lineno {
--- a/kallithea/public/less/kallithea-diff.less	Thu Oct 26 00:50:22 2017 +0200
+++ b/kallithea/public/less/kallithea-diff.less	Thu Oct 26 19:41:21 2017 +0200
@@ -103,17 +103,16 @@
 table.code-difftable td.code pre u.cr:before {
   content: "\21a4";
   display: inline-block;
-  color: rgba(0, 0, 0, 0.5);
 }
 /* whitespace characters */
 table.code-difftable td.code pre u {
-  color: rgba(0, 0, 0, 0.15);
+  color: rgba(0, 0, 0, 0.3);
 }
 /* trailing spaces */
 table.code-difftable td.code pre i {
   border-style: solid;
   border-width: 0 0 0 1px;
-  color: rgba(0, 0, 0, 0.5);
+  border-color: rgba(0, 0, 0, 0.3);
 }
 
 /** LINE NUMBERS **/