From 07507f87945e2d0d72f2415a3b5e76c5ea836705 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Thu, 28 Jun 2012 12:40:41 +0200 Subject: [PATCH] [REF] mai_group: moved mail_group form css from mail.css to mail_group.css; cleaned kanban view and css. bzr revid: tde@openerp.com-20120628104041-k23d55r4jgufd0on --- addons/mail/mail_group_view.xml | 1 - addons/mail/static/src/css/mail.css | 32 --------------- addons/mail/static/src/css/mail_group.css | 50 +++++++++++++++++------ 3 files changed, 37 insertions(+), 46 deletions(-) diff --git a/addons/mail/mail_group_view.xml b/addons/mail/mail_group_view.xml index a9bc5efb5f3..f97fe984cb2 100644 --- a/addons/mail/mail_group_view.xml +++ b/addons/mail/mail_group_view.xml @@ -33,7 +33,6 @@ diff --git a/addons/mail/static/src/css/mail.css b/addons/mail/static/src/css/mail.css index 2421b28fbcb..a2d7010e047 100644 --- a/addons/mail/static/src/css/mail.css +++ b/addons/mail/static/src/css/mail.css @@ -360,35 +360,3 @@ 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; -} diff --git a/addons/mail/static/src/css/mail_group.css b/addons/mail/static/src/css/mail_group.css index 90261499753..e326fb904b9 100644 --- a/addons/mail/static/src/css/mail_group.css +++ b/addons/mail/static/src/css/mail_group.css @@ -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; @@ -26,14 +62,8 @@ .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 { @@ -71,9 +101,3 @@ .oe_group_details li { margin: 2px 0; } - -.oe_group_description { -} - -.oe_kanban_record div.true { -}