[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

X-original-commit: 71b3b2d61b7acad601da38457671a20357298587
This commit is contained in:
Benoit Socias
2020-11-25 16:39:41 +00:00
committed by Jeremy Kersten
parent 756e3daa00
commit 8c2dd4aa03
4 changed files with 13 additions and 2 deletions
@@ -0,0 +1,5 @@
<svg id="Waves" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1400 1400">
<path d="M641.77,570a94.43,94.43,0,0,0,84.49-52.81L953.68,55.79A100,100,0,0,1,1043.37,0H841.76L588.65,514.71C571.83,548.91,537,570,498.92,570Z" style="fill: #ffffff"/>
<path d="M841.76,0,588.65,514.71a100,100,0,0,1-89.74,55.87H0V0Z" style="fill: #3aadaa"/>
<path d="M701.17,0,490.34,428.38a83.3,83.3,0,0,1-74.75,46.54H0V0Z" style="fill: #383e45"/>
</svg>

After

Width:  |  Height:  |  Size: 443 B

@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -830 1400 1400">
<path d="M841.8,0H1400v452.7h-247.8c-36.2,0-69.6-19.6-87.3-51.2L841.8,0z" style="fill: #7C6576"/>
<path d="M641.8,0H0v570h1400v-19.2h-332.4c-36.2,0-69.6-19.6-87.2-51.2L729,51.1C711.3,19.5,678,0,641.8,0z" style="fill: #3AADAA"/>
</svg>

After

Width:  |  Height:  |  Size: 305 B

@@ -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),
+2 -2
View File
@@ -327,8 +327,8 @@
<we-button data-shape="web_editor/Bold/07" data-select-label="Bold 07"/>
<we-button data-shape="web_editor/Bold/08" data-select-label="Bold 08"/>
<we-button data-shape="web_editor/Bold/09" data-select-label="Bold 09"/>
<we-button data-shape="web_editor/Bold/10" data-select-label="Bold 10"/>
<we-button data-shape="web_editor/Bold/11" data-select-label="Bold 11"/>
<we-button data-shape="web_editor/Bold/10_001" data-select-label="Bold 10"/>
<we-button data-shape="web_editor/Bold/11_001" data-select-label="Bold 11"/>
<we-button data-shape="web_editor/Bold/12" data-select-label="Bold 12"/>
</we-select-page>
<we-select-page string="Airy">