[IMP] theme_beauty: revamp the theme

task-4178019
Part of task-4177975

Part-of: odoo/design-themes#919
Related: odoo/odoo#180736
Signed-off-by: Serge Bayet (seba) <seba@odoo.com>
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
Brieuc-brd
2024-09-19 16:46:31 +02:00
committed by qsm-odoo
parent fa78b350cc
commit f0e216f031
21 changed files with 300 additions and 329 deletions
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_masonry_block" inherit_id="website.s_masonry_block">
<xpath expr="//t[@t-call='website.s_masonry_block_default_template']" position="replace">
<t t-call="website.s_masonry_block_mosaic_template"/>
</xpath>
<xpath expr="//section" position="attributes">
<attribute name="data-masonry-template">mosaic</attribute>
</xpath>
</template>
<template id="s_masonry_block_mosaic_template" inherit_id="website.s_masonry_block_mosaic_template">
<xpath expr="//img" position="attributes">
<attribute name="class" add="rounded" separator=" "/>
<attribute name="src">/web/image/website.s_text_image_default_image</attribute>
</xpath>
<xpath expr="(//img)[2]" position="attributes">
<attribute name="class" add="rounded" separator=" "/>
</xpath>
</template>
</odoo>