mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[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:
committed by
Soukéina Bojabza
parent
8d1c11aa59
commit
a7a3506a42
@@ -10,16 +10,17 @@
|
||||
<!-- 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>
|
||||
<!-- Jumbotron -->
|
||||
<xpath expr="//div[hasclass('col-lg-5')]" position="attributes">
|
||||
<attribute name="class" add="col-lg-6" 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" remove="o_grid_item g-height-10 g-col-lg-4 col-lg-4" separator=" "/>
|
||||
<attribute name="style"/>
|
||||
</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"/>
|
||||
<!-- Image -->
|
||||
<xpath expr="//div[hasclass('col-lg-6')]" position="after">
|
||||
<div class="pt16 pb16 o_colored_level col-lg-5 offset-lg-1">
|
||||
|
||||
Reference in New Issue
Block a user