Skip to content

Commit f121597

Browse files
committed
[IMP] theme_anelusia, *: adapts background shapes
*: theme_artists, theme_aviato, theme_beauty, theme_bewise, theme_bistro, theme_bookstore,theme_buzzy, theme_clean, theme_cobalt, theme_enark, theme_graphene, theme_kea, theme_kiddo, theme_loftspace, theme_monglia, theme_nano, theme_notes, theme_odoo_experts, theme_orchid, theme_paptic, theme_real_estate, theme_treehouse, theme_vehicle, theme_zap This commit adapts background shapes in theme customizations where shapes have been removed, changed or added during the refactoring of background shapes. task-4372655 closes #1051 Related: odoo/odoo#190682 Signed-off-by: Serge Bayet (seba) <[email protected]>
1 parent f4539c4 commit f121597

File tree

105 files changed

+373
-381
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+373
-381
lines changed

theme_anelusia/views/new_page_template.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
<template id="new_page_template_s_comparisons" inherit_id="website.new_page_template_s_comparisons">
77
<!-- Shape option -->
88
<xpath expr="//section" position="attributes">
9-
<attribute name="data-oe-shape-data">{"shape":"web_editor/Origins/17","flip":[]}</attribute>
9+
<attribute name="data-oe-shape-data">{"shape":"web_editor/Containers/06","colors":{"c5":"o-color-4"},"flip":[]}</attribute>
1010
</xpath>
1111
<!-- Shape -->
1212
<xpath expr="//div[hasclass('container')]" position="before">
13-
<div class="o_we_shape o_web_editor_Origins_17"/>
13+
<div class="o_we_shape o_web_editor_Containers_06" style="background-image: url('/web_editor/shape/web_editor/Containers/06.svg?c5=o-color-4');"/>
1414
</xpath>
1515
</template>
1616

theme_anelusia/views/snippets/s_big_number.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
<template id="s_big_number" inherit_id="website.s_big_number">
55
<!-- Section -->
66
<xpath expr="//section" position="attributes">
7-
<attribute name="data-oe-shape-data">{"shape":"web_editor/Blobs/06"}</attribute>
7+
<attribute name="data-oe-shape-data">{"shape":"web_editor/Blobs/06_001"}</attribute>
88
</xpath>
99

1010
<!-- Shape -->
1111
<xpath expr="//div[hasclass('o_we_shape')]" position="replace">
12-
<div class="o_we_shape o_web_editor_Blobs_06"/>
12+
<div class="o_we_shape o_web_editor_Blobs_06_001"/>
1313
</xpath>
1414

1515
<!-- Text -->

theme_anelusia/views/snippets/s_numbers.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
<!-- Section -->
66
<xpath expr="//section" position="attributes">
77
<attribute name="class" add="o_half_screen_height o_cc4" remove="o_cc1" separator=" "/>
8-
<attribute name="data-oe-shape-data">{"shape":"web_editor/Airy/10","flip":[]}</attribute>
8+
<attribute name="data-oe-shape-data">{"shape":"web_editor/Airy/10_001","colors":{"c5":"rgba(0,0,0,0.25)"},"flip":[]}</attribute>
99
</xpath>
1010
<!-- Shape -->
1111
<xpath expr="//div[hasclass('container')]" position="before">
12-
<div class="o_we_shape o_web_editor_Airy_10"/>
12+
<div class="o_we_shape o_web_editor_Airy_10_001" style="background-image: url('/web_editor/shape/web_editor/Airy/10_001.svg?c5=rgba(0,0,0,0.25)');"/>
1313
</xpath>
1414
</template>
1515

theme_anelusia/views/snippets/s_numbers_boxed.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
<template id="s_numbers_boxed" inherit_id="website.s_numbers_boxed">
55
<!-- Section -->
66
<xpath expr="//section" position="attributes">
7-
<attribute name="data-oe-shape-data">{"shape":"web_editor/Wavy/28", "colors":{"c1": "o-color-1", "c3": "o-color-5"}, "flip":[], "showOnMobile":true}</attribute>
7+
<attribute name="data-oe-shape-data">{"shape":"web_editor/Patterns/05", "colors":{"c5": "o-color-4"}, "flip":[], "showOnMobile":true}</attribute>
88
</xpath>
99
<!-- Shape -->
1010
<xpath expr="//div[hasclass('container')]" position="before">
11-
<div class="o_we_shape o_web_editor_Wavy_28 o_we_animated" style="background-image: url('/web_editor/shape/web_editor/Wavy/28.svg?c1=o-color-1&amp;c3=o-color-5&amp;);"/>
11+
<div class="o_we_shape o_web_editor_Patterns_05" style="background-image: url('/web_editor/shape/web_editor/Patterns/05.svg?c5=o-color-4');"/>
1212
</xpath>
1313
<!-- Grid Item -->
1414
<xpath expr="//div[hasclass('o_grid_item')][2]" position="attributes">

