mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_anelusia, *: adapt container divs for s_quotes_carousel
*: theme_aviato, theme_monglia, theme_odoo_experts, theme_real_estate, theme_yes Since the removal of `container` divs in the `s_quotes_carousel` snippet, this commit adapts the theme customizations. This commit also fixes contrast issues related to the "Invert colors" option. task-4167538 Part of task-3619705 closes odoo/design-themes#898 Related: odoo/odoo#179389 Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
This commit is contained in:
@@ -2,16 +2,19 @@
|
||||
<odoo>
|
||||
|
||||
<template id="s_quotes_carousel" inherit_id="website.s_quotes_carousel">
|
||||
<xpath expr="//div[hasclass('s_quotes_carousel')]" position="attributes">
|
||||
<attribute name="class" remove="carousel-dark" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Slide #1 - Filter -->
|
||||
<xpath expr="//div[hasclass('container')]" position="before">
|
||||
<xpath expr="//blockquote" position="before">
|
||||
<div class="o_we_bg_filter bg-black-25"/>
|
||||
</xpath>
|
||||
<!-- Slide #2 - Filter -->
|
||||
<xpath expr="(//div[hasclass('container')])[2]" position="before">
|
||||
<xpath expr="(//blockquote)[2]" position="before">
|
||||
<div class="o_we_bg_filter bg-black-25"/>
|
||||
</xpath>
|
||||
<!-- Slide #3 - Filter -->
|
||||
<xpath expr="(//div[hasclass('container')])[3]" position="before">
|
||||
<xpath expr="(//blockquote)[3]" position="before">
|
||||
<div class="o_we_bg_filter bg-black-25"/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user