mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[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:
@@ -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&c4=o-color-5&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>
|
||||
|
||||
Reference in New Issue
Block a user