1 /* ------------ TOPBAR MAIL BUTTON --------------- */
2 .oe_systray #oe_topbar_compose_full_email_icon {
7 /* ------------ MAIL WIDGET --------------- */
8 .openerp .oe_mail, .openerp .oe_mail *{
9 -webkit-box-sizing: border-box;
10 -moz-box-sizing: border-box;
11 box-sizing: border-box;
18 .openerp .oe_mail .oe_thread{
21 .openerp .oe_mail > .oe_thread{
24 .openerp .oe_inline.oe_compose_recipients {
28 /* ---------------- MESSAGES ------------------ */
30 .openerp .oe_mail .oe_msg{
36 border: solid 1px rgba(0,0,0,0.03);
38 .openerp .oe_mail .oe_msg.oe_msg_nobody{
41 .openerp .oe_mail .oe_msg.oe_msg_notification{
44 .openerp .oe_mail .oe_msg .oe_msg_left{
46 left:0; top: 0; bottom: 0; width: 40px;
49 .openerp .oe_mail .oe_msg .oe_msg_left a,
50 .openerp .oe_mail .oe_msg .oe_msg_left img{
53 .openerp .oe_mail .oe_msg .oe_msg_icon{
58 .openerp .oe_mail .oe_msg .oe_msg_center{
63 .openerp .oe_mail .oe_msg .oe_msg_footer{
68 .openerp .oe_mail .oe_msg .oe_msg_content{
74 .openerp .oe_mail .oe_msg .oe_msg_content .oe_msg_title{
79 .openerp .oe_mail .oe_msg .oe_msg_content .oe_msg_body p:first-of-type {
83 .openerp .oe_mail .oe_msg .oe_msg_content .oe_msg_body p {
86 .openerp .oe_mail .oe_msg .oe_msg_content .oe_msg_body pre {
87 white-space: pre-wrap;
89 .openerp .oe_mail .oe_msg .oe_msg_content .oe_msg_body blockquote {
92 .openerp .oe_mail .oe_msg .oe_msg_content .oe_msg_body * {
93 text-overflow:ellipsis;
94 word-wrap: break-word;
96 .openerp .oe_mail .oe_msg .oe_msg_content .oe_msg_body .oe_mail_cleaned {
100 /* a) Indented Messages */
102 .openerp .oe_mail .oe_msg_indented{
108 .openerp .oe_mail .oe_msg.oe_msg_indented .oe_msg_icon{
113 .openerp .oe_mail .oe_msg .oe_subtle{
116 .openerp .oe_mail .oe_msg_indented .oe_msg_center{
119 .openerp .oe_mail .oe_msg.oe_msg_indented .oe_msg_content{
122 .openerp .oe_mail .oe_msg.oe_msg_indented .oe_msg_footer{
126 /* b) Votes (likes) */
128 .openerp .oe_mail .oe_mail_vote_count{
132 box-shadow: 0px 0px 0px 1px rgba(124, 123, 173, 0.36) inset;
142 /* c) Message action icons */
144 .openerp .oe_mail .oe_msg .oe_msg_icons{
150 -webkit-user-select: none;
151 -moz-user-select: none;
152 -ms-user-select: none;
155 .openerp .oe_mail .oe_msg .oe_msg_icons span{
162 .openerp .oe_mail .oe_msg .oe_msg_icons a {
163 text-decoration: none;
165 text-shadow: 0px 1px #AAA,0px -1px #AAA, -1px 0px #AAA, 1px 0px #AAA, 0px 3px 3px rgba(0,0,0,0.1);
166 -webkit-transition: all 0.2s linear;
167 -moz-transition: all 0.2s linear;
168 -o-transition: all 0.2s linear;
169 transition: all 0.2s linear;
171 .openerp .oe_mail .oe_msg:hover .oe_msg_icons a{
173 -webkit-transition: all 0.1s linear;
174 -moz-transition: all 0.1s linear;
175 -o-transition: all 0.1s linear;
176 transition: all 0.1s linear;
178 .openerp .oe_mail .oe_msg .oe_msg_icons .oe_star:hover a{
180 text-shadow: 0px 1px #FFA162,0px -1px #FFA162, -1px 0px #FFA162, 1px 0px #FFA162, 0px 3px 3px rgba(0,0,0,0.1);
182 .openerp .oe_mail .oe_msg .oe_msg_icons .oe_star.oe_starred a{
184 text-shadow: 0px 1px #DF6200,0px -1px #DF6200, -1px 0px #DF6200, 1px 0px #DF6200, 0px 3px 3px rgba(0,0,0,0.1);
186 .openerp .oe_mail .oe_msg .oe_msg_icons .oe_reply:hover a{
188 text-shadow: 0px 1px #184fc5,0px -1px #184fc5, -1px 0px #184fc5, 1px 0px #184fc5, 0px 3px 3px rgba(0,0,0,0.1);
190 .openerp .oe_mail .oe_msg .oe_msg_icons .oe_read:hover a{
192 text-shadow: 0px 1px #7c7bad,0px -1px #7c7bad, -1px 0px #7c7bad, 1px 0px #7c7bad, 0px 3px 3px rgba(0,0,0,0.1);
194 .openerp .oe_mail .oe_msg .oe_msg_icons .oe_unread:hover a{
196 text-shadow: 0px 1px #009441,0px -1px #009441, -1px 0px #009441, 1px 0px #009441, 0px 3px 3px rgba(0,0,0,0.1);
198 .openerp .oe_mail .oe_msg .oe_msg_content textarea{
207 .openerp .oe_mail .oe_msg.oe_msg_composer_compact, .openerp .oe_mail .oe_msg.oe_msg_expandable{
211 .openerp .oe_mail .oe_msg.oe_msg_composer_compact textarea{
215 .openerp .oe_mail .oe_msg.oe_msg_composer_compact .oe_sep_word{
219 .openerp .oe_mail .oe_msg.oe_msg_composer_compact .oe_compact{
226 .openerp .oe_mail .oe_msg.oe_msg_composer_compact .oe_compact_record {
231 .openerp .oe_mail .oe_msg.oe_msg_composer_compact .oe_compact_inbox {
232 border: 1px solid #CCC;
233 -moz-border-radius: 3px;
234 -webkit-border-radius: 3px;
241 /* d) I.E. tweaks for Message action icons */
243 .openerp.openerp_ie .oe_mail .oe_msg .oe_msg_icons a {
247 .openerp.openerp_ie .oe_mail .oe_msg .oe_msg_icons .oe_star:hover a{
251 .openerp.openerp_ie .oe_mail .oe_msg .oe_msg_icons .oe_starred a{
255 .openerp.openerp_ie .oe_mail .oe_msg .oe_msg_icons .oe_read:hover a{
259 .openerp.openerp_ie .oe_mail .oe_msg .oe_msg_icons .oe_unread:hover a{
264 /* --------------------- ATTACHMENTS --------------------- */
266 .openerp .oe_mail .oe_msg_attachment_list{
270 .openerp .oe_mail .oe_msg_composer .oe_msg_attachment_list {
273 .openerp .oe_mail .oe_msg_composer .oe_recipients {
278 .openerp .oe_mail .oe_msg_composer .oe_recipients label{
279 vertical-align: middle;
283 .openerp .oe_mail .oe_msg_composer .oe_recipients input{
284 vertical-align: middle;
287 display: inline-block;
296 .oe_attachment .oe_name{
297 display: inline-block;
309 .oe_attachment.oe_preview{
310 background: url( data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAJ0lEQVQYV2MsLS39z4AGLCws0IUYGIeCwrVr12J45sSJE5ieGQIKAbuZKf/EMCs7AAAAAElFTkSuQmCC );
312 .oe_attachment .oe_progress_bar{
325 border: solid 1px rgba(0,0,0,0.2);
326 box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.34);
327 -webkit-animation: oe_mail_attach_loading_anim 0.75s infinite linear;
328 -moz-animation: oe_mail_attach_loading_anim 0.75s infinite linear;
329 -o-animation: oe_mail_attach_loading_anim 0.75s infinite linear;
330 animation: oe_mail_attach_loading_anim 0.75s infinite linear;
332 .oe_attachment.oe_uploading .oe_progress_bar{
335 @-webkit-keyframes oe_mail_attach_loading_anim{
336 0% { background: #4BBD00 }
337 50% { background: #009123 }
338 100% { background: #4BBD00 }
340 @-moz-keyframes oe_mail_attach_loading_anim{
341 0% { background: #4BBD00 }
342 50% { background: #009123 }
343 100% { background: #4BBD00 }
345 @-o-keyframes oe_mail_attach_loading_anim{
346 0% { background: #4BBD00 }
347 50% { background: #009123 }
348 100% { background: #4BBD00 }
350 @keyframes oe_mail_attach_loading_anim{
351 0% { background: #4BBD00 }
352 50% { background: #009123 }
353 100% { background: #4BBD00 }
355 .oe_attachment.oe_preview .oe_name{
362 background: rgba(0,0,0,0.8);
365 border-top-left-radius: 0px;
366 border-top-right-radius: 0px;
368 -webkit-transition: opacity 0.2s linear;
369 -moz-transition: opacity 0.2s linear;
370 -o-transition: opacity 0.2s linear;
371 transition: opacity 0.2s linear;
373 .oe_attachment.oe_preview:hover .oe_name{
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;
388 .oe_attachment.oe_preview img{
395 border: solid 3px #FFF;
397 box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.19);
399 .openerp .oe_mail .oe_attachment .oe_delete{
402 .openerp .oe_mail .oe_msg_composer .oe_attachment .oe_delete{
408 text-shadow: 1px 0px white, -1px 0px white, 0px 1px white, 0px -1px white;
411 -webkit-transition: opacity 0.2s linear;
412 -moz-transition: opacity 0.2s linear;
413 -o-transition: opacity 0.2s linear;
414 transition: opacity 0.2s linear;
416 .openerp .oe_mail .oe_msg_composer .oe_attachment:hover .oe_delete{
418 -webkit-transition: opacity 0.2s linear;
419 -moz-transition: opacity 0.2s linear;
420 -o-transition: opacity 0.2s linear;
421 transition: opacity 0.2s linear;
423 /* ---------------- MESSAGE QUICK COMPOSER --------------- */
425 .openerp .oe_mail .oe_msg_composer .oe_msg_footer{
430 .openerp .oe_mail .oe_msg_images {
433 .openerp .oe_mail .oe_msg_footer button{
438 vertical-align: middle;
440 .openerp .oe_mail .oe_msg_footer button.oe_post,
441 .openerp .oe_mail .oe_msg_footer button.oe_log{
445 .openerp .oe_mail .oe_msg_footer button.oe_attach{
447 margin-bottom: 5px; /* improved margin of file attach button according bootstrap3 */
450 .openerp .oe_mail .oe_msg_footer button.oe_attach .oe_e{
454 vertical-align: middle;
457 .openerp .oe_mail .oe_hidden_input_file, .openerp .oe_mail .oe_hidden_input_file form{
460 .openerp .oe_mail .oe_msg_center button.oe_full{
467 .openerp .oe_mail .oe_msg_center button.oe_full .oe_e{
475 .openerp .oe_mail button.oe_attach, .openerp .oe_mail button.oe_full{
476 background: transparent;
483 .openerp .oe_mail .oe_attach_label{
487 .openerp .oe_mail .oe_msg_footer .oe_attachment_file{
490 .openerp .oe_mail .oe_msg_footer .oe_attachment_file .oe_form_binary_file{
491 display: inline-block;
499 .openerp .oe_mail .oe_msg_content .oe_mail_list_recipients{
501 margin: 4px 0 4px 20px;
505 /* ---------------- HIDDEN MESSAGES ------------------ */
507 .openerp .oe_mail .oe_msg_content.oe_msg_more_message{
511 .openerp .oe_mail .oe_msg_content.oe_msg_more_message .oe_separator{
513 border-bottom: dashed 1px #e6e6e6;
519 .openerp .oe_mail .oe_msg_more_message .oe_msg_fetch_more {
524 text-decoration: none;
527 .openerp .oe_mail .oe_msg_more_message .oe_msg_fetch_more:hover{
528 text-decoration: none;
531 /* ---------------- FOLLOWERS ------------------ */
533 .openerp .oe_followers{
535 display: inline-block;
542 /* a) THE FOLLOW BUTTON */
544 .openerp .oe_followers button.oe_follower{
549 .openerp .oe_followers button.oe_follower.oe_following{
551 background-color: #3465A4;
552 background-image: -webkit-linear-gradient(top, #729FCF, #3465A4);
553 background-image: -moz-linear-gradient(top, #729FCF, #3465A4);
554 background-image: -ms-linear-gradient(top, #729FCF, #3465A4);
555 background-image: -o-linear-gradient(top, #729FCF, #3465A4);
556 background-image: linear-gradient(to bottom, #729FCF, #3465A4);
558 .openerp .oe_followers button.oe_follower.oe_following:hover{
561 background-color: #A21A1A;
562 background-image: -webkit-linear-gradient(top, #DF3F3F, #A21A1A);
563 background-image: -moz-linear-gradient(top, #DF3F3F, #A21A1A);
564 background-image: -ms-linear-gradient(top, #DF3F3F, #A21A1A);
565 background-image: -o-linear-gradient(top, #DF3F3F, #A21A1A);
566 background-image: linear-gradient(to bottom, #DF3F3F, #A21A1A);
569 .openerp .oe_followers button.oe_follower .oe_follow,
570 .openerp .oe_followers button.oe_follower .oe_unfollow,
571 .openerp .oe_followers button.oe_follower .oe_following{
574 /* a.1) when following, show 'following' */
575 .openerp .oe_followers button.oe_follower.oe_following .oe_following{
578 /* a.2) when following and hovering, show 'unfollow' */
579 .openerp .oe_followers button.oe_follower.oe_following:hover .oe_following{
582 .openerp .oe_followers button.oe_follower.oe_following:hover .oe_unfollow{
585 /* a.3) when not following show 'follow' */
586 .openerp .oe_followers button.oe_follower.oe_notfollow .oe_follow{
590 .openerp .oe_followers .oe_subtype_list{
594 /* b) THE FOLLOWERS */
595 .openerp .oe_followers .oe_follower_title{
598 .openerp .oe_followers .oe_follower_title_box{
602 .openerp .oe_followers .oe_invite{
605 .openerp .oe_followers .oe_partner {
610 text-overflow: ellipsis;
612 .openerp .oe_followers .oe_partner img{
617 .openerp .oe_followers .oe_remove_follower{
623 .openerp .oe_followers .oe_edit_subtype{
629 .openerp .oe_followers .oe_partner .oe_hidden{
632 .openerp .oe_followers .oe_show_more{
635 /* ---------------- MESSAGES BODY ------------------ */
636 .openerp .oe_mail .oe_msg_content .oe_blockquote,
637 .openerp .oe_mail .oe_msg_content blockquote {
640 border: solid 1px rgba(124,123,173,0.14);
643 /* ----------- FORM INTEGRATION ------------ */
645 .openerp .oe_record_thread{
651 /* ----------- INBOX INTEGRATION ----------- */
653 .openerp .oe_mail_wall .oe_mail{
656 display: inline-block;
659 .openerp .oe_mail .oe_view_nocontent > p {
664 /* ------------- WALL SIDEBAR ------------- */
666 .openerp .oe_mail_wall .oe_mail_wall_aside {
669 display: inline-block;
673 .openerp .oe_mail_wall_aside .oe_sidebar_suggestion {
674 background-color: #EDEDF6;
678 .openerp .oe_sidebar_suggestion .oe_suggest_title h2 {
684 .openerp .oe_sidebar_suggestion .oe_suggest_items .oe_suggested_item {
688 min-height: 67px; /* image_small 66x66px */
690 .openerp .oe_sidebar_suggestion .oe_suggest_items .oe_suggested_item_image {
694 .openerp .oe_sidebar_suggestion .oe_suggest_items .oe_suggested_item_image img {
696 border: solid 1px rgba(0,0,0,0.03);
698 .openerp .oe_sidebar_suggestion .oe_suggest_items .oe_suggested_item_content button {
701 .openerp .oe_sidebar_suggestion .oe_suggest_items .oe_suggested_item_content a.oe_suggestion_item_name {
702 text-overflow: ellipsis;
706 .openerp .oe_sidebar_suggestion .oe_suggest_title a.oe_suggestion_remove {
713 .openerp .oe_sidebar_suggestion .oe_suggest_items .oe_suggested_item_content a.oe_suggestion_remove_item {
720 .openerp .oe_sidebar_suggestion .oe_suggest_title:hover a.oe_suggestion_remove,
721 .openerp .oe_sidebar_suggestion .oe_suggest_items:hover a.oe_suggestion_remove_item {
725 border-bottom: 1px solid #dddddd;