Bhumi Thakkar (Open ERP) has proposed merging 
lp:~openerp-dev/openerp-web/trunk-improve-css-printing-kanban-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-kanban-bth/+merge/130983

Hello,

    Improve css for calendar, kanban and used visibility instead of display 
attribute.

Thanks.


-- 
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-improve-css-printing-kanban-bth/+merge/130983
Your team OpenERP R&D Team is requested to review the proposed merge of 
lp:~openerp-dev/openerp-web/trunk-improve-css-printing-kanban-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-23 06:56:43 +0000
+++ addons/web/static/src/css/base.css	2012-10-23 12:24:20 +0000
@@ -2396,10 +2396,23 @@
     display: none; }
 
   .oe_list_content button, .oe_list_content input[type=checkbox] {
-    display: none; }
-
-  .openerp .tree_header button {
-    display: none; }
+    visibility: hidden;
+  }
+
+  .openerp .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, a.oe_e {
+    visibility: hidden;
+  }
+
+  .openerp {
+    text-shadow: none;
+  }
+  .openerp .oe_form .oe_form_field_date img, .openerp .oe_form .oe_form_field_datetime img {
+    visibility: hidden;
+  }
   .openerp .oe_notebook > li.ui-tabs-selected {
     display: block; }
   .openerp .oe_application .oe_form_sheet, .openerp .oe_application .oe_form_sheetbg {
@@ -2408,18 +2421,9 @@
   .openerp .oe_view_manager_current > .oe_view_manager_header {
     border: 0px !important;
     box-shadow: 0px 0px 0px; }
-
-  .oe_mail .oe_mail_thread_msg .oe_mail_unread, .oe_mail_fetch_more {
-    display: none; }
-
-  .openerp {
-    text-shadow: none; }
-
   .text-core .text-wrap .text-arrow {
     background: none; }
-
-  .oe_m2o_drop_down_button img, .oe_form_field_one2many_list_row_add, a.oe_m2o_cm_button, a.oe_e {
-    display: none; }
-
-  .openerp .oe_form .oe_form_field_date img, .openerp .oe_form .oe_form_field_datetime img {
-    display: none; } }
+  .openerp div.oe_mail_wall {
+    overflow: hidden !important;
+  }
+}

=== modified file 'addons/web/static/src/css/base.sass'
--- addons/web/static/src/css/base.sass	2012-10-23 06:56:43 +0000
+++ addons/web/static/src/css/base.sass	2012-10-23 12:24:20 +0000
@@ -2319,10 +2319,16 @@
         display: none
     .oe_list_content
         button, input[type=checkbox]
-            display: none
+            visibility: hidden
+    .openerp .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
     .openerp
-        .tree_header button
-            display: none
+        .oe_form
+            .oe_form_field_date img, .oe_form_field_datetime img
+                visibility: hidden
         .oe_notebook > li.ui-tabs-selected
             display: block
         .oe_application
@@ -2332,17 +2338,10 @@
         .oe_view_manager_current > .oe_view_manager_header
             border: 0px !important
             box-shadow: 0px 0px 0px
-
-    .oe_mail .oe_mail_thread_msg .oe_mail_unread, .oe_mail_fetch_more
-        display: none
-    .openerp
         text-shadow: none
     .text-core .text-wrap .text-arrow
         background: none
-    .oe_m2o_drop_down_button img, .oe_form_field_one2many_list_row_add, a.oe_m2o_cm_button, a.oe_e
-        display: none
-    .openerp .oe_form
-        .oe_form_field_date img, .oe_form_field_datetime img
-            display: 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:

=== modified file 'addons/web_calendar/static/src/css/web_calendar.css'
--- addons/web_calendar/static/src/css/web_calendar.css	2012-10-18 13:17:56 +0000
+++ addons/web_calendar/static/src/css/web_calendar.css	2012-10-23 12:24:20 +0000
@@ -1059,5 +1059,6 @@
     }
     .openerp .dhx_cal_data {
         overflow-y: hidden !important;
+        position: relative;
     }
 }
\ 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-22 09:27:41 +0000
+++ addons/web_kanban/static/src/css/kanban.css	2012-10-23 12:24:20 +0000
@@ -612,10 +612,9 @@
 
 @media print {
   .oe_kanban_groups button {
-    display: none;
+    visibility: hidden;
   }
-
-  .openerp .oe_kanban_view.oe_kanban_ungrouped .oe_kanban_column .oe_kanban_record > div > a {
-    display: none;
+  .oe_kanban_groups a[data-type=object], .oe_kanban_groups a[data-type=delete] {
+    visibility: hidden;
   }
 }

=== modified file 'addons/web_kanban/static/src/css/kanban.sass'
--- addons/web_kanban/static/src/css/kanban.sass	2012-10-22 09:27:41 +0000
+++ addons/web_kanban/static/src/css/kanban.sass	2012-10-23 12:24:20 +0000
@@ -503,10 +503,12 @@
                 @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
-    .openerp .oe_kanban_view.oe_kanban_ungrouped .oe_kanban_column .oe_kanban_record > div > a
-        display: none
+    .oe_kanban_groups
+        button
+            visibility: hidden
+        a
+            &[data-type=object], &[data-type=delete]
+                visibility: hidden
 
 // 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

Reply via email to