mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_*: review s_features_grid snippet
This commit reviews the occurrences of the features_grid snippet across design themes. *: theme_artists, theme_bewise, theme_bookstore, theme_buzzy, theme_loftspace, theme_notes, theme_odoo_experts, theme_paptic, theme_vehicle task-3619705 closes odoo/design-themes#825 Related: odoo/odoo#172974 Signed-off-by: Arthur Detroux (ard) <ard@odoo.com>
This commit is contained in:
@@ -49,6 +49,15 @@
|
||||
</template>
|
||||
|
||||
<template id="new_page_template_s_features_grid" inherit_id="website.new_page_template_s_features_grid">
|
||||
<xpath expr="//i" position="attributes">
|
||||
<attribute name="class" add="bg-o-color-2" remove="bg-o-color-1" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//i)[2]" position="attributes">
|
||||
<attribute name="class" add="bg-o-color-2" remove="bg-o-color-1" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//i)[3]" position="attributes">
|
||||
<attribute name="class" add="bg-o-color-2" remove="bg-o-color-1" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//i)[4]" position="attributes">
|
||||
<attribute name="class" add="bg-o-color-2" remove="bg-o-color-1" separator=" "/>
|
||||
</xpath>
|
||||
|
||||
@@ -8,22 +8,22 @@
|
||||
</xpath>
|
||||
<!-- Icons -->
|
||||
<xpath expr="//i" position="attributes">
|
||||
<attribute name="class" add="rounded" remove="rounded-circle" separator=" "/>
|
||||
<attribute name="class" add="bg-o-color-1" remove="bg-o-color-3" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//i)[2]" position="attributes">
|
||||
<attribute name="class" add="rounded" remove="rounded-circle" separator=" "/>
|
||||
<attribute name="class" add="bg-o-color-1" remove="bg-o-color-3" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//i)[3]" position="attributes">
|
||||
<attribute name="class" add="rounded" remove="rounded-circle" separator=" "/>
|
||||
<attribute name="class" add="bg-o-color-1" remove="bg-o-color-3" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//i)[4]" position="attributes">
|
||||
<attribute name="class" add="bg-o-color-1" remove="bg-o-color-2" separator=" "/>
|
||||
<attribute name="class" add="bg-o-color-1" remove="bg-o-color-3" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//i)[5]" position="attributes">
|
||||
<attribute name="class" add="bg-o-color-1" remove="bg-o-color-2" separator=" "/>
|
||||
<attribute name="class" add="bg-o-color-1" remove="bg-o-color-3" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//i)[6]" position="attributes">
|
||||
<attribute name="class" add="bg-o-color-1" remove="bg-o-color-2" separator=" "/>
|
||||
<attribute name="class" add="bg-o-color-1" remove="bg-o-color-3" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -395,22 +395,22 @@
|
||||
<template id="s_features_grid" inherit_id="website.s_features_grid" name="Be Wise s_features_grid">
|
||||
<!-- Icons -->
|
||||
<xpath expr="//i" position="attributes">
|
||||
<attribute name="class" add="bg-o-color-2" remove="fa-2x bg-o-color-1" separator=" "/>
|
||||
<attribute name="class" add="bg-o-color-2" remove="bg-o-color-3" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//i)[2]" position="attributes">
|
||||
<attribute name="class" add="bg-o-color-2" remove="fa-2x bg-o-color-1" separator=" "/>
|
||||
<attribute name="class" add="bg-o-color-2" remove="bg-o-color-3" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//i)[3]" position="attributes">
|
||||
<attribute name="class" add="bg-o-color-2" remove="fa-2x bg-o-color-1" separator=" "/>
|
||||
<attribute name="class" add="bg-o-color-2" remove="bg-o-color-3" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//i)[4]" position="attributes">
|
||||
<attribute name="class" add="rounded-circle" remove="fa-2x rounded" separator=" "/>
|
||||
<attribute name="class" add="bg-o-color-2" remove="bg-o-color-3" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//i)[5]" position="attributes">
|
||||
<attribute name="class" add="rounded-circle" remove="fa-2x rounded" separator=" "/>
|
||||
<attribute name="class" add="bg-o-color-2" remove="bg-o-color-3" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//i)[6]" position="attributes">
|
||||
<attribute name="class" add="rounded-circle" remove="fa-2x rounded" separator=" "/>
|
||||
<attribute name="class" add="bg-o-color-2" remove="fa-2x bg-o-color-3" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -2,6 +2,18 @@
|
||||
<odoo>
|
||||
|
||||
<template id="s_features_grid" inherit_id="website.s_features_grid">
|
||||
<!-- Item #1 -->
|
||||
<xpath expr="(//i)[1]" position="attributes">
|
||||
<attribute name="class" add="rounded-circle" remove="rounded" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Item #2 -->
|
||||
<xpath expr="(//i)[2]" position="attributes">
|
||||
<attribute name="class" add="rounded-circle" remove="rounded" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Item #3 -->
|
||||
<xpath expr="(//i)[3]" position="attributes">
|
||||
<attribute name="class" add="rounded-circle" remove="rounded" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Item #4 -->
|
||||
<xpath expr="(//i)[4]" position="attributes">
|
||||
<attribute name="class" add="rounded-circle" remove="rounded" separator=" "/>
|
||||
|
||||
@@ -8,22 +8,22 @@
|
||||
</xpath>
|
||||
<!-- Icons -->
|
||||
<xpath expr="//i" position="attributes">
|
||||
<attribute name="class" add="bg-o-color-2" remove="fa-2x bg-o-color-1" separator=" "/>
|
||||
<attribute name="class" add="bg-o-color-2" remove="bg-o-color-3" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//i)[2]" position="attributes">
|
||||
<attribute name="class" add="bg-o-color-2" remove="fa-2x bg-o-color-1" separator=" "/>
|
||||
<attribute name="class" add="bg-o-color-2" remove="bg-o-color-3" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//i)[3]" position="attributes">
|
||||
<attribute name="class" add="bg-o-color-2" remove="fa-2x bg-o-color-1" separator=" "/>
|
||||
<attribute name="class" add="bg-o-color-2" remove="bg-o-color-3" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//i)[4]" position="attributes">
|
||||
<attribute name="class" add="rounded-circle" remove="rounded fa-2x" separator=" "/>
|
||||
<attribute name="class" add="bg-o-color-2" remove="bg-o-color-3" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//i)[5]" position="attributes">
|
||||
<attribute name="class" add="rounded-circle" remove="rounded fa-2x" separator=" "/>
|
||||
<attribute name="class" add="bg-o-color-2" remove="bg-o-color-3" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//i)[6]" position="attributes">
|
||||
<attribute name="class" add="rounded-circle" remove="rounded fa-2x" separator=" "/>
|
||||
<attribute name="class" add="bg-o-color-2" remove="bg-o-color-3" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -2,21 +2,25 @@
|
||||
<odoo>
|
||||
|
||||
<template id="s_features_grid" inherit_id="website.s_features_grid">
|
||||
<!-- Item #1 -->
|
||||
<xpath expr="//i" position="attributes">
|
||||
<attribute name="class" add="bg-o-color-1" remove="bg-o-color-3" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Item #2 -->
|
||||
<xpath expr="(//i)[2]" position="attributes">
|
||||
<attribute name="class" add="bg-o-color-2" remove="bg-o-color-1" separator=" "/>
|
||||
<attribute name="class" add="bg-o-color-1" remove="bg-o-color-3" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Item #4 -->
|
||||
<xpath expr="(//i)[4]" position="attributes">
|
||||
<attribute name="class" add="rounded-circle" remove="rounded" separator=" "/>
|
||||
<attribute name="class" add="bg-o-color-1" remove="bg-o-color-3" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Item #5 -->
|
||||
<xpath expr="(//i)[5]" position="attributes">
|
||||
<attribute name="class" add="rounded-circle bg-o-color-1" remove="rounded bg-o-color-2" separator=" "/>
|
||||
<attribute name="class" add="bg-o-color-1" remove="bg-o-color-3" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Item #6 -->
|
||||
<xpath expr="(//i)[6]" position="attributes">
|
||||
<attribute name="class" add="rounded-circle" remove="rounded" separator=" "/>
|
||||
<attribute name="class" add="bg-o-color-1" remove="bg-o-color-3" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -4,19 +4,7 @@
|
||||
<template id="s_features_grid" inherit_id="website.s_features_grid">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc5 pb72 pt96" remove="pt48 pb24" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Item #4 -->
|
||||
<xpath expr="(//i)[4]" position="attributes">
|
||||
<attribute name="class" add="rounded-circle" remove="rounded" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Item #5 -->
|
||||
<xpath expr="(//i)[5]" position="attributes">
|
||||
<attribute name="class" add="rounded-circle" remove="rounded" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Item #6 -->
|
||||
<xpath expr="(//i)[6]" position="attributes">
|
||||
<attribute name="class" add="rounded-circle" remove="rounded" separator=" "/>
|
||||
<attribute name="class" add="o_cc o_cc5 pb72 pt96" remove="pt64 pb64" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -4,15 +4,27 @@
|
||||
<template id="s_features_grid" inherit_id="website.s_features_grid">
|
||||
<!-- Item #1 - Icon -->
|
||||
<xpath expr="//i" position="attributes">
|
||||
<attribute name="class" add="rounded" remove="rounded-circle" separator=" "/>
|
||||
<attribute name="class" add="rounded-circle" remove="rounded" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Item #2 - Icon -->
|
||||
<xpath expr="(//i)[2]" position="attributes">
|
||||
<attribute name="class" add="rounded" remove="rounded-circle" separator=" "/>
|
||||
<attribute name="class" add="rounded-circle" remove="rounded" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Item #3 - Icon -->
|
||||
<xpath expr="(//i)[3]" position="attributes">
|
||||
<attribute name="class" add="rounded" remove="rounded-circle" separator=" "/>
|
||||
<attribute name="class" add="rounded-circle" remove="rounded" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Item #4 - Icon -->
|
||||
<xpath expr="(//i)[4]" position="attributes">
|
||||
<attribute name="class" add="rounded-circle" remove="rounded" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Item #5 - Icon -->
|
||||
<xpath expr="(//i)[5]" position="attributes">
|
||||
<attribute name="class" add="rounded-circle" remove="rounded" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Item #6 - Icon -->
|
||||
<xpath expr="(//i)[6]" position="attributes">
|
||||
<attribute name="class" add="rounded-circle" remove="rounded" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -411,22 +411,6 @@
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<!-- ==== Features Grid ===== -->
|
||||
<template id="s_features_grid" inherit_id="website.s_features_grid" name="Paptic s_features_grid">
|
||||
<!-- Icon #4 -->
|
||||
<xpath expr="(//i)[4]" position="attributes">
|
||||
<attribute name="class" add="rounded-circle bg-o-color-3" remove="rounded bg-o-color-2" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Icon #5 -->
|
||||
<xpath expr="(//i)[5]" position="attributes">
|
||||
<attribute name="class" add="rounded-circle bg-o-color-3" remove="rounded bg-o-color-2" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Icon #6 -->
|
||||
<xpath expr="(//i)[6]" position="attributes">
|
||||
<attribute name="class" add="rounded-circle bg-o-color-3" remove="rounded bg-o-color-2" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<!-- ==== Pricelist ===== -->
|
||||
<template id="s_product_catalog" inherit_id="website.s_product_catalog" name="Paptic s_product_catalog">
|
||||
<!-- Filter -->
|
||||
|
||||
@@ -278,27 +278,27 @@
|
||||
</xpath>
|
||||
<!-- Item #1 -->
|
||||
<xpath expr="//i" position="attributes">
|
||||
<attribute name="class" add="rounded-0 bg-o-color-3 text-o-color-1" remove="rounded-circle bg-o-color-1" separator=" "/>
|
||||
<attribute name="class" add="text-o-color-1" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Item #2 -->
|
||||
<xpath expr="(//i)[2]" position="attributes">
|
||||
<attribute name="class" add="rounded-0 bg-o-color-3 text-o-color-1" remove="rounded-circle bg-o-color-1" separator=" "/>
|
||||
<attribute name="class" add="text-o-color-1" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Item #3 -->
|
||||
<xpath expr="(//i)[3]" position="attributes">
|
||||
<attribute name="class" add="rounded-0 bg-o-color-3 text-o-color-1" remove="rounded-circle bg-o-color-1" separator=" "/>
|
||||
<attribute name="class" add="text-o-color-1" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Item #4 -->
|
||||
<xpath expr="(//i)[4]" position="attributes">
|
||||
<attribute name="class" add="rounded-0 bg-o-color-3 text-o-color-2" remove="rounded bg-o-color-2" separator=" "/>
|
||||
<attribute name="class" add="text-o-color-1" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Item #5 -->
|
||||
<xpath expr="(//i)[5]" position="attributes">
|
||||
<attribute name="class" add="rounded-0 bg-o-color-3 text-o-color-2" remove="rounded bg-o-color-2" separator=" "/>
|
||||
<attribute name="class" add="text-o-color-1" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Item #6 -->
|
||||
<xpath expr="(//i)[6]" position="attributes">
|
||||
<attribute name="class" add="rounded-0 bg-o-color-3 text-o-color-2" remove="rounded bg-o-color-2" separator=" "/>
|
||||
<attribute name="class" add="text-o-color-1" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user