mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[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:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user