From c040aa5a843adce17e498222b33d1227bf24324d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20van=20der=20Essen?= Date: Thu, 18 Oct 2012 14:53:28 +0200 Subject: [PATCH] [IMP] mail: further work on the css bzr revid: fva@openerp.com-20121018125328-7oxxd28kbzmm9k03 --- addons/mail/static/src/css/mail.css | 28 ++++++++++++++++++++++++---- addons/mail/static/src/xml/mail.xml | 12 +++++------- 2 files changed, 29 insertions(+), 11 deletions(-) diff --git a/addons/mail/static/src/css/mail.css b/addons/mail/static/src/css/mail.css index a8089bb9629..3d73bbfa33a 100644 --- a/addons/mail/static/src/css/mail.css +++ b/addons/mail/static/src/css/mail.css @@ -11,16 +11,19 @@ padding: 8px; } .openerp .oe_mail .oe_thread{ - margin-left: 8px; + margin-left: 32px; } -.openerp .oe_mail .oe_thread.oe_root_thread{ +.openerp .oe_mail > .oe_thread{ margin-left: 0px; } + +/* ---------------- MESSAGES ------------------ */ + .openerp .oe_mail .oe_msg{ position: relative; background: blue; margin-bottom: 4px; - min-height: 100px; + min-height: 75px; } .openerp .oe_mail .oe_msg .oe_msg_left{ position: absolute; @@ -32,9 +35,11 @@ position: relative; display: block; margin-left: 75px; - margin-right: 32px; background: gray; } +.openerp .oe_mail .oe_msg.oe_with_buttons .oe_msg_center{ + margin-right: 32px; +} .openerp .oe_mail .oe_msg .oe_msg_right{ position: absolute; right:0; top:0; bottom: 0; width: 32px; @@ -62,3 +67,18 @@ padding: 0px; resize: vertical; } +.openerp .oe_mail .oe_msg.oe_msg_composer_compact{ + padding:4px; + min-height:0px; +} +.openerp .oe_mail .oe_msg.oe_msg_composer_compact textarea{ + height: 24px; + width: 100%; +} + +.openerp .oe_mail .oe_msg.oe_msg_unread .oe_unread{ + display:none; +} +.openerp .oe_mail .oe_msg.oe_msg_read .oe_read{ + display:none; +} diff --git a/addons/mail/static/src/xml/mail.xml b/addons/mail/static/src/xml/mail.xml index 450e9a834e2..1980c9661f7 100644 --- a/addons/mail/static/src/xml/mail.xml +++ b/addons/mail/static/src/xml/mail.xml @@ -185,7 +185,7 @@ -
+
@@ -204,7 +204,7 @@
-
+

@@ -277,10 +277,8 @@ - - - - - + + * +