Skip to content

Commit 24fb7e0

Browse files
committed
[IMP] theme_*: adapt themes with new s_process_steps design
*: (artists, buzzy, graphene) This commit removes the customization of icon colors, as we are not using them in the Odoo 18 redesign. It also adapts the background of numbers to increase contrasts. It also removes a title customization in the graphene theme as it was not changing anything from the default snippet. task-3672430 closes #840 Related: odoo/odoo#174166 Signed-off-by: Colin Louis (loco) <[email protected]>
1 parent 676e43f commit 24fb7e0

File tree

4 files changed

+9
-49
lines changed

4 files changed

+9
-49
lines changed

theme_artists/__manifest__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
'views/snippets/s_comparisons.xml',
3232
'views/snippets/s_company_team.xml',
3333
'views/snippets/s_product_list.xml',
34-
'views/snippets/s_process_steps.xml',
3534
'views/snippets/s_color_blocks_2.xml',
3635
'views/new_page_template.xml',
3736
],

theme_artists/views/snippets/s_process_steps.xml

Lines changed: 0 additions & 21 deletions
This file was deleted.

theme_buzzy/views/snippets/s_process_steps.xml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@
1111
<xpath expr="//div[hasclass('container')]" position="before">
1212
<div class="o_we_shape o_web_editor_Rainy_08_001"/>
1313
</xpath>
14-
<!-- Icon #2 -->
15-
<xpath expr="(//i)[2]" position="attributes">
16-
<attribute name="class" add="bg-o-color-1" remove="bg-o-color-5" separator=" "/>
14+
<xpath expr="//div[hasclass('s_process_step_number')]" position="attributes">
15+
<attribute name="class" add="bg-black-15" remove="bg-primary-light" separator=" "/>
1716
</xpath>
18-
<!-- Icon #3 -->
19-
<xpath expr="(//i)[3]" position="attributes">
20-
<attribute name="class" add="bg-o-color-1" remove="bg-o-color-2" separator=" "/>
17+
<xpath expr="(//div[hasclass('s_process_step_number')])[2]" position="attributes">
18+
<attribute name="class" add="bg-black-15" remove="bg-primary-light" separator=" "/>
2119
</xpath>
22-
<!-- Icon #4 -->
23-
<xpath expr="(//i)[4]" position="attributes">
24-
<attribute name="class" add="bg-o-color-1" remove="bg-o-color-3" separator=" "/>
20+
<xpath expr="(//div[hasclass('s_process_step_number')])[3]" position="attributes">
21+
<attribute name="class" add="bg-black-15" remove="bg-primary-light" separator=" "/>
22+
</xpath>
23+
<xpath expr="(//div[hasclass('s_process_step_number')])[4]" position="attributes">
24+
<attribute name="class" add="bg-black-15" remove="bg-primary-light" separator=" "/>
2525
</xpath>
2626
</template>
2727

theme_graphene/views/customizations.xml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -98,24 +98,6 @@
9898
</xpath>
9999
</template>
100100

101-
<!-- ======== STEPS ======== -->
102-
<template id="s_process_steps" inherit_id="website.s_process_steps" name="Graphene s_process_steps">
103-
<xpath expr="//section" position="attributes">
104-
</xpath>
105-
<xpath expr="//h2" position="replace" mode="inner">
106-
Add to Cart
107-
</xpath>
108-
<xpath expr="//h2" position="replace" mode="inner">
109-
Sign In
110-
</xpath>
111-
<xpath expr="//h2" position="replace" mode="inner">
112-
Pay
113-
</xpath>
114-
<xpath expr="//h2" position="replace" mode="inner">
115-
Get Delivered
116-
</xpath>
117-
</template>
118-
119101
<!-- ======== CAROUSEL ======== -->
120102
<template id="s_carousel" inherit_id="website.s_carousel" name="Graphene s_carousel">
121103
<xpath expr="//div[hasclass('carousel-inner')]/div[1]" position="attributes">

0 commit comments

Comments
 (0)