[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
+2 -2
View File
@@ -43,8 +43,8 @@
</template>
<template id="new_page_template_s_comparisons" inherit_id="website.new_page_template_s_comparisons">
<xpath expr="(//div[hasclass('card')])[3]" position="attributes">
<attribute name="class" add="bg-o-color-2" remove="bg-o-color-1" separator=" "/>
<xpath expr="(//a[hasclass('btn')])[3]" position="attributes">
<attribute name="class" add="btn-success" remove="btn-outline-primary" separator=" "/>
</xpath>
</template>
@@ -6,34 +6,6 @@
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc o_cc5 o_colored_level" separator=" "/>
</xpath>
<!-- Card #1 -->
<xpath expr="//div[hasclass('card')]" position="attributes">
<attribute name="class" add="bg-o-color-1" remove="bg-200" separator=" "/>
</xpath>
<!-- Card #1 - First list item -->
<xpath expr="//li[hasclass('list-group-item')]" position="replace" mode="inner">
Basic sales &amp; marketing
</xpath>
<!-- Card #1 - Button -->
<xpath expr="//a[hasclass('btn')]" position="attributes">
<attribute name="class" add="btn-secondary" remove="btn-primary" 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="(//a[hasclass('btn')])[2]" position="attributes">
<attribute name="class" add="btn-secondary" remove="btn-primary" separator=" "/>
</xpath>
<!-- Card #3 -->
<xpath expr="(//div[hasclass('card')])[3]" position="attributes">
<attribute name="class" add="bg-o-color-1" remove="bg-o-color-2" separator=" "/>
</xpath>
<!-- Card #3 - Button -->
<xpath expr="(//a[hasclass('btn')])[3]" position="attributes">
<attribute name="class" add="btn-secondary" remove="btn-primary" separator=" "/>
</xpath>
</template>
</odoo>