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 /* ---- GENERIC FOR MAIL-RELATED STUFF ---- */
30 .openerp .oe_e.oe_e_alias {
36 text-shadow: 0px 0px 2px black;
39 /* ------------ MAIL WIDGET --------------- */
40 .openerp .oe_mail, .openerp .oe_mail *{
41 -webkit-box-sizing: border-box;
42 -moz-box-sizing: border-box;
43 box-sizing: border-box;
50 .openerp .oe_mail .oe_thread{
53 .openerp .oe_mail > .oe_thread{
57 /* ---------------- MESSAGES ------------------ */
59 .openerp .oe_mail .oe_msg{
65 border: solid 1px rgba(0,0,0,0.03);
67 .openerp .oe_mail .oe_msg.oe_msg_nobody{
70 .openerp .oe_mail .oe_msg.oe_msg_notification{
73 .openerp .oe_mail .oe_msg .oe_msg_left{
75 left:0; top: 0; bottom: 0; width: 40px;
78 .openerp .oe_mail .oe_msg .oe_msg_left a,
79 .openerp .oe_mail .oe_msg .oe_msg_left img{
82 .openerp .oe_mail .oe_msg .oe_msg_icon{
87 .openerp .oe_mail .oe_msg .oe_msg_center{
92 .openerp .oe_mail .oe_msg .oe_msg_footer{
99 .openerp .oe_mail .oe_msg .oe_msg_content{
105 .openerp .oe_mail .oe_msg .oe_msg_content .oe_msg_title{
110 .openerp .oe_mail .oe_msg .oe_msg_content .oe_msg_body p:first-of-type {
114 .openerp .oe_mail .oe_msg .oe_msg_content .oe_msg_body p {
117 .openerp .oe_mail .oe_msg .oe_msg_content .oe_msg_body * {
118 text-overflow:ellipsis;
119 word-wrap: break-word;
121 .openerp .oe_mail .oe_msg .oe_msg_content .oe_msg_body .oe_mail_cleaned {
125 /* a) Indented Messages */
127 .openerp .oe_mail .oe_msg_indented{
133 .openerp .oe_mail .oe_msg.oe_msg_indented .oe_msg_icon{
138 .openerp .oe_mail .oe_msg .oe_subtle{
141 .openerp .oe_mail .oe_msg_indented .oe_msg_center{
144 .openerp .oe_mail .oe_msg.oe_msg_indented .oe_msg_content{
147 .openerp .oe_mail .oe_msg.oe_msg_indented .oe_msg_footer{
151 /* b) Votes (likes) */
153 .openerp .oe_mail .oe_mail_vote_count{
157 box-shadow: 0px 0px 0px 1px rgba(124, 123, 173, 0.36) inset;
166 .openerp .oe_mail .oe_mail_vote_count .oe_e{
173 /* c) Message action icons */
175 .openerp .oe_mail .oe_msg .oe_msg_icons{
181 -webkit-user-select: none;
182 -moz-user-select: none;
183 -ms-user-select: none;
186 .openerp .oe_mail .oe_msg .oe_msg_icons span{
193 .openerp .oe_mail .oe_msg .oe_msg_icons a {
194 text-decoration: none;
196 text-shadow: 0px 1px #AAA,0px -1px #AAA, -1px 0px #AAA, 1px 0px #AAA, 0px 3px 3px rgba(0,0,0,0.1);
197 -webkit-transition: all 0.2s linear;
198 -moz-transition: all 0.2s linear;
199 -o-transition: all 0.2s linear;
200 transition: all 0.2s linear;
202 .openerp .oe_mail .oe_msg:hover .oe_msg_icons a{
204 -webkit-transition: all 0.1s linear;
205 -moz-transition: all 0.1s linear;
206 -o-transition: all 0.1s linear;
207 transition: all 0.1s linear;
209 .openerp .oe_mail .oe_msg .oe_msg_icons .oe_star:hover a{
211 text-shadow: 0px 1px #FFA162,0px -1px #FFA162, -1px 0px #FFA162, 1px 0px #FFA162, 0px 3px 3px rgba(0,0,0,0.1);
213 .openerp .oe_mail .oe_msg .oe_msg_icons .oe_star.oe_starred a{
215 text-shadow: 0px 1px #DF6200,0px -1px #DF6200, -1px 0px #DF6200, 1px 0px #DF6200, 0px 3px 3px rgba(0,0,0,0.1);
217 .openerp .oe_mail .oe_msg .oe_msg_icons .oe_reply:hover a{
219 text-shadow: 0px 1px #184fc5,0px -1px #184fc5, -1px 0px #184fc5, 1px 0px #184fc5, 0px 3px 3px rgba(0,0,0,0.1);
221 .openerp .oe_mail .oe_msg .oe_msg_icons .oe_read:hover a{
223 text-shadow: 0px 1px #7c7bad,0px -1px #7c7bad, -1px 0px #7c7bad, 1px 0px #7c7bad, 0px 3px 3px rgba(0,0,0,0.1);
225 .openerp .oe_mail .oe_msg .oe_msg_icons .oe_unread:hover a{
227 text-shadow: 0px 1px #009441,0px -1px #009441, -1px 0px #009441, 1px 0px #009441, 0px 3px 3px rgba(0,0,0,0.1);
229 .openerp .oe_mail .oe_msg .oe_msg_content textarea{
238 .openerp .oe_mail .oe_msg.oe_msg_composer_compact, .openerp .oe_mail .oe_msg.oe_msg_expandable{
242 .openerp .oe_mail .oe_msg.oe_msg_composer_compact textarea{
246 .openerp .oe_mail .oe_msg.oe_msg_composer_compact .oe_sep_word{
250 .openerp .oe_mail .oe_msg.oe_msg_composer_compact .oe_compact{
257 .openerp .oe_mail .oe_msg.oe_msg_composer_compact .oe_compact_record {
262 .openerp .oe_mail .oe_msg.oe_msg_composer_compact .oe_compact_inbox {
263 border: 1px solid #CCC;
264 -moz-border-radius: 3px;
265 -webkit-border-radius: 3px;
272 /* d) I.E. tweaks for Message action icons */
274 .openerp.openerp_ie .oe_mail .oe_msg .oe_msg_icons a {
278 .openerp.openerp_ie .oe_mail .oe_msg .oe_msg_icons .oe_star:hover a{
282 .openerp.openerp_ie .oe_mail .oe_msg .oe_msg_icons .oe_starred a{
286 .openerp.openerp_ie .oe_mail .oe_msg .oe_msg_icons .oe_read:hover a{
290 .openerp.openerp_ie .oe_mail .oe_msg .oe_msg_icons .oe_unread:hover a{
295 /* --------------------- ATTACHMENTS --------------------- */
297 .openerp .oe_mail .oe_msg_attachment_list{
301 .openerp .oe_mail .oe_msg_composer .oe_msg_attachment_list {
304 .openerp .oe_mail .oe_msg_composer .oe_recipients {
309 .openerp .oe_mail .oe_msg_composer .oe_recipients label{
310 vertical-align: middle;
314 .openerp .oe_mail .oe_msg_composer .oe_recipients input{
315 vertical-align: middle;
317 .openerp .oe_mail .oe_attachment{
318 display: inline-block;
327 .openerp .oe_mail .oe_attachment .oe_name{
328 display: inline-block;
340 .openerp .oe_mail .oe_attachment.oe_preview{
341 background: url( data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAJ0lEQVQYV2MsLS39z4AGLCws0IUYGIeCwrVr12J45sSJE5ieGQIKAbuZKf/EMCs7AAAAAElFTkSuQmCC );
343 .openerp .oe_mail .oe_attachment .oe_progress_bar{
356 border: solid 1px rgba(0,0,0,0.2);
357 box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.34);
358 -webkit-animation: oe_mail_attach_loading_anim 0.75s infinite linear;
359 -moz-animation: oe_mail_attach_loading_anim 0.75s infinite linear;
360 -o-animation: oe_mail_attach_loading_anim 0.75s infinite linear;
361 animation: oe_mail_attach_loading_anim 0.75s infinite linear;
363 .openerp .oe_mail .oe_attachment.oe_uploading .oe_progress_bar{
366 @-webkit-keyframes oe_mail_attach_loading_anim{
367 0% { background: #4BBD00 }
368 50% { background: #009123 }
369 100% { background: #4BBD00 }
371 @-moz-keyframes oe_mail_attach_loading_anim{
372 0% { background: #4BBD00 }
373 50% { background: #009123 }
374 100% { background: #4BBD00 }
376 @-o-keyframes oe_mail_attach_loading_anim{
377 0% { background: #4BBD00 }
378 50% { background: #009123 }
379 100% { background: #4BBD00 }
381 @keyframes oe_mail_attach_loading_anim{
382 0% { background: #4BBD00 }
383 50% { background: #009123 }
384 100% { background: #4BBD00 }
386 .openerp .oe_mail .oe_attachment.oe_preview .oe_name{
393 background: rgba(0,0,0,0.8);
396 border-top-left-radius: 0px;
397 border-top-right-radius: 0px;
399 -webkit-transition: opacity 0.2s linear;
400 -moz-transition: opacity 0.2s linear;
401 -o-transition: opacity 0.2s linear;
402 transition: opacity 0.2s linear;
404 .openerp .oe_mail .oe_attachment.oe_preview:hover .oe_name{
406 -webkit-transition: opacity 0.2s linear;
407 -moz-transition: opacity 0.2s linear;
408 -o-transition: opacity 0.2s linear;
409 transition: opacity 0.2s linear;
411 .openerp .oe_mail .oe_attachment img{
419 .openerp .oe_mail .oe_attachment.oe_preview img{
426 border: solid 3px #FFF;
428 box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.19);
430 .openerp .oe_mail .oe_attachment .oe_delete{
433 .openerp .oe_mail .oe_msg_composer .oe_attachment .oe_delete{
439 text-shadow: 1px 0px white, -1px 0px white, 0px 1px white, 0px -1px white;
442 -webkit-transition: opacity 0.2s linear;
443 -moz-transition: opacity 0.2s linear;
444 -o-transition: opacity 0.2s linear;
445 transition: opacity 0.2s linear;
447 .openerp .oe_mail .oe_msg_composer .oe_attachment:hover .oe_delete{
449 -webkit-transition: opacity 0.2s linear;
450 -moz-transition: opacity 0.2s linear;
451 -o-transition: opacity 0.2s linear;
452 transition: opacity 0.2s linear;
454 /* ---------------- MESSAGE QUICK COMPOSER --------------- */
456 .openerp .oe_mail .oe_msg_composer .oe_msg_footer{
461 .openerp .oe_mail .oe_msg_images {
464 .openerp .oe_mail .oe_msg_footer button{
469 vertical-align: middle;
471 .openerp .oe_mail .oe_msg_footer button.oe_post,
472 .openerp .oe_mail .oe_msg_footer button.oe_log{
476 .openerp .oe_mail .oe_msg_footer button.oe_attach{
481 .openerp .oe_mail .oe_msg_footer button.oe_attach .oe_e{
485 vertical-align: middle;
488 .openerp .oe_mail .oe_hidden_input_file, .openerp .oe_mail .oe_hidden_input_file form{
491 .openerp .oe_mail .oe_msg_center button.oe_full{
498 .openerp .oe_mail .oe_msg_center button.oe_full .oe_e{
506 .openerp .oe_mail button.oe_attach, .openerp .oe_mail button.oe_full{
507 background: transparent;
514 .openerp .oe_mail .oe_attach_label{
518 .openerp .oe_mail .oe_msg_footer .oe_attachment_file{
521 .openerp .oe_mail .oe_msg_footer .oe_attachment_file .oe_form_binary_file{
522 display: inline-block;
530 .openerp .oe_mail .oe_msg_content .oe_mail_list_recipients{
532 margin: 4px 0 4px 20px;
536 /* ---------------- HIDDEN MESSAGES ------------------ */
538 .openerp .oe_mail .oe_msg_content.oe_msg_more_message{
542 .openerp .oe_mail .oe_msg_content.oe_msg_more_message .oe_separator{
544 border-bottom: dashed 1px #e6e6e6;
550 .openerp .oe_mail .oe_msg_more_message .oe_msg_fetch_more {
555 text-decoration: none;
558 .openerp .oe_mail .oe_msg_more_message .oe_msg_fetch_more:hover{
559 text-decoration: none;
562 /* ---------------- FOLLOWERS ------------------ */
564 .openerp .oe_followers{
566 display: inline-block;
573 /* a) THE FOLLOW BUTTON */
575 .openerp .oe_followers button.oe_follower{
580 .openerp .oe_followers button.oe_follower.oe_following{
582 background-color: #3465A4;
583 background-image: -webkit-linear-gradient(top, #729FCF, #3465A4);
584 background-image: -moz-linear-gradient(top, #729FCF, #3465A4);
585 background-image: -ms-linear-gradient(top, #729FCF, #3465A4);
586 background-image: -o-linear-gradient(top, #729FCF, #3465A4);
587 background-image: linear-gradient(to bottom, #729FCF, #3465A4);
589 .openerp .oe_followers button.oe_follower.oe_following:hover{
592 background-color: #A21A1A;
593 background-image: -webkit-linear-gradient(top, #DF3F3F, #A21A1A);
594 background-image: -moz-linear-gradient(top, #DF3F3F, #A21A1A);
595 background-image: -ms-linear-gradient(top, #DF3F3F, #A21A1A);
596 background-image: -o-linear-gradient(top, #DF3F3F, #A21A1A);
597 background-image: linear-gradient(to bottom, #DF3F3F, #A21A1A);
600 .openerp .oe_followers button.oe_follower .oe_follow,
601 .openerp .oe_followers button.oe_follower .oe_unfollow,
602 .openerp .oe_followers button.oe_follower .oe_following{
605 /* a.1) when following, show 'following' */
606 .openerp .oe_followers button.oe_follower.oe_following .oe_following{
609 /* a.2) when following and hovering, show 'unfollow' */
610 .openerp .oe_followers button.oe_follower.oe_following:hover .oe_following{
613 .openerp .oe_followers button.oe_follower.oe_following:hover .oe_unfollow{
616 /* a.3) when not following show 'follow' */
617 .openerp .oe_followers button.oe_follower.oe_notfollow .oe_follow{
621 .openerp .oe_followers .oe_subtype_list{
625 /* b) THE FOLLOWERS */
626 .openerp .oe_followers .oe_follower_title{
629 .openerp .oe_followers .oe_follower_title_box{
633 .openerp .oe_followers .oe_invite{
636 .openerp .oe_followers .oe_partner {
641 text-overflow: ellipsis;
643 .openerp .oe_followers .oe_partner img{
648 .openerp .oe_followers .oe_remove_follower{
654 .openerp .oe_followers .oe_edit_subtype{
660 .openerp .oe_followers .oe_partner .oe_hidden{
663 .openerp.ui-dialog .ui-dialog-titlebar .ui-dialog-title{
666 .openerp .oe_followers .oe_show_more{
670 /* ---------------- MESSAGES BODY ------------------ */
671 .openerp .oe_mail .oe_msg_content .oe_blockquote,
672 .openerp .oe_mail .oe_msg_content blockquote {
675 border: solid 1px rgba(124,123,173,0.14);
678 /* ----------- FORM INTEGRATION ------------ */
680 .openerp .oe_record_thread{
686 /* ----------- INBOX INTEGRATION ----------- */
688 .openerp .oe_mail_wall .oe_mail{
691 display: inline-block;
694 .openerp .oe_mail .oe_view_nocontent > p {
699 /* ------------- WALL SIDEBAR ------------- */
701 .openerp .oe_mail_wall .oe_mail_wall_aside {
704 display: inline-block;
708 .openerp .oe_mail_wall_aside .oe_sidebar_suggestion {
709 background-color: #EDEDF6;
713 .openerp .oe_sidebar_suggestion .oe_suggest_title h2 {
719 .openerp .oe_sidebar_suggestion .oe_suggest_items .oe_suggested_item {
723 min-height: 67px; /* image_small 66x66px */
725 .openerp .oe_sidebar_suggestion .oe_suggest_items .oe_suggested_item_image {
729 .openerp .oe_sidebar_suggestion .oe_suggest_items .oe_suggested_item_image img {
731 border: solid 1px rgba(0,0,0,0.03);
733 .openerp .oe_sidebar_suggestion .oe_suggest_items .oe_suggested_item_content button {
736 .openerp .oe_sidebar_suggestion .oe_suggest_items .oe_suggested_item_content a.oe_suggestion_item_name {
737 text-overflow: ellipsis;
741 .openerp .oe_sidebar_suggestion .oe_suggest_title a.oe_suggestion_remove {
748 .openerp .oe_sidebar_suggestion .oe_suggest_items .oe_suggested_item_content a.oe_suggestion_remove_item {
755 .openerp .oe_sidebar_suggestion .oe_suggest_title:hover a.oe_suggestion_remove,
756 .openerp .oe_sidebar_suggestion .oe_suggest_items:hover a.oe_suggestion_remove_item {