[IMP] theme_*: adapt s_three_columns and s_comparisons

*: 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>
This commit is contained in:
stefanorigano (SRI)
2024-08-13 23:24:11 +02:00
committed by Soukéina Bojabza
parent d60776bdd2
commit e7a6c43233
17 changed files with 140 additions and 73 deletions
@@ -15,14 +15,23 @@
<xpath expr="//div[hasclass('card')]" position="attributes">
<attribute name="style">border-width: 0px !important; box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.05) !important;</attribute>
</xpath>
<xpath expr="(//figure)[1]" position="attributes">
<attribute name="class" remove="ratio-16x9" add="ratio-1x1" separator=" "/>
</xpath>
<!-- Card #2 -->
<xpath expr="(//div[hasclass('card')])[2]" position="attributes">
<attribute name="style">border-width: 0px !important; box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.05) !important;</attribute>
</xpath>
<xpath expr="(//figure)[2]" position="attributes">
<attribute name="class" remove="ratio-16x9" add="ratio-1x1" separator=" "/>
</xpath>
<!-- Card #3 -->
<xpath expr="(//div[hasclass('card')])[3]" position="attributes">
<attribute name="style">border-width: 0px !important; box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.05) !important;</attribute>
</xpath>
<xpath expr="(//figure)[3]" position="attributes">
<attribute name="class" remove="ratio-16x9" add="ratio-1x1" separator=" "/>
</xpath>
</template>
</odoo>