Files
Xavier Luyckx (xlu) d9a15eaee5 [FIX] theme_*: adapt xpath for s_timeline(_images, _list) changes
*: theme_artists, theme_buzzy, theme_nano

Before, the timeline (*) dots were invisible when using preset 4
because they shared the same color as the background (`text-o-color-1`
on `o-color-1` background).

The fix in the relative PR implements a solution that ensures dots are
always visible by using button primary colors for all presets.

Thus, this commit adapts xpath to ensure compatibility with the changes.

task-4922302

closes odoo/design-themes#1126

Related: odoo/odoo#221505
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2025-08-19 15:49:22 +00:00

20 lines
597 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_timeline_images" inherit_id="website.s_timeline_images">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc o_cc5" separator=" "/>
</xpath>
<!-- Milestone #1-->
<xpath expr="//img" position="attributes">
<attribute name="class" remove="rounded" separator=" "/>
</xpath>
<!-- Milestone #2 -->
<xpath expr="(//img)[2]" position="attributes">
<attribute name="class" remove="rounded" separator=" "/>
</xpath>
</template>
</odoo>