[FIX] website: fix border color or button preset preview
Since [1] when website was moved to backend, with the introduction of the iframe, the preset previews are replicating the CSS of the page. In [2] the mechanism was adapted to make it faster, but in the new replication the `border-color` of buttons was wrongly copied from the `background-color` of the buttons. This commit uses the right variable instead. [1]: https://github.com/odoo/odoo/commit/31cc10b91dc7762e23b4bde9b945be0c4ce3fe3b [2]: https://github.com/odoo/odoo/commit/7f5a9d040348048990b25c271875c77d2c314e4d task-3642550 closes odoo/odoo#146587 X-original-commit: b69658898e6944f86d17460e214c529f68c66a10 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com> Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
This commit is contained in:
@@ -118,12 +118,12 @@
|
||||
.btn-primary {
|
||||
background-color: var(--we-cp-o-cc#{$index}-btn-primary);
|
||||
color: var(--we-cp-o-cc#{$index}-btn-primary-text);
|
||||
border-color: var(--we-cp-o-cc#{$index}-btn-primary);
|
||||
border-color: var(--we-cp-o-cc#{$index}-btn-primary-border);
|
||||
}
|
||||
.btn-secondary {
|
||||
background-color: var(--we-cp-o-cc#{$index}-btn-secondary);
|
||||
color: var(--we-cp-o-cc#{$index}-btn-secondary-text);
|
||||
border-color: var(--we-cp-o-cc#{$index}-btn-secondary);
|
||||
border-color: var(--we-cp-o-cc#{$index}-btn-secondary-border);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user