# HG changeset patch
# User Andrew Shadura <[email protected]>
# Date 1429705229 -7200
# Wed Apr 22 14:20:29 2015 +0200
# Branch stable
# Node ID a06804c28d744fb153c3e083277429094a134495
# Parent 539f3da5d965459d2221d10b6724585e60104f7d
css: add text +/- markers to the diff to improve readability for colour blind
(fixes #77)
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
@@ -4964,6 +4964,20 @@ table.code-difftable .code pre {
white-space: pre-wrap;
}
+table.code-difftable .del .code pre:before {
+ content: "-";
+ color: #550000;
+}
+
+table.code-difftable .add .code pre:before {
+ content: "+";
+ color: #005500;
+}
+
+table.code-difftable .unmod .code pre:before {
+ content: " ";
+}
+
.add-bubble {
position: relative;
display: none;
_______________________________________________
kallithea-general mailing list
[email protected]
http://lists.sfconservancy.org/mailman/listinfo/kallithea-general