summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/less/thread.less
diff options
context:
space:
mode:
authorDhaval Panchal <dpa@odoo.com>2017-05-17 18:09:09 +0530
committerged-odoo <ged@odoo.com>2017-05-17 14:39:09 +0200
commitdb41366b672d834d4a80ec525a9de593f742ff0c (patch)
treede4c41319109692b25f26ee3d7d2d06ad3af93b9 /addons/mail/static/src/less/thread.less
parent6ea3b8de383adc54469d2b0a636a3bd21e50f953 (diff)
[IMP] discuss: action buttons always visible on touch screens
We add the o_touch_device css class to the body (it was done in enterprise only), and various other small changes to make sure that the action buttons (in discuss, next to the message title) are always visible (not only on hover) when we are on a touch device. (pr (#15459, closes task 31208)
Diffstat (limited to 'addons/mail/static/src/less/thread.less')
-rw-r--r--addons/mail/static/src/less/thread.less25
1 files changed, 16 insertions, 9 deletions
diff --git a/addons/mail/static/src/less/thread.less b/addons/mail/static/src/less/thread.less
index 8f4a059b0c3..8cb0bbae55f 100644
--- a/addons/mail/static/src/less/thread.less
+++ b/addons/mail/static/src/less/thread.less
@@ -69,14 +69,14 @@
opacity: 0;
}
}
-
-
- i.o_thread_message_star, i.o_thread_message_needaction, i.o_thread_message_reply, i.o_thread_message_email {
+ .o_thread_icons {
cursor: pointer;
- opacity: 0;
- &.fa-star {
- opacity: @mail-thread-icon-opacity;
- color: gold;
+ > .o_thread_icon {
+ opacity: 0;
+ &.fa-star {
+ opacity: @mail-thread-icon-opacity;
+ color: gold;
+ }
}
}
@@ -84,8 +84,7 @@
.o_thread_message_side_date {
opacity: @mail-thread-side-date-opacity;
}
-
- i.o_thread_message_star, i.o_thread_message_needaction, i.o_thread_message_reply, i.o_thread_message_email {
+ .o_thread_icons > * {
opacity: @mail-thread-icon-opacity;
&:hover {
opacity: 1;
@@ -207,3 +206,11 @@
display: block;
}
}
+
+.o_web_client.o_touch_device {
+ .o_thread_icons {
+ > .o_thread_icon {
+ opacity: @mail-thread-icon-opacity;
+ }
+ }
+}