[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>
This commit is contained in:
stefanorigano (SRI)
2024-07-24 13:55:31 +02:00
parent 816ce83846
commit a5b4acdbdf
13 changed files with 19 additions and 117 deletions
@@ -4,19 +4,11 @@
<template id="s_comparisons" inherit_id="website.s_comparisons">
<!-- Card #1 -->
<xpath expr="//div[hasclass('card')]" position="attributes">
<attribute name="class" add="bg-o-color-3" remove="bg-200" separator=" "/>
</xpath>
<!-- Card #2 -->
<xpath expr="(//div[hasclass('card')])[2]" position="attributes">
<attribute name="class" add="bg-o-color-1" remove="bg-o-color-5" separator=" "/>
</xpath>
<!-- Card #2 - button -->
<xpath expr="(//div[hasclass('card')])[2]//a[hasclass('btn')]" position="attributes">
<attribute name="class" add="btn-secondary" remove="btn-primary" separator=" "/>
<attribute name="class" add="bg-o-color-3" separator=" "/>
</xpath>
<!-- Card #3 -->
<xpath expr="(//div[hasclass('card')])[3]" position="attributes">
<attribute name="class" add="bg-o-color-3" remove="bg-o-color-2" separator=" "/>
<attribute name="class" add="bg-o-color-3" separator=" "/>
</xpath>
</template>