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:
@@ -44,6 +44,7 @@
|
||||
'views/snippets/s_numbers_showcase.xml',
|
||||
'views/snippets/s_accordion_image.xml',
|
||||
'views/snippets/s_key_benefits.xml',
|
||||
'views/snippets/s_carousel.xml',
|
||||
'views/new_page_template.xml',
|
||||
],
|
||||
'images': [
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 65 KiB After Width: | Height: | Size: 65 KiB |
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_carousel" inherit_id="website.s_carousel">
|
||||
<xpath expr="(//div[hasclass('carousel-item')])[2]" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc5" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//div[hasclass('container')])[2]" position="before">
|
||||
<div class="o_we_bg_filter bg-black-50"/>
|
||||
</xpath>
|
||||
<xpath expr="(//div[hasclass('container')])[3]" position="before">
|
||||
<div class="o_we_bg_filter bg-black-50"/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
@@ -4,7 +4,7 @@
|
||||
<template id="s_image_gallery" inherit_id="website.s_image_gallery">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_full_screen_height pt56 pb56 o_cc o_cc2 s_image_gallery_indicators_arrows_rounded" remove="pt24" separator=" "/>
|
||||
<attribute name="class" add="o_full_screen_height pt56 pb56 o_cc o_cc2" remove="pt24 pb24" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
<template id="s_quotes_carousel" inherit_id="website.s_quotes_carousel">
|
||||
<!-- Carousel -->
|
||||
<xpath expr="//div[hasclass('s_quotes_carousel')]" position="attributes">
|
||||
<attribute name="class" add="s_carousel_rounded o_cc5" remove="s_carousel_default o_cc2" separator=" "/>
|
||||
<attribute name="class" add="s_carousel_rounded o_cc5" remove="s_carousel_boxed o_cc2 carousel-dark" separator=" "/>
|
||||
<attribute name="data-oe-shape-data">{"shape":"web_editor/Rainy/10","flip":[]}</attribute>
|
||||
</xpath>
|
||||
<!-- Shape -->
|
||||
<xpath expr="//ol[hasclass('carousel-indicators')]" position="before">
|
||||
<xpath expr="//div[hasclass('carousel-inner')]" position="before">
|
||||
<div class="o_we_shape o_web_editor_Rainy_10"/>
|
||||
</xpath>
|
||||
<!-- Carousel items - Remove background image -->
|
||||
|
||||
Reference in New Issue
Block a user