mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[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:
@@ -86,10 +86,10 @@
|
||||
<!-- Shape option -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_half_screen_height" remove="o_full_screen_height" separator=" "/>
|
||||
<attribute name="data-oe-shape-data">{"shape":"web_editor/Bold/12_001","flip":["x"]}</attribute>
|
||||
<attribute name="data-oe-shape-data">{"shape":"web_editor/Bold/25","flip":["x"]}</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//*[hasclass('container')]" position="before">
|
||||
<div class="o_we_shape o_web_editor_Bold_12_001" style="background-image: url('/web_editor/shape/web_editor/Bold/12_001.svg?c1=rgba%280%2C%200%2C%200%2C%200.5%29&c2=rgba%280%2C%200%2C%200%2C%200.25%29&c5=o-color-5&flip=x'); background-position: 50% 50%;"/>
|
||||
<div class="o_we_shape o_web_editor_Bold_25" style="background-image: url('/web_editor/shape/web_editor/Bold/25.svg?c5=o-color-5&flip=x'); background-position: 50% 50%;"/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
@@ -228,10 +228,10 @@
|
||||
<!-- Shape option -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" remove="pt200 pb200" separator=" "/>
|
||||
<attribute name="data-oe-shape-data">{"shape":"web_editor/Bold/12_001","flip":["x"]}</attribute>
|
||||
<attribute name="data-oe-shape-data">{"shape":"web_editor/Bold/25","flip":["x"]}</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//*[hasclass('container')]" position="before">
|
||||
<div class="o_we_shape o_web_editor_Bold_12_001" style="background-image: url('/web_editor/shape/web_editor/Bold/12_001.svg?c1=rgba%280%2C%200%2C%200%2C%200.5%29&c2=rgba%280%2C%200%2C%200%2C%200.25%29&c5=o-color-5&flip=x'); background-position: 50% 50%;"/>
|
||||
<div class="o_we_shape o_web_editor_Bold_25" style="background-image: url('/web_editor/shape/web_editor/Bold/25.svg?c5=o-color-5&flip=x'); background-position: 50% 50%;"/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
@@ -239,10 +239,10 @@
|
||||
<!-- Shape option -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_half_screen_height" remove="o_full_screen_height" separator=" "/>
|
||||
<attribute name="data-oe-shape-data">{"shape":"web_editor/Bold/12_001","flip":["x"]}</attribute>
|
||||
<attribute name="data-oe-shape-data">{"shape":"web_editor/Bold/25","flip":["x"]}</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//*[hasclass('container')]" position="before">
|
||||
<div class="o_we_shape o_web_editor_Bold_12_001" style="background-image: url('/web_editor/shape/web_editor/Bold/12_001.svg?c1=rgba%280%2C%200%2C%200%2C%200.5%29&c2=rgba%280%2C%200%2C%200%2C%200.25%29&c5=o-color-5&flip=x'); background-position: 50% 50%;"/>
|
||||
<div class="o_we_shape o_web_editor_Bold_25" style="background-image: url('/web_editor/shape/web_editor/Bold/25.svg?c5=o-color-5&flip=x'); background-position: 50% 50%;"/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
@@ -261,10 +261,10 @@
|
||||
<template id="new_page_template_landing_4_s_cover" inherit_id="website.new_page_template_landing_4_s_cover">
|
||||
<!-- Shape option -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="data-oe-shape-data">{"shape":"web_editor/Bold/12_001","flip":["x"]}</attribute>
|
||||
<attribute name="data-oe-shape-data">{"shape":"web_editor/Bold/25","flip":["x"]}</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//*[hasclass('container')]" position="before">
|
||||
<div class="o_we_shape o_web_editor_Bold_12_001" style="background-image: url('/web_editor/shape/web_editor/Bold/12_001.svg?c1=rgba%280%2C%200%2C%200%2C%200.5%29&c2=rgba%280%2C%200%2C%200%2C%200.25%29&c5=o-color-5&flip=x'); background-position: 50% 50%;"/>
|
||||
<div class="o_we_shape o_web_editor_Bold_25" style="background-image: url('/web_editor/shape/web_editor/Bold/25.svg?c5=o-color-5&flip=x'); background-position: 50% 50%;"/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
@@ -280,10 +280,10 @@
|
||||
<!-- Shape option -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_half_screen_height" remove="o_full_screen_height" separator=" "/>
|
||||
<attribute name="data-oe-shape-data">{"shape":"web_editor/Bold/12_001","flip":["x"]}</attribute>
|
||||
<attribute name="data-oe-shape-data">{"shape":"web_editor/Bold/25","flip":["x"]}</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//*[hasclass('container')]" position="before">
|
||||
<div class="o_we_shape o_web_editor_Bold_12_001" style="background-image: url('/web_editor/shape/web_editor/Bold/12_001.svg?c1=rgba%280%2C%200%2C%200%2C%200.5%29&c2=rgba%280%2C%200%2C%200%2C%200.25%29&c5=o-color-5&flip=x'); background-position: 50% 50%;"/>
|
||||
<div class="o_we_shape o_web_editor_Bold_25" style="background-image: url('/web_editor/shape/web_editor/Bold/25.svg?c5=o-color-5&flip=x'); background-position: 50% 50%;"/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
@@ -344,10 +344,10 @@
|
||||
<!-- Shape option -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_half_screen_height" remove="o_full_screen_height" separator=" "/>
|
||||
<attribute name="data-oe-shape-data">{"shape":"web_editor/Bold/12_001","flip":["x"]}</attribute>
|
||||
<attribute name="data-oe-shape-data">{"shape":"web_editor/Bold/25","flip":["x"]}</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//*[hasclass('container')]" position="before">
|
||||
<div class="o_we_shape o_web_editor_Bold_12_001" style="background-image: url('/web_editor/shape/web_editor/Bold/12_001.svg?c1=rgba%280%2C%200%2C%200%2C%200.5%29&c2=rgba%280%2C%200%2C%200%2C%200.25%29&c5=o-color-5&flip=x'); background-position: 50% 50%;"/>
|
||||
<div class="o_we_shape o_web_editor_Bold_25" style="background-image: url('/web_editor/shape/web_editor/Bold/25.svg?c5=o-color-5&flip=x'); background-position: 50% 50%;"/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -4,13 +4,12 @@
|
||||
<template id="s_big_number" inherit_id="website.s_big_number">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="data-oe-shape-data">{'shape':'web_editor/Bold/06_001','colors':{'c3':'o-color-5'}}</attribute>
|
||||
<attribute name="class" add="o_cc4" remove="o_cc5" separator=" "/>
|
||||
<attribute name="data-oe-shape-data">{'shape':'web_editor/Bold/20','colors':{'c5':'o-color-1','c1':'o-color-1'}}</attribute>
|
||||
</xpath>
|
||||
|
||||
<!-- Shape -->
|
||||
<xpath expr="//div[hasclass('o_we_shape')]" position="replace">
|
||||
<div class="o_we_shape o_web_editor_Bold_06_001" style="background-image: url('/web_editor/shape/web_editor%2FBold%2F06_001.svg?c3=o-color-5');"/>
|
||||
<div class="o_we_shape o_web_editor_Bold_20" style="background-image: url('/web_editor/shape/web_editor/Bold/20.svg?c5=o-color-1&c1=o-color-1');"/>
|
||||
</xpath>
|
||||
|
||||
<!-- Text -->
|
||||
|
||||
Reference in New Issue
Block a user