From b1ad74398d6f0ab7bc1795b9b80366b9fd2af66f Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Wed, 17 Jun 2020 07:17:14 +0000 Subject: [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) Co-authored-by: Cocographique --- addons/web_editor/static/src/scss/web_editor.variables.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'addons/web_editor/static/src/scss/web_editor.variables.scss') 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); } } -- cgit v1.2.3