diff options
| author | stefanorigano <sri@odoo.com> | 2017-08-08 09:22:41 +0200 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2017-09-05 12:13:55 +0200 |
| commit | 12b818d3759fc9eba19fa8a8ae8d050fe0c5fdc1 (patch) | |
| tree | 6cf33ba555416a751fef8ab93f9a54c3f01803de /addons/mail/static/src/less/chat_window.less | |
| parent | 378fe92b6096d50648d6aa4aa22e8629f4531c14 (diff) | |
[REF] mail: introduce new chatter/discuss design
- Improve overall design
- Better use of UI colours
- Replace planned activities icon
- Vertically align kanban icons
- Remove the 'bell shtcut' and followers caret
- Use a mixin to style the chatter (inline, not inline, compact)
Diffstat (limited to 'addons/mail/static/src/less/chat_window.less')
| -rw-r--r-- | addons/mail/static/src/less/chat_window.less | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/addons/mail/static/src/less/chat_window.less b/addons/mail/static/src/less/chat_window.less index 131b83fcc05..b7daa8d720f 100644 --- a/addons/mail/static/src/less/chat_window.less +++ b/addons/mail/static/src/less/chat_window.less @@ -1,5 +1,5 @@ @o-chat-window-bg: white; -@o-chat-window-width: 300px; +@o-chat-window-width: 325px; .o_chat_window { .o-flex-display(); @@ -11,9 +11,9 @@ max-height: 100%; font-size: 12px; background-color: @o-chat-window-bg; - border: 1px solid gray; - border-radius: 3px; + border-radius: 3px 3px 0 0; z-index: 3; + box-shadow: -5px -5px 20px fade(black, 28%); @media (max-width: @screen-xs-max) { width: 100%; @@ -31,8 +31,10 @@ .o-flex-display(); .o-flex(0, 0, auto); color: white; + padding: @o-mail-chatter-gap*0.5 @o-mail-chatter-gap; + border-radius: 3px 3px 0 0; + border-bottom: 1px solid @gray-lighter-dark; background-color: @odoo-brand-primary; - padding: 5px; @media (max-width: @screen-xs-max) { height: @navbar-height; @@ -53,9 +55,7 @@ color: white; padding: 3px; margin-left: 5px; - &:hover { - background-color: darken(@odoo-brand-primary, 10%); - } + .o-hover-opacity(0.7, 1); } } @@ -64,6 +64,8 @@ .o_mail_thread { .o-flex(1, 1, auto); overflow: auto; + border: 1px solid @gray-lighter-dark; + border-width: 0 1px; .o_thread_date_separator { margin-top: 0px; @@ -82,11 +84,7 @@ } .o_chat_composer { - .o-flex(0, 0, auto); - > input { - padding: 5px; - width: 100%; - } + .o-chat-composer-design(@mini-composer: true); } } @@ -94,13 +92,18 @@ width: auto; height: 28px; color: white; - background-color: @odoo-brand-primary; + background-color: @gray-dark; cursor: pointer; + box-shadow: none; @media (max-width: @screen-xs-max) { display: none; } + .o_chat_header { + border-radius: 0; + } + .o_chat_window_dropdown_toggler { padding: 5px; @@ -111,7 +114,7 @@ font-size: smaller; } } - &.open .o_chat_window_dropdown_toggler .o_total_unread_counter { + &.open .o_chat_window_dropdown_toggler .o_total_unread_counter, .o_chat_window_expand { display: none; } @@ -127,7 +130,6 @@ } &:hover { background-color: darken(@odoo-brand-primary, 10%); - color: white; } } } |
