diff options
| author | Jiten (OpenERP) <jra@tinyerp.com> | 2012-10-15 17:21:34 +0530 |
|---|---|---|
| committer | Jiten (OpenERP) <jra@tinyerp.com> | 2012-10-15 17:21:34 +0530 |
| commit | 399e13ec854189e87e5f0585565bb22de9b9f626 (patch) | |
| tree | 12c48b3451425f325e39f6d1f304eb0c59815955 /addons/web/static/src/css | |
| parent | a757f22ef6e1b6e75cf8033c2acb06a4b5be4425 (diff) | |
| parent | 816bc9730da4dcf8437f4f240af0dd3ca6d57be0 (diff) | |
[IMP] Improved css to based on testing CTRL+P.
bzr revid: jra@tinyerp.com-20121015115134-mit2bwyowaxle31t
Diffstat (limited to 'addons/web/static/src/css')
| -rw-r--r-- | addons/web/static/src/css/base.css | 10 | ||||
| -rw-r--r-- | addons/web/static/src/css/base.sass | 6 |
2 files changed, 16 insertions, 0 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 8925c3a0964..c0adb4e99df 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -2914,3 +2914,13 @@ div.ui-widget-overlay { -webkit-border-radius: 3px; border-radius: 3px; } + +@media print { + .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 { + display: none; + } + + .openerp .oe_application .oe_form_sheet { + border: none; + } +} diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index a1adfe67e75..09c39afafa9 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -2305,5 +2305,11 @@ div.ui-widget-overlay .ui-corner-all @include radius(3px) +@media print + .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 + display: none + .openerp .oe_application .oe_form_sheet + border: none + // au BufWritePost,FileWritePost *.sass :!sass --style expanded --line-numbers <afile> > "%:p:r.css" // vim:tabstop=4:shiftwidth=4:softtabstop=4:fdm=marker: |
