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:
@@ -28,6 +28,7 @@
|
||||
'views/snippets/s_product_catalog.xml',
|
||||
'views/snippets/s_unveil.xml',
|
||||
'views/snippets/s_key_benefits.xml',
|
||||
'views/snippets/s_carousel.xml',
|
||||
'views/new_page_template.xml',
|
||||
],
|
||||
'images': [
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 49 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 32 KiB |
@@ -260,5 +260,15 @@ Check in primary_variables.scss and theme.scss -->
|
||||
<field name="name">website.s_accordion_image_default_image</field>
|
||||
<field name="url">/theme_loftspace/static/src/img/snippets/s_media_list_1.jpg</field>
|
||||
</record>
|
||||
<record id="library_image_02" model="theme.ir.attachment">
|
||||
<field name="key">website.library_image_02</field>
|
||||
<field name="name">website.library_image_02</field>
|
||||
<field name="url">/theme_loftspace/static/src/img/snippets/s_images_gallery_1.jpg</field>
|
||||
</record>
|
||||
<record id="library_image_08" model="theme.ir.attachment">
|
||||
<field name="key">website.library_image_08</field>
|
||||
<field name="name">website.library_image_08</field>
|
||||
<field name="url">/theme_loftspace/static/src/img/snippets/s_images_gallery_2.jpg</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
|
||||
@@ -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')]" position="attributes">
|
||||
<attribute name="class" add="o_cc4" remove="o_cc5" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//div[hasclass('container')])[2]" position="before">
|
||||
<div class="o_we_bg_filter bg-white-50"/>
|
||||
</xpath>
|
||||
<xpath expr="(//div[hasclass('container')])[3]" position="before">
|
||||
<div class="o_we_bg_filter bg-black-50"/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
@@ -2,13 +2,9 @@
|
||||
<odoo>
|
||||
|
||||
<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" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Container -->
|
||||
<xpath expr="//div[hasclass('container')]" position="attributes">
|
||||
<attribute name="class" add="container-fluid" remove="container" separator=" "/>
|
||||
<xpath expr="//div[hasclass('o_container_small')]" position="attributes">
|
||||
<attribute name="class" add="container" remove="o_container_small" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user