[IMP] theme_bookstore: update the theme

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

task-2557935

X-original-commit: 1f632d8dd7
Part-of: odoo/design-themes#501
This commit is contained in:
Brieuc-brd
2021-06-16 13:39:59 +00:00
committed by qsm-odoo
parent ca9fc651a2
commit bea6e96b91
43 changed files with 786 additions and 401 deletions
@@ -1,42 +1,32 @@
<?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="o_cc1" remove="o_cc2" separator=" "/>
</xpath>
<!-- Column 1 -->
<xpath expr="//div[hasclass('card')]" position="attributes">
<attribute name="class" add="border rounded shadow" separator=" "/>
<attribute name="style" add="border-width: 10px !important; border-color: rgb(36, 35, 39) !important; border-radius: 0px !important; box-shadow: rgb(36, 35, 39) 0px 0px 25px 0px !important;" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('card-body')]" position="replace">
<div class="card-body">
<h3 class="card-title">A Belgian Story</h3>
<p class="card-text">Discover the history of Belgium in this well-documented book with many illustrations and testimonials.</p>
</div>
</xpath>
<!-- Column 2 -->
<xpath expr="(//div[hasclass('card')])[2]" position="attributes">
<attribute name="class" add="border rounded shadow" separator=" "/>
<attribute name="style" add="border-width: 10px !important; border-color: rgb(36, 35, 39) !important; border-radius: 0px !important; box-shadow: rgb(36, 35, 39) 0px 0px 25px 0px !important;" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('card-body')])[2]" position="replace">
<div class="card-body">
<h3 class="card-title">At the Mars conquest</h3>
<p class="card-text">Learn about the difficulties encountered by NASA engineers in sending the first men to Mars.</p>
</div>
</xpath>
<!-- Column 3 -->
<xpath expr="(//div[hasclass('card')])[3]" position="attributes">
<attribute name="class" add="border rounded shadow" separator=" "/>
<attribute name="style" add="border-width: 10px !important; border-color: rgb(36, 35, 39) !important; border-radius: 0px !important; box-shadow: rgb(36, 35, 39) 0px 0px 25px 0px !important;" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('card-body')])[3]" position="replace">
<div class="card-body">
<h3 class="card-title">Re-edition</h3>
<p class="card-text">The first re-edition of this Latin dictionary, from 1460. Printed originally on the Gutenberg press.</p>
</div>
</xpath>
</template>
<template id="s_three_columns" inherit_id="website.s_three_columns">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc1" remove="o_cc2" separator=" "/>
</xpath>
<!-- Column #1 -->
<xpath expr="//h3" position="replace" mode="inner">
A Belgian Story
</xpath>
<xpath expr="//p[hasclass('card-text')]" position="replace" mode="inner">
Discover the history of Belgium in this well-documented book with many illustrations and testimonials.
</xpath>
<!-- Column #2 -->
<xpath expr="(//h3)[2]" position="replace" mode="inner">
At the Mars conquest
</xpath>
<xpath expr="(//p[hasclass('card-text')])[2]" position="replace" mode="inner">
Learn about the difficulties encountered by NASA engineers in sending the first men to Mars.
</xpath>
<!-- Column #3 -->
<xpath expr="(//h3)[3]" position="replace" mode="inner">
Re-edition
</xpath>
<xpath expr="(//p[hasclass('card-text')])[3]" position="replace" mode="inner">
The first re-edition of this Latin dictionary, from 1460. Printed originally on the Gutenberg press.
</xpath>
</template>
</odoo>