mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_*: adapt themes with new s_framed_intro snippet
*: (artists, aviato, beauty, kea, kiddo, nano, notes, orchid, vehicle, yes, zap) This commit adapts the design of new `s_framed_intro` snippet for multiple themes. task-4077595 closes odoo/design-themes#852 Related: odoo/odoo#175612 Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
'data/ir_asset.xml',
|
||||
'views/images_library.xml',
|
||||
|
||||
'views/snippets/s_framed_intro.xml',
|
||||
'views/snippets/s_cta_box.xml',
|
||||
'views/snippets/s_cover.xml',
|
||||
'views/snippets/s_striped_top.xml',
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_framed_intro" inherit_id="website.s_framed_intro">
|
||||
<!-- Image -->
|
||||
<xpath expr="//div[hasclass('col-lg-5')]" position="attributes">
|
||||
<attribute name="style" add="border-radius: 8px !important;" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//img" position="attributes">
|
||||
<attribute name="class" add="rounded" separator=" "/>
|
||||
<attribute name="src">/web/image/website.s_three_columns_default_image_2</attribute>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user