diff options
| author | Géry Debongnie <ged@odoo.com> | 2014-10-30 14:14:31 +0100 |
|---|---|---|
| committer | Géry Debongnie <ged@odoo.com> | 2014-10-31 13:57:16 +0100 |
| commit | fd7c5876f4c7764c64af35f7bdb2c618934c5773 (patch) | |
| tree | ef4f8abcd789ba9ad80fa0f157e10cef0f4a4f65 /addons/web/static/src/css | |
| parent | 6abeab7ef9d14160b6f2e7d3148c339f9736b2bb (diff) | |
[FIX] fixes modal window layout bugs (addon web)
Diffstat (limited to 'addons/web/static/src/css')
| -rw-r--r-- | addons/web/static/src/css/base.css | 26 | ||||
| -rw-r--r-- | addons/web/static/src/css/base.sass | 23 |
2 files changed, 39 insertions, 10 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 8ddb382b1db..2dc3b8b6f09 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -1161,8 +1161,11 @@ .openerp .oe_view_manager_inline > .oe-view-manager-header, .openerp .oe_view_manager_inlineview > .oe-view-manager-header { display: none; } +.openerp .o-modal-header > div { + margin-left: 45%; +} .openerp .oe_popup_form { - display: table; + display: none; } .openerp .oe_popup_form .oe_formview .oe_form_pager { display: none !important; @@ -3082,8 +3085,21 @@ body.oe_single_form .oe_single_form_container { font-size: 20px; } .modal .modal-body { - overflow-x: auto; - min-height: 200px; + overflow: auto; + padding: 0; +} +.modal .modal-body .oe_application { + width: 100%; +} +.modal .modal-body .oe_popup_list { + display: none; + min-height: 150px; +} +.modal .modal-body .oe-view-manager { + min-height: 150px; +} +.modal .modal-body .oe_form_sheetbg .oe_form_sheet { + padding: 0; } .modal .modal-footer { text-align: left; @@ -3100,8 +3116,8 @@ body.oe_single_form .oe_single_form_container { @media (min-width: 768px) { .modal .modal-body { - max-height: -webkit-calc(100vh - 200px); - max-height: calc(100vh - 200px); + max-height: -webkit-calc(100vh - 170px); + max-height: calc(100vh - 170px); } } .ui-datepicker { diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index dc8286a1630..2d9c5b9cd33 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -1002,8 +1002,11 @@ $sheet-padding: 16px // }}} // FormPopup {{{ + .o-modal-header + > div + margin-left: 45% .oe_popup_form - display: table + display: none .oe_formview .oe_form_pager display: none !important // Customize label weight for popup wizard appear from another wizard according bootstrap3 @@ -2542,8 +2545,18 @@ body.oe_single_form height: 18px font-size: 20px .modal-body - overflow-x: auto - min-height: 200px + overflow: auto + padding: 0 + .oe_application + width: 100% + .oe_popup_list + display: none + min-height: 150px + .oe-view-manager + min-height: 150px + .oe_form_sheetbg + .oe_form_sheet + padding: 0 .modal-footer text-align: left .oe_button @@ -2555,8 +2568,8 @@ body.oe_single_form @media (min-width: 768px) .modal .modal-body - max-height: -webkit-calc(100vh - 200px) - max-height: calc(100vh - 200px) + max-height: -webkit-calc(100vh - 170px) + max-height: calc(100vh - 170px) .ui-datepicker z-index: 1500 !important |
