Skip to content
Snippets Groups Projects
Commit 39442c8f authored by stefanorigano (SRI)'s avatar stefanorigano (SRI)
Browse files

[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#103061

Related: odoo/enterprise#32705
Signed-off-by: default avatarQuentin Smetz (qsm) <qsm@odoo.com>
parent 0116b590
No related branches found
No related tags found
No related merge requests found
......@@ -98,7 +98,7 @@
}
&.off {
background-color: transparent;
background-color: var(--daterangepicker__cell-bg--off, #{rgba($secondary, .1)});
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment