summaryrefslogtreecommitdiff
path: root/addons/web/static/src/css/base.sass
diff options
context:
space:
mode:
authorFabien Pinckaers <fp@tinyerp.com>2012-10-25 14:07:07 +0200
committerFabien Pinckaers <fp@tinyerp.com>2012-10-25 14:07:07 +0200
commita19bb43acad183f3d2f53ee0a0eadce08f457c71 (patch)
treee89681f432135122afd22124a1781207a3065644 /addons/web/static/src/css/base.sass
parentd6fc9033e2c47a2e969148ef14bf0a1d81020db5 (diff)
parent4f311bc38bea15b35a6871b960c9dc6e46bf861a (diff)
[MERGE] CSS @media print
bzr revid: fp@tinyerp.com-20121025120707-oromtnlxur4125x8
Diffstat (limited to 'addons/web/static/src/css/base.sass')
-rw-r--r--addons/web/static/src/css/base.sass29
1 files changed, 29 insertions, 0 deletions
diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass
index f84d30a93ea..cf1cd38aad2 100644
--- a/addons/web/static/src/css/base.sass
+++ b/addons/web/static/src/css/base.sass
@@ -2314,5 +2314,34 @@ div.ui-widget-overlay
.ui-corner-all
@include radius(3px)
+@media print
+ .openerp
+ .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
+ display: none
+ .oe_list_content
+ button, input[type=checkbox]
+ visibility: hidden
+ .tree_header button, .oe_mail .oe_mail_thread_msg .oe_mail_unread, .oe_mail_fetch_more, .oe_m2o_drop_down_button img, .oe_form_field_one2many_list_row_add
+ visibility: hidden
+ a
+ &.oe_m2o_cm_button, &.oe_e
+ visibility: hidden
+ .oe_form
+ .oe_form_field_date img, .oe_form_field_datetime img
+ visibility: hidden
+ .oe_notebook > li.ui-tabs-selected
+ display: block
+ .oe_application
+ .oe_form_sheet, .oe_form_sheetbg
+ border: 0px !important
+ box-shadow: 0px 0px 0px
+ .oe_view_manager_current > .oe_view_manager_header
+ border: 0px !important
+ box-shadow: 0px 0px 0px
+ text-shadow: none
+ .text-core .text-wrap .text-arrow
+ background: none
+ .openerp div.oe_mail_wall
+ overflow: hidden !important
// au BufWritePost,FileWritePost *.sass :!sass --style expanded --line-numbers <afile> > "%:p:r.css"
// vim:tabstop=4:shiftwidth=4:softtabstop=4:fdm=marker: