#344266 [cubicweb-forge]: fix buggy boxes css style stable
authorKatia Saurfelt <katia.saurfelt@logilab.fr>
Thu, 02 Jul 2009 10:27:42 +0200
branchstable
changeset 2232 7837a3941327
parent 2225 16826403affa
child 2233 bf3603caaf0d
child 2236 37c40110cd1f
#344266 [cubicweb-forge]: fix buggy boxes css style
web/data/cubicweb.css
web/data/cubicweb.htmlhelpers.js
--- a/web/data/cubicweb.css	Wed Jul 01 20:18:21 2009 +0200
+++ b/web/data/cubicweb.css	Thu Jul 02 10:27:42 2009 +0200
@@ -454,7 +454,6 @@
 div.sideBox {
   padding: 0 0 0.2em;
   margin-bottom: 0.5em;
-  background: #eeedd9;
   min-width: 21em;
   max-width: 50em;
 }
@@ -467,6 +466,7 @@
 
 div.sideBoxBody {
   padding: 0.2em 5px;
+  background: #eeedd9;
 }
 
 div.sideBoxBody a {
--- a/web/data/cubicweb.htmlhelpers.js	Wed Jul 01 20:18:21 2009 +0200
+++ b/web/data/cubicweb.htmlhelpers.js	Thu Jul 02 10:27:42 2009 +0200
@@ -254,7 +254,7 @@
 
 //============= page loading events ==========================================//
 function roundedCornersOnLoad() {
-    jQuery('div.sideBox').corner('bottom 6px');
+    jQuery('div.sideBoxBody').corner('bottom 6px');
     jQuery('div.boxTitle, div.boxPrefTitle, div.sideBoxTitle, th.month').corner('top 6px');
 }