theme_anelusia/views/snippets/s_product_catalog.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
<!-- Section -->
66
<xpath expr="//section" position="attributes">
77
<attribute name="class" add="o_cc o_cc4" separator=" "/>
8-
<attribute name="data-oe-shape-data">{"shape":"web_editor/Airy/11","flip":[]}</attribute>
8+
<attribute name="data-oe-shape-data">{"shape":"web_editor/Airy/11_001","colors":{"c5":"rgba(0,0,0,0.25)"},"flip":[]}</attribute>
99
<!-- Remove the background image -->
1010
<attribute name="style"/>
1111
</xpath>
1212
<!-- Shape -->
1313
<xpath expr="//div[hasclass('container')]" position="before">
14-
<div class="o_we_shape o_web_editor_Airy_11"/>
14+
<div class="o_we_shape o_web_editor_Airy_11_001" style="background-image: url('/web_editor/shape/web_editor/Airy/11_001.svg?c5=rgba(0,0,0,0.25)');"/>
1515
</xpath>
1616
<!-- Remove filter -->
1717
<xpath expr="//div[hasclass('o_we_bg_filter')]" position="replace"/>

theme_anelusia/views/snippets/s_quotes_carousel_minimal.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
<!-- Layout -->
66
<xpath expr="//div[hasclass('carousel')]" position="attributes">
77
<attribute name="class" add="o_cc o_cc5" remove="carousel-dark" separator=" "/>
8-
<attribute name="data-oe-shape-data">{'shape':'web_editor/Zigs/04','flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0'}</attribute>
8+
<attribute name="data-oe-shape-data">{'shape':'web_editor/Airy/01_001','colors':{'c5':'o-color-1'},'flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0'}</attribute>
99
</xpath>
1010
<xpath expr="//div[hasclass('carousel-inner')]" position="before">
11-
<div class="o_we_shape o_web_editor_Zigs_04"/>
11+
<div class="o_we_shape o_web_editor_Airy_01_001" style="background-image: url('/web_editor/shape/web_editor/Airy/01_001.svg?c5=o-color-1');"/>
1212
</xpath>
1313
<xpath expr="//div[hasclass('carousel-item')]" position="attributes">
1414
<attribute name="class" add="pb144" remove="pb80" separator=" "/>

theme_artists/views/new_page_template.xml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,22 @@
66
<template id="new_page_template_s_call_to_action" inherit_id="website.new_page_template_s_call_to_action">
77
<!-- Shape option -->
88
<xpath expr="//section" position="attributes">
9-
<attribute name="data-oe-shape-data">{"shape":"web_editor/Airy/12_001","flip":["y"]}</attribute>
9+
<attribute name="data-oe-shape-data">{"shape":"web_editor/Airy/12_002","colors":{"c5":"o-color-1","c3":"o-color-5"},"flip":["y"]}</attribute>
1010
</xpath>
1111
<!-- Shape -->
1212
<xpath expr="//div[hasclass('container')]" position="before">
13-
<div class="o_we_shape o_web_editor_Airy_12_001" style="background-image: url('/web_editor/shape/web_editor/Airy/12_001.svg?c1=o-color-1&amp;c3=o-color-5&amp;flip=y'); background-position: 50% 100%;"/>
13+
<div class="o_we_shape o_web_editor_Airy_12_002" style="background-image: url('/web_editor/shape/web_editor/Airy/12_002.svg?c5=o-color-1&amp;c3=o-color-5&amp;flip=y'); background-position: 50% 100%;"/>
1414
</xpath>
1515
</template>
1616

1717
<template id="new_page_template_s_call_to_action_about" inherit_id="website.new_page_template_s_call_to_action_about">
1818
<!-- Shape option -->
1919
<xpath expr="//section" position="attributes">
20-
<attribute name="data-oe-shape-data">{"shape":"web_editor/Airy/12_001","flip":["y"]}</attribute>
20+
<attribute name="data-oe-shape-data">{"shape":"web_editor/Airy/12_002","colors":{"c5":"o-color-1","c3":"o-color-5"},"flip":["y"]}</attribute>
2121
</xpath>
2222
<!-- Shape -->
2323
<xpath expr="//div[hasclass('container')]" position="before">
24-
<div class="o_we_shape o_web_editor_Airy_12_001" style="background-image: url('/web_editor/shape/web_editor/Airy/12_001.svg?c1=o-color-1&amp;c3=o-color-5&amp;flip=y'); background-position: 50% 100%;"/>
24+
<div class="o_we_shape o_web_editor_Airy_12_002" style="background-image: url('/web_editor/shape/web_editor/Airy/12_002.svg?c5=o-color-1&amp;c3=o-color-5&amp;flip=y'); background-position: 50% 100%;"/>
2525
</xpath>
2626
</template>
2727

