[css] make body bg color configurable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 02 Jul 2010 09:01:58 +0200
changeset 5853 89ad81d6972d
parent 5852 5cb23d24df26
child 5854 b49f58a320e6
[css] make body bg color configurable
web/data/cubicweb.css
web/data/uiprops.py
--- a/web/data/cubicweb.css	Fri Jul 02 09:01:22 2010 +0200
+++ b/web/data/cubicweb.css	Fri Jul 02 09:01:58 2010 +0200
@@ -51,7 +51,7 @@
 h3 { padding: %(h3Padding)s; }
 
 html, body {
-  background: #e2e2e2;
+  background: %(pageBgColor)s;
 }
 
 a, a:active, a:visited, a:link {
--- a/web/data/uiprops.py	Fri Jul 02 09:01:22 2010 +0200
+++ b/web/data/uiprops.py	Fri Jul 02 09:01:58 2010 +0200
@@ -96,7 +96,9 @@
 aColor = '#e6820e'
 aActiveColor = aVisitedColor = aLinkColor = aColor
 
+
 # page frame
+pageBgColor = '#e2e2e2'
 pageContentBorderColor = '#ccc'
 pageContentBgColor = '#fff'
 pageContentPadding = '1em'