[FIX] theme_clean: adapt s_quotes_carousel first image

When redesigning the carousels, some adaptations were made for themes at
[1]. This has removed an image record, which introduced a visual issue:
it used an UI face image as a background.

This commit adapts the record to enhance the background image.

[1]: https://github.com/odoo/design-themes/commit/f66833de41f757c65ecf660f7bbc033b6dc64d6a

task-4166189
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:
Brieuc-brd
2024-09-09 10:16:32 +02:00
committed by qsm-odoo
parent 46f0c8aa96
commit 1ae012f908
2 changed files with 7 additions and 2 deletions
+5
View File
@@ -147,6 +147,11 @@
<field name="name">website.s_product_list_default_image_6</field>
<field name="url">/theme_clean/static/src/img/content/image_content_37.jpg</field>
</record>
<record id="s_quotes_carousel_demo_image_0" model="theme.ir.attachment">
<field name="key">website.s_quotes_carousel_demo_image_0</field>
<field name="name">website.s_quotes_carousel_demo_image_0</field>
<field name="url">/theme_clean/static/src/img/backgrounds/s_quotes_carousel_demo_image_3.jpg</field>
</record>
<record id="s_quotes_carousel_demo_image_1" model="theme.ir.attachment">
<field name="key">website.s_quotes_carousel_demo_image_1</field>
<field name="name">website.s_quotes_carousel_demo_image_1</field>
@@ -3,8 +3,8 @@
<template id="s_quotes_carousel" inherit_id="website.s_quotes_carousel">
<!-- Section -->
<xpath expr="//div[hasclass('carousel-item')]" position="attributes">
<attribute name="style">background-image: url('/web/image/website.s_quotes_carousel_demo_image_3'); background-position: 50% 50%;</attribute>
<xpath expr="//blockquote" position="before">
<div class="o_we_bg_filter bg-white-25"/>
</xpath>
</template>