summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/less/chat_window.less
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2015-12-11 17:40:24 +0100
committerAaron Bohy <aab@odoo.com>2015-12-15 10:01:21 +0100
commit17896a92da39d265fda7b0e2f32479a18d0b8ace (patch)
tree361cd5a52e7b7f77ce9560cf572dafd213d9a05e /addons/mail/static/src/less/chat_window.less
parent1029571c35bf5372318590a439e53e3a881b2308 (diff)
[FIX] mail: various ui improvements/fixes
* chat windows: - input was kicked out of the window on chrome 43 - don't animate if folded by default (e.g. after a refresh) - width and height 100% like in the frontend - z-index to make sure that they are over bootstrap active btn, but below notifications, and modals * chatter: - internal note: send button renammed to 'Log' - send button is the first button again - remove annoying form view widget's tooltip * client action: focus on composer on channel change
Diffstat (limited to 'addons/mail/static/src/less/chat_window.less')
-rw-r--r--addons/mail/static/src/less/chat_window.less12
1 files changed, 9 insertions, 3 deletions
diff --git a/addons/mail/static/src/less/chat_window.less b/addons/mail/static/src/less/chat_window.less
index f37b66f85ff..ca2e8ca74f1 100644
--- a/addons/mail/static/src/less/chat_window.less
+++ b/addons/mail/static/src/less/chat_window.less
@@ -5,11 +5,14 @@
.o-flex-flow(column, nowrap);
position: fixed;
width: 300px;
+ max-width: 100%;
height: 400px;
+ max-height: 100%;
font-size: 12px;
background-color: @o-chat-window-bg;
border: 1px solid gray;
border-radius: 3px;
+ z-index: 2;
@media (max-width: @screen-xs-max) {
display:none;
@@ -56,8 +59,11 @@
}
}
- .o_chat_input > input {
- padding: 5px;
- width: 100%;
+ .o_chat_input {
+ .o-flex(0, 0, auto);
+ > input {
+ padding: 5px;
+ width: 100%;
+ }
}
}