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 .oe_mail .oe_msg .oe_msg_icons a {
171 text-decoration: none;
173 text-shadow: 0px 1px #AAA,0px -1px #AAA, -1px 0px #AAA, 1px 0px #AAA, 0px 3px 3px rgba(0,0,0,0.1);
174 -webkit-transition: all 0.2s linear;
175 -moz-transition: all 0.2s linear;
176 -o-transition: all 0.2s linear;
177 transition: all 0.2s linear;
179 .openerp .oe_mail .oe_msg:hover .oe_msg_icons a{
181 -webkit-transition: all 0.1s linear;
182 -moz-transition: all 0.1s linear;
183 -o-transition: all 0.1s linear;
184 transition: all 0.1s linear;
186 .openerp .oe_mail .oe_msg .oe_msg_icons .oe_star:hover a{
188 text-shadow: 0px 1px #FFA162,0px -1px #FFA162, -1px 0px #FFA162, 1px 0px #FFA162, 0px 3px 3px rgba(0,0,0,0.1);
190 .openerp .oe_mail .oe_msg .oe_msg_icons .oe_star.oe_starred a{
192 text-shadow: 0px 1px #DF6200,0px -1px #DF6200, -1px 0px #DF6200, 1px 0px #DF6200, 0px 3px 3px rgba(0,0,0,0.1);
194 .openerp .oe_mail .oe_msg .oe_msg_icons .oe_reply:hover a{
196 text-shadow: 0px 1px #184fc5,0px -1px #184fc5, -1px 0px #184fc5, 1px 0px #184fc5, 0px 3px 3px rgba(0,0,0,0.1);
198 .openerp .oe_mail .oe_msg .oe_msg_icons .oe_read:hover a{
200 text-shadow: 0px 1px #7c7bad,0px -1px #7c7bad, -1px 0px #7c7bad, 1px 0px #7c7bad, 0px 3px 3px rgba(0,0,0,0.1);
202 .openerp .oe_mail .oe_msg .oe_msg_icons .oe_unread:hover a{
204 text-shadow: 0px 1px #009441,0px -1px #009441, -1px 0px #009441, 1px 0px #009441, 0px 3px 3px rgba(0,0,0,0.1);
206 .openerp .oe_mail .oe_msg .oe_msg_content textarea{
215 .openerp .oe_mail .oe_msg.oe_msg_composer_compact, .openerp .oe_mail .oe_msg.oe_msg_expandable{
219 .openerp .oe_mail .oe_msg.oe_msg_composer_compact textarea{
224 /* d) I.E. tweaks for Message action icons */
226 .openerp.openerp_ie .oe_mail .oe_msg .oe_msg_icons a {
230 .openerp.openerp_ie .oe_mail .oe_msg .oe_msg_icons .oe_star:hover a{
234 .openerp.openerp_ie .oe_mail .oe_msg .oe_msg_icons .oe_starred a{
238 .openerp.openerp_ie .oe_mail .oe_msg .oe_msg_icons .oe_read:hover a{
242 .openerp.openerp_ie .oe_mail .oe_msg .oe_msg_icons .oe_unread:hover a{
247 /* --------------------- ATTACHMENTS --------------------- */
249 .openerp .oe_mail .oe_msg_attachment_list{
253 .openerp .oe_mail .oe_msg_composer .oe_msg_attachment_list{
256 .openerp .oe_mail .oe_attachment{
257 display: inline-block;
266 .openerp .oe_mail .oe_attachment .oe_name{
267 display: inline-block;
279 .openerp .oe_mail .oe_attachment.oe_preview{
280 background: url( data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAJ0lEQVQYV2MsLS39z4AGLCws0IUYGIeCwrVr12J45sSJE5ieGQIKAbuZKf/EMCs7AAAAAElFTkSuQmCC );
282 .openerp .oe_mail .oe_attachment .oe_progress_bar{
295 border: solid 1px rgba(0,0,0,0.2);
296 box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.34);
297 -webkit-animation: oe_mail_attach_loading_anim 0.75s infinite linear;
298 -moz-animation: oe_mail_attach_loading_anim 0.75s infinite linear;
299 -o-animation: oe_mail_attach_loading_anim 0.75s infinite linear;
300 animation: oe_mail_attach_loading_anim 0.75s infinite linear;
302 .openerp .oe_mail .oe_attachment.oe_uploading .oe_progress_bar{
305 @-webkit-keyframes oe_mail_attach_loading_anim{
306 0% { background: #4BBD00 }
307 50% { background: #009123 }
308 100% { background: #4BBD00 }
310 @-moz-keyframes oe_mail_attach_loading_anim{
311 0% { background: #4BBD00 }
312 50% { background: #009123 }
313 100% { background: #4BBD00 }
315 @-o-keyframes oe_mail_attach_loading_anim{
316 0% { background: #4BBD00 }
317 50% { background: #009123 }
318 100% { background: #4BBD00 }
320 @keyframes oe_mail_attach_loading_anim{
321 0% { background: #4BBD00 }
322 50% { background: #009123 }
323 100% { background: #4BBD00 }
325 .openerp .oe_mail .oe_attachment.oe_preview .oe_name{
332 background: rgba(0,0,0,0.8);
335 border-top-left-radius: 0px;
336 border-top-right-radius: 0px;
338 -webkit-transition: opacity 0.2s linear;
339 -moz-transition: opacity 0.2s linear;
340 -o-transition: opacity 0.2s linear;
341 transition: opacity 0.2s linear;
343 .openerp .oe_mail .oe_attachment.oe_preview:hover .oe_name{
345 -webkit-transition: opacity 0.2s linear;
346 -moz-transition: opacity 0.2s linear;
347 -o-transition: opacity 0.2s linear;
348 transition: opacity 0.2s linear;
350 .openerp .oe_mail .oe_attachment img{
358 .openerp .oe_mail .oe_attachment.oe_preview img{
365 border: solid 3px #FFF;
367 box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.19);
369 .openerp .oe_mail .oe_attachment .oe_delete{
372 .openerp .oe_mail .oe_msg_composer .oe_attachment .oe_delete{
378 text-shadow: 1px 0px white, -1px 0px white, 0px 1px white, 0px -1px white;
381 -webkit-transition: opacity 0.2s linear;
382 -moz-transition: opacity 0.2s linear;
383 -o-transition: opacity 0.2s linear;
384 transition: opacity 0.2s linear;
386 .openerp .oe_mail .oe_msg_composer .oe_attachment:hover .oe_delete{
388 -webkit-transition: opacity 0.2s linear;
389 -moz-transition: opacity 0.2s linear;
390 -o-transition: opacity 0.2s linear;
391 transition: opacity 0.2s linear;
393 /* ---------------- MESSAGE QUICK COMPOSER --------------- */
395 .openerp .oe_mail .oe_msg_composer .oe_msg_footer{
400 .openerp .oe_mail .oe_msg_images {
403 .openerp .oe_mail .oe_msg_footer button{
408 vertical-align: middle;
410 .openerp .oe_mail .oe_msg_footer button.oe_post{
414 .openerp .oe_mail .oe_msg_footer button.oe_attach{
419 .openerp .oe_mail .oe_msg_footer button.oe_attach .oe_e{
423 vertical-align: middle;
426 .openerp .oe_mail .oe_hidden_input_file, .openerp .oe_mail .oe_hidden_input_file form{
429 .openerp .oe_mail .oe_msg_footer button.oe_full{
435 .openerp .oe_mail .oe_msg_footer button.oe_full .oe_e{
439 vertical-align: middle;
442 .openerp .oe_mail button.oe_attach, .openerp .oe_mail button.oe_full{
443 background: transparent;
450 .openerp .oe_mail .oe_attach_label{
454 .openerp .oe_mail .oe_msg_footer .oe_attachment_file{
457 .openerp .oe_mail .oe_msg_footer .oe_attachment_file .oe_form_binary_file{
458 display: inline-block;
466 .openerp .oe_mail .oe_msg_content .oe_mail_list_recipients{
472 /* ---------------- HIDDEN MESSAGES ------------------ */
474 .openerp .oe_mail .oe_msg_content.oe_msg_more_message{
478 .openerp .oe_mail .oe_msg_content.oe_msg_more_message .oe_separator{
480 border-bottom: dashed 1px #e6e6e6;
486 .openerp .oe_mail .oe_msg_more_message .oe_msg_fetch_more {
491 text-decoration: none;
494 .openerp .oe_mail .oe_msg_more_message .oe_msg_fetch_more:hover{
495 text-decoration: none;
498 /* ---------------- FOLLOWERS ------------------ */
500 .openerp .oe_followers{
502 display: inline-block;
509 /* a) THE FOLLOW BUTTON */
511 .openerp .oe_followers button.oe_follower{
516 .openerp .oe_followers button.oe_follower.oe_following{
518 background-color: #3465A4;
519 background-image: -webkit-linear-gradient(top, #729FCF, #3465A4);
520 background-image: -moz-linear-gradient(top, #729FCF, #3465A4);
521 background-image: -ms-linear-gradient(top, #729FCF, #3465A4);
522 background-image: -o-linear-gradient(top, #729FCF, #3465A4);
523 background-image: linear-gradient(to bottom, #729FCF, #3465A4);
525 .openerp .oe_followers button.oe_follower.oe_following:hover{
528 background-color: #A21A1A;
529 background-image: -webkit-linear-gradient(top, #DF3F3F, #A21A1A);
530 background-image: -moz-linear-gradient(top, #DF3F3F, #A21A1A);
531 background-image: -ms-linear-gradient(top, #DF3F3F, #A21A1A);
532 background-image: -o-linear-gradient(top, #DF3F3F, #A21A1A);
533 background-image: linear-gradient(to bottom, #DF3F3F, #A21A1A);
536 .openerp .oe_followers button.oe_follower .oe_follow,
537 .openerp .oe_followers button.oe_follower .oe_unfollow,
538 .openerp .oe_followers button.oe_follower .oe_following{
541 /* a.1) when following, show 'following' */
542 .openerp .oe_followers button.oe_follower.oe_following .oe_following{
545 /* a.2) when following and hovering, show 'unfollow' */
546 .openerp .oe_followers button.oe_follower.oe_following:hover .oe_following{
549 .openerp .oe_followers button.oe_follower.oe_following:hover .oe_unfollow{
552 /* a.3) when not following show 'follow' */
553 .openerp .oe_followers button.oe_follower.oe_notfollow .oe_follow{
557 .openerp .oe_followers .oe_subtype_list{
561 /* b) THE FOLLOWERS */
562 .openerp .oe_followers .oe_follower_title{
565 .openerp .oe_followers .oe_follower_title_box{
569 .openerp .oe_followers .oe_invite{
572 .openerp .oe_followers .oe_partner {
576 .openerp .oe_followers .oe_partner img{
582 /* ---------------- MESSAGES BODY ------------------ */
583 .openerp .oe_mail .oe_msg_content .oe_blockquote,
584 .openerp .oe_mail .oe_msg_content blockquote {
587 border: solid 1px rgba(124,123,173,0.14);
590 /* ----------- FORM INTEGRATION ------------ */
592 .openerp .oe_record_thread{
598 /* ----------- INBOX INTEGRATION ----------- */
600 .openerp .oe_mail_wall .oe_mail{
605 .openerp .oe_mail .oe_view_nocontent > p {