[IMP] theme_bookstore: improve the theme

Revamp of `theme_bookstore`.

task-4109584

closes odoo/design-themes#862

Related: odoo/odoo#176503
Signed-off-by: Soukéina Bojabza (sobo) <sobo@odoo.com>
This commit is contained in:
Antoine (anso)
2024-08-12 11:57:54 +02:00
committed by Soukéina Bojabza
parent 7e7ca555f3
commit 4492c5dfa6
15 changed files with 85 additions and 80 deletions
@@ -6,11 +6,6 @@
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc o_cc2 pt112 pb112" remove="pt80 pb80" separator=" "/>
</xpath>
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="style" add="padding: 32px !important;" separator=";"/>
<attribute name="src">/web_editor/shape/theme_bookstore/s_image_text.svg?c1=o-color-1</attribute>
</xpath>
<!-- Title -->
<xpath expr="//h2" position="replace" mode="inner">
Once upon a time...
@@ -25,15 +20,4 @@
</xpath>
</template>
<template id="configurator_s_image_text" inherit_id="website.configurator_s_image_text">
<!-- Shape option -->
<xpath expr="//section" position="attributes">
<attribute name="data-oe-shape-data">{"shape":"web_editor/Wavy/20","flip":[]}</attribute>
</xpath>
<!-- Shape -->
<xpath expr="//div[hasclass('container')]" position="before">
<div class="o_we_shape o_web_editor_Wavy_20"/>
</xpath>
</template>
</odoo>