From 8e9a97b940967ea538158d9faf68f578d8df83f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Wed, 4 Jul 2012 15:30:09 +0200 Subject: [PATCH] [IMP] Chatter: improved CSS for embedded form view. bzr revid: tde@openerp.com-20120704133009-tmkoqreqjt9jhw9b --- addons/mail/static/src/css/mail.css | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/addons/mail/static/src/css/mail.css b/addons/mail/static/src/css/mail.css index 3c5842dd7c1..5571cb06876 100644 --- a/addons/mail/static/src/css/mail.css +++ b/addons/mail/static/src/css/mail.css @@ -274,10 +274,36 @@ /* ------------------------------------------------------------ */ /* form_view: delete white background */ -.openerp .oe_mail_msg_content .oe_formview { +.openerp .oe_mail_msg_content div.oe_formview { background-color: transparent; } +.openerp .oe_mail_msg_content div.oe_form_nosheet { + margin: 0px; +} + +.openerp .oe_mail_msg_content table.oe_form_group { + margin: 0px; +} + +.openerp .oe_mail_msg_content table.oe_form_field { + padding: 0px; +} + +.openerp .oe_mail_msg_content td.oe_form_group_cell { + vertical-align: bottom; +} + +/* subject: change width */ +.openerp .oe_mail_msg_content .oe_form .oe_form_field input { + width: 472px; +} + +div.cleditorMain { + width: 468px !important; + height: 100px !important; +} + /* ------------------------------------------------------------ */ /* Messages layout