[IMP] theme_*: adapt s_references_social

task-4146797

Part-of: odoo/design-themes#919
Related: odoo/odoo#180736
Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
mano-odoo
2024-08-29 17:52:08 +02:00
committed by qsm-odoo
parent 2c8892ab4d
commit 297eb898a5
12 changed files with 120 additions and 0 deletions
+1
View File
@@ -26,6 +26,7 @@
'views/snippets/s_company_team_shapes.xml',
'views/snippets/s_sidegrid.xml',
'views/snippets/s_references.xml',
'views/snippets/s_references_social.xml',
'views/snippets/s_call_to_action.xml',
'views/snippets/s_comparisons.xml',
'views/snippets/s_freegrid.xml',
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_references_social" inherit_id="website.s_references_social">
<!-- Title -->
<xpath expr="//h2" position="replace" mode="inner">
<font style="background-image: linear-gradient(135deg, var(--o-color-1) 0%, var(--o-color-2) 100%);" class="text-gradient">Our top brands</font>
</xpath>
<!-- Subtitle -->
<xpath expr="//p[hasclass('lead')]" position="replace" mode="inner">
Every style for everybody.
</xpath>
<!-- Partners -->
<xpath expr="//div[hasclass('row')]/div[2]/p" position="replace" mode="inner">
Redefining elegance since 2009
</xpath>
<xpath expr="//div[hasclass('row')]/div[3]/p" position="replace" mode="inner">
Disrupting fashion since 2013
</xpath>
<xpath expr="//div[hasclass('row')]/div[4]/p" position="replace" mode="inner">
Shaping your style since 2015
</xpath>
<xpath expr="//div[hasclass('row')]/div[5]/p" position="replace" mode="inner">
Transforming trends since 2018
</xpath>
</template>
</odoo>
+1
View File
@@ -37,6 +37,7 @@
'views/snippets/s_product_list.xml',
'views/snippets/s_tabs.xml',
'views/snippets/s_references.xml',
'views/snippets/s_references_social.xml',
'views/snippets/s_faq_collapse.xml',
'views/snippets/s_timeline.xml',
'views/snippets/s_process_steps.xml',
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_references_social" inherit_id="website.s_references_social">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc2" remove="o_cc1" separator=" "/>
</xpath>
</template>
</odoo>
+1
View File
@@ -23,6 +23,7 @@
'views/snippets/s_media_list.xml',
'views/snippets/s_freegrid.xml',
'views/snippets/s_references.xml',
'views/snippets/s_references_social.xml',
'views/snippets/s_motto.xml',
'views/snippets/s_color_blocks_2.xml',
'views/snippets/s_features_wall.xml',
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_references_social" inherit_id="website.s_references_social">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc2" remove="o_cc1" separator=" "/>
</xpath>
</template>
</odoo>
+1
View File
@@ -26,6 +26,7 @@
'views/snippets/s_parallax.xml',
'views/snippets/s_pricelist_boxed.xml',
'views/snippets/s_references.xml',
'views/snippets/s_references_social.xml',
'views/snippets/s_text_block.xml',
'views/snippets/s_text_image.xml',
'views/snippets/s_three_columns.xml',
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_references_social" inherit_id="website.s_references_social">
<!-- Section -->
<xpath expr="//div[hasclass('row')]/div[2]/h3" position="replace" mode="inner">
Barbershop
</xpath>
<xpath expr="//div[hasclass('row')]/div[3]/h3" position="replace" mode="inner">
Oceandor
</xpath>
<xpath expr="//div[hasclass('row')]/div[4]/h3" position="replace" mode="inner">
Mountain
</xpath>
<xpath expr="//div[hasclass('row')]/div[5]/h3" position="replace" mode="inner">
Hosoren
</xpath>
</template>
</odoo>
+1
View File
@@ -20,6 +20,7 @@
'views/snippets/s_text_image.xml',
'views/snippets/s_company_team.xml',
'views/snippets/s_references.xml',
'views/snippets/s_references_social.xml',
'views/snippets/s_freegrid.xml',
'views/snippets/s_cover.xml',
'views/snippets/s_card_offset.xml',
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_references_social" inherit_id="website.s_references_social">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="pt0 pb56 o_cc2" remove="pt64 pb64 o_cc1" separator=" "/>
</xpath>
<!-- Remove title, subtitle -->
<xpath expr="//div[hasclass('row')]/div" position="replace"/>
</template>
</odoo>
+1
View File
@@ -24,6 +24,7 @@
'views/snippets/s_media_list.xml',
'views/snippets/s_numbers.xml',
'views/snippets/s_references.xml',
'views/snippets/s_references_social.xml',
'views/snippets/s_image_text.xml',
'views/snippets/s_key_images.xml',
'views/snippets/s_three_columns.xml',
@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_references_social" inherit_id="website.s_references_social">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc2" remove="o_cc1" separator=" "/>
</xpath>
<!-- Column #01 -->
<xpath expr="//div[hasclass('row')]/div[2]" position="attributes">
<attribute name="class" add="o_cc o_cc1" separator=" "/>
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=" "/>
</xpath>
<!-- Column #02 -->
<xpath expr="//div[hasclass('row')]/div[3]" position="attributes">
<attribute name="class" add="o_cc o_cc1" separator=" "/>
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=" "/>
</xpath>
<!-- Column #03 -->
<xpath expr="//div[hasclass('row')]/div[4]" position="attributes">
<attribute name="class" add="o_cc o_cc1" separator=" "/>
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=" "/>
</xpath>
<!-- Column #04 -->
<xpath expr="//div[hasclass('row')]/div[5]" position="attributes">
<attribute name="class" add="o_cc o_cc1" separator=" "/>
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=" "/>
</xpath>
</template>
</odoo>