mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[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 odoo/design-themes#840 Related: odoo/odoo#174166 Signed-off-by: Colin Louis (loco) <loco@odoo.com>
This commit is contained in:
@@ -31,7 +31,6 @@
|
||||
'views/snippets/s_comparisons.xml',
|
||||
'views/snippets/s_company_team.xml',
|
||||
'views/snippets/s_product_list.xml',
|
||||
'views/snippets/s_process_steps.xml',
|
||||
'views/snippets/s_color_blocks_2.xml',
|
||||
'views/new_page_template.xml',
|
||||
],
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_process_steps" inherit_id="website.s_process_steps">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc3" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Icons -->
|
||||
<xpath expr="//i" position="attributes">
|
||||
<attribute name="class" add="bg-o-color-5" remove="bg-o-color-1" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//i)[3]" position="attributes">
|
||||
<attribute name="class" add="bg-o-color-5" remove="bg-o-color-2" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//i)[4]" position="attributes">
|
||||
<attribute name="class" add="bg-o-color-5" remove="bg-o-color-3" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
@@ -11,17 +11,17 @@
|
||||
<xpath expr="//div[hasclass('container')]" position="before">
|
||||
<div class="o_we_shape o_web_editor_Rainy_08_001"/>
|
||||
</xpath>
|
||||
<!-- Icon #2 -->
|
||||
<xpath expr="(//i)[2]" position="attributes">
|
||||
<attribute name="class" add="bg-o-color-1" remove="bg-o-color-5" separator=" "/>
|
||||
<xpath expr="//div[hasclass('s_process_step_number')]" position="attributes">
|
||||
<attribute name="class" add="bg-black-15" remove="bg-primary-light" 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 expr="(//div[hasclass('s_process_step_number')])[2]" position="attributes">
|
||||
<attribute name="class" add="bg-black-15" remove="bg-primary-light" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Icon #4 -->
|
||||
<xpath expr="(//i)[4]" position="attributes">
|
||||
<attribute name="class" add="bg-o-color-1" remove="bg-o-color-3" separator=" "/>
|
||||
<xpath expr="(//div[hasclass('s_process_step_number')])[3]" position="attributes">
|
||||
<attribute name="class" add="bg-black-15" remove="bg-primary-light" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//div[hasclass('s_process_step_number')])[4]" position="attributes">
|
||||
<attribute name="class" add="bg-black-15" remove="bg-primary-light" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -98,24 +98,6 @@
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<!-- ======== STEPS ======== -->
|
||||
<template id="s_process_steps" inherit_id="website.s_process_steps" name="Graphene s_process_steps">
|
||||
<xpath expr="//section" position="attributes">
|
||||
</xpath>
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
Add to Cart
|
||||
</xpath>
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
Sign In
|
||||
</xpath>
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
Pay
|
||||
</xpath>
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
Get Delivered
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<!-- ======== CAROUSEL ======== -->
|
||||
<template id="s_carousel" inherit_id="website.s_carousel" name="Graphene s_carousel">
|
||||
<xpath expr="//div[hasclass('carousel-inner')]/div[1]" position="attributes">
|
||||
|
||||
Reference in New Issue
Block a user