Files
design-themes/theme_odoo_experts/views/snippets/s_comparisons.xml
T
stefanorigano (SRI) a5b4acdbdf [IMP] theme_*: s_comparison redesign adaptations
*: theme_anelusia, theme_artists, theme_beauty, theme_bewise,
   theme_bookstore, theme_buzzy, theme_clean, theme_graphene,
   theme_loftspace, theme_odoo_experts, theme_paptic, theme_treehouse

task-3665304
part of task-3619705

closes odoo/design-themes#842

Related: odoo/odoo#174299
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
2024-07-29 18:55:06 +00:00

37 lines
1.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_comparisons" inherit_id="website.s_comparisons">
<!-- Box #01 -->
<xpath expr="//div[hasclass('row')]//div" position="attributes">
<attribute name="class" add="pt16" separator=" "/>
</xpath>
<!-- Box #02 -->
<xpath expr="(//div[hasclass('card')])[2]" position="attributes">
<attribute name="class" add="bg-o-color-1" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('card')])[2]//a[hasclass('btn')]" position="attributes">
<attribute name="class" add="btn-secondary" remove="btn-primary" separator=" "/>
</xpath>
<!-- Box #03 -->
<xpath expr="//div[hasclass('row')]//div[3]" position="attributes">
<attribute name="class" add="pt16" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('card')])[3]" position="attributes">
<attribute name="class" add="bg-o-color-3" separator=" "/>
</xpath>
</template>
<template id="configurator_s_comparisons" inherit_id="website.configurator_s_comparisons">
<!-- Shape option -->
<xpath expr="//section" position="attributes">
<attribute name="data-oe-shape-data">{"shape":"web_editor/Wavy/04","flip":[]}</attribute>
</xpath>
<!-- Shape -->
<xpath expr="//div[hasclass('container')]" position="before">
<div class="o_we_shape o_web_editor_Wavy_04"/>
</xpath>
</template>
</odoo>