[IMP] theme_*: adapt themes with new s_framed_intro snippet

*: (artists, aviato, beauty, kea, kiddo, nano, notes, orchid, vehicle,
yes, zap)

This commit adapts the design of new `s_framed_intro` snippet for
multiple themes.

task-4077595

closes odoo/design-themes#852

Related: odoo/odoo#175612
Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
This commit is contained in:
Antoine (anso)
2024-08-03 16:14:32 +02:00
parent 0b567d15c6
commit 786b968151
21 changed files with 199 additions and 0 deletions
+1
View File
@@ -24,6 +24,7 @@
'views/snippets/s_cover.xml',
'views/snippets/s_text_image.xml',
'views/snippets/s_image_title.xml',
'views/snippets/s_framed_intro.xml',
'views/snippets/s_numbers.xml',
'views/snippets/s_three_columns.xml',
'views/snippets/s_color_blocks_2.xml',
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_framed_intro" inherit_id="website.s_framed_intro">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc o_cc5" separator=" "/>
</xpath>
<!-- Title -->
<xpath expr="//h1" position="replace" mode="inner">
Unplug &amp; Unwind: The Ultimate Music Experience
</xpath>
<!-- Image -->
<xpath expr="//div[hasclass('col-lg-5')]" position="attributes">
<attribute name="class" add="o_cc4" remove="o_cc2" separator=" "/>
</xpath>
<xpath expr="//img" position="attributes">
<attribute name="src">/web/image/website.s_three_columns_default_image_2</attribute>
</xpath>
</template>
</odoo>