[IMP] mail: further work on the css
bzr revid: fva@openerp.com-20121018125328-7oxxd28kbzmm9k03
This commit is contained in:
@@ -11,16 +11,19 @@
|
||||
padding: 8px;
|
||||
}
|
||||
.openerp .oe_mail .oe_thread{
|
||||
margin-left: 8px;
|
||||
margin-left: 32px;
|
||||
}
|
||||
.openerp .oe_mail .oe_thread.oe_root_thread{
|
||||
.openerp .oe_mail > .oe_thread{
|
||||
margin-left: 0px;
|
||||
}
|
||||
|
||||
/* ---------------- MESSAGES ------------------ */
|
||||
|
||||
.openerp .oe_mail .oe_msg{
|
||||
position: relative;
|
||||
background: blue;
|
||||
margin-bottom: 4px;
|
||||
min-height: 100px;
|
||||
min-height: 75px;
|
||||
}
|
||||
.openerp .oe_mail .oe_msg .oe_msg_left{
|
||||
position: absolute;
|
||||
@@ -32,9 +35,11 @@
|
||||
position: relative;
|
||||
display: block;
|
||||
margin-left: 75px;
|
||||
margin-right: 32px;
|
||||
background: gray;
|
||||
}
|
||||
.openerp .oe_mail .oe_msg.oe_with_buttons .oe_msg_center{
|
||||
margin-right: 32px;
|
||||
}
|
||||
.openerp .oe_mail .oe_msg .oe_msg_right{
|
||||
position: absolute;
|
||||
right:0; top:0; bottom: 0; width: 32px;
|
||||
@@ -62,3 +67,18 @@
|
||||
padding: 0px;
|
||||
resize: vertical;
|
||||
}
|
||||
.openerp .oe_mail .oe_msg.oe_msg_composer_compact{
|
||||
padding:4px;
|
||||
min-height:0px;
|
||||
}
|
||||
.openerp .oe_mail .oe_msg.oe_msg_composer_compact textarea{
|
||||
height: 24px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.openerp .oe_mail .oe_msg.oe_msg_unread .oe_unread{
|
||||
display:none;
|
||||
}
|
||||
.openerp .oe_mail .oe_msg.oe_msg_read .oe_read{
|
||||
display:none;
|
||||
}
|
||||
|
||||
@@ -185,7 +185,7 @@
|
||||
|
||||
<!-- default layout -->
|
||||
<t t-name="mail.thread.message">
|
||||
<div t-attf-class="oe_msg oe_msg_#{widget.datasets.type} oe_msg_#{widget.datasets.to_read?'unread':'read'}">
|
||||
<div t-attf-class="oe_msg oe_with_buttons oe_msg_#{widget.datasets.type} oe_msg_#{widget.datasets.to_read?'unread':'read'}">
|
||||
<!-- message actions (read/unread, reply, delete...) -->
|
||||
<div class='oe_msg_right'>
|
||||
<div class="oe_msg_icons">
|
||||
@@ -204,7 +204,7 @@
|
||||
|
||||
<div class="oe_msg_center">
|
||||
<!-- message itself -->
|
||||
<div class="oe_mail_msg">
|
||||
<div class="oe_msg_content">
|
||||
<h1 t-if="widget.datasets.subject" class="oe_msg_title">
|
||||
<t t-raw="widget.datasets.subject"/>
|
||||
</h1>
|
||||
@@ -277,10 +277,8 @@
|
||||
<!-- mail.thread.message.star
|
||||
Template used to display stared/unstared message in a mail.message
|
||||
-->
|
||||
<span t-name="mail.thread.message.star">
|
||||
<span class="oe_left">
|
||||
<button t-attf-class="oe_mail_starbox oe_tag #{widget.datasets.has_stared?'oe_stared':''}">*</button>
|
||||
</span>
|
||||
</span>
|
||||
<t t-name="mail.thread.message.star">
|
||||
<a t-attf-class="oe_mail_starbox #{widget.datasets.has_stared?'oe_stared':''}">*</a>
|
||||
</t>
|
||||
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user