diff options
| author | Jeremy Kersten <jke@odoo.com> | 2020-11-25 14:22:05 +0000 |
|---|---|---|
| committer | Jeremy Kersten <jke@odoo.com> | 2020-11-25 15:09:39 +0000 |
| commit | 978fcbd4f6ba9f618b69560cb5fbe26602828bcb (patch) | |
| tree | 17272af8de80d84dd7b9df263c8830674125badf /addons/web_editor/static | |
| parent | 71b3b2d61b7acad601da38457671a20357298587 (diff) | |
[IMP] web_editor: shape - merge some style + fix color
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#62338
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
Diffstat (limited to 'addons/web_editor/static')
| -rw-r--r-- | addons/web_editor/static/shapes/Bold/05_001.svg | 3 | ||||
| -rw-r--r-- | addons/web_editor/static/shapes/Bold/06_001.svg | 3 | ||||
| -rw-r--r-- | addons/web_editor/static/src/scss/web_editor.variables.scss | 2 |
3 files changed, 8 insertions, 0 deletions
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 @@ +<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1400 570"> + <path d="M279.4,252c-59.3-2.1-107.6-18.7-138.1-58.6L0,0V291.3H500.6c59.3,2.1,107.6,18.7,138.1,58.6L743.4,493.2C778.2,540.8,787.6,570,841,570h559V252Z" style="fill: #fafafa"/> +</svg> 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 @@ +<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1400 570"> + <path d="M1271.4,369c-70.8,0-83.2-38.6-129.3-101.6L1003.5,77.6C963,24.8,899.1,2.8,820.5,0H0V202.5c67.9,6.1,123.3,28.6,159.6,76.2L298.2,468.4c46.1,63,58.5,101.6,129.3,101.6H1400V369Z" style="fill: #f6f6f6"/> +</svg> 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), |
