From 9dc1810e644fa72dcef4bf7228342608172c1cbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Fri, 13 Apr 2012 14:25:30 +0200 Subject: [PATCH] [IMP] mail.thread: cleaned css class name; cleaned a small bug in message display. bzr revid: tde@openerp.com-20120413122530-kst3ho792hymr4p6 --- addons/mail/static/src/css/mail.css | 16 +++++++++++----- addons/mail/static/src/xml/mail.xml | 6 +++--- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/addons/mail/static/src/css/mail.css b/addons/mail/static/src/css/mail.css index ca6f1f3e70a..4ba5deba040 100644 --- a/addons/mail/static/src/css/mail.css +++ b/addons/mail/static/src/css/mail.css @@ -160,7 +160,13 @@ clear: both; } -.openerp .notification, .openerp .comment.openerp .notification, .openerp .email { +.openerp li.oe_mail_thread_msg > div:after { + content: ""; + display: block; + clear: both; +} + +.openerp .oe_mail_msg_notification, .openerp .oe_mail_msg_comment, .openerp .oe_mail_msg_email { padding: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; @@ -169,19 +175,19 @@ border-radius: 4px; } -.openerp li.oe_mail_thread_msg > .comment { +.openerp li.oe_mail_thread_msg > .oe_mail_msg_comment { background: #eee; } -.openerp div.oe_mail_thread_subthread .comment { +.openerp div.oe_mail_thread_subthread .oe_mail_msg_comment { background: white; } -.openerp .notification { +.openerp .oe_mail_msg_notification { background: #eee; } -.openerp .notification:after, .openerp .comment:after, .openerp .email:after { +.openerp .oe_mail_msg_notification:after, .openerp .oe_mail_msg_comment:after, .openerp .oe_mail_msg_email:after { content: ""; display: block; clear: both; diff --git a/addons/mail/static/src/xml/mail.xml b/addons/mail/static/src/xml/mail.xml index 6505b2cd88b..f034b04311d 100644 --- a/addons/mail/static/src/xml/mail.xml +++ b/addons/mail/static/src/xml/mail.xml @@ -43,7 +43,7 @@ -