[IMP] change scrollable area to main view

Now, only the main view is supposed to scroll (the part below the
header with the view selector).  The left menu, top bar and header
are supposed to stay fixed.  This is done by carefully using
position:relative and absolute.  However, this is likely to
introduce some (many?) issues, perhaps with tooltips position and
such.  The bug hunt is on!
This commit is contained in:
Géry Debongnie
2014-05-23 15:09:48 +02:00
parent 8b132b70c5
commit 088b33d0bc
2 changed files with 20 additions and 2 deletions
+11 -1
View File
@@ -1156,9 +1156,15 @@
display: table;
height: inherit;
width: 100%;
position: relative;
}
.openerp .oe_view_manager .oe_view_manager_body {
height: inherit;
position: absolute;
overflow: auto;
top: 90px;
bottom: 0;
left: 0;
right: 0;
}
.openerp .oe_view_manager .oe_view_manager_view_kanban:not(:empty) {
height: inherit;
@@ -3401,3 +3407,7 @@ input[type="radio"], input[type="checkbox"] {
background-color: black;
opacity: 0.6;
}
body {
overflow: hidden;
}
+9 -1
View File
@@ -970,8 +970,14 @@ $sheet-padding: 16px
display: table
height: inherit
width: 100%
position: relative
.oe_view_manager_body
height: inherit
position: absolute
overflow: auto
top: 90px
bottom: 0
left: 0
right: 0
.oe_view_manager_view_kanban:not(:empty)
height: inherit
&[data-view-type=kanban]
@@ -2762,5 +2768,7 @@ input[type="radio"], input[type="checkbox"]
opacity: 0.6000000238418579
body
overflow: hidden
// au BufWritePost,FileWritePost *.sass :!sass --style expanded --line-numbers <afile> > "%:p:r.css"
// vim:tabstop=4:shiftwidth=4:softtabstop=4:fdm=marker: