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,31 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<template id="s_carousel" inherit_id="website.s_carousel">
|
||||
<!-- Carousel -->
|
||||
<xpath expr="//div[hasclass('s_carousel')]" position="attributes">
|
||||
<attribute name="class" add="s_carousel_bordered carousel-fade" remove="s_carousel_default" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Slide #01 -->
|
||||
<xpath expr="//div[hasclass('carousel-item')][1]" position="attributes">
|
||||
<attribute name="class" remove="pt152 pb152" separator=" "/>
|
||||
<attribute name="style" add="background-position: 50% 50%;" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('carousel-item')][1]//div[hasclass('carousel-content')]" position="attributes">
|
||||
<attribute name="class" add="col-lg-8 offset-lg-2 bg-white-50 pt200 pb192 text-center" remove="col-lg-6" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('carousel-item')][1]//h2" position="replace">
|
||||
<h2><font style="font-size: 48px;">Creative Studio</font></h2>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('carousel-item')][1]//p" position="replace">
|
||||
<p class="lead">We combine smart design with rich technology <br/>to craft innovative products.</p>
|
||||
</xpath>
|
||||
<!-- Slide #02 -->
|
||||
<xpath expr="//div[hasclass('carousel-item')][2]//div[hasclass('carousel-content')]" position="attributes">
|
||||
<attribute name="class" add="bg-white-50" remove="bg-black-50" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('carousel-item')][2]//div[hasclass('s_hr')]" position="replace"/>
|
||||
<!-- Slide #03 -->
|
||||
<xpath expr="//div[hasclass('carousel-item')][3]" position="replace"/>
|
||||
<xpath expr="//*[@data-slide-to='2']" position="replace"/>
|
||||
</template>
|
||||
|
||||
<template id="s_carousel" inherit_id="website.s_carousel">
|
||||
<!-- Carousel -->
|
||||
<xpath expr="//*[hasclass('s_carousel')]" position="attributes">
|
||||
<attribute name="class" add="s_carousel_bordered carousel-fade bg-o-color-4" remove="s_carousel_default" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Slide #01 -->
|
||||
<xpath expr="//*[hasclass('carousel-content')][1]" position="attributes">
|
||||
<attribute name="class" add="col-lg-8 offset-lg-2 bg-black-50 text-center pt48 pb40" remove="col-lg-6" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Slide #02 -->
|
||||
<xpath expr="//*[hasclass('s_hr')][1]" position="replace"/>
|
||||
<!-- Slide #03 -->
|
||||
<xpath expr="//*[hasclass('carousel-item')][3]" position="replace"/>
|
||||
<xpath expr="//*[@data-slide-to='2']" position="replace"/>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
|
||||
Reference in New Issue
Block a user