Add CSS to style the diff viewer.
authorMatthijs Kooijman <matthijs@stdin.nl>
Tue, 15 Sep 2009 09:08:23 +0000 (11:08 +0200)
committerMatthijs Kooijman <matthijs@stdin.nl>
Tue, 15 Sep 2009 09:08:23 +0000 (11:08 +0200)
static/exodus/css/screen.css

index a316fbd05d226bb24bcb6603373e0bbcdb7c868b..bf50b2edca7523fa6edcda95798fe040e9f938b6 100644 (file)
@@ -279,4 +279,30 @@ img.Decorative {
        border:3px double #cc8900;
 }
 
+/* Diff view, copied from modern/screen.css */
+.diff-header {
+    font-weight: bold;
+}
+
+.diff-title {
+    background-color: #C0C0C0;
+}
+
+.diff-added {
+    background-color: #E0FFE0;
+    vertical-align: sub;
+}
+
+.diff-removed {
+    background-color: #FFFFE0;
+    vertical-align: sub;
+}
+
+.diff-added span {
+    background-color: #80FF80;
+}
+
+.diff-removed span {
+    background-color: #FFFF80;
+}
 /* vim: set sw=4 sts=4 expandtab */