mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_*: adapt s_references_grid
task-4146798 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:
@@ -27,6 +27,7 @@
|
||||
'views/snippets/s_sidegrid.xml',
|
||||
'views/snippets/s_references.xml',
|
||||
'views/snippets/s_references_social.xml',
|
||||
'views/snippets/s_references_grid.xml',
|
||||
'views/snippets/s_call_to_action.xml',
|
||||
'views/snippets/s_comparisons.xml',
|
||||
'views/snippets/s_freegrid.xml',
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_references_grid" inherit_id="website.s_references_grid">
|
||||
<!-- 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>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
@@ -38,6 +38,7 @@
|
||||
'views/snippets/s_tabs.xml',
|
||||
'views/snippets/s_references.xml',
|
||||
'views/snippets/s_references_social.xml',
|
||||
'views/snippets/s_references_grid.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_grid" inherit_id="website.s_references_grid">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_cc2" remove="o_cc1" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
@@ -24,6 +24,7 @@
|
||||
'views/snippets/s_freegrid.xml',
|
||||
'views/snippets/s_references.xml',
|
||||
'views/snippets/s_references_social.xml',
|
||||
'views/snippets/s_references_grid.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_grid" inherit_id="website.s_references_grid">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_cc2" remove="o_cc1" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
@@ -27,6 +27,7 @@
|
||||
'views/snippets/s_pricelist_boxed.xml',
|
||||
'views/snippets/s_references.xml',
|
||||
'views/snippets/s_references_social.xml',
|
||||
'views/snippets/s_references_grid.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_grid" inherit_id="website.s_references_grid">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_cc2" remove="o_cc1" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Row -->
|
||||
<xpath expr="//div[hasclass('o_grid_mode')]" position="attributes">
|
||||
<attribute name="style">row-gap: 64px;</attribute>
|
||||
</xpath>
|
||||
<!-- Title & Lead -->
|
||||
<xpath expr="//div[hasclass('o_grid_mode')]/div[1]" position="attributes">
|
||||
<attribute name="class" add="g-height-2" remove="g-height-4" separator=" "/>
|
||||
<attribute name="style">grid-area: 2 / 1 / 4 / 6; z-index: 1;</attribute>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
@@ -21,6 +21,7 @@
|
||||
'views/snippets/s_company_team.xml',
|
||||
'views/snippets/s_references.xml',
|
||||
'views/snippets/s_references_social.xml',
|
||||
'views/snippets/s_references_grid.xml',
|
||||
'views/snippets/s_freegrid.xml',
|
||||
'views/snippets/s_cover.xml',
|
||||
'views/snippets/s_card_offset.xml',
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_references" inherit_id="website.s_references">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_cc2" remove="o_cc1" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
@@ -25,6 +25,7 @@
|
||||
'views/snippets/s_numbers.xml',
|
||||
'views/snippets/s_references.xml',
|
||||
'views/snippets/s_references_social.xml',
|
||||
'views/snippets/s_references_grid.xml',
|
||||
'views/snippets/s_image_text.xml',
|
||||
'views/snippets/s_key_images.xml',
|
||||
'views/snippets/s_three_columns.xml',
|
||||
|
||||
@@ -0,0 +1,49 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_references_grid" inherit_id="website.s_references_grid">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_cc2" remove="o_cc1" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Grid gap -->
|
||||
<xpath expr="//div[hasclass('o_grid_mode')]" position="attributes">
|
||||
<attribute name="style" add="gap: 8px;" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
Our <strong>References</strong>
|
||||
</xpath>
|
||||
<!-- Column #01 -->
|
||||
<xpath expr="//div[hasclass('col-lg-2')][1]" 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 2px 0px !important;" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Column #02 -->
|
||||
<xpath expr="//div[hasclass('col-lg-2')][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 2px 0px !important;" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Column #03 -->
|
||||
<xpath expr="//div[hasclass('col-lg-2')][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 2px 0px !important;" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Column #04 -->
|
||||
<xpath expr="//div[hasclass('col-lg-2')][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 2px 0px !important;" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Column #05 -->
|
||||
<xpath expr="//div[hasclass('col-lg-2')][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 2px 0px !important;" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Column #06 -->
|
||||
<xpath expr="//div[hasclass('col-lg-2')][6]" 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 2px 0px !important;" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user