[IMP] theme_*: adapt themes with new s_image_frame design

*: anelusia, artists, avantgarde, aviato, beauty, bewise, bistro,
bookstore, buzzy, clean, cobalt, enark, graphene, kiddo, monglia, nano,
notes, paptic, treehouse, vehicle, yes

This commit adapts the design of `s_image_frame` for multiple themes,
based on the new Odoo 18 snippet redesign.

task-4105328

closes odoo/design-themes#864

Part-of: task-4077427
Related: odoo/odoo#176562
Signed-off-by: Serge Bayet (seba) <seba@odoo.com>
This commit is contained in:
Xavier Luyckx (xlu)
2024-08-09 12:44:55 +02:00
parent 93736ae182
commit 0b567d15c6
35 changed files with 264 additions and 0 deletions
+1
View File
@@ -46,6 +46,7 @@
'views/snippets/s_quadrant.xml',
'views/snippets/s_intro_pill.xml',
'views/snippets/s_big_number.xml',
'views/snippets/s_image_frame.xml',
'views/new_page_template.xml',
],
'images': [
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_image_frame" inherit_id="website.s_image_frame">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" remove="o_cc1" add="o_cc5" separator=" "/>
</xpath>
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="src">/web/image/website.library_image_10</attribute>
</xpath>
</template>
</odoo>