1 /* ------------ TOPBAR MAIL BUTTON --------------- */
3 /* FIXME this css is not very pretty because it uses a
4 * 'button' element wich comes with a lot of inappropriate
5 * styling. Entypo is also a headache to center properly
8 .openerp .oe_topbar_item.oe_topbar_compose_full_email{
13 .openerp .oe_topbar_item.oe_topbar_compose_full_email button{
15 top: -3px; /* centering entypo ... urgh */
16 box-sizing: border-box;
21 text-shadow: 0px 1px 2px black;
29 /* ------------ MAIL WIDGET --------------- */
30 .openerp .oe_mail, .openerp .oe_mail *{
31 -webkit-box-sizing: border-box;
32 -moz-box-sizing: border-box;
33 box-sizing: border-box;
40 .openerp .oe_mail .oe_thread{
43 .openerp .oe_mail > .oe_thread{
47 /* ---------------- MESSAGES ------------------ */
49 .openerp .oe_mail .oe_msg{
55 border: solid 1px rgba(0,0,0,0.03);
57 .openerp .oe_mail .oe_msg .oe_msg_left{
59 left:0; top: 0; bottom: 0; width: 40px;
62 .openerp .oe_mail .oe_msg .oe_msg_icon{
67 .openerp .oe_mail .oe_msg .oe_msg_center{
72 .openerp .oe_mail .oe_msg .oe_msg_footer{
79 .openerp .oe_mail .oe_msg .oe_msg_content{
85 .openerp .oe_mail .oe_msg .oe_msg_content .oe_msg_title{
90 .openerp .oe_mail .oe_msg .oe_msg_content .oe_msg_body p:first-of-type {
94 .openerp .oe_mail .oe_msg .oe_msg_content .oe_msg_body p {
97 .openerp .oe_mail .oe_msg .oe_msg_content .oe_msg_body * {
98 text-overflow:ellipsis;
99 word-wrap: break-word;
102 /* a) Indented Messages */
104 .openerp .oe_mail .oe_msg_indented{
110 .openerp .oe_mail .oe_msg.oe_msg_indented .oe_msg_icon{
115 .openerp .oe_mail .oe_msg .oe_subtle{
118 .openerp .oe_mail .oe_msg_indented .oe_msg_center{
121 .openerp .oe_mail .oe_msg.oe_msg_indented .oe_msg_content{
124 .openerp .oe_mail .oe_msg.oe_msg_indented .oe_msg_footer{
128 /* b) Votes (likes) */
130 .openerp .oe_mail .oe_mail_vote_count{
134 box-shadow: 0px 0px 0px 1px rgba(124, 123, 173, 0.36) inset;
143 .openerp .oe_mail .oe_mail_vote_count .oe_e{
150 /* c) Message action icons */
152 .openerp .oe_mail .oe_msg .oe_msg_icons{
158 -webkit-user-select: none;
159 -moz-user-select: none;
160 -ms-user-select: none;
163 .openerp .oe_mail .oe_msg .oe_msg_icons span{
170 .openerp_ie .oe_mail .oe_msg .oe_msg_icons span {
171 -ms-filter: "progid:DXImageTransform.Microsoft.shadow(color=#aaaaaa,strength=2)";
173 .openerp .oe_mail .oe_msg .oe_msg_icons a {
174 text-decoration: none;
176 text-shadow: 0px 1px #AAA,0px -1px #AAA, -1px 0px #AAA, 1px 0px #AAA, 0px 3px 3px rgba(0,0,0,0.1);
177 -webkit-transition: all 0.2s linear;
178 -moz-transition: all 0.2s linear;
179 -o-transition: all 0.2s linear;
180 transition: all 0.2s linear;
182 .openerp .oe_mail .oe_msg:hover .oe_msg_icons a{
184 -webkit-transition: all 0.1s linear;
185 -moz-transition: all 0.1s linear;
186 -o-transition: all 0.1s linear;
187 transition: all 0.1s linear;
189 .openerp .oe_mail .oe_msg .oe_msg_icons .oe_star:hover a{
191 text-shadow: 0px 1px #FFA162,0px -1px #FFA162, -1px 0px #FFA162, 1px 0px #FFA162, 0px 3px 3px rgba(0,0,0,0.1);
193 .openerp .oe_mail .oe_msg .oe_msg_icons .oe_star.oe_starred a{
195 text-shadow: 0px 1px #DF6200,0px -1px #DF6200, -1px 0px #DF6200, 1px 0px #DF6200, 0px 3px 3px rgba(0,0,0,0.1);
197 .openerp .oe_mail .oe_msg .oe_msg_icons .oe_reply:hover a{
199 text-shadow: 0px 1px #184fc5,0px -1px #184fc5, -1px 0px #184fc5, 1px 0px #184fc5, 0px 3px 3px rgba(0,0,0,0.1);
201 .openerp .oe_mail .oe_msg .oe_msg_icons .oe_read:hover a{
203 text-shadow: 0px 1px #7c7bad,0px -1px #7c7bad, -1px 0px #7c7bad, 1px 0px #7c7bad, 0px 3px 3px rgba(0,0,0,0.1);
205 .openerp .oe_mail .oe_msg .oe_msg_icons .oe_unread:hover a{
207 text-shadow: 0px 1px #009441,0px -1px #009441, -1px 0px #009441, 1px 0px #009441, 0px 3px 3px rgba(0,0,0,0.1);
209 .openerp .oe_mail .oe_msg .oe_msg_content textarea{
218 .openerp .oe_mail .oe_msg.oe_msg_composer_compact, .openerp .oe_mail .oe_msg.oe_msg_expandable{
222 .openerp .oe_mail .oe_msg.oe_msg_composer_compact textarea{
226 .openerp .oe_mail .oe_msg.oe_msg_composer_compact .oe_compact{
230 border: 1px solid #CCC;
231 -moz-border-radius: 3px;
232 -webkit-border-radius: 3px;
241 /* --------------------- ATTACHMENTS --------------------- */
243 .openerp .oe_mail .oe_msg_attachment_list{
247 .openerp .oe_mail .oe_msg_composer .oe_msg_attachment_list{
250 .openerp .oe_mail .oe_attachment{
251 display: inline-block;
260 .openerp .oe_mail .oe_attachment .oe_name{
261 display: inline-block;
273 .openerp .oe_mail .oe_attachment.oe_preview{
274 background: url( data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAJ0lEQVQYV2MsLS39z4AGLCws0IUYGIeCwrVr12J45sSJE5ieGQIKAbuZKf/EMCs7AAAAAElFTkSuQmCC );
276 .openerp .oe_mail .oe_attachment .oe_progress_bar{
289 border: solid 1px rgba(0,0,0,0.2);
290 box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.34);
291 -webkit-animation: oe_mail_attach_loading_anim 0.75s infinite linear;
292 -moz-animation: oe_mail_attach_loading_anim 0.75s infinite linear;
293 -o-animation: oe_mail_attach_loading_anim 0.75s infinite linear;
294 animation: oe_mail_attach_loading_anim 0.75s infinite linear;
296 .openerp .oe_mail .oe_attachment.oe_uploading .oe_progress_bar{
299 @-webkit-keyframes oe_mail_attach_loading_anim{
300 0% { background: #4BBD00 }
301 50% { background: #009123 }
302 100% { background: #4BBD00 }
304 @-moz-keyframes oe_mail_attach_loading_anim{
305 0% { background: #4BBD00 }
306 50% { background: #009123 }
307 100% { background: #4BBD00 }
309 @-o-keyframes oe_mail_attach_loading_anim{
310 0% { background: #4BBD00 }
311 50% { background: #009123 }
312 100% { background: #4BBD00 }
314 @keyframes oe_mail_attach_loading_anim{
315 0% { background: #4BBD00 }
316 50% { background: #009123 }
317 100% { background: #4BBD00 }
319 .openerp .oe_mail .oe_attachment.oe_preview .oe_name{
326 background: rgba(0,0,0,0.8);
329 border-top-left-radius: 0px;
330 border-top-right-radius: 0px;
332 -webkit-transition: opacity 0.2s linear;
333 -moz-transition: opacity 0.2s linear;
334 -o-transition: opacity 0.2s linear;
335 transition: opacity 0.2s linear;
337 .openerp .oe_mail .oe_attachment.oe_preview:hover .oe_name{
339 -webkit-transition: opacity 0.2s linear;
340 -moz-transition: opacity 0.2s linear;
341 -o-transition: opacity 0.2s linear;
342 transition: opacity 0.2s linear;
344 .openerp .oe_mail .oe_attachment img{
352 .openerp .oe_mail .oe_attachment.oe_preview img{
359 border: solid 3px #FFF;
361 box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.19);
363 .openerp .oe_mail .oe_attachment .oe_delete{
366 .openerp .oe_mail .oe_msg_composer .oe_attachment .oe_delete{
372 text-shadow: 1px 0px white, -1px 0px white, 0px 1px white, 0px -1px white;
375 -webkit-transition: opacity 0.2s linear;
376 -moz-transition: opacity 0.2s linear;
377 -o-transition: opacity 0.2s linear;
378 transition: opacity 0.2s linear;
380 .openerp .oe_mail .oe_msg_composer .oe_attachment:hover .oe_delete{
382 -webkit-transition: opacity 0.2s linear;
383 -moz-transition: opacity 0.2s linear;
384 -o-transition: opacity 0.2s linear;
385 transition: opacity 0.2s linear;
387 /* ---------------- MESSAGE QUICK COMPOSER --------------- */
389 .openerp .oe_mail .oe_msg_composer .oe_msg_footer{
394 .openerp .oe_mail .oe_msg_images {
397 .openerp .oe_mail .oe_msg_footer button{
402 vertical-align: middle;
404 .openerp .oe_mail .oe_msg_footer button.oe_post{
408 .openerp .oe_mail .oe_msg_footer button.oe_attach{
413 .openerp .oe_mail .oe_msg_footer button.oe_attach .oe_e{
417 vertical-align: middle;
420 .openerp .oe_mail .oe_hidden_input_file, .openerp .oe_mail .oe_hidden_input_file form{
423 .openerp .oe_mail .oe_msg_footer button.oe_full{
429 .openerp .oe_mail .oe_msg_footer button.oe_full .oe_e{
433 vertical-align: middle;
436 .openerp .oe_mail button.oe_attach, .openerp .oe_mail button.oe_full{
437 background: transparent;
444 .openerp .oe_mail .oe_attach_label{
448 .openerp .oe_mail .oe_msg_footer .oe_attachment_file{
451 .openerp .oe_mail .oe_msg_footer .oe_attachment_file .oe_form_binary_file{
452 display: inline-block;
460 .openerp .oe_mail .oe_mail_list_recipients{
466 /* ---------------- HIDDEN MESSAGES ------------------ */
468 .openerp .oe_mail .oe_msg_content.oe_msg_more_message{
472 .openerp .oe_mail .oe_msg_content.oe_msg_more_message .oe_separator{
474 border-bottom: dashed 1px #e6e6e6;
480 .openerp .oe_mail .oe_msg_more_message .oe_msg_fetch_more {
485 text-decoration: none;
488 .openerp .oe_mail .oe_msg_more_message .oe_msg_fetch_more:hover{
489 text-decoration: none;
492 /* ---------------- FOLLOWERS ------------------ */
494 .openerp .oe_followers{
496 display: inline-block;
503 /* a) THE FOLLOW BUTTON */
505 .openerp .oe_followers button.oe_follower{
510 .openerp .oe_followers button.oe_follower.oe_following{
512 background-color: #3465A4;
513 background-image: -webkit-linear-gradient(top, #729FCF, #3465A4);
514 background-image: -moz-linear-gradient(top, #729FCF, #3465A4);
515 background-image: -ms-linear-gradient(top, #729FCF, #3465A4);
516 background-image: -o-linear-gradient(top, #729FCF, #3465A4);
517 background-image: linear-gradient(to bottom, #729FCF, #3465A4);
519 .openerp .oe_followers button.oe_follower.oe_following:hover{
522 background-color: #A21A1A;
523 background-image: -webkit-linear-gradient(top, #DF3F3F, #A21A1A);
524 background-image: -moz-linear-gradient(top, #DF3F3F, #A21A1A);
525 background-image: -ms-linear-gradient(top, #DF3F3F, #A21A1A);
526 background-image: -o-linear-gradient(top, #DF3F3F, #A21A1A);
527 background-image: linear-gradient(to bottom, #DF3F3F, #A21A1A);
530 .openerp .oe_followers button.oe_follower .oe_follow,
531 .openerp .oe_followers button.oe_follower .oe_unfollow,
532 .openerp .oe_followers button.oe_follower .oe_following{
535 /* a.1) when following, show 'following' */
536 .openerp .oe_followers button.oe_follower.oe_following .oe_following{
539 /* a.2) when following and hovering, show 'unfollow' */
540 .openerp .oe_followers button.oe_follower.oe_following:hover .oe_following{
543 .openerp .oe_followers button.oe_follower.oe_following:hover .oe_unfollow{
546 /* a.3) when not following show 'follow' */
547 .openerp .oe_followers button.oe_follower.oe_notfollow .oe_follow{
551 .openerp .oe_followers .oe_subtype_list{
555 /* b) THE FOLLOWERS */
556 .openerp .oe_followers .oe_follower_title{
559 .openerp .oe_followers .oe_follower_title_box{
563 .openerp .oe_followers .oe_invite{
566 .openerp .oe_followers .oe_partner {
570 .openerp .oe_followers .oe_partner img{
576 /* ---------------- MESSAGES BODY ------------------ */
577 .openerp .oe_mail .oe_msg_content .oe_blockquote,
578 .openerp .oe_mail .oe_msg_content blockquote {
581 border: solid 1px rgba(124,123,173,0.14);
584 /* ----------- FORM INTEGRATION ------------ */
586 .openerp .oe_record_thread{
592 /* ----------- INBOX INTEGRATION ----------- */
594 .openerp .oe_mail_wall .oe_mail{
599 .openerp .oe_mail .oe_view_nocontent > p {