mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_*: adapt s_wavy_grid
This commit adapts customizations for `s_wavy_grid`, added in https://github.com/odoo/odoo/pull/177620 task-4105125 Part of task-4077427 Part-of: odoo/design-themes#919 Related: odoo/odoo#180736 Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com> Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
@@ -48,6 +48,7 @@
|
||||
'views/snippets/s_intro_pill.xml',
|
||||
'views/snippets/s_big_number.xml',
|
||||
'views/snippets/s_image_frame.xml',
|
||||
'views/snippets/s_wavy_grid.xml',
|
||||
'views/new_page_template.xml',
|
||||
],
|
||||
'images': [
|
||||
|
||||
@@ -323,5 +323,25 @@ Check in theme_loftspace's primary_variables.scss and theme.scss -->
|
||||
<field name="name">website.s_intro_pill_default_image_2</field>
|
||||
<field name="url">/theme_bookstore/static/src/img/snippets/s_intro_pill_default_image_2.jpg</field>
|
||||
</record>
|
||||
<record id="s_wavy_grid_default_image_1" model="theme.ir.attachment">
|
||||
<field name="key">website.s_wavy_grid_default_image_1</field>
|
||||
<field name="name">website.s_wavy_grid_default_image_1</field>
|
||||
<field name="url">/theme_bookstore/static/src/img/snippets/s_masonry_block.jpg</field>
|
||||
</record>
|
||||
<record id="s_wavy_grid_default_image_2" model="theme.ir.attachment">
|
||||
<field name="key">website.s_wavy_grid_default_image_2</field>
|
||||
<field name="name">website.s_wavy_grid_default_image_2</field>
|
||||
<field name="url">/theme_bookstore/static/src/img/snippets/s_parallax.jpg</field>
|
||||
</record>
|
||||
<record id="s_wavy_grid_default_image_3" model="theme.ir.attachment">
|
||||
<field name="key">website.s_wavy_grid_default_image_3</field>
|
||||
<field name="name">website.s_wavy_grid_default_image_3</field>
|
||||
<field name="url">/theme_bookstore/static/src/img/snippets/s_cover.jpg</field>
|
||||
</record>
|
||||
<record id="s_wavy_grid_default_image_4" model="theme.ir.attachment">
|
||||
<field name="key">website.s_wavy_grid_default_image_4</field>
|
||||
<field name="name">website.s_wavy_grid_default_image_4</field>
|
||||
<field name="url">/theme_bookstore/static/src/img/snippets/s_unveil_5.jpg</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
|
||||
@@ -0,0 +1,55 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_wavy_grid" inherit_id="website.s_wavy_grid">
|
||||
<!-- Layout -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="data-oe-shape-data">{"shape":"web_editor/Blobs/09","flip":[],"showOnMobile":false,"shapeAnimationSpeed":"0"}</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('o_we_shape')]" position="replace">
|
||||
<div class="o_we_shape o_web_editor_Blobs_09"/>
|
||||
</xpath>
|
||||
<xpath expr="//h3" position="attributes">
|
||||
<attribute name="class" add="h4-fs" remove="h5-fs"/>
|
||||
</xpath>
|
||||
<xpath expr="(//h3)[2]" position="attributes">
|
||||
<attribute name="class" add="h4-fs" remove="h5-fs"/>
|
||||
</xpath>
|
||||
<xpath expr="(//h3)[3]" position="attributes">
|
||||
<attribute name="class" add="h4-fs" remove="h5-fs"/>
|
||||
</xpath>
|
||||
<xpath expr="(//h3)[4]" position="attributes">
|
||||
<attribute name="class" add="h4-fs" remove="h5-fs"/>
|
||||
</xpath>
|
||||
|
||||
<!-- Texts -->
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
What we offer to our readers
|
||||
</xpath>
|
||||
<xpath expr="//h3" position="replace" mode="inner">
|
||||
Curated Collections
|
||||
</xpath>
|
||||
<xpath expr="//p" position="replace" mode="inner">
|
||||
We provide handpicked selections to suit your literary tastes. Our team helps you discover the perfect books from cover to cover.
|
||||
</xpath>
|
||||
<xpath expr="(//h3)[2]" position="replace" mode="inner">
|
||||
Eco-Friendly Reads
|
||||
</xpath>
|
||||
<xpath expr="(//p)[2]" position="replace" mode="inner">
|
||||
Your satisfaction is our mission. Our staff is always ready to assist, ensuring a delightful and fulfilling reading experience.
|
||||
</xpath>
|
||||
<xpath expr="(//h3)[3]" position="replace" mode="inner">
|
||||
Quality and Selection
|
||||
</xpath>
|
||||
<xpath expr="(//p)[3]" position="replace" mode="inner">
|
||||
With extensive knowledge and passion for literature, we offer insights and recommendations that keep you engaged and inspired.
|
||||
</xpath>
|
||||
<xpath expr="(//h3)[4]" position="replace" mode="inner">
|
||||
Expertise and Passion
|
||||
</xpath>
|
||||
<xpath expr="(//p)[4]" position="replace" mode="inner">
|
||||
We bring you the latest titles and timeless classics. Leveraging our literary expertise, we help you find your next great read.
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user