[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
+28 -22
View File
@@ -1,25 +1,31 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_picture" inherit_id="website.s_picture">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="pt80 pb32" remove="pt48 pb24" separator=" "/>
</xpath>
<!-- Size -->
<xpath expr="//div[hasclass('col-lg-10')]" position="attributes">
<attribute name="class" add="col-lg-8 offset-lg-2" remove="col-lg-10 offset-lg-1" separator=" "/>
</xpath>
<!-- Title -->
<xpath expr="//h2" position="replace">
<h2 style="text-align: center;">Today's special</h2>
</xpath>
<!-- Text -->
<xpath expr="//p" position="replace">
<p style="text-align: center;">Taste our chef special, the macon two shells of almond macaroon<br/> topped with a creamy orange blossom scent.</p>
</xpath>
<!-- Caption -->
<xpath expr="//figcaption" position="replace">
<figcaption class="figure-caption text-muted py-3">The perfect dessert to share for the table.</figcaption>
</xpath>
</template>
<template id="s_picture" inherit_id="website.s_picture">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc3 pt64" remove="o_cc2 pt48 pb24" separator=" "/>
<attribute name="data-oe-shape-data">{"shape":"web_editor/Origins/04_001"}</attribute>
</xpath>
<xpath expr="//div[hasclass('container')]" position="before">
<div class="o_we_shape o_web_editor_Origins_04_001"/>
</xpath>
<!-- Size -->
<xpath expr="//div[hasclass('col-lg-10')]" position="attributes">
<attribute name="class" add="col-lg-8 offset-lg-2" remove="col-lg-10 offset-lg-1" separator=" "/>
</xpath>
<!-- Title -->
<xpath expr="//h2" position="replace" mode="inner">
Today's special
</xpath>
<!-- Text -->
<xpath expr="//p" position="replace" mode="inner">
Taste our chef special, the macon two shells of almond macaroon<br/> topped with a creamy orange blossom scent.
</xpath>
<!-- Caption -->
<xpath expr="//figcaption" position="replace" mode="inner">
The perfect dessert to share for the table.
</xpath>
</template>
</odoo>