Bhumi Thakkar (Open ERP) has proposed merging
lp:~openerp-dev/openerp-web/trunk-improve-css-printing-border_scroll_button-bth
into lp:~openerp-dev/openerp-web/trunk-improve-css-printing.
Requested reviews:
OpenERP R&D Team (openerp-dev)
For more details, see:
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-improve-css-printing-border_scroll_button-bth/+merge/130345
Hello,
Improve css to hide border,scroll bar,buttons in tree view,form view,page
view,calendar view,gantt view.
Thanks.
--
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-improve-css-printing-border_scroll_button-bth/+merge/130345
Your team OpenERP R&D Team is requested to review the proposed merge of
lp:~openerp-dev/openerp-web/trunk-improve-css-printing-border_scroll_button-bth
into lp:~openerp-dev/openerp-web/trunk-improve-css-printing.
=== modified file 'addons/web/static/src/css/base.css'
--- addons/web/static/src/css/base.css 2012-10-15 11:34:33 +0000
+++ addons/web/static/src/css/base.css 2012-10-18 13:25:12 +0000
@@ -25,7 +25,6 @@
display: none !important;
}
}
-
.openerp.openerp_webclient_container {
height: 100%;
position: relative;
@@ -2916,11 +2915,21 @@
}
@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 {
+ .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, .oe_list_content input[type=checkbox] {
+ display: none;
+ }
+
+ .openerp .tree_header button {
+ display: none;
+ }
+ .openerp .oe_notebook > li.ui-tabs-selected {
+ display: block;
+ }
+ .openerp .oe_application .oe_form_sheet, .openerp .oe_application .oe_form_sheetbg {
border: none;
}
}
=== modified file 'addons/web/static/src/css/base.sass'
--- addons/web/static/src/css/base.sass 2012-10-15 11:34:33 +0000
+++ addons/web/static/src/css/base.sass 2012-10-18 13:25:12 +0000
@@ -2306,10 +2306,19 @@
@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
+ .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
- .openerp .oe_application .oe_form_sheet
- border: none
+ .oe_list_content
+ button, input[type=checkbox]
+ display: none
+ .openerp
+ .tree_header button
+ display: none
+ .oe_notebook > li.ui-tabs-selected
+ display: block
+ .oe_application
+ .oe_form_sheet, .oe_form_sheetbg
+ border: none
// au BufWritePost,FileWritePost *.sass :!sass --style expanded --line-numbers <afile> > "%:p:r.css"
// vim:tabstop=4:shiftwidth=4:softtabstop=4:fdm=marker:
=== modified file 'addons/web_calendar/static/src/css/web_calendar.css'
--- addons/web_calendar/static/src/css/web_calendar.css 2012-10-05 14:08:31 +0000
+++ addons/web_calendar/static/src/css/web_calendar.css 2012-10-18 13:25:12 +0000
@@ -1053,3 +1053,11 @@
.openerp .dhx_cal_event .dhx_header, .openerp .dhx_cal_event .dhx_header {
display:none;
}
+@media print {
+ div.dhx_cal_navline .dhx_cal_tab, div.dhx_cal_navline .dhx_cal_prev_button, div.dhx_cal_navline .dhx_cal_next_button, div.dhx_cal_navline .dhx_cal_today_button{
+ display: none;
+ }
+ .openerp .dhx_cal_data {
+ overflow-y: hidden !important;
+ }
+}
\ No newline at end of file
=== modified file 'addons/web_gantt/static/src/css/gantt.css'
--- addons/web_gantt/static/src/css/gantt.css 2012-06-27 14:12:49 +0000
+++ addons/web_gantt/static/src/css/gantt.css 2012-10-18 13:25:12 +0000
@@ -7,3 +7,11 @@
position: absolute;
top: 5px;
}
+@media print {
+ .oe_gantt button {
+ display: none;
+ }
+ .oe_gantt > table > tbody > tr > td > div > div {
+ overflow: hidden !important;
+ }
+}
\ No newline at end of file
=== modified file 'addons/web_kanban/static/src/css/kanban.css'
--- addons/web_kanban/static/src/css/kanban.css 2012-10-01 15:49:16 +0000
+++ addons/web_kanban/static/src/css/kanban.css 2012-10-18 13:25:12 +0000
@@ -609,3 +609,9 @@
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(255, 255, 255, 0.8) inset;
-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(255, 255, 255, 0.8) inset;
}
+
+@media print {
+ .oe_kanban_groups button {
+ display: none;
+ }
+}
=== modified file 'addons/web_kanban/static/src/css/kanban.sass'
--- addons/web_kanban/static/src/css/kanban.sass 2012-10-01 15:49:16 +0000
+++ addons/web_kanban/static/src/css/kanban.sass 2012-10-18 13:25:12 +0000
@@ -502,6 +502,9 @@
@include vertical-gradient(#f6f6f6, #e3e3e3)
@include box-shadow((0 1px 2px rgba(0, 0, 0, .1), 0 1px 1px rgba(255, 255, 255, .8) inset))
+@media print
+ .oe_kanban_groups button
+ display: none
// au BufWritePost,FileWritePost *.sass :!sass --style expanded --line-numbers <afile> > "%:p:r.css"
// vim:tabstop=4:shiftwidth=4:softtabstop=4:fdm=marker:
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp