[IMP] theme_bookstore: revamp the theme

task-4178030

Part-of: odoo/design-themes#969
Related: odoo/odoo#182029
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
Antoine (anso)
2024-09-19 15:01:01 +02:00
committed by qsm-odoo
parent f06ffd5c26
commit 563bce5b46
22 changed files with 365 additions and 419 deletions
+10 -1
View File
@@ -4,7 +4,12 @@
<template id="s_showcase" inherit_id="website.s_showcase">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="pt80 pb80" remove="pt48 pb48" separator=" "/>
<attribute name="class" add="pt128 pb128 o_cc o_cc5" remove="pt48 pb48" separator=" "/>
<attribute name="data-oe-shape-data">{'shape':'web_editor/Origins/11_001', 'colors':{'c3':'o-color-4','c4':'o-color-5'}, 'flip':['y']}</attribute>
</xpath>
<!-- Shape -->
<xpath expr="//div[hasclass('container')]" position="before">
<div class="o_we_shape o_web_editor_Origins_11_001" style="background-image: url('/web_editor/shape/web_editor/Origins/11_001.svg?c3=o-color-4&amp;c4=o-color-5&amp;flip=y'); background-position: 0% 100%;"/>
</xpath>
<!-- Title -->
<xpath expr="//h3" position="replace" mode="inner">
@@ -33,6 +38,10 @@
<xpath expr="//div[hasclass('col-12')][4]//p" position="replace" mode="inner">
Discover rare and unique books waiting to be found. Unearth hidden gems in our collection.
</xpath>
<!-- Link -->
<xpath expr="//a" position="replace" mode="inner">
Discover the books
</xpath>
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="src">/web/image/website.s_three_columns_default_image_1</attribute>