diff options
| author | Dharmang Soni <dpr@odoo.com> | 2017-04-26 10:51:15 +0530 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2017-09-15 15:25:06 +0200 |
| commit | 4685e4bc7f19f964697bf0dbd7dfdf254b6c5628 (patch) | |
| tree | b852d056ac124aa692dff20f468dd62add05b00e /addons/mail/static/src/less/thread.less | |
| parent | a8e7d096b85709ccf52411c450d0574f9238fd6f (diff) | |
[IMP] mail: improve Discuss UI for mobile devices
- Brand new UI for Discuss client action (with tabs for Inbox,
chats, channels...)
- In mobile, conversations always open in Chat Windows
- Chat window UI improved (both mobile and desktop)
- Channels preview (used in the systray menu, and now in the mobile
UI of Discuss) improved
- Other minor less tweaks
Diffstat (limited to 'addons/mail/static/src/less/thread.less')
| -rw-r--r-- | addons/mail/static/src/less/thread.less | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/addons/mail/static/src/less/thread.less b/addons/mail/static/src/less/thread.less index 16e58a8e285..859e9f32fee 100644 --- a/addons/mail/static/src/less/thread.less +++ b/addons/mail/static/src/less/thread.less @@ -96,6 +96,69 @@ cursor: pointer; } + .o_message_attachments { + display: block; + position: relative; + padding: 0px; + margin: 0px; + + .o_attachment { + width: initial; + height: initial; + + .o_image { + position: initial; + top: initial; + left: initial; + bottom: initial; + right: initial; + } + } + + .o_message_attachment { + display: inline-block; + padding: 5px; + border-radius: 4px; + margin: 5px 5px 5px 5px; + position: relative; + background-color: #cccccc; + + .download_icon { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + span { + background: rgba(0, 0, 0, 0.5); + position: absolute; + top: 37%; + left: 37%; + padding: 5px; + border-radius: 30px; + color: #fff; + } + } + + a.o_image { + width: 80px; + height: 60px; + } + + img { + height: 60px; + width: 80px; + opacity: 0.5; + + &.o_image_view { + cursor: pointer; + background-color: #000; + object-fit: none; + } + } + } + } + .o_thread_message_core { .o-flex(1, 1, auto); min-width: 0; |
