From 60b013e6b14bbf65e365cb9830617f8889ede674 Mon Sep 17 00:00:00 2001 From: "Qiuyu (QHO)" Date: Wed, 19 May 2021 12:52:07 +0000 Subject: [PATCH] [IMP] mail: change timestamp color in the systray MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The timestamp color should be gray instead of primary green even when the thread is unread or needs action. Task id: 2383054 closes odoo/odoo#71034 Signed-off-by: Sébastien Theys (seb) --- .../components/notification_list/notification_list_item.scss | 2 +- .../static/src/components/thread_preview/thread_preview.scss | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/addons/mail/static/src/components/notification_list/notification_list_item.scss b/addons/mail/static/src/components/notification_list/notification_list_item.scss index af98a9fb661..9140800ef86 100644 --- a/addons/mail/static/src/components/notification_list/notification_list_item.scss +++ b/addons/mail/static/src/components/notification_list/notification_list_item.scss @@ -143,7 +143,7 @@ $o-mail-notification-list-item-muted-hover-background-color: @mixin o-mail-notification-list-item-date-style() { @include o-mail-notification-list-item-bold-style(); font-size: x-small; - color: $o-brand-primary; + color: gray('500'); } @mixin o-mail-notification-list-item-image-style { diff --git a/addons/mail/static/src/components/thread_preview/thread_preview.scss b/addons/mail/static/src/components/thread_preview/thread_preview.scss index 772d63e2056..aa0c921a9ae 100644 --- a/addons/mail/static/src/components/thread_preview/thread_preview.scss +++ b/addons/mail/static/src/components/thread_preview/thread_preview.scss @@ -94,10 +94,6 @@ .o_ThreadPreview_date { @include o-mail-notification-list-item-date-style(); - - &.o-muted { - color: gray('500'); - } } .o_ThreadPreview_image {