Mercurial > kallithea
changeset 5056:a06804c28d74 stable
css: add text +/- markers to the diff to improve readability for colour blind (fixes #77)
author | Andrew Shadura <andrew@shadura.me> |
---|---|
date | Wed, 22 Apr 2015 14:20:29 +0200 |
parents | 539f3da5d965 |
children | 1c3f8bbc3584 58e4670c7902 |
files | kallithea/public/css/style.css |
diffstat | 1 files changed, 14 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/public/css/style.css Wed Apr 22 13:59:47 2015 +0200 +++ b/kallithea/public/css/style.css Wed Apr 22 14:20:29 2015 +0200 @@ -4964,6 +4964,20 @@ 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;