diff options
author | Florian Pritz <bluewind@xinu.at> | 2011-10-31 20:56:06 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2011-10-31 20:56:06 +0100 |
commit | f0fb5945f064ea99c457a56b6cb3973b9c94d66c (patch) | |
tree | c5490296a29512758a0b9f76964ed8a3b44759d0 /data/paste-diff.css | |
parent | 79e970fd0078ac0e67f2f2e0294e5c7901626fe9 (diff) |
fix unified diff highlighting
We shouldn't recolor "ed commands" when they appear in a unified diff.
To make this work we have to mark comment lines so the css selector can
find them.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'data/paste-diff.css')
-rw-r--r-- | data/paste-diff.css | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/data/paste-diff.css b/data/paste-diff.css index 01b48d656..3e0391e76 100644 --- a/data/paste-diff.css +++ b/data/paste-diff.css @@ -12,8 +12,9 @@ .diff .re4 {color: #888822;} .diff .re5 {color: #0011dd;} .diff .re6 {color: #440088;} -.diff .re7 {color: #991111;} -.diff .re8 {color: #00b000;} +.diff .re7, .diff .re7 .re0 {color: #991111;} +.diff .re8, .diff .re8 .re0 {color: #00b000;} .diff .re9 {color: #888822;} +.diff .re10, .diff .re10 .re0 {color: #444444} .diff .ln-xtra, .diff li.ln-xtra, .diff div.ln-xtra {background-color: #ffc;} .diff span.xtra { display:block; } |