/* Wall */
/* ------------------------------ */
-div.oe_mail_wall {
+.openerp div.oe_mail_wall {
overflow: auto;
padding: 0;
background: white;
}
-/*div.oe_mail_wall_search {*/
- /*width: 550px;*/
-/*}*/
-
-.oe_mail_wall_button_comment {
- float: right;
-}
-
/* 2 columns view */
-div.oe_mail_wall_left {
+.openerp div.oe_mail_wall_left {
float: left;
width: 560px;
margin: 8px;
}
-div.oe_mail_wall_right {
- float: right;
- width: 34%;
+.openerp div.oe_mail_wall_right {
+ margin-left: 565px;
+ margin: 8px;
}
-.oe_mail_wall_threads {
+.openerp div.oe_mail_wall_threads {
margin-top: 8px;
}
-.oe_mail_wall_thread div.oe_mail_thread_act .oe_mail_action_textarea, div.oe_mail_thread_subthread .oe_mail_action_textarea {
+.openerp textarea.oe_mail_wall_action_textarea {
+ width: 550px;
+ height: 60px;
+ padding: 5px;
+}
+
+.openerp div.oe_mail_wall_threads textarea {
height: 20px;
padding: 2px;
}
-.oe_mail_thread_subthread div.oe_mail_thread_act .oe_mail_msg_image, .oe_mail_thread_subthread div.oe_mail_thread_display .oe_mail_msg_image {
+.openerp div.oe_mail_thread_subthread img {
width: 30px;
height: 30px;
}
-.oe_mail_thread_subthread .oe_mail_msg_content, .oe_mail_thread_subthread .oe_mail_msg_content {
+.openerp div.oe_mail_thread_subthread div.oe_mail_msg_content {
margin-left: 40px;
}
-div.oe_mail_wall_more {
+.openerp div.oe_mail_wall_more {
text-align: center;
display: none;
}
+
/* ------------------------------ */
/* RecordThread */
/* ------------------------------ */
-.oe_mail_recthread {
+.openerp div.oe_mail_recthread {
overflow: auto;
}
/* Left-side CSS */
-.oe_mail_recthread_actions {
+.openerp div.oe_mail_recthread_actions {
margin-bottom: 8px;
}
-.oe_mail_recthread_followers {
+.openerp div.oe_mail_recthread_followers {
margin-bottom: 8px;
}
-.oe_mail_followers_action, .oe_mail_followers_display {
-}
-
/* RecordThread: 2 columns view */
-.oe_mail_recthread_left {
+.openerp div.oe_mail_recthread_left {
float: left;
width: 55%;
}
-.oe_mail_recthread_right {
+.openerp div.oe_mail_recthread_right {
float: right;
width: 240px;
}
-.oe_mail_button_follow, .oe_mail_button_unfollow {
- /*width: 120px;*/
+.openerp div.oe_mail_recthread_actions button {
+ width: 120px;
}
-.oe_mail_button_followers {
+.openerp button.oe_mail_button_followers {
display: inline-block;
- width: 240px;
+}
+
+.openerp button.oe_mail_button_mouseout {
+ color: white;
+ background-color: #8a89ba;
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#8a89ba), to(#807fb4));
+ background-image: -webkit-linear-gradient(top, #8a89ba, #807fb4);
+ background-image: -moz-linear-gradient(top, #8a89ba, #807fb4);
+ background-image: -ms-linear-gradient(top, #8a89ba, #807fb4);
+ background-image: -o-linear-gradient(top, #8a89ba, #807fb4);
+ background-image: linear-gradient(to bottom, #8a89ba, #807fb4);
+}
+
+.openerp button.oe_mail_button_mouseover {
+ display: none;
+ color: white;
+ background-color: #dc5f59;
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#dc5f59), to(#b33630));
+ background-image: -webkit-linear-gradient(top, #dc5f59, #b33630);
+ background-image: -moz-linear-gradient(top, #dc5f59, #b33630);
+ background-image: -ms-linear-gradient(top, #dc5f59, #b33630);
+ background-image: -o-linear-gradient(top, #dc5f59, #b33630);
+ background-image: linear-gradient(to bottom, #dc5f59, #b33630);
+}
+
+.openerp textarea.oe_mail_action_textarea {
+ height: 60px;
+ padding: 5px;
}
/* ------------------------------ */
/* ThreadDisplay */
/* ------------------------------ */
-div.oe_mail_thread_act {
+.openerp div.oe_mail_thread_act {
white-space: normal;
margin-bottom: 5px;
padding: 4px;
}
-div.oe_mail_thread_display {
+.openerp div.oe_mail_thread_act:after {
+ content: "";
+ display: block;
+ clear: both;
+}
+
+.openerp div.oe_mail_thread_display {
white-space: normal;
- /*margin-bottom: 5px;*/
}
-div.oe_mail_thread_subthread {
+.openerp div.oe_mail_thread_subthread {
margin-top: 8px;
padding-left: 5%;
}
-div.oe_mail_thread_more {
+.openerp div.oe_mail_thread_more {
display: none;
border-bottom: 1px solid #D2D9E7;
}
-li.oe_mail_thread_msg {
+.openerp li.oe_mail_thread_msg {
padding: 1px;
}
-.notification, .comment {
+.openerp li.oe_mail_thread_msg:after {
+ content: "";
+ display: block;
+ clear: both;
+}
+
+.openerp .notification, .openerp .comment.openerp .notification, .openerp .email {
padding: 4px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
}
-.oe_mail_thread_msg > .comment {
+.openerp li.oe_mail_thread_msg > .comment {
background: #eee;
}
-.oe_mail_thread_subthread .comment {
+.openerp div.oe_mail_thread_subthread .comment {
background: white;
}
-.notification {
+.openerp .notification {
background: #eee;
}
-.notification:after, .email:after, .comment:after {
- content: "";
- display: block;
- clear: both;
-}
-
-li.oe_mail_thread_msg:after, div.oe_mail_thread_act:after {
+.openerp .notification:after, .openerp .comment:after, .openerp .email:after {
content: "";
display: block;
clear: both;
}
-.oe_mail_msg_content {
+.openerp .oe_mail_msg_content {
margin-left: 60px;
}
-.oe_mail_msg_content:after {
+.openerp .oe_mail_msg_content:after {
content: "";
display: block;
clear: both;
}
-.oe_mail_action_textarea {
- height: 50px;
- padding: 5px;
-}
-
-.oe_mail_msg_image {
+.openerp img.oe_mail_msg_image {
margin-right: 8px;
width: 45px;
height: 45px;
clip: rect(5px, 40px, 45px, 0px);
}
-p.oe_mail_msg_p_email_header {
+.openerp p.oe_mail_msg_p_email_header {
border-bottom: 1px solid #D2D9E7;
}
-.oe_mail_msg_body a.reduce, .oe_mail_msg_body_short a.expand {
+.openerp span.oe_mail_msg_body a.reduce, .openerp span.oe_mail_msg_body_short a.expand {
color: #4E43E7;
}
/* Styling (should be openerp) */
/* ------------------------------ */
-ul.oe_mail {
+.openerp ul.oe_mail {
padding: 0;
margin: 0;
}
-li.oe_mail {
+.openerp li.oe_mail {
list-style-type: none;
margin-bottom: 2px;
}
-input.oe_mail, textarea.oe_mail {
+.openerp input.oe_mail, textarea.oe_mail {
width: 100%;
padding: 4px;
font-size: 12px;
border-radius: 3px;
}
-.oe_mail_wall .oe_mail_wall_act textarea {
- width: 550px;
-}
-
-textarea.oe_mail {
- height: 60px;
-}
-
-input.oe_mail:focus, textarea.oe_mail:focus {
+.openerp input.oe_mail:focus, textarea.oe_mail:focus {
outline: 0;
border-color: rgba(82, 168, 236, 0.8);
-moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(82, 168, 236, 0.6);
-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(82, 168, 236, 0.6);
}
-p.oe_mail_msg {
+.openerp p.oe_mail_msg {
padding: 0;
margin: 0;
}
-.oe_mail_oe_right {
+.openerp .oe_mail_oe_right {
float: right;
margin-right: 8px;
}
-.oe_mail_oe_left {
+.openerp .oe_mail_oe_left {
float: left;
margin-right: 8px;
}
-.oe_mail_oe_fade {
- color: #888888;
-}
-
-.oe_mail_oe_bold {
- font-weight: bold;
-}
-
-.oe_mail_msg_reply, .oe_mail_msg_delete {
- margin-right: 4px;
-}
-
-a.oe_mail_oe_intlink {
+.openerp a.oe_mail_oe_intlink {
color: #8786b7;
}
-.oe_mail_oe_warning, .oe_mail_oe_warning a {
- color: #C03000;
+.openerp .oe_mail_oe_bold {
+ font-weight: bold;
}
-.oe_mail_oe_space {
+.openerp .oe_mail_oe_space {
margin-left: 15px;
+ margin-right: 4px;
}
-
-
-
-
-.oe_mail_recthread_actions button {
- width: 120px;
-}
-
<div class="oe_mail_wall_left">
<div class="oe_mail_wall_act">
<textarea class="oe_mail oe_mail_wall_action_textarea" placeholder="Add a personnal message here..."/>
- <button class="oe_mail_wall_button_comment" type="button">Post comment</button>
+ <button class="oe_mail_oe_right oe_mail_wall_button_comment" type="button">Post comment</button>
</div>
<div class="oe_clear"></div>
<div class="oe_mail_wall_threads">
</div>
<div class="oe_mail_recthread_right">
<div class="oe_mail_recthread_actions">
- <button type="button" class="oe_mail_button_follow">Not following</button>
- <button type="button" class="oe_mail_button_unfollow following">Following</button>
+ <button type="button" class="oe_mail_button_follow oe_mail_button_mouseout">Not following</button>
+ <button type="button" class="oe_mail_button_unfollow oe_mail_button_mouseout">Following</button>
<button type="button" class="oe_mail_button_followers">Display followers</button>
</div>
<div class="oe_mail_recthread_followers">
<div class="oe_mail_thread_act">
<img class="oe_mail_msg_image oe_mail_oe_left" alt="User img"/>
<div class="oe_mail_msg_content">
- <textarea class="oe_mail_action_textarea oe_mail" placeholder="Add your comment here..." onfocus="this.value = '';"/><br />
+ <textarea class="oe_mail oe_mail_action_textarea" placeholder="Add your comment here..." onfocus="this.value = '';"/><br />
</div>
</div>
<div class="oe_mail_thread_display"></div>
<a href="#" class="intlink oe_mail_oe_intlink" data-res-model='res.users' t-attf-data-res-id='{record.user_id[0]}'><t t-raw="record.user_id[1]"/></a>
on <t t-raw="record.date"/>
</span>
- <t t-if="display['show_reply']"><a href="#" class="oe_mail_msg_reply oe_mail_oe_intlink"> Reply</a> </t>
+ <t t-if="display['show_reply']"><a href="#" class="oe_mail_oe_space oe_mail_msg_reply oe_mail_oe_intlink"> Reply</a> </t>
<t t-if="display['show_delete']">
- <t t-if="thread._is_author(record.user_id[0])"><a href="#" t-attf-data-id='{record.id}' class="oe_mail_msg_delete oe_mail_oe_intlink"> Delete </a></t>
+ <t t-if="thread._is_author(record.user_id[0])"><a href="#" t-attf-data-id='{record.id}' class="oe_mail_oe_space oe_mail_msg_delete oe_mail_oe_intlink"> Delete </a></t>
</t>
<t t-if="display['show_hide']">
- <t t-if="!(thread._is_author(record.user_id[0]))"><span class="oe_mail_oe_space"><a href="#" t-attf-data-id='{record.id}' class="oe_mail_msg_hide oe_mail_oe_intlink">Hide</a></span></t>
+ <t t-if="!(thread._is_author(record.user_id[0]))"><a href="#" t-attf-data-id='{record.id}' class="oe_mail_oe_space oe_mail_msg_hide oe_mail_oe_intlink">Hide</a></t>
</t>
</p>
</t>