mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
bd4b876b57
theme_anelusia, theme_artists, theme_buzzy, theme_nano, theme_yes This commit adapt the `s_timeline_images` snippet to the themes. task-4105285 Part of task-4077427 closes odoo/design-themes#995 Related: odoo/odoo#184760 Signed-off-by: Ivan Klapka (ivkl) <ivkl@odoo.com>
32 lines
1.3 KiB
XML
32 lines
1.3 KiB
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>
|
|
<xpath expr="//span[hasclass('o_dot')]" position="attributes">
|
|
<attribute name="class" add="text-o-color-4" remove="text-o-color-1" separator=" "/>
|
|
</xpath>
|
|
<xpath expr="//div[hasclass('o_dot_line')]" position="attributes">
|
|
<attribute name="style">border-color: var(--o-color-1) !important;</attribute>
|
|
</xpath>
|
|
<!-- Milestone #2 -->
|
|
<xpath expr="(//img)[2]" position="attributes">
|
|
<attribute name="class" remove="rounded" separator=" "/>
|
|
</xpath>
|
|
<xpath expr="(//span[hasclass('o_dot')])[2]" position="attributes">
|
|
<attribute name="class" add="text-o-color-4" remove="text-o-color-1" separator=" "/>
|
|
</xpath>
|
|
<xpath expr="(//div[hasclass('o_dot_line')])[2]" position="attributes">
|
|
<attribute name="style">border-color: var(--o-color-1) !important;</attribute>
|
|
</xpath>
|
|
</template>
|
|
|
|
</odoo>
|