[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
@@ -12,12 +12,13 @@
<!-- 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"/>
<!-- Filter -->
<xpath expr="//div[hasclass('container')]" position="before">
@@ -25,8 +26,8 @@
</xpath>
<!-- Paragraph -->
<xpath expr="//div[hasclass('col-lg-5')]" position="attributes">
<attribute name="class" add="col-lg-6 pt32 pb32" remove="o_grid_item g-height-4 g-col-lg-5 col-lg-5" separator=" "/>
<xpath expr="//div[hasclass('col-lg-4')]" position="attributes">
<attribute name="class" add="col-lg-6 pt32 pb32" remove="o_grid_item g-height-10 g-col-lg-4 col-lg-4" separator=" "/>
<attribute name="style"/>
</xpath>
<xpath expr="//h1" position="replace" mode="inner">