diff options
| author | Géry Debongnie <ged@odoo.com> | 2014-06-10 16:22:02 +0200 |
|---|---|---|
| committer | Géry Debongnie <ged@odoo.com> | 2014-06-10 16:22:02 +0200 |
| commit | 63c702f00960ef195e7f83ea671be62b645cab6f (patch) | |
| tree | 1e07cabd0d3412b22adf9fa8ec676095401b8989 /addons/web/static/src/css/base.sass | |
| parent | 8202561511f12b0ffd1626c5a9b8c7be2171b578 (diff) | |
[IMP] better layout with pure css for web client
this patch removes javascript calls to adjust the layout. It manages
to do the correct layout with only css, which will correct quite a few
issues.
Diffstat (limited to 'addons/web/static/src/css/base.sass')
| -rw-r--r-- | addons/web/static/src/css/base.sass | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 4baddd7d862..e8cea79abbe 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -961,13 +961,20 @@ $sheet-padding: 16px position: relative height: 100% > .oe_view_manager - > .oe_view_manager_body - position: absolute - overflow: auto - top: 66px - bottom: 0 - left: 0 - right: 0 + > .oe_view_manager_wrapper + display: table-row + height: 100% + > div + position: relative + height: 100% + > .oe_view_manager_body + position: absolute + top: 0 + bottom: 0 + left: 0 + right: 0 + overflow: auto + .oe_breadcrumb_item:not(:last-child) max-width: 7em @@ -1127,6 +1134,7 @@ $sheet-padding: 16px .oe_view_manager_current height: 100% > .oe_view_manager_header + display: table-row border-bottom: 1px solid #cacaca @include vertical-gradient(#fcfcfc, #dedede) @include box-shadow((0 1px 0 rgba(255,255,255,0.4), 0 0 9px rgba(0,0,0,0.1))) |
