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:
@@ -235,17 +235,13 @@
|
||||
<template id="s_color_blocks_2" inherit_id="website.s_color_blocks_2" name="Be Wise s_color_blocks_2">
|
||||
<!-- Left column -->
|
||||
<xpath expr="//div[hasclass('col-lg-6')]" position="attributes">
|
||||
<attribute name="class" add="oe_img_bg o_bg_img_center o_cc5" remove="o_cc3" separator=" "/>
|
||||
<attribute name="class" add="oe_img_bg o_bg_img_center o_cc5" remove="o_cc4" separator=" "/>
|
||||
<attribute name="style">background-image: url('/web/image/website.s_media_list_default_image_1');</attribute>
|
||||
</xpath>
|
||||
<!-- Left column - Filter -->
|
||||
<xpath expr="//div[hasclass('col-lg-6')]//i" position="before">
|
||||
<xpath expr="//div[hasclass('col-lg-6')]//h2" position="before">
|
||||
<div class="o_we_bg_filter bg-black-50"/>
|
||||
</xpath>
|
||||
<!-- Left column - Icon -->
|
||||
<xpath expr="//div[hasclass('col-lg-6')]//i" position="attributes">
|
||||
<attribute name="class" add="fa-3x fa-book" remove="fa-5x fa-shield" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Left column - Title -->
|
||||
<xpath expr="//div[hasclass('col-lg-6')]//h2" position="replace" mode="inner">
|
||||
Programmes
|
||||
@@ -267,13 +263,9 @@
|
||||
<attribute name="style">background-image: url('/web/image/website.s_media_list_default_image_2');</attribute>
|
||||
</xpath>
|
||||
<!-- Right column - Filter -->
|
||||
<xpath expr="//div[hasclass('col-lg-6')][2]//i" position="before">
|
||||
<xpath expr="//div[hasclass('col-lg-6')][2]//h2" position="before">
|
||||
<div class="o_we_bg_filter bg-black-50"/>
|
||||
</xpath>
|
||||
<!-- Right column - Icon -->
|
||||
<xpath expr="//div[hasclass('col-lg-6')][2]//i" position="attributes">
|
||||
<attribute name="class" add="fa-3x fa-institution" remove="fa-5x fa-cube" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Right column - Title -->
|
||||
<xpath expr="//div[hasclass('col-lg-6')][2]//h2" position="replace" mode="inner">
|
||||
The campus
|
||||
|
||||
Reference in New Issue
Block a user