From 8e6728f7fa486e264737ce068f637c8a76fdb7d9 Mon Sep 17 00:00:00 2001 From: Samuel Degueldre Date: Wed, 7 Oct 2020 09:17:58 +0000 Subject: [IMP] web_editor: replace some bottom shape colors with transparent Previously, rainy 05 and wavy 06 had a bottom color with a hard edge. This means that in order to not have a harsh color transition in the section, the user would have to match the bottom color to the background color of the section or vice versa. This commit makes it so that this color is transparent by default instead. This means that the user can now simply choose the background color and have the same result, without having to configure two separate colors. Part of: odoo/odoo#58333 Signed-off-by: Quentin Smetz (qsm) --- addons/web_editor/static/src/scss/web_editor.variables.scss | 2 ++ 1 file changed, 2 insertions(+) (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 00d7884f4f7..eb63e7cdec2 100644 --- a/addons/web_editor/static/src/scss/web_editor.variables.scss +++ b/addons/web_editor/static/src/scss/web_editor.variables.scss @@ -685,6 +685,7 @@ $o-bg-shapes: ('web_editor': ( 'Rainy/03': ('position': top, 'size': 100% auto, 'colors': (2, 4, 5), 'repeat-y': true), 'Rainy/04': ('position': top, 'size': 100% auto, 'colors': (1, 5), 'repeat-y': false), 'Rainy/05': ('position': top, 'size': 100% auto, 'colors': (1, 5), 'repeat-y': false), + 'Rainy/05_001': ('position': top, 'size': 100% auto, 'colors': (1), 'repeat-y': false), 'Rainy/06': ('position': bottom, 'size': 100% auto, 'colors': (1, 2, 3), 'repeat-y': false), 'Rainy/07': ('position': top, 'size': 100% auto, 'colors': (1, 2, 3), 'repeat-y': false), 'Rainy/08': ('position': top, 'size': 100% auto, 'colors': (1, 4), 'repeat-y': false), @@ -695,6 +696,7 @@ $o-bg-shapes: ('web_editor': ( 'Wavy/04': ('position': bottom, 'size': 100% auto, 'colors': (1, 5), 'repeat-y': false), 'Wavy/05': ('position': top, 'size': 100% auto, 'colors': (1, 5), 'repeat-y': false), 'Wavy/06': ('position': top, 'size': 100% auto, 'colors': (1, 3, 4, 5), 'repeat-y': false), + 'Wavy/06_001': ('position': top, 'size': 100% auto, 'colors': (1, 3, 5), 'repeat-y': false), 'Wavy/07': ('position': top, 'size': 100% auto, 'colors': (3), 'repeat-y': false), 'Wavy/08': ('position': top, 'size': 100% auto, 'colors': (2), 'repeat-y': false), 'Wavy/09': ('position': bottom, 'size': 100% auto, 'colors': (1, 5), 'repeat-y': false), -- cgit v1.2.3