@mail-thread-avatar-size: 36px; @mail-thread-icon-opacity: 0.6; @mail-thread-side-date-opacity: 0.6; @mail-thread-note: @gray-lighter; .o_mail_thread { .o_thread_show_more { text-align: center; } .o_thread_date_separator { margin-top: 15px; margin-bottom: 30px; border-bottom: solid @gray-lighter 2px; text-align: center; .o_thread_date { position: relative; top: 10px; margin: 0 auto; padding: 0 10px; font-weight: bold; background: white; } } .o_thread_new_messages_separator { margin-bottom: 15px; border-bottom: solid lighten(@odoo-brand-primary, 15%) 1px; text-align: right; .o_thread_separator_label { position: relative; top: 8px; padding: 0 10px; background: white; color: lighten(@odoo-brand-primary, 15%); font-size: smaller; } } .o_thread_message { .o-flex-display(); padding: 4px 0; .o_thread_message_sidebar { .o-flex(0, 0, @mail-thread-avatar-size); margin-right: 10px; margin-top: 2px; text-align: center; font-size: smaller; @media (max-width: @screen-xs-max) { margin-top: 4px; font-size: x-small; } .o_thread_message_avatar { max-width: @mail-thread-avatar-size; } .o_thread_message_side_date { margin-left: -5px; } .o_thread_message_star { margin-right: -5px; } .o_thread_message_side_date { opacity: 0; } } i.o_thread_message_star, i.o_thread_message_needaction { cursor: pointer; opacity: 0; &.fa-star { opacity: @mail-thread-icon-opacity; color: gold; } } &:hover, &.o_thread_selected_message { .o_thread_message_side_date { opacity: @mail-thread-side-date-opacity; } i.o_thread_message_star, i.o_thread_message_needaction { opacity: @mail-thread-icon-opacity; &:hover { opacity: 1; } } } .o_mail_redirect { cursor: pointer; } .o_thread_message_core { .o-flex(1, 1, auto); &.o_mail_note { background-color: @gray-lighter; } .o_mail_subject { font-style: italic; } .o_mail_notification { font-style: italic; color: gray; } [summary~=o_mail_notification] { // name conflicts with channel notifications, but is odoo notification buttons to hide in chatter if present display: none; } > p { margin: 0 0 9px; // Required by the old design to override a general rule on p's &:last-child { margin-bottom: 0; } } .o_mail_body_long { display: none; } .o_mail_info { margin-bottom: 2px; .text-muted(); .o_mail_mailto, .o_mail_mailto:hover { .text-muted(); } } .o_thread_message_star, .o_thread_message_needaction { padding: 4px; } } } .o_thread_title { margin-top: 20px; margin-bottom: 20px; font-size: 20px; } }