[IMP] theme_*: adapt themes with redesigned s_banner snippet

*: buzzy, cobalt, enark, kiddo, real_estate, zap

This commit adapts the design of new `s_banner` snippet for multiple
themes.

part-of-task-3619705
task-4114072

closes odoo/design-themes#866

Related: odoo/odoo#176595
Signed-off-by: Soukéina Bojabza (sobo) <sobo@odoo.com>
This commit is contained in:
Antoine (anso)
2024-08-13 13:27:22 +02:00
committed by Soukéina Bojabza
parent 8d1c11aa59
commit a7a3506a42
6 changed files with 24 additions and 18 deletions
+4 -3
View File
@@ -13,14 +13,15 @@
<!-- Row - remove grid mode -->
<xpath expr="//div[hasclass('row')]" position="attributes">
<attribute name="class" remove="o_grid_mode" separator=" "/>
<attribute name="data-row-count"/>
</xpath>
<!-- Remove grid images -->
<xpath expr="//div[hasclass('o_grid_item_image')]" position="replace"/>
<xpath expr="//div[hasclass('o_grid_item_image')]" position="replace"/>
<xpath expr="//div[hasclass('o_grid_item_image')]" position="replace"/>
<xpath expr="//div[hasclass('col-lg-5')]" position="replace"/>
<!-- Column -->
<xpath expr="//*[hasclass('col-lg-5')]" position="attributes">
<attribute name="class" add="col-lg-8 pt48 pb32 px-5 o_cc o_cc1 rounded" remove="o_grid_item g-height-4 g-col-lg-5 col-lg-5" separator=" "/>
<xpath expr="//*[hasclass('col-lg-4')]" position="attributes">
<attribute name="class" add="col-lg-8 pt48 pb32 px-5 o_cc o_cc1 rounded" remove="o_grid_item g-height-10 g-col-lg-4 col-lg-4" separator=" "/>
<attribute name="style">box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;</attribute>
</xpath>
<!-- Title -->