[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 -23
View File
@@ -3,29 +3,15 @@
<template id="s_carousel" inherit_id="website.s_carousel">
<!-- Slide 1 -->
<xpath expr="(//*[hasclass('container')])" position="before">
<xpath expr="(//*[hasclass('o_we_bg_filter')])" position="replace">
<div class="o_we_bg_filter" style="background-color: rgba(25, 41, 37, 0.55) !important;"/>
</xpath>
<xpath expr="//div[hasclass('carousel-content')]" position="replace">
<div class="jumbotron o_cc o_cc1 p-5 carousel-content col-lg-8 offset-lg-2 text-center rounded">
<h2>Let us plan your perfect day</h2>
<p class="lead">We are focused on providing high-quality service and customer satisfaction.</p>
<a href="/contactus" class="btn btn-primary">Get in touch</a>
</div>
</xpath>
<!-- Slide 2 -->
<xpath expr="(//*[hasclass('container')])[2]" position="before">
<div class="o_we_bg_filter" style="background-color: rgba(25, 41, 37, 0.55) !important;"/>
</xpath>
<xpath expr="//*[hasclass('carousel-item')][2]" position="attributes">
<attribute name="class" add="pt152 pb152" remove="pt96 pb96" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('carousel-content')])[2]" position="replace">
<div class="jumbotron o_cc o_cc3 p-5 carousel-content col-lg-8 offset-lg-2 text-center rounded">
<h2>View our blog for inspiration</h2>
<p class="lead">Get inspired with the latest trends and advice from our wedding experts.</p>
<a href="#" class="btn btn-primary">See the blog</a>
</div>
<attribute name="class" add="o_cc o_cc5 pt152 pb152" remove="pt96 pb96" separator=" "/>
</xpath>
<!-- Slide 3 -->
<xpath expr="(//*[hasclass('container')])[3]" position="before">
@@ -34,13 +20,6 @@
<xpath expr="//*[hasclass('carousel-item')][3]" position="attributes">
<attribute name="class" add="pt152 pb152" remove="pt128 pb128" separator=" "/>
</xpath>
<xpath expr="(//*[hasclass('carousel-content')])[3]" position="replace">
<div class="jumbotron o_cc o_cc4 p-5 carousel-content col-lg-8 offset-lg-2 text-center rounded">
<h2>Check out our gallery</h2>
<p class="lead">Take a look at some of our favourite weddings.</p>
<a href="#" class="btn btn-primary">View our work</a>
</div>
</xpath>
</template>
</odoo>