mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[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:
@@ -4,11 +4,11 @@
|
||||
<template id="s_carousel" inherit_id="website.s_carousel">
|
||||
<!-- Slide #1 -->
|
||||
<xpath expr="//div[hasclass('carousel-item')]" position="attributes">
|
||||
<attribute name="class" add="pb224 pt224 o_cc o_cc5" remove="pb152 pt152" separator=" "/>
|
||||
<attribute name="class" add="pb224 pt224" remove="pb152 pt152" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('carousel-content')]" position="replace">
|
||||
<div class="carousel-content col-lg-6">
|
||||
<h2>Miraillet Festival</h2>
|
||||
<h2 class="display-3-fs">Miraillet Festival</h2>
|
||||
<p class="lead">From the 12th to the 17th of August, come and enjoy the atmosphere at the Miraillet Festival. Discover the line up below.</p>
|
||||
<p><br/></p>
|
||||
<p><a href="/contactus" class="btn btn-primary btn-lg">More Info</a></p>
|
||||
@@ -16,11 +16,14 @@
|
||||
</xpath>
|
||||
<!-- Slide #2 -->
|
||||
<xpath expr="//div[hasclass('carousel-item')][2]" position="attributes">
|
||||
<attribute name="class" add="pb224 pt224 o_cc o_cc2" remove="pt96 pb96" separator=" "/>
|
||||
<attribute name="class" add="pb224 pt224 o_cc o_cc5" remove="pt96 pb96" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//div[hasclass('container')])[2]" position="before">
|
||||
<div class="o_we_bg_filter bg-black-50"/>
|
||||
</xpath>
|
||||
<xpath expr="(//div[hasclass('carousel-content')])[2]" position="replace">
|
||||
<div class="carousel-content col-lg-6">
|
||||
<h2>6 Days Pass</h2>
|
||||
<h2 class="display-3-fs">6 Days Pass</h2>
|
||||
<p class="lead">Tickets will be on sale soon. Do not miss our 6 Days Pass. Free camping!</p>
|
||||
<p><br/></p>
|
||||
<p><a href="/" class="btn btn-primary btn-lg">More Info</a></p>
|
||||
@@ -28,11 +31,11 @@
|
||||
</xpath>
|
||||
<!-- Slide #3 -->
|
||||
<xpath expr="//div[hasclass('carousel-item')][3]" position="attributes">
|
||||
<attribute name="class" add="pb224 pt224 o_cc o_cc5" remove="pt128 pb128" separator=" "/>
|
||||
<attribute name="class" add="pb224 pt224" remove="pt128 pb128" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//div[hasclass('carousel-content')])[3]" position="replace">
|
||||
<div class="carousel-content col-lg-6">
|
||||
<h2>Recent Editions</h2>
|
||||
<h2 class="display-3-fs">Recent Editions</h2>
|
||||
<p class="lead">Discover what makes the reputation of the Miraillet festival through these after-movies.</p>
|
||||
<p><br/></p>
|
||||
<p><a href="/" class="btn btn-primary btn-lg">More Info</a></p>
|
||||
|
||||
@@ -4,11 +4,7 @@
|
||||
<template id="s_image_gallery" inherit_id="website.s_image_gallery">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="s_image_gallery_cover o_full_screen_height" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Container -->
|
||||
<xpath expr="//div[hasclass('container')]" position="attributes">
|
||||
<attribute name="class" add="container-fluid" remove="container" separator=" "/>
|
||||
<attribute name="class" add="s_image_gallery_indicators_arrows_boxed" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -4,11 +4,14 @@
|
||||
<template id="s_quotes_carousel" inherit_id="website.s_quotes_carousel">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc5 oe_img_bg o_bg_img_center" separator=" "/>
|
||||
<attribute name="class" add="o_cc o_cc5" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('s_quotes_carousel')]" position="attributes">
|
||||
<attribute name="class" add="oe_img_bg o_bg_img_center" remove="carousel-dark" separator=" "/>
|
||||
<attribute name="style">background-image: url('/web/image/website.s_quotes_carousel_demo_image_6'); background-position: 50% 65%;</attribute>
|
||||
</xpath>
|
||||
<!-- Filter -->
|
||||
<xpath expr="//div[hasclass('s_quotes_carousel')]" position="before">
|
||||
<xpath expr="//div[hasclass('carousel-inner')]" position="before">
|
||||
<div class="o_we_bg_filter bg-black-75"/>
|
||||
</xpath>
|
||||
<!-- Carousel -->
|
||||
|
||||
Reference in New Issue
Block a user