[IMP] theme_bistro: update the theme

This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.

task-2545200

X-original-commit: ac1f140172
Part-of: odoo/design-themes#501
This commit is contained in:
Cocographique
2021-06-29 08:48:44 +00:00
committed by qsm-odoo
parent 998e2ea3d7
commit 6579f2ebc2
23 changed files with 695 additions and 468 deletions
@@ -1,39 +1,45 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_quotes_carousel" inherit_id="website.s_quotes_carousel">
<!-- Carousel -->
<xpath expr="//div[hasclass('s_quotes_carousel')]" position="attributes">
<attribute name="class" add="s_carousel_rounded" remove="s_carousel_default" separator=" "/>
</xpath>
<!-- Slide #01 -->
<xpath expr="//div[hasclass('carousel-item')][1]" position="attributes">
<attribute name="class" remove="bg-200" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('carousel-item')][1]//blockquote" position="attributes">
<attribute name="class" add="mx-auto" remove="mr-auto" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('carousel-item')][1]//blockquote//p" position="replace">
<p class="small">Cosy and friendly, good atmosphere and super food. Especially the spiced fruit crumble.</p>
</xpath>
<!-- Slide #02 -->
<xpath expr="//div[hasclass('carousel-item')][2]" position="attributes">
<attribute name="style">background-image: none;</attribute>
</xpath>
<xpath expr="//div[hasclass('carousel-item')][2]//blockquote" position="attributes">
<attribute name="class" add="mx-auto" remove="mr-auto" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('carousel-item')][2]//blockquote//p" position="replace">
<p class="small">This place is perfect for groups or a casual date night.</p>
</xpath>
<!-- Slide #03 -->
<xpath expr="//div[hasclass('carousel-item')][3]" position="attributes">
<attribute name="style">background-image: none;</attribute>
</xpath>
<xpath expr="//div[hasclass('carousel-item')][3]//blockquote" position="attributes">
<attribute name="class" add="mx-auto" remove="ml-auto" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('carousel-item')][3]//blockquote//p" position="replace">
<p class="small">A truly exquisite dining experience. I highly recommend the Mustard Sauce, out of this world.</p>
</xpath>
</template>
<template id="s_quotes_carousel" inherit_id="website.s_quotes_carousel">
<!-- Carousel -->
<xpath expr="//*[hasclass('s_quotes_carousel')]" position="attributes">
<attribute name="class" add="s_carousel_rounded oe_img_bg o_bg_img_center" remove="s_carousel_default o_cc o_cc2" separator=" "/>
<attribute name="style">background-image: url('/web/image/website.s_quotes_carousel_demo_image_1');</attribute>
</xpath>
<!-- Slide #01 -->
<xpath expr="//*[hasclass('carousel-item')][1]" position="attributes">
<attribute name="class" add="pt120 pb120" remove="pt80 pb80" separator=" "/>
<attribute name="style">background-image: none;</attribute>
</xpath>
<xpath expr="//blockquote[1]" position="attributes">
<attribute name="class" add="mx-auto" remove="mr-auto" separator=" "/>
</xpath>
<xpath expr="//p[1]" position="replace" mode="inner">
Cosy and friendly, good atmosphere and super food. Especially the spiced fruit crumble.
</xpath>
<!-- Slide #02 -->
<xpath expr="//*[hasclass('carousel-item')][2]" position="attributes">
<attribute name="class" add="pt120 pb120" remove="pt80 pb80" separator=" "/>
<attribute name="style">background-image: none;</attribute>
</xpath>
<xpath expr="(//blockquote)[2]" position="attributes">
<attribute name="class" add="mx-auto" remove="mr-auto" separator=" "/>
</xpath>
<xpath expr="(//p)[2]" position="replace" mode="inner">
This place is perfect for groups or a casual date night.
</xpath>
<!-- Slide #03 -->
<xpath expr="//*[hasclass('carousel-item')][3]" position="attributes">
<attribute name="class" add="pt120 pb120" remove="pt80 pb80" separator=" "/>
<attribute name="style">background-image: none;</attribute>
</xpath>
<xpath expr="(//blockquote)[3]" position="attributes">
<attribute name="class" add="mx-auto" remove="ml-auto" separator=" "/>
</xpath>
<xpath expr="(//p)[3]" position="replace" mode="inner">
A truly exquisite dining experience. I highly recommend the Mustard Sauce, out of this world.
</xpath>
</template>
</odoo>