[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 odoo/design-themes#1051

Related: odoo/odoo#190682
Signed-off-by: Serge Bayet (seba) <seba@odoo.com>
This commit is contained in:
Brieuc-brd
2025-03-12 16:45:00 +01:00
parent f4539c4d3c
commit f1215976c0
105 changed files with 373 additions and 381 deletions
-4
View File
@@ -139,7 +139,6 @@
<!-- Shape option -->
<xpath expr="//section" position="attributes">
<attribute name="class" remove="pt56 pb56" separator=" "/>
<attribute name="data-oe-shape-data">{"shape":"web_editor/Wavy/11","flip":["x"]}</attribute>
</xpath>
</template>
@@ -166,7 +165,6 @@
<!-- Shape option -->
<xpath expr="//section" position="attributes">
<attribute name="class" remove="pt56 pb56" separator=" "/>
<attribute name="data-oe-shape-data">{"shape":"web_editor/Wavy/11","flip":["x"]}</attribute>
</xpath>
</template>
@@ -237,7 +235,6 @@
<!-- Shape option -->
<xpath expr="//section" position="attributes">
<attribute name="class" remove="pt56 pb56" separator=" "/>
<attribute name="data-oe-shape-data">{"shape":"web_editor/Wavy/11","flip":["x"]}</attribute>
</xpath>
</template>
@@ -273,7 +270,6 @@
<!-- Shape option -->
<xpath expr="//section" position="attributes">
<attribute name="class" remove="pt56 pb56" separator=" "/>
<attribute name="data-oe-shape-data">{"shape":"web_editor/Wavy/11","flip":["x"]}</attribute>
</xpath>
</template>
+2 -2
View File
@@ -5,12 +5,12 @@
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc3" remove="o_cc5" separator=" "/>
<attribute name="data-oe-shape-data">{"shape":"web_editor/Blobs/04"}</attribute>
<attribute name="data-oe-shape-data">{"shape":"web_editor/Blobs/04_001","colors":{"c5":"o-color-1"}}</attribute>
</xpath>
<!-- Shape -->
<xpath expr="//div[hasclass('o_we_shape')]" position="replace">
<div class="o_we_shape o_web_editor_Blobs_04"/>
<div class="o_we_shape o_web_editor_Blobs_04_001" style="background-image: url('/web_editor/shape/web_editor/Blobs/04_001.svg?c5=o-color-1');"/>
</xpath>
<!-- Text -->
@@ -4,10 +4,10 @@
<template id="s_company_team_shapes" inherit_id="website.s_company_team_shapes">
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc1 pt80 pb80" remove="o_cc2 pt48 pb48" separator=" "/>
<attribute name="data-oe-shape-data">{'shape':'web_editor/Origins/05','colors':{'c3':'o-color-1'},'flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0'}</attribute>
<attribute name="data-oe-shape-data">{'shape':'web_editor/Bold/15','colors':{'c5':'o-color-1'},'flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0'}</attribute>
</xpath>
<xpath expr="//div[hasclass('o_container_small')]" position="before">
<div class="o_we_shape o_web_editor_Origins_05" style="background-image: url('/web_editor/shape/web_editor/Origins/05.svg?c3=o-color-1');"></div>
<div class="o_we_shape o_web_editor_Bold_15" style="background-image: url('/web_editor/shape/web_editor/Bold/15.svg?c5=o-color-1');"></div>
</xpath>
<xpath expr="//h2" position="replace">
<h2 style="text-align: center;"><span class="o_text_highlight o_translate_inline o_text_highlight_underline" style="--text-highlight-width: 4px; --text-highlight-color: var(--o-color-4);">Meet The Band</span></h2>
@@ -11,10 +11,10 @@
<template id="s_images_wall" inherit_id="website.s_images_wall">
<xpath expr="//section" position="attributes">
<attribute name="class" add="pb80" remove="pt24 pb24" separator=" "/>
<attribute name="data-oe-shape-data" add="{'shape':'web_editor/Origins/07_002','colors':{'c3':'o-color-1','c4':'o-color-4','c5':'o-color-1'},'flip':['x'],'showOnMobile':false,'shapeAnimationSpeed':'0'}"/>
<attribute name="data-oe-shape-data" add="{'shape':'web_editor/Bold/14','colors':{'c5':'o-color-1','c1':'o-color-1'},'showOnMobile':false,'shapeAnimationSpeed':'0'}"/>
</xpath>
<xpath expr="//div[hasclass('container')]" position="before">
<div class="o_we_shape o_web_editor_Origins_07_002" style="background-image: url('/web_editor/shape/web_editor/Origins/07_002.svg?c3=o-color-1&amp;c4=o-color-4&amp;c5=o-color-1&amp;flip=x');"></div>
<div class="o_we_shape o_web_editor_Bold_14" style="background-image: url('/web_editor/shape/web_editor/Bold/14.svg?c5=o-color-1&amp;c1=o-color-1');"/>
</xpath>
<xpath expr="//div[hasclass('row')]/." position="before">
<div class="col-lg-12">
+2 -2
View File
@@ -5,10 +5,10 @@
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc o_cc1" separator=" "/>
<attribute name="data-oe-shape-data">{'shape':'web_editor/Origins/02_001','colors':{'c4':'o-color-1','c5':'o-color-4'},'flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0'}</attribute>
<attribute name="data-oe-shape-data">{'shape':'web_editor/Bold/13','colors':{'c5':'o-color-1'},'flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0'}</attribute>
</xpath>
<xpath expr="//section/div" position="before">
<div class="o_we_shape o_web_editor_Origins_02_001" style="background-image: url('/web_editor/shape/web_editor/Origins/02_001.svg?c4=o-color-1&amp;c5=o-color-4');"/>
<div class="o_we_shape o_web_editor_Bold_13" style="background-image: url('/web_editor/shape/web_editor/Bold/13.svg?c5=o-color-1');"/>
</xpath>
<!-- Text wrapper -->
<xpath expr="//div[hasclass('col-lg-5')]" position="attributes">
+2 -2
View File
@@ -5,10 +5,10 @@
<!-- Layout -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc o_cc3" separator=" "/>
<attribute name="data-oe-shape-data">{"shape":"web_editor/Wavy/11",'flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0'}</attribute>
<attribute name="data-oe-shape-data">{"shape":"web_editor/Wavy/11_001","colors":{"c5":"o-color-1"},'flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0'}</attribute>
</xpath>
<xpath expr="//div[hasclass('container')]" position="before">
<div class="o_we_shape o_web_editor_Wavy_11"/>
<div class="o_we_shape o_web_editor_Wavy_11_001" style="background-image: url('/web_editor/shape/web_editor/Wavy/11_001.svg?c5=o-color-1');"/>
</xpath>
<!-- Texts -->
@@ -4,10 +4,10 @@
<template id="s_pricelist_cafe" inherit_id="website.s_pricelist_cafe">
<!-- Shape Color -->
<xpath expr="//section" position="attributes">
<attribute name="data-oe-shape-data">{'shape':'web_editor/Origins/19','colors':{'c5':'o-color-2'},'flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0'}</attribute>
<attribute name="data-oe-shape-data">{'shape':'web_editor/Bold/16','colors':{'c5':'o-color-2'},'flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0'}</attribute>
</xpath>
<xpath expr="//div[hasclass('o_we_shape')]" position="attributes">
<attribute name="style">background-image: url('/web_editor/shape/web_editor/Origins/19.svg?c5=o-color-2');</attribute>
<attribute name="style">background-image: url('/web_editor/shape/web_editor/Bold/16.svg?c5=o-color-2');</attribute>
</xpath>
<!-- Col colors -->
<xpath expr="//div[hasclass('o_cc5')]" position="attributes">
@@ -4,10 +4,10 @@
<template id="s_quotes_carousel_minimal" inherit_id="website.s_quotes_carousel_minimal">
<!-- Layout -->
<xpath expr="//div[hasclass('carousel')]" position="attributes">
<attribute name="data-oe-shape-data">{'shape':'web_editor/Airy/13_001','flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0','animated':'true'}</attribute>
<attribute name="data-oe-shape-data">{'shape':'web_editor/Airy/13_002','colors':{'c5':'o-color-3','c3':'o-color-3'},'flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0','animated':'true'}</attribute>
</xpath>
<xpath expr="//div[hasclass('carousel-inner')]" position="before">
<div class="o_we_shape o_web_editor_Airy_13_001 o_we_animated"/>
<div class="o_we_shape o_web_editor_Airy_13_002 o_we_animated" style="background-image: url('/web_editor/shape/web_editor/Airy/13_002.svg?c5=o-color-3&amp;c3=o-color-3');"/>
</xpath>
<!-- Texts -->
+4 -1
View File
@@ -5,7 +5,10 @@
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc o_cc3" separator=" "/>
<attribute name="data-oe-shape-data">{"shape":"web_editor/Wavy/11","flip":["x"]}</attribute>
<attribute name="data-oe-shape-data">{"shape":"web_editor/Wavy/11_001","colors":{"c5":"o-color-1"},"flip":["x"]}</attribute>
</xpath>
<xpath expr="//div[hasclass('container')]" position="before">
<div class="o_we_shape o_web_editor_Wavy_11_001" style="background-image: url('/web_editor/shape/web_editor/Wavy/11_001.svg?c5=o-color-1&amp;flip=x'); background-position: 50% 100%;"/>
</xpath>
<!-- Title & Paragraph -->
<xpath expr="//h2" position="replace" mode="inner">
+2 -2
View File
@@ -5,10 +5,10 @@
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc1 pt80 pb80" remove="o_cc2 pt40 pb40" separator=" "/>
<attribute name="data-oe-shape-data">{'shape':'web_editor/Origins/05','colors':{'c3':'o-color-4'},'flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0'}</attribute>
<attribute name="data-oe-shape-data">{'shape':'web_editor/Bold/15','colors':{'c5':'o-color-4'},'flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0'}</attribute>
</xpath>
<xpath expr="//div[hasclass('container')]" position="before">
<div class="o_we_shape o_web_editor_Origins_05 bg-o-color-1" style="background-image: url('/web_editor/shape/web_editor/Origins/05.svg?c3=o-color-4');"></div>
<div class="o_we_shape o_web_editor_Bold_15 bg-o-color-1" style="background-image: url('/web_editor/shape/web_editor/Bold/15.svg?c5=o-color-4');"></div>
</xpath>
<xpath expr="//h2" position="replace">
<h2 style="text-align: center;">#PulseOfTheFuture</h2>