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 /* --------------------- ATTACHMENTS --------------------- */
226 .openerp .oe_mail .oe_msg_attachment_list{
230 .openerp .oe_mail .oe_msg_composer .oe_msg_attachment_list{
233 .openerp .oe_mail .oe_attachment{
234 display: inline-block;
243 .openerp .oe_mail .oe_attachment .oe_name{
244 display: inline-block;
256 .openerp .oe_mail .oe_attachment.oe_preview{
257 background: url( data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAJ0lEQVQYV2MsLS39z4AGLCws0IUYGIeCwrVr12J45sSJE5ieGQIKAbuZKf/EMCs7AAAAAElFTkSuQmCC );
259 .openerp .oe_mail .oe_attachment .oe_progress_bar{
272 border: solid 1px rgba(0,0,0,0.2);
273 box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.34);
274 -webkit-animation: oe_mail_attach_loading_anim 0.75s infinite linear;
275 -moz-animation: oe_mail_attach_loading_anim 0.75s infinite linear;
276 -o-animation: oe_mail_attach_loading_anim 0.75s infinite linear;
277 animation: oe_mail_attach_loading_anim 0.75s infinite linear;
279 .openerp .oe_mail .oe_attachment.oe_uploading .oe_progress_bar{
282 @-webkit-keyframes oe_mail_attach_loading_anim{
283 0% { background: #4BBD00 }
284 50% { background: #009123 }
285 100% { background: #4BBD00 }
287 @-moz-keyframes oe_mail_attach_loading_anim{
288 0% { background: #4BBD00 }
289 50% { background: #009123 }
290 100% { background: #4BBD00 }
292 @-o-keyframes oe_mail_attach_loading_anim{
293 0% { background: #4BBD00 }
294 50% { background: #009123 }
295 100% { background: #4BBD00 }
297 @keyframes oe_mail_attach_loading_anim{
298 0% { background: #4BBD00 }
299 50% { background: #009123 }
300 100% { background: #4BBD00 }
302 .openerp .oe_mail .oe_attachment.oe_preview .oe_name{
309 background: rgba(0,0,0,0.8);
312 border-top-left-radius: 0px;
313 border-top-right-radius: 0px;
315 -webkit-transition: opacity 0.2s linear;
316 -moz-transition: opacity 0.2s linear;
317 -o-transition: opacity 0.2s linear;
318 transition: opacity 0.2s linear;
320 .openerp .oe_mail .oe_attachment.oe_preview:hover .oe_name{
322 -webkit-transition: opacity 0.2s linear;
323 -moz-transition: opacity 0.2s linear;
324 -o-transition: opacity 0.2s linear;
325 transition: opacity 0.2s linear;
327 .openerp .oe_mail .oe_attachment img{
335 .openerp .oe_mail .oe_attachment.oe_preview img{
342 border: solid 3px #FFF;
344 box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.19);
346 .openerp .oe_mail .oe_attachment .oe_delete{
349 .openerp .oe_mail .oe_msg_composer .oe_attachment .oe_delete{
355 text-shadow: 1px 0px white, -1px 0px white, 0px 1px white, 0px -1px white;
358 -webkit-transition: opacity 0.2s linear;
359 -moz-transition: opacity 0.2s linear;
360 -o-transition: opacity 0.2s linear;
361 transition: opacity 0.2s linear;
363 .openerp .oe_mail .oe_msg_composer .oe_attachment:hover .oe_delete{
365 -webkit-transition: opacity 0.2s linear;
366 -moz-transition: opacity 0.2s linear;
367 -o-transition: opacity 0.2s linear;
368 transition: opacity 0.2s linear;
370 /* ---------------- MESSAGE QUICK COMPOSER --------------- */
372 .openerp .oe_mail .oe_msg_composer .oe_msg_footer{
377 .openerp .oe_mail .oe_msg_images {
380 .openerp .oe_mail .oe_msg_footer button{
385 vertical-align: middle;
387 .openerp .oe_mail .oe_msg_footer button.oe_post{
391 .openerp .oe_mail .oe_msg_footer button.oe_attach{
396 .openerp .oe_mail .oe_msg_footer button.oe_attach .oe_e{
400 vertical-align: middle;
403 .openerp .oe_mail .oe_hidden_input_file, .openerp .oe_mail .oe_hidden_input_file form{
406 .openerp .oe_mail .oe_msg_footer button.oe_full{
412 .openerp .oe_mail .oe_msg_footer button.oe_full .oe_e{
416 vertical-align: middle;
419 .openerp .oe_mail button.oe_attach, .openerp .oe_mail button.oe_full{
420 background: transparent;
427 .openerp .oe_mail .oe_attach_label{
431 .openerp .oe_mail .oe_msg_footer .oe_attachment_file{
434 .openerp .oe_mail .oe_msg_footer .oe_attachment_file .oe_form_binary_file{
435 display: inline-block;
443 .openerp .oe_mail .oe_mail_list_recipients{
449 /* ---------------- HIDDEN MESSAGES ------------------ */
451 .openerp .oe_mail .oe_msg_content.oe_msg_more_message{
455 .openerp .oe_mail .oe_msg_content.oe_msg_more_message .oe_separator{
457 border-bottom: dashed 1px #e6e6e6;
463 .openerp .oe_mail .oe_msg_more_message .oe_msg_fetch_more {
468 text-decoration: none;
471 .openerp .oe_mail .oe_msg_more_message .oe_msg_fetch_more:hover{
472 text-decoration: none;
475 /* ---------------- FOLLOWERS ------------------ */
477 .openerp .oe_followers{
479 display: inline-block;
486 /* a) THE FOLLOW BUTTON */
488 .openerp .oe_followers button.oe_follower{
493 .openerp .oe_followers button.oe_follower.oe_following{
495 background-color: #3465A4;
496 background-image: -webkit-linear-gradient(top, #729FCF, #3465A4);
497 background-image: -moz-linear-gradient(top, #729FCF, #3465A4);
498 background-image: -ms-linear-gradient(top, #729FCF, #3465A4);
499 background-image: -o-linear-gradient(top, #729FCF, #3465A4);
500 background-image: linear-gradient(to bottom, #729FCF, #3465A4);
502 .openerp .oe_followers button.oe_follower.oe_following:hover{
505 background-color: #A21A1A;
506 background-image: -webkit-linear-gradient(top, #DF3F3F, #A21A1A);
507 background-image: -moz-linear-gradient(top, #DF3F3F, #A21A1A);
508 background-image: -ms-linear-gradient(top, #DF3F3F, #A21A1A);
509 background-image: -o-linear-gradient(top, #DF3F3F, #A21A1A);
510 background-image: linear-gradient(to bottom, #DF3F3F, #A21A1A);
513 .openerp .oe_followers button.oe_follower .oe_follow,
514 .openerp .oe_followers button.oe_follower .oe_unfollow,
515 .openerp .oe_followers button.oe_follower .oe_following{
518 /* a.1) when following, show 'following' */
519 .openerp .oe_followers button.oe_follower.oe_following .oe_following{
522 /* a.2) when following and hovering, show 'unfollow' */
523 .openerp .oe_followers button.oe_follower.oe_following:hover .oe_following{
526 .openerp .oe_followers button.oe_follower.oe_following:hover .oe_unfollow{
529 /* a.3) when not following show 'follow' */
530 .openerp .oe_followers button.oe_follower.oe_notfollow .oe_follow{
534 .openerp .oe_followers .oe_subtype_list{
538 /* b) THE FOLLOWERS */
539 .openerp .oe_followers .oe_follower_title{
542 .openerp .oe_followers .oe_follower_title_box{
546 .openerp .oe_followers .oe_invite{
549 .openerp .oe_followers .oe_partner {
553 .openerp .oe_followers .oe_partner img{
559 /* ---------------- MESSAGES BODY ------------------ */
560 .openerp .oe_mail .oe_msg_content .oe_blockquote,
561 .openerp .oe_mail .oe_msg_content blockquote {
564 border: solid 1px rgba(124,123,173,0.14);
567 /* ----------- FORM INTEGRATION ------------ */
569 .openerp .oe_record_thread{
575 /* ----------- INBOX INTEGRATION ----------- */
577 .openerp .oe_mail_wall .oe_mail{
582 .openerp .oe_mail .oe_view_nocontent > p {