From 3de58cf56e4d103b6d5deb716a0f55894807b800 Mon Sep 17 00:00:00 2001 From: Jeremy Kersten Date: Wed, 25 Nov 2020 14:22:05 +0000 Subject: [PATCH] [IMP] web_editor: shape - merge some style + fix color MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Blocks and Rainy / Airy and Zigs merged together Fix color of Bold 5 and bold 6 shape that are not easy to use due to contrast with black, now it is grey by default. task-2357174 closes odoo/odoo#62352 X-original-commit: 978fcbd4f6ba9f618b69560cb5fbe26602828bcb Signed-off-by: Jérémy Kersten (jke) --- .../web_editor/static/shapes/Bold/05_001.svg | 3 ++ .../web_editor/static/shapes/Bold/06_001.svg | 3 ++ .../static/src/scss/web_editor.variables.scss | 2 + addons/web_editor/views/snippets.xml | 44 +++++++++---------- 4 files changed, 28 insertions(+), 24 deletions(-) create mode 100644 addons/web_editor/static/shapes/Bold/05_001.svg create mode 100644 addons/web_editor/static/shapes/Bold/06_001.svg diff --git a/addons/web_editor/static/shapes/Bold/05_001.svg b/addons/web_editor/static/shapes/Bold/05_001.svg new file mode 100644 index 00000000000..f475f7b6fc0 --- /dev/null +++ b/addons/web_editor/static/shapes/Bold/05_001.svg @@ -0,0 +1,3 @@ + + + diff --git a/addons/web_editor/static/shapes/Bold/06_001.svg b/addons/web_editor/static/shapes/Bold/06_001.svg new file mode 100644 index 00000000000..ed244e44ec4 --- /dev/null +++ b/addons/web_editor/static/shapes/Bold/06_001.svg @@ -0,0 +1,3 @@ + + + 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 70ed84765f9..d4a8058763e 100644 --- a/addons/web_editor/static/src/scss/web_editor.variables.scss +++ b/addons/web_editor/static/src/scss/web_editor.variables.scss @@ -658,7 +658,9 @@ $o-bg-shapes: ('web_editor': ( 'Bold/03': ('position': bottom, 'size': 100% auto, 'colors': (1, 3, 5), 'repeat-y': false), 'Bold/04': ('position': top, 'size': 100% auto, 'colors': (2, 3), 'repeat-y': false), 'Bold/05': ('position': center, 'size': 100% auto, 'colors': (5), 'repeat-y': false), + 'Bold/05_001': ('position': center, 'size': 100% auto, 'colors': (3), 'repeat-y': false), 'Bold/06': ('position': center, 'size': 100% auto, 'colors': (5), 'repeat-y': false), + 'Bold/06_001': ('position': center, 'size': 100% auto, 'colors': (3), 'repeat-y': false), 'Bold/07': ('position': bottom, 'size': 100% auto, 'colors': (1, 2), 'repeat-y': false), '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), diff --git a/addons/web_editor/views/snippets.xml b/addons/web_editor/views/snippets.xml index 649059c7bbf..69d6e81d334 100644 --- a/addons/web_editor/views/snippets.xml +++ b/addons/web_editor/views/snippets.xml @@ -254,11 +254,20 @@ - - - + + + + + + + + + + + + @@ -299,31 +308,13 @@ - - - - - - - - - - - - - - - - - - - - + + @@ -331,7 +322,7 @@ - + @@ -346,6 +337,11 @@ + + + + +