[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) <qsm@odoo.com>
This commit is contained in:
stefanorigano (SRI)
2022-10-12 01:25:14 +02:00
parent d864feb951
commit 47d8bf4be6
@@ -98,7 +98,7 @@
}
&.off {
background-color: transparent;
background-color: var(--daterangepicker__cell-bg--off, #{rgba($secondary, .1)});
}
}