mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
e7a6c43233
*: artists, avantgarde, aviato, bookstore, buzzy, clean, graphene, kea, kiddo, loftspace, monglia, odoo_experts, orchid, paptic, real_estate, vehicle This commit mirrors the changes made to the `s_three_columns` and the `s_comparisons` snippets, adding the use of the `s_card` snippet in them in the community counterpart. task-4115012 part of task-3619705 closes odoo/design-themes#868 Related: odoo/odoo#176684 Signed-off-by: Soukéina Bojabza (sobo) <sobo@odoo.com>
26 lines
953 B
XML
26 lines
953 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<template id="s_comparisons" inherit_id="website.s_comparisons">
|
|
<!-- Left card -->
|
|
<xpath expr="//div[hasclass('row')]//div" position="attributes">
|
|
<attribute name="class" add="pt16" separator=" "/>
|
|
</xpath>
|
|
<xpath expr="//*[hasclass('card')]" position="attributes">
|
|
<attribute name="class" add="o_cc2" remove="o_cc1" separator=" "/>
|
|
</xpath>
|
|
<!-- Center card -->
|
|
<xpath expr="(//*[hasclass('card')])[2]" position="attributes">
|
|
<attribute name="class" add="o_cc4" remove="o_cc1" separator=" "/>
|
|
</xpath>
|
|
<!-- Right card -->
|
|
<xpath expr="//div[hasclass('row')]//div[3]" position="attributes">
|
|
<attribute name="class" add="pt16" separator=" "/>
|
|
</xpath>
|
|
<xpath expr="(//*[hasclass('card')])[3]" position="attributes">
|
|
<attribute name="class" add="o_cc2" remove="o_cc1" separator=" "/>
|
|
</xpath>
|
|
</template>
|
|
|
|
</odoo>
|