changeset 1466:6639b3df576d

Foobar theme new variables added to color palette
author Jaiditya Mathur <jaiditya.mathur@gmail.com>
date Tue, 05 Jun 2012 08:02:10 +0530
parents 2a8c02e82969
children 6e824debde08
files MoinMoin/themes/foobar/static/css/stylus/main.styl
diffstat 1 files changed, 14 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/themes/foobar/static/css/stylus/main.styl	Tue Jun 05 08:00:53 2012 +0530
+++ b/MoinMoin/themes/foobar/static/css/stylus/main.styl	Tue Jun 05 08:02:10 2012 +0530
@@ -28,6 +28,13 @@
 panel_items_color = #000000
 border_color = #4D7DA9
 shadow_color = #444444
+table_bg_color = #EEF1F5
+link_color = #47F
+hover_color = red
+active_color = green
+visited_color = #04A
+nonexistent_link_color = grey
+nonexistent_hover_color = black
 
 font_family = sans-serif
 main_font_size = 1em
@@ -173,21 +180,21 @@
     text-decoration none
     // order must be: link, visited, hover, active
     &:link
-        color #47F
+        color link_color
     &:visited
-        color #04A
+        color visited_color
     &:hover
-        color red
+        color hover_color
         text-decoration underline
     &:active
-        color green
+        color active_color
         text-decoration underline
     &.moin-nonexistent:link
         color #666
     &.moin-nonexistent:visited
-        color grey
+        color nonexistent_link_color
     &.moin-nonexistent:hover
-        color black
+        color nonexistent_hover_color
     &.moin-nonexistent:active
         color black
 
@@ -308,7 +315,7 @@
         background-color #C4D9FF
     tbody tr,
     > tr
-        background-color #EEF1F5
+        background-color table_bg_color
     tbody tr:nth-child(odd),
     > tr:nth-child(odd)
         background-color #D9DFE8