Skip to content

Commit

Permalink
[FIX] web_editor: make Bold shapes 10 & 11 transparent
Browse files Browse the repository at this point in the history
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
odoo#59613
  • Loading branch information
bso-odoo authored and JKE-be committed Nov 25, 2020
1 parent b2596ce commit 71b3b2d
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
5 changes: 5 additions & 0 deletions addons/web_editor/static/shapes/Bold/10_001.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions addons/web_editor/static/shapes/Bold/11_001.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions addons/web_editor/static/src/scss/web_editor.variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
4 changes: 2 additions & 2 deletions addons/web_editor/views/snippets.xml
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,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">
Expand Down

0 comments on commit 71b3b2d

Please sign in to comment.