[IMP] theme_anelusia, *: adapt s_numbers_showcase

*: theme_artists, theme_beauty, theme_buzzy, theme_kiddo, theme_nano,
theme_orchid, theme_zap, theme_bookstore

This commit adds customizations related to s_numbers_showcase, added in
PR [1]

task-4094383
Part of task-4077427

[1]: https://github.com/odoo/odoo/pull/175746

closes odoo/design-themes#856

Related: odoo/odoo#175746
Signed-off-by: Soukéina Bojabza (sobo) <sobo@odoo.com>
This commit is contained in:
Brieuc-brd
2024-08-05 18:59:55 +02:00
parent a7a3506a42
commit 773ef7d1fa
18 changed files with 201 additions and 0 deletions
+1
View File
@@ -31,6 +31,7 @@
'views/snippets/s_three_columns.xml',
'views/snippets/s_quotes_carousel.xml',
'views/snippets/s_unveil.xml',
'views/snippets/s_numbers_showcase.xml',
'views/new_page_template.xml',
],
'images': [
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_numbers_showcase" inherit_id="website.s_numbers_showcase">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc o_cc5" separator=" "/>
</xpath>
<!-- Grid items -->
<xpath expr="(//div[hasclass('o_grid_item')])[3]" position="attributes">
<attribute name="class" add="o_cc2" remove="o_cc5" separator=" "/>
</xpath>
</template>
</odoo>
+1
View File
@@ -33,6 +33,7 @@
'views/snippets/s_company_team.xml',
'views/snippets/s_product_list.xml',
'views/snippets/s_color_blocks_2.xml',
'views/snippets/s_numbers_showcase.xml',
'views/new_page_template.xml',
],
'images': [
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_numbers_showcase" inherit_id="website.s_numbers_showcase">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc o_cc5" separator=" "/>
</xpath>
<!-- Grid items -->
<xpath expr="(//div[hasclass('o_grid_item')])[3]" position="attributes">
<attribute name="class" add="o_cc2" remove="o_cc5" separator=" "/>
</xpath>
</template>
</odoo>
+1
View File
@@ -27,6 +27,7 @@
'views/snippets/s_comparisons.xml',
'views/snippets/s_product_catalog.xml',
'views/snippets/s_unveil.xml',
'views/snippets/s_numbers_showcase.xml',
'views/new_page_template.xml',
],
'images': [
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_numbers_showcase" inherit_id="website.s_numbers_showcase">
<!-- 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>
</xpath>
<!-- Shape -->
<xpath expr="//div[hasclass('container')]" position="before">
<div class="o_we_shape o_web_editor_Wavy_11" style="background-image: url('/web_editor/shape/web_editor/Wavy/11.svg?c1=o-color-1&amp;c4=o-color-4&amp;flip=x');"/>
</xpath>
<!-- Grid items -->
<xpath expr="(//div[hasclass('o_grid_item')])[2]" position="attributes">
<attribute name="class" add="o_cc1" remove="o_cc3" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('o_grid_item')])[3]" position="attributes">
<attribute name="class" add="o_cc2" remove="o_cc5" separator=" "/>
</xpath>
</template>
</odoo>
+1
View File
@@ -30,6 +30,7 @@
'views/snippets/s_product_catalog.xml',
'views/snippets/s_quotes_carousel.xml',
'views/snippets/s_unveil.xml',
'views/snippets/s_numbers_showcase.xml',
'views/new_page_template.xml',
],
'images': [
@@ -0,0 +1,51 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_numbers_showcase" inherit_id="website.s_numbers_showcase">
<!-- Item #1 -->
<xpath expr="//div[hasclass('o_grid_item')]//h2" position="replace" mode="inner">
Numbers speak by themselves
</xpath>
<xpath expr="//div[hasclass('o_grid_item')]//p[hasclass('lead')]" position="replace" mode="inner">
Discover how your support and enthusiasm help us grow and succeed. Heres a look at the impact youve made on our bookstore journey.
</xpath>
<xpath expr="//div[hasclass('o_grid_item')]//p[3]" position="replace"/>
<!-- Item #2 -->
<xpath expr="(//div[hasclass('o_grid_item')])[2]" position="attributes">
<attribute name="class" add="rounded" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('o_grid_item')])[2]//h4" position="replace" mode="inner">
Unique references
</xpath>
<xpath expr="(//div[hasclass('o_grid_item')])[2]//p[2]" position="replace" mode="inner">
Explore 12,000 unique book titles curated just for you.
</xpath>
<!-- Item #3 -->
<xpath expr="(//div[hasclass('o_grid_item')])[3]" position="attributes">
<attribute name="class" add="rounded" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('o_grid_item')])[3]//h3" position="replace" mode="inner">
98%
</xpath>
<xpath expr="(//div[hasclass('o_grid_item')])[3]//h4" position="replace" mode="inner">
Happy customers
</xpath>
<xpath expr="(//div[hasclass('o_grid_item')])[3]//p[2]" position="replace" mode="inner">
Join our community of thousands of happy and satisfied readers.
</xpath>
<!-- Item #4 -->
<xpath expr="(//div[hasclass('o_grid_item')])[4]" position="attributes">
<attribute name="class" add="rounded" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('o_grid_item')])[4]//h3" position="replace" mode="inner">
418
</xpath>
<xpath expr="(//div[hasclass('o_grid_item')])[4]//h4" position="replace" mode="inner">
Stores around the world
</xpath>
<xpath expr="(//div[hasclass('o_grid_item')])[4]//p[2]" position="replace" mode="inner">
Explore our bookstores worldwide, bringing a world of books closer to you.
</xpath>
</template>
</odoo>
+1
View File
@@ -41,6 +41,7 @@
'views/snippets/s_countdown.xml',
'views/snippets/s_text_highlight.xml',
'views/snippets/s_blockquote.xml',
'views/snippets/s_numbers_showcase.xml',
'views/new_page_template.xml',
],
'images': [
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_numbers_showcase" inherit_id="website.s_numbers_showcase">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc o_cc2" separator=" "/>
</xpath>
</template>
</odoo>
+1
View File
@@ -23,6 +23,7 @@
'views/snippets/s_text_image.xml',
'views/snippets/s_product_catalog.xml',
'views/snippets/s_unveil.xml',
'views/snippets/s_numbers_showcase.xml',
'views/new_page_template.xml',
],
'images': [
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_numbers_showcase" inherit_id="website.s_numbers_showcase">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="data-oe-shape-data">{'shape':'web_editor/Floats/13','flip':[]}</attribute>
</xpath>
<!-- Shape -->
<xpath expr="//div[hasclass('container')]" position="before">
<div class="o_we_shape o_web_editor_Floats_13 o_we_animated"/>
</xpath>
</template>
</odoo>
+1
View File
@@ -24,6 +24,7 @@
'views/snippets/s_text_image.xml',
'views/snippets/s_three_columns.xml',
'views/snippets/s_unveil.xml',
'views/snippets/s_numbers_showcase.xml',
'views/new_page_template.xml',
],
'images': [
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_numbers_showcase" inherit_id="website.s_numbers_showcase">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc o_cc5" separator=" "/>
<attribute name="data-oe-shape-data">{'shape':'web_editor/Zigs/01_001','flip':[]}</attribute>
</xpath>
<!-- Shape -->
<xpath expr="//div[hasclass('container')]" position="before">
<div class="o_we_shape o_web_editor_Zigs_01_001 o_we_animated"/>
</xpath>
<!-- Grid items -->
<xpath expr="(//div[hasclass('o_grid_item')])[3]" position="attributes">
<attribute name="class" add="o_cc2" remove="o_cc5" separator=" "/>
</xpath>
</template>
</odoo>
+1
View File
@@ -22,6 +22,7 @@
'views/snippets/s_media_list.xml',
'views/snippets/s_product_catalog.xml',
'views/snippets/s_unveil.xml',
'views/snippets/s_numbers_showcase.xml',
'views/new_page_template.xml',
],
'images': [
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_numbers_showcase" inherit_id="website.s_numbers_showcase">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="data-oe-shape-data">{'shape':'web_editor/Blobs/12','flip':[]}</attribute>
</xpath>
<!-- Shape -->
<xpath expr="//div[hasclass('container')]" position="before">
<div class="o_we_shape o_web_editor_Blobs_12"/>
</xpath>
</template>
</odoo>
+1
View File
@@ -25,6 +25,7 @@
'views/snippets/s_three_columns.xml',
'views/snippets/s_image_gallery.xml',
'views/snippets/s_unveil.xml',
'views/snippets/s_numbers_showcase.xml',
'views/new_page_template.xml',
],
'images': [
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_numbers_showcase" inherit_id="website.s_numbers_showcase">
<!-- Grid items -->
<xpath expr="(//div[hasclass('o_grid_item')])[2]" position="attributes">
<attribute name="class" add="o_cc2" remove="o_cc3" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('o_grid_item')])[3]" position="attributes">
<attribute name="class" add="o_cc2" remove="o_cc5" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('o_grid_item')])[4]" position="attributes">
<attribute name="class" add="o_cc2" remove="o_cc4" separator=" "/>
</xpath>
<!-- Titles -->
<xpath expr="//h3" position="attributes">
<attribute name="class" add="text-o-color-1" separator=" "/>
</xpath>
<xpath expr="(//h3)[2]" position="attributes">
<attribute name="class" add="text-o-color-1" separator=" "/>
</xpath>
<xpath expr="(//h3)[3]" position="attributes">
<attribute name="class" add="text-o-color-1" separator=" "/>
</xpath>
</template>
</odoo>