@@ -34,11 +34,11 @@
3434
<template id="new_page_template_s_call_to_action_menu" inherit_id="website.new_page_template_s_call_to_action_menu">
3535
<!-- Shape option -->
3636
<xpath expr="//section" position="attributes">
37-
<attribute name="data-oe-shape-data">{"shape":"web_editor/Airy/12_001","flip":["y"]}</attribute>
37+
<attribute name="data-oe-shape-data">{"shape":"web_editor/Airy/12_002","colors":{"c5":"o-color-1","c3":"o-color-5"},"flip":["y"]}</attribute>
3838
</xpath>
3939
<!-- Shape -->
4040
<xpath expr="//div[hasclass('container')]" position="before">
41-
<div class="o_we_shape o_web_editor_Airy_12_001" style="background-image: url('/web_editor/shape/web_editor/Airy/12_001.svg?c1=o-color-1&amp;c3=o-color-5&amp;flip=y'); background-position: 50% 100%;"/>
41+
<div class="o_we_shape o_web_editor_Airy_12_002" style="background-image: url('/web_editor/shape/web_editor/Airy/12_002.svg?c5=o-color-1&amp;c3=o-color-5&amp;flip=y'); background-position: 50% 100%;"/>
4242
</xpath>
4343
</template>
4444

@@ -72,11 +72,11 @@
7272
<template id="new_page_template_s_numbers" inherit_id="website.new_page_template_s_numbers">
7373
<!-- Shape option -->
7474
<xpath expr="//section" position="attributes">
75-
<attribute name="data-oe-shape-data">{"shape":"web_editor/Airy/12_001","flip":["x"]}</attribute>
75+
<attribute name="data-oe-shape-data">{"shape":"web_editor/Airy/12_002","colors":{"c5":"o-color-1","c3":"o-color-5"},"flip":["x"]}</attribute>
7676
</xpath>
7777
<!-- Shape -->
7878
<xpath expr="//div[hasclass('container')]" position="before">
79-
<div class="o_we_shape o_web_editor_Airy_12_001" style="background-image: url('/web_editor/shape/web_editor/Airy/12_001.svg?c1=o-color-1&amp;c3=o-color-5&amp;flip=x'); background-position: 50% 0%;"/>
79+
<div class="o_we_shape o_web_editor_Airy_12_002" style="background-image: url('/web_editor/shape/web_editor/Airy/12_002.svg?c5=o-color-1&amp;c3=o-color-5&amp;flip=x'); background-position: 50% 0%;"/>
8080
</xpath>
8181
</template>
8282

theme_artists/views/snippets/s_big_number.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
<template id="s_big_number" inherit_id="website.s_big_number">
55
<!-- Section -->
66
<xpath expr="//section" position="attributes">
7-
<attribute name="data-oe-shape-data">{"shape":"web_editor/Airy/14"}</attribute>
7+
<attribute name="data-oe-shape-data">{"shape":"web_editor/Airy/14_001","colors":{"c5":"o-color-1"}}</attribute>
88
</xpath>
99

1010
<!-- Shape -->
1111
<xpath expr="//div[hasclass('o_we_shape')]" position="replace">
12-
<div class="o_we_shape o_web_editor_Airy_14"/>
12+
<div class="o_we_shape o_web_editor_Airy_14_001" style="background-image: url('/web_editor/shape/web_editor/Airy/14_001.svg?c5=o-color-1');"/>
1313
</xpath>
1414

1515
<!-- Text -->

theme_artists/views/snippets/s_features.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
<!-- Section -->
66
<xpath expr="//section" position="attributes">
77
<attribute name="class" add="o_cc o_cc4" separator=" "/>
8-
<attribute name="data-oe-shape-data">{"shape":"web_editor/Airy/14","flip":[]}</attribute>
8+
<attribute name="data-oe-shape-data">{"shape":"web_editor/Airy/14_001","colors":{"c5":"rgba(0,0,0,0.25)"},"flip":[]}</attribute>
99
</xpath>
1010
<!-- Shape -->
1111
<xpath expr="//div[hasclass('container')]" position="before">
12-
<div class="o_we_shape o_web_editor_Airy_14"/>
12+
<div class="o_we_shape o_web_editor_Airy_14_001" style="background-image: url('/web_editor/shape/web_editor/Airy/14_001.svg?c5=rgba(0,0,0,0.25)');"/>
1313
</xpath>
1414
<!-- Feature #01 - Icon -->
1515
<xpath expr="//i" position="attributes">

theme_artists/views/snippets/s_quotes_carousel_minimal.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
<!-- Layout -->
66
<xpath expr="//div[hasclass('carousel')]" position="attributes">
77
<attribute name="class" add="o_cc o_cc5" remove="carousel-dark" separator=" "/>
8-
<attribute name="data-oe-shape-data">{'shape':'web_editor/Blobs/08','flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0'}</attribute>
8+
<attribute name="data-oe-shape-data">{'shape':'web_editor/Blobs/17','colors':{'c5':'o-color-1'},'flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0'}</attribute>
99
</xpath>
1010
<xpath expr="//div[hasclass('carousel-inner')]" position="before">
11-
<div class="o_we_shape o_web_editor_Blobs_08"/>
11+
<div class="o_we_shape o_web_editor_Blobs_17" style="background-image: url('/web_editor/shape/web_editor/Blobs/17.svg?c5=o-color-1');"/>
1212
</xpath>
1313

1414
<!-- Texts -->

0 commit comments

Comments
 (0)