[IMP] theme_buzzy: adapt s_timeline

This commit adapts the s_timeline customizations since this snippet has
been redesigned in PR [1].

task-3657763
Part of task-3619705

[1]: https://github.com/odoo/odoo/pull/172720

closes odoo/design-themes#845

Related: odoo/odoo#172720
Signed-off-by: Soukéina Bojabza (sobo) <sobo@odoo.com>
This commit is contained in:
Brieuc-brd
2024-07-25 17:17:32 +02:00
parent a04a721284
commit c75a090759
2 changed files with 3 additions and 22 deletions
+3 -6
View File
@@ -87,16 +87,13 @@
</template>
<template id="new_page_template_s_timeline" inherit_id="website.new_page_template_s_timeline">
<xpath expr="//i" position="attributes">
<xpath expr="//span[hasclass('s_timeline_dot')]" position="attributes">
<attribute name="class" add="bg-o-color-2" remove="bg-o-color-1" separator=" "/>
</xpath>
<xpath expr="(//i)[2]" position="attributes">
<xpath expr="(//span[hasclass('s_timeline_dot')])[2]" position="attributes">
<attribute name="class" add="bg-o-color-2" remove="bg-o-color-1" separator=" "/>
</xpath>
<xpath expr="(//i)[3]" position="attributes">
<attribute name="class" add="bg-o-color-2" remove="bg-o-color-1" separator=" "/>
</xpath>
<xpath expr="(//i)[4]" position="attributes">
<xpath expr="(//span[hasclass('s_timeline_dot')])[3]" position="attributes">
<attribute name="class" add="bg-o-color-2" remove="bg-o-color-1" separator=" "/>
</xpath>
</template>
-16
View File
@@ -6,22 +6,6 @@
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc o_cc2" separator=" "/>
</xpath>
<!-- Icon #1 -->
<xpath expr="//i" position="attributes">
<attribute name="class" add="bg-o-color-1" remove="bg-o-color-2" separator=" "/>
</xpath>
<!-- Icon #2 -->
<xpath expr="(//i)[2]" position="attributes">
<attribute name="class" add="bg-o-color-1" remove="bg-o-color-2" separator=" "/>
</xpath>
<!-- Icon #3 -->
<xpath expr="(//i)[3]" position="attributes">
<attribute name="class" add="bg-o-color-1" remove="bg-o-color-2" separator=" "/>
</xpath>
<!-- Icon #4 -->
<xpath expr="(//i)[4]" position="attributes">
<attribute name="class" add="bg-o-color-1" remove="bg-o-color-2" separator=" "/>
</xpath>
</template>
</odoo>