[IMP] Improve code in sass and used visibility instead of display attribute.
authorBhumi Thakkar (Open ERP) <bth@tinyerp.com>
Tue, 23 Oct 2012 11:33:53 +0000 (17:03 +0530)
committerBhumi Thakkar (Open ERP) <bth@tinyerp.com>
Tue, 23 Oct 2012 11:33:53 +0000 (17:03 +0530)
bzr revid: bth@tinyerp.com-20121023113353-gyl0isk329oh5ixe

addons/web/static/src/css/base.css
addons/web/static/src/css/base.sass

index a118310..30302c5 100644 (file)
@@ -2932,11 +2932,22 @@ div.ui-widget-overlay {
   }
 
   .oe_list_content button, .oe_list_content input[type=checkbox] {
-    display: none;
+    visibility: hidden;
   }
 
-  .openerp .tree_header button {
-    display: none;
+  .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;
@@ -2950,23 +2961,11 @@ div.ui-widget-overlay {
     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;
   }
 }
index da71e28..ea3e6ca 100644 (file)
@@ -2318,10 +2318,16 @@ div.ui-widget-overlay
         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
@@ -2331,17 +2337,10 @@ div.ui-widget-overlay
         .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: