# HG changeset patch # User domruf # Date 2017-10-26 19:41:21 # Node ID b983522e7c13588a3134d83b1108c043c19414a9 # Parent 1cd6e633bab8e3c32f85fb4faac8a3a62e3cae09 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. diff --git a/kallithea/public/css/style.css b/kallithea/public/css/style.css --- a/kallithea/public/css/style.css +++ b/kallithea/public/css/style.css @@ -1573,17 +1573,16 @@ table.code-difftable td.code pre u:befor 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 { diff --git a/kallithea/public/less/kallithea-diff.less b/kallithea/public/less/kallithea-diff.less --- a/kallithea/public/less/kallithea-diff.less +++ b/kallithea/public/less/kallithea-diff.less @@ -103,17 +103,16 @@ table.code-difftable td.code pre u:befor 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 **/