changeset 1528:49804b398c8c

Foobar theme moin-diff colors changed
author Jaiditya Mathur <jaiditya.mathur@gmail.com>
date Fri, 13 Jul 2012 03:09:14 +0530
parents d7ccb653e7aa
children 0841def67b6c
files MoinMoin/themes/foobar/static/css/common.css MoinMoin/themes/foobar/static/css/stylus/moin_diff.styl
diffstat 2 files changed, 14 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/themes/foobar/static/css/common.css	Wed Jul 11 01:32:16 2012 +0530
+++ b/MoinMoin/themes/foobar/static/css/common.css	Fri Jul 13 03:09:14 2012 +0530
@@ -164,15 +164,15 @@
 a.moin-mime-package:before{content:url("../img/moin-package.png");margin:0 .2em;vertical-align:middle}
 a.moin-mime-drawing:before{content:url("../img/moin-drawing.png");margin:0 .2em;vertical-align:middle}
 .moin-diff{width:99%;table-layout:fixed;margin:.3em}
-.moin-diff-header{vertical-align:top;font-size:92%}
+.moin-diff-header{vertical-align:top;word-wrap:break-word;font-size:92%}
 .moin-diff-info{margin:.33em .25em}
 .moin-diff-info-value{white-space:normal}
 .moin-diff-info-caption{display:inline-block;min-width:5em}
-.moin-diff-line-number{background-color:#ffe6e6}
-.moin-diff-added{background-color:#e0ffe0;vertical-align:top;width:50%;white-space:pre-wrap;word-wrap:break-word;font-family:monospace;}
-.moin-diff-added span{background-color:#80ff80}
-.moin-diff-removed{background-color:#ffffe0;vertical-align:top;width:50%;white-space:pre-wrap;word-wrap:break-word;font-family:monospace;}
-.moin-diff-removed span{background-color:#ffff80}
+.moin-diff-line-number{background-color:#e6e6e7}
+.moin-diff-added{background-color:#f0f8ff;vertical-align:top;width:50%;white-space:pre-wrap;word-wrap:break-word;font-family:monospace;padding:.5em;}
+.moin-diff-added span{background-color:#b5f2b6}
+.moin-diff-removed{background-color:#fff5ee;vertical-align:top;width:50%;white-space:pre-wrap;word-wrap:break-word;font-family:monospace;padding:.5em;}
+.moin-diff-removed span{background-color:#f1eeb9}
 body{color:#000;background-color:#d6d5d0;font-family:verdana,sans-serif;background-image:url("../img/base.png")}
 div p{margin:.5em .2em;font-size:.9em;line-height:1.2em;text-align:justify}
 #moin-global-tray{float:left;width:16.666666666666668%;padding:.5%;overflow:hidden}
--- a/MoinMoin/themes/foobar/static/css/stylus/moin_diff.styl	Wed Jul 11 01:32:16 2012 +0530
+++ b/MoinMoin/themes/foobar/static/css/stylus/moin_diff.styl	Fri Jul 13 03:09:14 2012 +0530
@@ -7,6 +7,7 @@
 
 .moin-diff-header
     vertical-align top
+    word-wrap break-word
     font-size 92%
 
 .moin-diff-info
@@ -20,25 +21,27 @@
     min-width 5em
 
 .moin-diff-line-number
-    background-color #ffe6e6
+    background-color #E6E6E7
 
 .moin-diff-added
-    background-color #E0FFE0
+    background-color #F0F8FF
     vertical-align top
     width 50%
     white-space pre-wrap
     word-wrap break-word
     font-family monospace
+    padding .5em
     span
-        background-color #80FF80
+        background-color #B5F2B6
 
 .moin-diff-removed
-    background-color #FFFFE0
+    background-color #FFF5EE
     vertical-align top
     width 50%
     white-space pre-wrap
     word-wrap break-word
     font-family monospace
+    padding .5em
     span
-        background-color #FFFF80
+        background-color #F1EEB9
     
\ No newline at end of file