[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:
committed by
Soukéina Bojabza
parent
7e7ca555f3
commit
4492c5dfa6
@@ -2,13 +2,15 @@
|
||||
<odoo>
|
||||
|
||||
<template id="s_masonry_block_default_template" inherit_id="website.s_masonry_block_default_template">
|
||||
<!-- Image -->
|
||||
<xpath expr="//div[hasclass('col-lg-5')]" position="attributes">
|
||||
<attribute name="class" add="rounded" remove="rounded-4" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Little block #1 -->
|
||||
<!-- Main div -->
|
||||
<xpath expr="//div[hasclass('col-lg-4')]" position="attributes">
|
||||
<attribute name="data-oe-shape-data">{"shape":"web_editor/Rainy/10","flip":[]}</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('col-lg-4')]/h3" position="before">
|
||||
<div class="o_we_shape o_web_editor_Rainy_10"/>
|
||||
<attribute name="class" add="rounded" remove="rounded-4" separator=" "/>
|
||||
<attribute name="style" remove="background-image: linear-gradient(135deg, var(--o-color-4) -400%, var(--o-color-2) 100%);" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="//div[hasclass('col-lg-4')]/h3" position="replace" mode="inner">
|
||||
@@ -22,10 +24,8 @@
|
||||
<!-- Little block #2 -->
|
||||
<!-- Main div -->
|
||||
<xpath expr="//div[hasclass('col-lg-4')][2]" position="attributes">
|
||||
<attribute name="data-oe-shape-data">{"shape":"web_editor/Airy/02","flip":[]}</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('col-lg-4')][2]/h3" position="before">
|
||||
<div class="o_we_shape o_web_editor_Airy_02"/>
|
||||
<attribute name="class" add="rounded" remove="rounded-4" separator=" "/>
|
||||
<attribute name="style" remove="background-image: linear-gradient(135deg, var(--o-color-4) -400%, var(--o-color-1) 100%);" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="//div[hasclass('col-lg-4')][2]/h3" position="replace" mode="inner">
|
||||
@@ -39,10 +39,7 @@
|
||||
<!-- Little block #3 -->
|
||||
<!-- Main div -->
|
||||
<xpath expr="//div[hasclass('col-lg-3')]" position="attributes">
|
||||
<attribute name="data-oe-shape-data">{"shape":"web_editor/Rainy/04","flip":[]}</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('col-lg-3')]/h3" position="before">
|
||||
<div class="o_we_shape o_web_editor_Rainy_04"/>
|
||||
<attribute name="class" add="rounded" remove="rounded-4" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="//div[hasclass('col-lg-3')]/h3" position="replace" mode="inner">
|
||||
@@ -56,10 +53,7 @@
|
||||
<!-- Little block #4 -->
|
||||
<!-- Main div -->
|
||||
<xpath expr="//div[hasclass('col-lg-3')][2]" position="attributes">
|
||||
<attribute name="data-oe-shape-data">{"shape":"web_editor/Wavy/26","flip":[]}</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('col-lg-3')][2]/h3" position="before">
|
||||
<div class="o_we_shape o_web_editor_Wavy_26"/>
|
||||
<attribute name="class" add="rounded" remove="rounded-4" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="//div[hasclass('col-lg-3')][2]/h3" position="replace" mode="inner">
|
||||
|
||||
Reference in New Issue
Block a user