mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_nano: update the theme
This commit updates the theme to improve the design with new colors, new pictures and new snippet customizations. task-2590182 Part-of: odoo/design-themes#500
This commit is contained in:
@@ -1,28 +1,50 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<template id="s_three_columns" inherit_id="website.s_three_columns">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="pt80 pb80" remove="pt32 pb32" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Column #01 -->
|
||||
<xpath expr="//div[hasclass('row')]/div[1]" position="attributes">
|
||||
<attribute name="class" add="offset-lg-2" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('row')]/div[1]//*[hasclass('card-title')]" position="replace">
|
||||
<h4 class="card-title">Handcrafted</h4>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('row')]/div[1]//*[hasclass('card-text')]" position="replace">
|
||||
<p class="card-text">People should love the things they own. Things should be built to last.</p>
|
||||
</xpath>
|
||||
<!-- Column #02 -->
|
||||
<xpath expr="//div[hasclass('row')]/div[2]//*[hasclass('card-title')]" position="replace">
|
||||
<h4 class="card-title">Tailored</h4>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('row')]/div[2]//*[hasclass('card-text')]" position="replace">
|
||||
<p class="card-text">Made in Santa's Workshop. High quality fabric & exclusive designs.</p>
|
||||
</xpath>
|
||||
<!-- Column #03 -->
|
||||
<xpath expr="//div[hasclass('row')]/div[3]" position="replace"/>
|
||||
</template>
|
||||
|
||||
<template id="s_three_columns" inherit_id="website.s_three_columns">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_cc5 pt64 pb64" remove="o_cc2 pt32 pb32" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//*[hasclass('container')]" position="attributes">
|
||||
<attribute name="class" add="container-fluid px-0" remove="container" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Column #01 -->
|
||||
<xpath expr="//*[hasclass('card-title')]" position="replace" mode="inner">
|
||||
Handcrafted
|
||||
</xpath>
|
||||
<xpath expr="//*[hasclass('card-text')]" position="replace" mode="inner">
|
||||
People should love the things they own. Things should be built to last.
|
||||
</xpath>
|
||||
<xpath expr="//*[hasclass('card-body')]" position="after">
|
||||
<div class="card-footer">
|
||||
<a href="#" class="btn btn-secondary">Details</a>
|
||||
</div>
|
||||
</xpath>
|
||||
<!-- Column #02 -->
|
||||
<xpath expr="(//*[hasclass('card-title')])[2]" position="replace" mode="inner">
|
||||
Tailored
|
||||
</xpath>
|
||||
<xpath expr="(//*[hasclass('card-text')])[2]" position="replace" mode="inner">
|
||||
Made in Santa's Workshop. High quality fabric & exclusive designs.
|
||||
</xpath>
|
||||
<xpath expr="(//*[hasclass('card-body')])[2]" position="after">
|
||||
<div class="card-footer">
|
||||
<a href="#" class="btn btn-secondary">Details</a>
|
||||
</div>
|
||||
</xpath>
|
||||
<!-- Column #03 -->
|
||||
<xpath expr="(//*[hasclass('card-title')])[3]" position="replace" mode="inner">
|
||||
Innovative
|
||||
</xpath>
|
||||
<xpath expr="(//*[hasclass('card-text')])[3]" position="replace" mode="inner">
|
||||
Transforming traditional crafts — with a shot of modern savvy!
|
||||
</xpath>
|
||||
<xpath expr="(//*[hasclass('card-body')])[3]" position="after">
|
||||
<div class="card-footer">
|
||||
<a href="#" class="btn btn-secondary">Details</a>
|
||||
</div>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
|
||||
Reference in New Issue
Block a user