[IMP] small css tweaks
authorGéry Debongnie <ged@odoo.com>
Fri, 23 May 2014 13:51:57 +0000 (15:51 +0200)
committerGéry Debongnie <ged@odoo.com>
Fri, 23 May 2014 13:51:57 +0000 (15:51 +0200)
correct a few problems introduced by the change to the scrolling area.

Note: body is in overflow:auto to allow scrolling when there is no view
manager (for example, client action)

addons/web/static/src/css/base.css
addons/web/static/src/css/base.sass

index 25e5d86..c9e7020 100644 (file)
 .openerp .oe_application {
   width: 100%;
   height: 100%;
+  position: relative;
 }
 .openerp .oe_application a {
   color: #7c7bad;
   display: table;
   height: inherit;
   width: 100%;
-  position: relative;
 }
 .openerp .oe_view_manager .oe_view_manager_body {
   position: absolute;
   right: 0;
 }
 .openerp .oe_view_manager .oe_view_manager_view_kanban:not(:empty) {
-  height: inherit;
+  height: 100%;
 }
 .openerp .oe_view_manager[data-view-type=kanban] .oe_view_manager_body {
   display: table-row;
@@ -3409,5 +3409,5 @@ input[type="radio"], input[type="checkbox"] {
 }
 
 body {
-  overflow: hidden;
+  overflow: auto;
 }
index f2815ad..72c7107 100644 (file)
@@ -952,6 +952,7 @@ $sheet-padding: 16px
     .oe_application
         width: 100%
         height: 100%
+        position: relative
         a
             color: $link-color
         > div
@@ -970,7 +971,6 @@ $sheet-padding: 16px
         display: table
         height: inherit
         width: 100%
-        position: relative
         .oe_view_manager_body
             position: absolute
             overflow: auto
@@ -979,7 +979,7 @@ $sheet-padding: 16px
             left: 0
             right: 0
         .oe_view_manager_view_kanban:not(:empty)
-            height: inherit
+            height: 100%
         &[data-view-type=kanban]
             .oe_view_manager_body
                 display: table-row
@@ -2769,6 +2769,6 @@ input[type="radio"], input[type="checkbox"]
 
 
 body
-    overflow: hidden
+    overflow: auto
 // au BufWritePost,FileWritePost *.sass :!sass --style expanded --line-numbers <afile> > "%:p:r.css"
 // vim:tabstop=4:shiftwidth=4:softtabstop=4:fdm=marker: