From 9d0e42e3bcbb3718a010cd52107213599ca0bf21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20van=20der=20Essen?= Date: Mon, 29 Oct 2012 15:45:03 +0100 Subject: [PATCH] [IMP] css: design for 'likes' bzr revid: fva@openerp.com-20121029144503-tc124u71b2qijclx --- addons/mail/static/src/css/mail.css | 21 ++++++++++++++++++++- addons/mail/static/src/xml/mail.xml | 15 +++------------ 2 files changed, 23 insertions(+), 13 deletions(-) diff --git a/addons/mail/static/src/css/mail.css b/addons/mail/static/src/css/mail.css index eab8860442e..af3cc3ed359 100644 --- a/addons/mail/static/src/css/mail.css +++ b/addons/mail/static/src/css/mail.css @@ -80,8 +80,27 @@ .openerp .oe_mail .oe_msg.oe_msg_indented .oe_msg_content{ padding-top:2px; } +/* b) Votes (likes) */ +.openerp .oe_mail .oe_mail_vote_count{ + display: inline; + position: relative; + background: #7C7BAD; + color: white; + text-shadow: none; + border-radius: 3px; + margin: 0px; + padding-left: 3px; + padding-right: 18px; + margin-right: 3px; +} +.openerp .oe_mail .oe_mail_vote_count .oe_e{ + position: absolute; + bottom: 1px; + right: 2px; + font-size: 26px; +} -/* b) Message action icons */ +/* c) Message action icons */ .openerp .oe_mail .oe_msg.oe_msg_unread .oe_unread{ display:none; diff --git a/addons/mail/static/src/xml/mail.xml b/addons/mail/static/src/xml/mail.xml index ecd7fa44efb..caa85cd3deb 100644 --- a/addons/mail/static/src/xml/mail.xml +++ b/addons/mail/static/src/xml/mail.xml @@ -258,18 +258,9 @@ --> - - - You - - - and - - people - - - like - + + + 8 like