[REF] mai_group: moved mail_group form css from mail.css to mail_group.css; cleaned...
authorThibault Delavallée <tde@openerp.com>
Thu, 28 Jun 2012 10:40:41 +0000 (12:40 +0200)
committerThibault Delavallée <tde@openerp.com>
Thu, 28 Jun 2012 10:40:41 +0000 (12:40 +0200)
bzr revid: tde@openerp.com-20120628104041-k23d55r4jgufd0on

addons/mail/mail_group_view.xml
addons/mail/static/src/css/mail.css
addons/mail/static/src/css/mail_group.css

index a9bc5ef..f97fe98 100644 (file)
@@ -33,7 +33,6 @@
                                 </div>
                             </div>
                             <script>
-                                $('.oe_group_photo').load(function() { if($(this).width() > $(this).height()) { $(this).addClass('oe_group_photo_wide') } });
                                 $('.oe_group_join').mouseover(function () { $(this).html('Follow'); }).mouseleave(function () { $(this).html('Not following'); });
                                 $('.oe_group_leave').mouseover(function () { $(this).html('Unfollow'); }).mouseleave(function () { $(this).html('Following'); });
                             </script>
index 2421b28..a2d7010 100644 (file)
     padding: 0;
     list-style-type: square;
 }
-
-
-/* ------------------------------ */
-/* Group Form                     */
-/* ------------------------------ */
-
-div.oe_mail_group_advanced_details {
-  display: none;
-}
-
-.oe_form_sheetbg.openerp_mail_group_sheet {
-  min-height: 0px;
-  max-height: none;
-}
-
-.oe_form_sheetbg.openerp_mail_group_sheet .oe_form_sheet {
-  min-height: 0px;
-  max-height: none;
-  padding: 0px 18px;
-  max-width: 80%;
-}
-
-/* Resize group logo */
-.oe_form_sheetbg.openerp_mail_group_sheet .oe_form_field_image > img {
-  max-width: 100px;
-  max-height: 100px;
-}
-
-/* Resize group description */
-.oe_form_sheetbg.openerp_mail_group_sheet .oe_form_field_text > textarea {
-  height: 40px;
-} 
index 9026149..e326fb9 100644 (file)
@@ -1,3 +1,39 @@
+/* ------------------------------ */
+/* Group Form                     */
+/* ------------------------------ */
+
+div.oe_mail_group_advanced_details {
+  display: none;
+}
+
+.oe_form_sheetbg.openerp_mail_group_sheet {
+  min-height: 0px;
+  max-height: none;
+}
+
+.oe_form_sheetbg.openerp_mail_group_sheet .oe_form_sheet {
+  min-height: 0px;
+  max-height: none;
+  padding: 0px 18px;
+  max-width: 80%;
+}
+
+/* Resize group logo */
+.oe_form_sheetbg.openerp_mail_group_sheet .oe_form_field_image > img {
+  max-width: 100px;
+  max-height: 100px;
+}
+
+/* Resize group description */
+.oe_form_sheetbg.openerp_mail_group_sheet .oe_form_field_text > textarea {
+  height: 40px;
+} 
+
+
+/* ------------------------------ */
+/* Group kanban                   */
+/* ------------------------------ */
+
 .oe_group_vignette {
   padding: 8px 0;
   min-height: 100px;
 
 .oe_group_photo {
   width: 100px;
-  height: auto;
-  clip: rect(0px, 100px, 100px, 0px);
-}
-
-.oe_group_photo_wide {
   height: 100px;
-  width: auto;
-  clip: rect(0px, 115px, 100px, 15px);
+  clip: rect(0px, 100px, 100px, 0px);
 }
 
 .oe_group_details {
 .oe_group_details li {
   margin: 2px 0;
 }
-
-.oe_group_description {
-}
-
-.oe_kanban_record div.true {
-}