[IMP] Mail-Chatter: cleaned css definition for chatter.

bzr revid: tde@openerp.com-20120704121039-60uj77490gu02ltg
This commit is contained in:
Thibault Delavallée 2012-07-04 14:10:39 +02:00
parent 3f25216ed8
commit 724964df55
2 changed files with 76 additions and 93 deletions

View File

@ -1,7 +1,6 @@
/* ------------------------------ */
/* Wall */
/* ------------------------------ */
/* ------------------------------------------------------------ */
/* Wall
/* ------------------------------------------------------------ */
.openerp div.oe_mail_wall {
overflow: auto;
@ -32,24 +31,32 @@
clear: both;
}
.openerp .oe_mail_wall_action textarea {
.openerp div.oe_mail_wall_action .oe_mail_msg_content {
width: 484px;
}
.openerp div.oe_mail_wall_action textarea.oe_mail_compose_textarea {
width: 474px;
height: 60px;
padding: 4px;
margin-bottom: 8px;
float: right;
/*float: right;*/
}
/* Threads */
.openerp .oe_mail_wall_threads {
.openerp ul.oe_mail_wall_threads {
margin-top: 8px;
}
.openerp .oe_mail_wall_threads textarea {
height: 40px;
/* Specific display of threads in the wall */
/* ------------------------------------------------------------ */
.openerp ul.oe_mail_wall_threads textarea {
width: 434px;
height: 30px;
padding: 4px;
}
.openerp .oe_mail_wall_thread:first .oe_mail_msg_notification {
.openerp li.oe_mail_wall_thread:first .oe_mail_msg_notification {
border-top: 0;
}
@ -63,7 +70,7 @@
width: 486px;
}
.openerp div.oe_mail_msg_content li{
.openerp div.oe_mail_msg_content li {
float: left;
margin-right: 3px;
}
@ -78,9 +85,9 @@
}
/* ------------------------------ */
/* RecordThread */
/* ------------------------------ */
/* ------------------------------------------------------------ */
/* RecordThread
/* ------------------------------------------------------------ */
.openerp div.oe_mail_recthread {
overflow: auto;
@ -96,21 +103,10 @@
width: 250px;
}
/* Left-side CSS */
.openerp div.oe_mail_recthread_actions {
margin-bottom: 8px;
}
.openerp div.oe_mail_recthread_followers {
margin-bottom: 8px;
}
.openerp div.oe_mail_recthread_followers img.oe_mail_msg_image {
width: 28px;
height: 28px;
margin: 4px;
}
.openerp div.oe_mail_recthread_actions button {
width: 120px;
}
@ -142,21 +138,17 @@
background-image: linear-gradient(to bottom, #dc5f59, #b33630);
}
.openerp textarea.oe_mail_action_textarea {
height: 60px;
padding: 5px;
.openerp div.oe_mail_recthread_followers {
margin-bottom: 8px;
}
.openerp .oe_mail_compose img{
max-height: 25px;
}
/* ------------------------------ */
/* ThreadDisplay */
/* ------------------------------ */
/* ------------------------------------------------------------ */
/* Thread
/* ------------------------------------------------------------ */
.openerp div.oe_mail_thread_action {
display: none;
/*display: none;*/
white-space: normal;
padding: 8px;
background: #eee;
@ -169,6 +161,23 @@
clear: both;
}
/* TODO */
.openerp textarea.oe_mail_compose_textarea {
width: 474px;
height: 60px;
padding: 4px;
font-size: 12px;
border: 1px solid #cccccc;
}
.openerp textarea.oe_mail_compose_textarea: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);
-webkit-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);
}
.openerp div.oe_mail_thread_display {
white-space: normal;
}
@ -177,32 +186,32 @@
margin-left: 66px;
}
.openerp div.oe_mail_thread_subthread .oe_mail_thread_msg:last-child {
.openerp div.oe_mail_thread_subthread li.oe_mail_thread_msg:last-child {
margin-bottom: 8px;
}
.openerp a.oe_mail_compose {
display: none;
}
.openerp div.oe_mail_thread_more {
display: none;
border-bottom: 1px solid #D2D9E7;
}
/*TODO: LI ?*/
.openerp li.oe_mail_thread_msg:after {
content: "";
display: block;
clear: both;
}
/*TODO: LI ?*/
.openerp li.oe_mail_thread_msg > div:after {
content: "";
display: block;
clear: both;
}
.openerp div.oe_mail_msg {
padding: 0;
margin: 0 0 4px 0;
}
.openerp .oe_mail_msg_notification,
.openerp .oe_mail_msg_comment,
.openerp .oe_mail_msg_email {
@ -211,11 +220,6 @@
border-top: 1px solid #ccc;
}
.openerp .oe_email_icon {
width: 50px;
height: 50px;
}
.openerp div.oe_mail_thread_subthread .oe_mail_msg_comment {
background: #eee;
}
@ -238,9 +242,18 @@
clear: both;
}
.openerp img.oe_mail_msg_image {
.openerp img.oe_mail_icon {
width: 50px;
height: 50px;
}
.openerp img.oe_mail_thumbnail {
width: 28px;
height: 28px;
margin: 4px;
}
.openerp img.oe_mail_frame {
text-align: center;
overflow: hidden;
-moz-border-radius: 3px;
@ -255,48 +268,20 @@
clip: rect(5px, 40px, 45px, 0px);
}
/* ------------------------------ */
/* Styling (should be openerp) */
/* ------------------------------ */
.openerp input.oe_mail, textarea.oe_mail {
width: 432px;
padding: 4px;
font-size: 12px;
border: 1px solid #cccccc;
-webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
-moz-transition: border linear 0.2s, box-shadow linear 0.2s;
-ms-transition: border linear 0.2s, box-shadow linear 0.2s;
-o-transition: border linear 0.2s, box-shadow linear 0.2s;
transition: border linear 0.2s, box-shadow linear 0.2s;
-moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
/* ------------------------------------------------------------ */
/* mail.compose.message form view
/* ------------------------------------------------------------ */
/* form_view: delete white background */
.openerp .oe_mail_msg_content .oe_formview {
background-color: transparent;
}
.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);
-webkit-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);
}
.openerp div.oe_mail_msg {
padding: 0;
margin: 0 0 4px 0;
}
.openerp .oe_mail_oe_bold {
font-weight: bold;
}
/* ------------------------------ */
/* Messages layout */
/* ------------------------------ */
/* ------------------------------------------------------------ */
/* Messages layout
/* ------------------------------------------------------------ */
.openerp .oe_mail_msg .oe_mail_msg_title {
margin: 0;
@ -326,6 +311,10 @@
display: inline;
}
.openerp .oe_mail_oe_bold {
font-weight: bold;
}
/* Read more/less link */
.openerp .oe_mail_msg_content .expand,
.openerp .oe_mail_msg_content .reduce {

View File

@ -5,9 +5,3 @@
.openerp tr td .oe_form_field.oe_mail_compose_message_invisible {
display: none;
}
/*
.openerp tr td .oe_form_field.mail_compose_message_subject {
display: none;
}
*/