[FIX] web_editor, website: restore backend HTML fields in no-website DBs

The SCSS compilation failed if website was not installed since [1] as
a mixin was used in web_editor while defined in website...

[1]: https://github.com/odoo/odoo/commit/5ffce116a6f8d4775cffe4daef09674db6c159d0

closes odoo/odoo#75938

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
qsm-odoo
2021-09-03 14:30:55 +00:00
parent 07e163727b
commit 6799161c52
2 changed files with 15 additions and 15 deletions
@@ -829,3 +829,18 @@ $o-bg-shapes: ('web_editor': (
@function add-footer-shape-colors-mapping($module, $shape-name, $mapping, $shapes: $o-bg-shapes) {
@return add-extra-shape-colors-mapping($module, $shape-name, 'footer', $mapping, $shapes);
}
@mixin o-input-number-no-arrows() {
// Remove arrows/spinners from input type number
// => Chrome, Safari, Edge, Opera
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
// => Firefox
input[type=number] {
-moz-appearance: textfield;
}
};
@@ -2057,18 +2057,3 @@ $o-theme-font-configs: (
background-image: $-gradient;
}
};
@mixin o-input-number-no-arrows() {
// Remove arrows/spinners from input type number
// => Chrome, Safari, Edge, Opera
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
// => Firefox
input[type=number] {
-moz-appearance: textfield;
}
};