mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[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:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user