[IMP] theme_anelusia, *: adapt s_carousel_cards

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

This commit adapts customizations for `s_carousel_cards`.

task-4094405
Part of task-4077427

closes odoo/design-themes#986

Related: odoo/odoo#183519
Related: odoo/upgrade#6692
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
Brieuc-brd
2024-10-14 09:54:18 +02:00
committed by qsm-odoo
parent a1e425d1b6
commit 6ea1b24e5e
30 changed files with 438 additions and 0 deletions
+1
View File
@@ -27,6 +27,7 @@
'views/snippets/s_cards_soft.xml',
'views/snippets/s_carousel.xml',
'views/snippets/s_carousel_intro.xml',
'views/snippets/s_carousel_cards.xml',
'views/snippets/s_cta_mockups.xml',
'views/snippets/s_cta_card.xml',
'views/snippets/s_faq_list.xml',
+15
View File
@@ -135,6 +135,21 @@ Check in theme_monglia's primary_variables.scss, theme.scss and theme_common's m
<field name="name">website.s_carousel_intro_default_image_3</field>
<field name="url">/theme_artists/static/src/img/snippets/library_image_05.jpg</field>
</record>
<record id="s_carousel_cards_default_image_1" model="theme.ir.attachment">
<field name="key">website.s_carousel_cards_default_image_1</field>
<field name="name">website.s_carousel_cards_default_image_1</field>
<field name="url">/theme_artists/static/src/img/snippets/s_carousel_1.jpg</field>
</record>
<record id="s_carousel_cards_default_image_2" model="theme.ir.attachment">
<field name="key">website.s_carousel_cards_default_image_2</field>
<field name="name">website.s_carousel_cards_default_image_2</field>
<field name="url">/theme_artists/static/src/img/snippets/s_carousel_2.jpg</field>
</record>
<record id="s_carousel_cards_default_image_3" model="theme.ir.attachment">
<field name="key">website.s_carousel_cards_default_image_3</field>
<field name="name">website.s_carousel_cards_default_image_3</field>
<field name="url">/theme_artists/static/src/img/snippets/s_carousel_3.jpg</field>
</record>
<record id="s_media_list_default_image_1" model="theme.ir.attachment">
<field name="key">website.s_media_list_default_image_1</field>
<field name="name">website.s_media_list_default_image_1</field>
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_carousel_cards" inherit_id="website.s_carousel_cards">
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc o_cc5" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('s_carousel_cards_card')])[2]" position="attributes">
<attribute name="class" add="o_cc4" remove="o_cc5" separator=" "/>
</xpath>
</template>
</odoo>