summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/scss/web_editor.variables.scss
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2020-06-17 07:17:14 +0000
committerXavier-Do <xdo@odoo.com>2020-08-27 17:07:33 +0000
commitb1ad74398d6f0ab7bc1795b9b80366b9fd2af66f (patch)
tree3d7079ef81dc6c2ec9071644ffbd95b729928589 /addons/web_editor/static/src/scss/web_editor.variables.scss
parent92c911fe1a8b24437ef5174d04c92ef8f185fc2c (diff)
[IMP] website: add footer "scroll-to-top" button option
Part of https://github.com/odoo/odoo/pull/56427 task-2264627 Co-authored-by: stefanorigano (SRI) <sri@odoo.com> Co-authored-by: Cocographique <nmi@odoo.com>
Diffstat (limited to 'addons/web_editor/static/src/scss/web_editor.variables.scss')
-rw-r--r--addons/web_editor/static/src/scss/web_editor.variables.scss4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web_editor/static/src/scss/web_editor.variables.scss b/addons/web_editor/static/src/scss/web_editor.variables.scss
index add424313c0..d777752fe06 100644
--- a/addons/web_editor/static/src/scss/web_editor.variables.scss
+++ b/addons/web_editor/static/src/scss/web_editor.variables.scss
@@ -565,14 +565,14 @@ $o-color-extras-nesting-selector: '&, .o_colored_level &';
// Apply colors according to the given identifier. Can either be a preset
// number, a color name or a css color.
-@mixin o-apply-colors($identifier, $background: $body-bg) {
+@mixin o-apply-colors($identifier, $with-extras: true, $background: $body-bg) {
$-related-color: o-related-color($identifier, $max-recursions: 10);
@if type-of($-related-color) == 'number' {
// This is a preset to be applied, just extend it. This should probably
// be avoided and use the class in XML if possible.
@extend .o_cc#{$-related-color};
} @else {
- @include o-bg-color(o-color($-related-color), $background: $background, $important: false);
+ @include o-bg-color(o-color($-related-color), $with-extras: $with-extras, $background: $background, $important: false);
}
}