aboutsummaryrefslogtreecommitdiffstats
path: root/cgit.c
diff options
context:
space:
mode:
authorRagnar Ouchterlony <ragnar@lysator.liu.se>2009-09-13 19:36:35 +0200
committerLars Hjemli <hjemli@gmail.com>2009-09-16 20:17:56 +0200
commit40e174d5364910750413d94b5417e57d108190ef (patch)
tree21d71be66e1b058cecc45b861523c071fb4ee126 /cgit.c
parent27479ac54c99584612f7246c9456119e88621eaa (diff)
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 '')
-rw-r--r--cgit.css35
1 files changed, 35 insertions, 0 deletions
diff --git a/cgit.css b/cgit.css
index c47ebc9..bf58b8a 100644
--- a/cgit.css
+++ b/cgit.css
@@ -601,3 +601,38 @@ table.hgraph div.bar {
background-color: #eee;
height: 1em;
}
+
+table.ssdiff td.add {
+ color: black;
+ background: #afa;
+}
+
+table.ssdiff td.add_dark {
+ color: black;
+ background: #9c9;
+}
+
+table.ssdiff td.del {
+ color: black;
+ background: #faa;
+}
+
+table.ssdiff td.del_dark {
+ color: black;
+ background: #c99;
+}
+
+table.ssdiff td.changed {
+ color: black;
+ background: #ffa;
+}
+
+table.ssdiff td.changed_dark {
+ color: black;
+ background: #cc9;
+}
+
+table.ssdiff td.hunk {
+ color: #black;
+ background: #ccf;
+}