From 71b3b2d61b7acad601da38457671a20357298587 Mon Sep 17 00:00:00 2001 From: Benoit Socias Date: Wed, 28 Oct 2020 09:59:06 +0000 Subject: [PATCH] [FIX] web_editor: make Bold shapes 10 & 11 transparent Before this commit Bold shape 10 & 11 had no transparent color After this commit Bold shape 10 & 11 have a transparent color instead of their former color #3 (#F6F6F6) task-2357174 https://github.com/odoo/odoo/pull/59613 --- addons/web_editor/static/shapes/Bold/10_001.svg | 5 +++++ addons/web_editor/static/shapes/Bold/11_001.svg | 4 ++++ addons/web_editor/static/src/scss/web_editor.variables.scss | 2 ++ addons/web_editor/views/snippets.xml | 4 ++-- 4 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 addons/web_editor/static/shapes/Bold/10_001.svg create mode 100644 addons/web_editor/static/shapes/Bold/11_001.svg diff --git a/addons/web_editor/static/shapes/Bold/10_001.svg b/addons/web_editor/static/shapes/Bold/10_001.svg new file mode 100644 index 0000000000000..4054a1fc061d4 --- /dev/null +++ b/addons/web_editor/static/shapes/Bold/10_001.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/addons/web_editor/static/shapes/Bold/11_001.svg b/addons/web_editor/static/shapes/Bold/11_001.svg new file mode 100644 index 0000000000000..da0d72642b6eb --- /dev/null +++ b/addons/web_editor/static/shapes/Bold/11_001.svg @@ -0,0 +1,4 @@ + + + + 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 eb63e7cdec202..70ed84765f970 100644 --- a/addons/web_editor/static/src/scss/web_editor.variables.scss +++ b/addons/web_editor/static/src/scss/web_editor.variables.scss @@ -663,7 +663,9 @@ $o-bg-shapes: ('web_editor': ( 'Bold/08': ('position': top, 'size': 100% auto, 'colors': (1), 'repeat-y': false), 'Bold/09': ('position': bottom, 'size': 100% auto, 'colors': (2, 3), 'repeat-y': false), 'Bold/10': ('position': top, 'size': 100% auto, 'colors': (1, 3, 4, 5), 'repeat-y': false), + 'Bold/10_001': ('position': top, 'size': 100% auto, 'colors': (1, 4, 5), 'repeat-y': false), 'Bold/11': ('position': bottom, 'size': 100% auto, 'colors': (1, 2, 3), 'repeat-y': false), + 'Bold/11_001': ('position': bottom, 'size': 100% auto, 'colors': (1, 2), 'repeat-y': false), 'Bold/12': ('position': center, 'size': 100% auto, 'colors': (1, 2, 5), 'repeat-y': false), 'Origins/01': ('position': bottom, 'size': 100% auto, 'colors': (2, 5), 'repeat-y': false), 'Origins/02': ('position': bottom, 'size': 100% auto, 'colors': (3), 'repeat-y': false), diff --git a/addons/web_editor/views/snippets.xml b/addons/web_editor/views/snippets.xml index 38b9c50742e50..41608840709b2 100644 --- a/addons/web_editor/views/snippets.xml +++ b/addons/web_editor/views/snippets.xml @@ -316,8 +316,8 @@ - - + +