From 01e2d11863eeed714d40deebe45e50b4183b5c94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20van=20der=20Essen?= Date: Mon, 29 Oct 2012 14:03:33 +0100 Subject: [PATCH] [IMP] improved padding between messages bzr revid: fva@openerp.com-20121029130333-388iwp76wozfzqsj --- addons/mail/static/src/css/mail.css | 60 ++++++++++++++++------------- 1 file changed, 33 insertions(+), 27 deletions(-) diff --git a/addons/mail/static/src/css/mail.css b/addons/mail/static/src/css/mail.css index 13de1ec09e3..eab8860442e 100644 --- a/addons/mail/static/src/css/mail.css +++ b/addons/mail/static/src/css/mail.css @@ -22,29 +22,9 @@ background: #F4F5FA; border-radius: 2px; margin-bottom: 2px; - min-height: 40px; + min-height: 42px; border: solid 1px rgba(0,0,0,0.03); } -.openerp .oe_mail .oe_msg_indented{ - background: #FFF; - border: none; - margin-bottom:0px; - min-height:34px; -} -.openerp .oe_msg .oe_msg_intented:last-child(){ - margin-bottom: 4px; -} -.openerp .oe_mail .oe_msg_indented .oe_msg_icon{ - width:32px; - margin:1px; - border-radius:2px; -} -.openerp .oe_mail .oe_msg .oe_subtle{ - color: #B7B7D5; -} -.openerp .oe_mail .oe_msg_indented .oe_msg_center{ - margin-left:34px; -} .openerp .oe_mail .oe_msg .oe_msg_left{ position: absolute; left:0; top: 0; bottom: 0; width: 40px; @@ -77,6 +57,38 @@ margin-bottom: 0px; margin-top: 2px; } + +/* a) Indented Messages */ + +.openerp .oe_mail .oe_msg_indented{ + background: #FFF; + border: none; + margin-bottom:0px; + min-height:38px; +} +.openerp .oe_mail .oe_msg.oe_msg_indented .oe_msg_icon{ + width:32px; + margin:2px; + border-radius:2px; +} +.openerp .oe_mail .oe_msg .oe_subtle{ + color: #B7B7D5; +} +.openerp .oe_mail .oe_msg_indented .oe_msg_center{ + margin-left:34px; +} +.openerp .oe_mail .oe_msg.oe_msg_indented .oe_msg_content{ + padding-top:2px; +} + +/* b) Message action icons */ + +.openerp .oe_mail .oe_msg.oe_msg_unread .oe_unread{ + display:none; +} +.openerp .oe_mail .oe_msg.oe_msg_read .oe_read{ + display:none; +} .openerp .oe_mail .oe_msg .oe_msg_icons{ float: right; margin-top: 4px; @@ -140,12 +152,6 @@ 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; -} /* ---------------- MESSAGE QUICK COMPOSER --------------- */ .openerp .oe_mail .oe_msg_composer .oe_msg_footer{