Files
design-themes/theme_bistro/views/snippets/s_picture.xml
T
Cocographique ac1f140172 [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

Part-of: odoo/design-themes#500
2021-09-24 04:52:25 +00:00

32 lines
1.2 KiB
XML

<?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="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>