diff options
Diffstat (limited to 'addons/web/static/src/less/modal.less')
| -rw-r--r-- | addons/web/static/src/less/modal.less | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/addons/web/static/src/less/modal.less b/addons/web/static/src/less/modal.less new file mode 100644 index 00000000000..784fb47aaf8 --- /dev/null +++ b/addons/web/static/src/less/modal.less @@ -0,0 +1,51 @@ +.modal { + + .modal-content { + border-radius: 0; + + .modal-body { + &.o_act_window { + padding: 0; + } + + .o_modal_header { + .o-webclient-padding(@top: 10px, @bottom: 10px); + + .o_popup_list_pager { // FIXME : should check where it is used (o_modal_header ~= control panel) + float: right; + } + } + + .oe-view-manager-content { + position: static; // Reset position for view managers in modals (default value: absolute) + } + } + + .modal-footer { + text-align: left; + } + } + + + @media (min-width: @screen-sm-min) { + .modal-dialog { + height: 100%; + padding: 30px 0; + margin: 0 auto; + + .modal-content { + max-height: 100%; + .o-flex-display(); + .o-flex-flow(column, nowrap); + + .modal-header, .modal-footer { + .o-flex(0, 0, auto); + } + + .modal-body { + overflow: auto; + } + } + } + } +} |
