From 458693e2ace8aa559503543535b580c690ae28d2 Mon Sep 17 00:00:00 2001 From: Umesh Gupta Date: Mon, 25 Apr 2022 07:10:56 +0000 Subject: [PATCH] [FIX] mass_mailing: enhance mass mailing template preview behavior Currently, if user clicks the mass mailing template (theme) and holds the click while moving the mouse (as if performing drag and drop), a weird white highlight appears on the preview of the template. This commit fixes the behavior by setting appropriate background color instead of the default one of drop-down item, when the template is focused. task-2812312 closes odoo/odoo#89893 X-original-commit: e49f55e6f34486f8425653323544838f1a9fbd38 Signed-off-by: Thibault Delavallee (tde) --- addons/mass_mailing/static/src/scss/mass_mailing.ui.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/addons/mass_mailing/static/src/scss/mass_mailing.ui.scss b/addons/mass_mailing/static/src/scss/mass_mailing.ui.scss index 429880307d3..0f67603a019 100644 --- a/addons/mass_mailing/static/src/scss/mass_mailing.ui.scss +++ b/addons/mass_mailing/static/src/scss/mass_mailing.ui.scss @@ -85,6 +85,10 @@ html, body { } } + &:focus { + background-color: $o-we-sidebar-bg; + } + &.selected .o_thumb { border: 2px solid $o-brand-odoo; background-color: $o-we-sidebar-bg;