diff --git a/addons/mail/mail_message_demo.xml b/addons/mail/mail_message_demo.xml
index 5ae97e24d65..18da3a9d083 100644
--- a/addons/mail/mail_message_demo.xml
+++ b/addons/mail/mail_message_demo.xml
@@ -5,45 +5,45 @@
A cool blogpost about something clean
mail.group
-
+
html
- sit amet, consectetur adipiscing elit. Pellentesque et quam sapien, in sagittis tellus.
+ sit amet, consectetur adipiscing elit. Pellentesque et quam sapien, in sagittis tellus.
Praesent vel massa sed massa consequat egestas in tristique orci. Praesent iaculis libero et neque vehicula iaculis. Vivamus placerat tincidunt orci ac ornare. Proin ut dolor fringilla velit ultricies consequat. Maecenas sit amet ipsum non leo interdum imperdiet. Donec sapien mi, varius a consequat id, consectetur sit amet nulla.
Fusce tempus elit volutpat mi auctor adipiscing. Nam congue luctus suscipit. Duis vestibulum dapibus enim vitae dignissim. Sed tellus libero, venenatis ut mollis ut, luctus quis dui. Sed rhoncus pulvinar orci in consectetur.
Nulla turpis leo, rhoncus ut egestas sit amet, consectetur vitae urna. Mauris in dolor in sapien tempus vehicula.]]>
comment
-
+
diff --git a/addons/mail/static/src/css/mail.css b/addons/mail/static/src/css/mail.css
index f8975d67b78..55efc7ff42c 100644
--- a/addons/mail/static/src/css/mail.css
+++ b/addons/mail/static/src/css/mail.css
@@ -56,6 +56,7 @@
}
.openerp div.oe_mail_msg_content {
+ position: relative;
width: 486px;
}
@@ -284,20 +285,98 @@
-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(82, 168, 236, 0.6);
}
-.openerp p.oe_mail_msg {
+.openerp div.oe_mail_msg {
padding: 0;
margin: 0 0 4px 0;
}
-.openerp a.oe_mail_oe_intlink {
- color: #8786b7;
-}
-
.openerp .oe_mail_oe_bold {
font-weight: bold;
}
-/*.openerp .oe_mail_oe_space:after {*/
- /*content: " · ";*/
- /*margin-right: 2px;*/
-/*}*/
+/* ------------------------------ */
+/* New layouts' style */
+/* ------------------------------ */
+
+.openerp .oe_mail_msg .oe_mail_msg_title {
+ font-size: 1.3em;
+ font-weight: bold;
+}
+.openerp .oe_mail_msg .oe_mail_msg_title a:link,
+.openerp .oe_mail_msg .oe_mail_msg_title a:visited {
+ color: #4C4C4C;
+ text-decoration: none;
+}
+
+.openerp .oe_mail_msg_intlinks,
+.openerp .oe_mail_msg_subtitle {
+ color: #888;
+}
+.openerp .oe_mail_msg_intlinks a:link {
+ color: #8786b7;
+}
+
+/* Gear menu */
+.openerp .oe_mail_msg_comment a.oe_gear_menuaction {
+ position: absolute;
+ top: 0px;
+ right: 3px;
+ display: none;
+ color: #4c4c4c;
+ cursor: pointer;
+}
+.openerp .oe_mail_msg_comment:hover .oe_gear_menuaction {
+ display: block;
+}
+.openerp .oe_mail_msg_comment a.oe_gear_menuaction:hover {
+ text-decoration: none;
+}
+.openerp .oe_mail_msg_comment a.oe_gear_menuaction:hover {
+ text-decoration: none;
+}
+.openerp .oe_mail_msg_comment ul.oe_gear_menu {
+ list-style-type: none;
+ display: none;
+ position: absolute;
+ top: 30px;
+ right: -140px;
+ padding: 4px;
+ border: 1px solid #afafb6;
+ min-width: 160px;
+ overflow-x: hidden;
+ z-index: 900;
+ background: white;
+ -moz-border-radius: 3px;
+ -webkit-border-radius: 3px;
+ border-radius: 3px;
+ -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
+ -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
+ -box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
+}
+.openerp .oe_mail_msg_comment a.oe_gear_menuaction:hover ~ .oe_gear_menu {
+ display: block;
+}
+.openerp .oe_mail_msg_comment ul.oe_gear_menu > li {
+ float: none;
+}
+.openerp .oe_mail_msg_comment .oe_gear_menu > li > a {
+ display: block;
+ padding: 3px 6px;
+ line-height: 14px;
+ color: #4c4c4c;
+ text-decoration: none;
+}
+.openerp .oe_mail_msg_comment .oe_gear_menu > li > a:hover {
+ background: #f0f0fa;
+ background: -moz-linear-gradient(#f0f0fa, #eeeef6);
+ background: -webkit-gradient(linear, left top, left bottom, from(#f0f0fa), to(#eeeef6));
+ background: -webkit-linear-gradient(#f0f0fa, #eeeef6);
+ -moz-box-shadow: none;
+ -webkit-box-shadow: none;
+ -box-shadow: none;
+}
+.openerp .oe_mail_msg_comment .oe_gear_menu p {
+ margin-left: 12px;
+}
+
+
diff --git a/addons/mail/static/src/xml/mail.xml b/addons/mail/static/src/xml/mail.xml
index 69012ae77ee..7458f972fa2 100644
--- a/addons/mail/static/src/xml/mail.xml
+++ b/addons/mail/static/src/xml/mail.xml
@@ -65,9 +65,9 @@
-
+
-
+
@@ -138,21 +138,39 @@
-
-
+
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+ ·
+
+
-
-
+
+
+
+
- Reply ·
@@ -166,43 +184,8 @@
- Hide ·
- -
-
- by
-
-
-
-
-
-
-
- From:
- Subject:
-
-
-
-
-
-
+