mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_anelusia, *: adapt s_color_blocks_2 customizations
*: theme_artists, theme_beauty, theme_bewise, theme_buzzy, theme_clean, theme_cobalt, theme_kea, theme_loftspace, theme_notes, theme_odoo_experts, theme_paptic, theme_treehouse, theme_zap This commit adapts the s_color_blocks_2 customizations since this snippet has been redesigned in PR [1]. task-3665302 Part of task-3619705 [1]: https://github.com/odoo/odoo/pull/173461 closes odoo/design-themes#834 Related: odoo/odoo#173461 Signed-off-by: Soukéina Bojabza (sobo) <sobo@odoo.com>
This commit is contained in:
@@ -4,11 +4,11 @@
|
||||
<template id="s_color_blocks_2" inherit_id="website.s_color_blocks_2">
|
||||
<!-- Column #1 -->
|
||||
<xpath expr="//div[hasclass('col-lg-6')]" position="attributes">
|
||||
<attribute name="class" add="col-lg-4" remove="col-lg-6" separator=" "/>
|
||||
<attribute name="class" add="col-lg-4 o_cc3 text-center" remove="col-lg-6 o_cc4" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Column #1 - Icon -->
|
||||
<xpath expr="//i" position="attributes">
|
||||
<attribute name="class" add="fa-venus" remove="fa-shield" separator=" "/>
|
||||
<xpath expr="//h2" position="before">
|
||||
<i class="fa fa-5x m-3 fa-venus"/>
|
||||
</xpath>
|
||||
<!-- Column #1 - Title -->
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
@@ -25,11 +25,11 @@
|
||||
|
||||
<!-- Column #2 -->
|
||||
<xpath expr="//div[hasclass('col-lg-6')]" position="attributes">
|
||||
<attribute name="class" add="col-lg-4 o_cc4" remove="col-lg-6 o_cc5" separator=" "/>
|
||||
<attribute name="class" add="o_cc4 col-lg-4 text-center" remove="o_cc5 col-lg-6" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Column #2 - Icon -->
|
||||
<xpath expr="(//i)[2]" position="attributes">
|
||||
<attribute name="class" add="fa-mars" remove="fa-cube" separator=" "/>
|
||||
<xpath expr="(//h2)[2]" position="before">
|
||||
<i class="fa fa-5x m-3 fa-mars"/>
|
||||
</xpath>
|
||||
<!-- Column #2 - Title -->
|
||||
<xpath expr="(//h2)[2]" position="replace" mode="inner">
|
||||
@@ -48,7 +48,7 @@
|
||||
<xpath expr="(//div[hasclass('col-lg-4')])[2]" position="after">
|
||||
<div class="col-lg-4 o_cc o_cc5 text-center">
|
||||
<i class="fa fa-venus-mars fa-5x m-3"/>
|
||||
<h2>Fancy for them</h2>
|
||||
<h2 class="h3-fs">Fancy for them</h2>
|
||||
<p>Are you looking for sustainable clothing for men or women? Discover our exclusive fashion brand for both of you.</p>
|
||||
<a href="#" class="btn btn-primary btn-lg">More Details</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user