[IMP] theme_anelusia, *: adapt s_image_title

*: theme_artists, theme_avantgarde, 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, theme_loftspace

This commit adapts customizations for `s_image_title`, added in
https://github.com/odoo/odoo/pull/176631

task-4105319
Part of task-4077427

closes odoo/design-themes#867

Related: odoo/odoo#176631
Signed-off-by: Serge Bayet (seba) <seba@odoo.com>
This commit is contained in:
Brieuc-brd
2024-08-13 16:00:16 +02:00
parent a738c97c16
commit 42bf5a5658
65 changed files with 465 additions and 0 deletions
+12
View File
@@ -588,5 +588,17 @@
</xpath>
</template>
<!-- ======== IMAGE TITLE ======== -->
<template id="s_image_title" inherit_id="website.s_image_title">
<xpath expr="//div[hasclass('o_we_bg_filter')]" position="attributes">
<attribute name="class" add="bg-black-75" remove="bg-black-50" separator=" "/>
</xpath>
<xpath expr="//h1" position="replace" mode="inner">
A Deep Dive into Luxury and Innovation
</xpath>
<xpath expr="//p[hasclass('lead')]" position="replace" mode="inner">
Transform your driving experience with our exclusive collection, where opulence meets cutting-edge technology. Elevate your journey with vehicles that blend sophistication and performance seamlessly.
</xpath>
</template>
</odoo>
+5
View File
@@ -230,5 +230,10 @@ Check in theme_monglia's primary_variables.scss, theme.scss and theme_common's m
<field name="name">website.s_pricelist_boxed_default_background</field>
<field name="url">/theme_vehicle/static/src/img/snippets/s_pricelist_boxed_default_background.jpg</field>
</record>
<record id="s_image_title_default_image" model="theme.ir.attachment">
<field name="key">website.s_image_title_default_image</field>
<field name="name">website.s_image_title_default_image</field>
<field name="url">/theme_vehicle/static/src/img/snippets/s_cover.jpg</field>
</record>
</odoo>