[IMP] test_themes, *: carousels adaptations

*: theme_anelusia, theme_artists, theme_avantgarde, theme_cobalt,
theme_cobalt, theme_enark, theme_loftspace, theme_notes,
theme_odoo_experts, theme_bewise, theme_bistro, theme_buzzy,
theme_clean, theme_graphene, theme_nano, theme_treehouse, theme_yes,
theme_aviato, theme_beauty, theme_bookstore, theme_kea, theme_kiddo,
theme_monglia, theme_orchid, theme_paptic, theme_real_estate,
theme_vehicle, theme_zap

This commit adapts the customizations related to `s_carousel`,
s_image_gallery` and `s_quotes_carousel` since these snippets has been
redesigned in PR[1].

task-3654328
Part of task-3619705

[1]: https://github.com/odoo/odoo/pull/172727

closes odoo/design-themes#836

Related: odoo/odoo#172727
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
This commit is contained in:
Brieuc-brd
2024-07-17 20:52:53 +02:00
parent 67053ce2bf
commit f66833de41
89 changed files with 495 additions and 182 deletions
@@ -2,6 +2,9 @@
<odoo>
<template id="s_quotes_carousel" inherit_id="website.s_quotes_carousel">
<xpath expr="//div[hasclass('carousel')]" position="attributes">
<attribute name="class" remove="carousel-dark" separator=" "/>
</xpath>
<!-- Quote 1 -->
<xpath expr="//div[hasclass('carousel-item')]" position="attributes">
<attribute name="style" add="background-image: url('/web/image/website.s_quotes_carousel_demo_image_0'); background-position: 50% 25%;" separator="; "/>
@@ -22,7 +25,7 @@
<xpath expr="(//*[hasclass('carousel-item')])[2]" position="attributes">
<attribute name="style" add="background-position: 50% 25%;" remove="background-position: 50% 50%;" separator="; "/>
</xpath>
<xpath expr="(//*[hasclass('container')])[2]" position="before">
<xpath expr="(//div[hasclass('container')])[2]" position="before">
<div class="o_we_bg_filter" style="background-color: rgba(25, 41, 37, 0.55) !important;"/>
</xpath>
<xpath expr="(//div[hasclass('s_blockquote_author')])[2]//strong" position="replace" mode="inner">
@@ -35,7 +38,7 @@
<xpath expr="(//*[hasclass('carousel-item')])[3]" position="attributes">
<attribute name="style" add="background-position: 50% 20%;" remove="background-position: 50% 50%;" separator="; "/>
</xpath>
<xpath expr="(//*[hasclass('container')])[3]" position="before">
<xpath expr="(//div[hasclass('container')])[3]" position="before">
<div class="o_we_bg_filter" style="background-color: rgba(25, 41, 37, 0.55) !important;"/>
</xpath>
<xpath expr="(//p[hasclass('s_blockquote_quote')])[3]" position="replace" mode="inner">