diff options
author | Ragnar Ouchterlony | 2009-09-13 19:36:35 +0200 |
---|---|---|
committer | Lars Hjemli | 2009-09-16 20:17:56 +0200 |
commit | 40e174d5364910750413d94b5417e57d108190ef (patch) | |
tree | 21d71be66e1b058cecc45b861523c071fb4ee126 /cgit.css | |
parent | 27479ac54c99584612f7246c9456119e88621eaa (diff) | |
download | cgit-40e174d5364910750413d94b5417e57d108190ef.tar.gz cgit-40e174d5364910750413d94b5417e57d108190ef.tar.bz2 cgit-40e174d5364910750413d94b5417e57d108190ef.zip |
First version of side-by-side diff.
This constitutes the first prototype of a side-by-side diff. It is not
possible to switch between unidiff and side-by-side diff at all at this
stage.
Signed-off-by: Ragnar Ouchterlony <ragnar@lysator.liu.se>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'cgit.css')
-rw-r--r-- | cgit.css | 35 |
1 files changed, 35 insertions, 0 deletions
@@ -601,3 +601,38 @@ table.hgraph div.bar { | |||
601 | background-color: #eee; | 601 | background-color: #eee; |
602 | height: 1em; | 602 | height: 1em; |
603 | } | 603 | } |
604 | |||
605 | table.ssdiff td.add { | ||
606 | color: black; | ||
607 | background: #afa; | ||
608 | } | ||
609 | |||
610 | table.ssdiff td.add_dark { | ||
611 | color: black; | ||
612 | background: #9c9; | ||
613 | } | ||
614 | |||
615 | table.ssdiff td.del { | ||
616 | color: black; | ||
617 | background: #faa; | ||
618 | } | ||
619 | |||
620 | table.ssdiff td.del_dark { | ||
621 | color: black; | ||
622 | background: #c99; | ||
623 | } | ||
624 | |||
625 | table.ssdiff td.changed { | ||
626 | color: black; | ||
627 | background: #ffa; | ||
628 | } | ||
629 | |||
630 | table.ssdiff td.changed_dark { | ||
631 | color: black; | ||
632 | background: #cc9; | ||
633 | } | ||
634 | |||
635 | table.ssdiff td.hunk { | ||
636 | color: #black; | ||
637 | background: #ccf; | ||
638 | } | ||