[IMP] theme_bookstore, *: adapt to new s_masonry_block design
*: theme_notes, theme_real_estate, theme_yes, theme_zap, theme_vehicle Along with xPath adaptations, this commit also replaces a pixelated image in the 'theme_yes'. task-3665303 part of task-3619705 closes odoo/design-themes#839 Related: odoo/odoo#173870 Signed-off-by: Soukéina Bojabza (sobo) <sobo@odoo.com>
This commit is contained in:
@@ -4,70 +4,69 @@
|
||||
<template id="s_masonry_block_default_template" inherit_id="website.s_masonry_block_default_template">
|
||||
<!-- Little block #1 -->
|
||||
<!-- Main div -->
|
||||
<xpath expr="//div[hasclass('col-lg-3')]" position="attributes">
|
||||
<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-3')]/h3" position="before">
|
||||
<xpath expr="//div[hasclass('col-lg-4')]/h3" position="before">
|
||||
<div class="o_we_shape o_web_editor_Rainy_10"/>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="//div[hasclass('col-lg-3')]/h3" position="replace" mode="inner">
|
||||
<xpath expr="//div[hasclass('col-lg-4')]/h3" position="replace" mode="inner">
|
||||
Science fiction
|
||||
</xpath>
|
||||
<!-- Paragraph -->
|
||||
<xpath expr="//div[hasclass('col-lg-3')]/p" position="replace" mode="inner">
|
||||
<xpath expr="//div[hasclass('col-lg-4')]/p" position="replace" mode="inner">
|
||||
Discover unknown universes
|
||||
</xpath>
|
||||
|
||||
<!-- Little block #2 -->
|
||||
<!-- Main div -->
|
||||
<xpath expr="//div[hasclass('col-lg-3')][2]" position="attributes">
|
||||
<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-3')][2]/h3" position="before">
|
||||
<xpath expr="//div[hasclass('col-lg-4')][2]/h3" position="before">
|
||||
<div class="o_we_shape o_web_editor_Airy_02"/>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="//div[hasclass('col-lg-3')][2]/h3" position="replace" mode="inner">
|
||||
<xpath expr="//div[hasclass('col-lg-4')][2]/h3" position="replace" mode="inner">
|
||||
Biographies
|
||||
</xpath>
|
||||
<!-- Paragraph -->
|
||||
<xpath expr="//div[hasclass('col-lg-3')][2]/p" position="replace" mode="inner">
|
||||
<xpath expr="//div[hasclass('col-lg-4')][2]/p" position="replace" mode="inner">
|
||||
Meet great people
|
||||
</xpath>
|
||||
|
||||
<!-- Little block #3 -->
|
||||
<!-- Main div -->
|
||||
<xpath expr="//div[hasclass('col-lg-3')][3]" position="attributes">
|
||||
<attribute name="class" add="o_cc5" remove="bg-200 o_cc4" separator=" "/>
|
||||
<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')][3]/h3" position="before">
|
||||
<xpath expr="//div[hasclass('col-lg-3')]/h3" position="before">
|
||||
<div class="o_we_shape o_web_editor_Rainy_04"/>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="//div[hasclass('col-lg-3')][3]/h3" position="replace" mode="inner">
|
||||
<xpath expr="//div[hasclass('col-lg-3')]/h3" position="replace" mode="inner">
|
||||
Horror
|
||||
</xpath>
|
||||
<!-- Paragraph -->
|
||||
<xpath expr="//div[hasclass('col-lg-3')][3]/p" position="replace" mode="inner">
|
||||
<xpath expr="//div[hasclass('col-lg-3')]/p" position="replace" mode="inner">
|
||||
Enjoy your fears
|
||||
</xpath>
|
||||
|
||||
<!-- Little block #4 -->
|
||||
<!-- Main div -->
|
||||
<xpath expr="//div[hasclass('col-lg-3')][4]" position="attributes">
|
||||
<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')][4]/h3" position="before">
|
||||
<xpath expr="//div[hasclass('col-lg-3')][2]/h3" position="before">
|
||||
<div class="o_we_shape o_web_editor_Wavy_26"/>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="//div[hasclass('col-lg-3')][4]/h3" position="replace" mode="inner">
|
||||
<xpath expr="//div[hasclass('col-lg-3')][2]/h3" position="replace" mode="inner">
|
||||
Romance
|
||||
</xpath>
|
||||
<!-- Paragraph -->
|
||||
<xpath expr="//div[hasclass('col-lg-3')][4]/p" position="replace" mode="inner">
|
||||
<xpath expr="//div[hasclass('col-lg-3')][2]/p" position="replace" mode="inner">
|
||||
Read the best love stories
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user