diff options
| author | Denis Ledoux <dle@odoo.com> | 2014-12-24 13:52:05 +0100 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2014-12-24 13:52:45 +0100 |
| commit | 5a207fa08ee3e52014764fe4983946d8504f6449 (patch) | |
| tree | 4c94c4beebee9348d5ebd3740255536187e12e61 /addons/web/static/src/css | |
| parent | 1fd13fbe2bb32e55757b3d1950ac2aa2ada1b2ad (diff) | |
[FIX] web: firefox print all pages of list view
opw-619093
Diffstat (limited to 'addons/web/static/src/css')
| -rw-r--r-- | addons/web/static/src/css/base.css | 12 | ||||
| -rw-r--r-- | addons/web/static/src/css/base.sass | 7 |
2 files changed, 19 insertions, 0 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 1b816cd7945..0bf682b5eff 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -3258,11 +3258,23 @@ body.oe_single_form .oe_single_form_container { } @media print { + body { + height: auto !important; + } + + .openerp#announcement_bar_table { + display: none; + } + .openerp { text-shadow: none; } + .openerp .oe_application, .openerp .oe_view_manager_wrapper { + height: auto !important; + } .openerp .oe_application > div > .oe_view_manager > .oe_view_manager_wrapper > div > .oe_view_manager_body { overflow: visible; + position: relative !important; } .openerp .oe_header_row, .openerp ul.oe_header, .openerp div.oe_mail_thread_action, .openerp .oe_mail_recthread_actions, .openerp .oe_button_box, .openerp .oe_form button, .openerp button.oe_invite, .openerp .oe_form header, .openerp .openerp .oe_notebook > li.ui-state-default, .openerp .oe_topbar, .openerp .oe_leftbar, .openerp .oe_loading { display: none !important; diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 2dc158f9e33..6e1b8993fae 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -2661,9 +2661,16 @@ body.oe_single_form // @media print {{{ @media print + body + height: auto !important + .openerp#announcement_bar_table + display: none .openerp + .oe_application, .oe_view_manager_wrapper + height: auto !important .oe_application > div > .oe_view_manager > .oe_view_manager_wrapper > div > .oe_view_manager_body overflow: visible + position: relative !important .oe_header_row, ul.oe_header, div.oe_mail_thread_action, .oe_mail_recthread_actions, .oe_button_box, .oe_form button, button.oe_invite, .oe_form header, .openerp .oe_notebook > li.ui-state-default, .oe_topbar, .oe_leftbar, .oe_loading // We use !important here because jQuery adds @style = display: block on elements when using $.fn.show() display: none !important |
