From 47d8bf4be6b6bf5e2a66742f9fa9a41ed1750ed4 Mon Sep 17 00:00:00 2001 From: "stefanorigano (SRI)" Date: Tue, 11 Oct 2022 12:38:39 +0000 Subject: [PATCH] [FIX] web: `daterangepicker`, website conflict The 'transparent' background value has been added by https://github.com/odoo/odoo/pull/99755 to correctly handle color variations for the backed. The rule was inadvertently overriding custom designs defined by website_sale_renting (frontend). This commit allows to inject dark-mode customization using CSS variables , while keeping a fallback value used by the frontend. task-3015397 closes odoo/odoo#103128 X-original-commit: 39442c8f8481d6764699236bc6e1595337dc5d1e Related: odoo/enterprise#32744 Signed-off-by: Quentin Smetz (qsm) --- addons/web/static/src/legacy/scss/daterangepicker.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web/static/src/legacy/scss/daterangepicker.scss b/addons/web/static/src/legacy/scss/daterangepicker.scss index 2a750888305..1bb9807ecb2 100644 --- a/addons/web/static/src/legacy/scss/daterangepicker.scss +++ b/addons/web/static/src/legacy/scss/daterangepicker.scss @@ -98,7 +98,7 @@ } &.off { - background-color: transparent; + background-color: var(--daterangepicker__cell-bg--off, #{rgba($secondary, .1)}); } }