[IMP] theme_*: adapt theme with new s_image_hexagonal snippet

*: anelusia, artists, aviato, beauty, bewise, bistro, bookstore, buzzy,
kea, kiddo, monglia, notes, orchid, vehicle, yes

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

task-4094377

closes odoo/design-themes#857

Related: odoo/odoo#175813
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
This commit is contained in:
Antoine (anso)
2024-08-06 10:21:45 +02:00
parent 41f6799c52
commit 67bf2505a1
39 changed files with 270 additions and 0 deletions
+5
View File
@@ -230,5 +230,10 @@ Check in theme_monglia's primary_variables.scss, theme.scss and theme_common's m
<field name="name">website.s_accordion_image_default_image</field>
<field name="url">/theme_artists/static/src/img/snippets/library_image_10.jpg</field>
</record>
<record id="s_image_hexagonal_default_image_1" model="theme.ir.attachment">
<field name="key">website.s_image_hexagonal_default_image_1</field>
<field name="name">website.s_image_hexagonal_default_image_1</field>
<field name="url">/theme_artists/static/src/img/snippets/s_image_hexagonal_1.jpg</field>
</record>
</odoo>
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_image_hexagonal" inherit_id="website.s_image_hexagonal">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc o_cc5" separator=" "/>
</xpath>
<!-- Images -->
<xpath expr="(//img)[2]" position="attributes">
<attribute name="src">/web/image/website.s_text_image_default_image</attribute>
</xpath>
</template>
</odoo>