mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[FIX] theme_avantgarde: s_carousel text contrast
The `o_cc3` is rendering a white color depending on the the palette. Using `o_cc5` ensure a white text on most palettes. task-4381722 closes odoo/design-themes#1021 Signed-off-by: Christopher du Toit (chto) <chto@odoo.com>
This commit is contained in:
@@ -280,14 +280,8 @@
|
|||||||
<xpath expr="//div[hasclass('carousel-indicators')]" position="attributes">
|
<xpath expr="//div[hasclass('carousel-indicators')]" position="attributes">
|
||||||
<attribute name="class" add="s_carousel_indicators_dots" separator=" "/>
|
<attribute name="class" add="s_carousel_indicators_dots" separator=" "/>
|
||||||
</xpath>
|
</xpath>
|
||||||
<xpath expr="//div[hasclass('carousel-item')]" position="attributes">
|
|
||||||
<attribute name="class" add="o_cc3" remove="o_cc5" separator=" "/>
|
|
||||||
</xpath>
|
|
||||||
<xpath expr="(//div[hasclass('carousel-item')])[2]" position="attributes">
|
<xpath expr="(//div[hasclass('carousel-item')])[2]" position="attributes">
|
||||||
<attribute name="class" add="o_cc o_cc3" separator=" "/>
|
<attribute name="class" add="o_cc o_cc5" separator=" "/>
|
||||||
</xpath>
|
|
||||||
<xpath expr="(//div[hasclass('carousel-item')])[3]" position="attributes">
|
|
||||||
<attribute name="class" add="o_cc3" remove="o_cc5" separator=" "/>
|
|
||||||
</xpath>
|
</xpath>
|
||||||
<xpath expr="//div[hasclass('carousel-item')]//div[hasclass('o_we_bg_filter')]" position="replace">
|
<xpath expr="//div[hasclass('carousel-item')]//div[hasclass('o_we_bg_filter')]" position="replace">
|
||||||
<div class="o_we_bg_filter bg-black-50"/>
|
<div class="o_we_bg_filter bg-black-50"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user