mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
23b2dd1971
Revamp the themes, add new images and adapt the existing snippets to fit
the new design.
task-4178014
Part of task-4177975
X-original-commit: 14993a5a1e
Part-of: odoo/design-themes#971
Related: odoo/odoo#182039
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
32 lines
1.2 KiB
XML
32 lines
1.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<template id="s_image_frame" inherit_id="website.s_image_frame">
|
|
<!-- Section -->
|
|
<xpath expr="//section" position="attributes">
|
|
<attribute name="class" remove="o_cc1" add="o_cc5" separator=" "/>
|
|
</xpath>
|
|
<!-- Grid Item -->
|
|
<xpath expr="//div[hasclass('o_grid_item')]" position="attributes">
|
|
<attribute name="class" remove="rounded" separator=" "/>
|
|
<attribute name="style" remove="border-radius: 6.4px !important;" separator=";"/>
|
|
</xpath>
|
|
<!-- Grid Item 2 -->
|
|
<xpath expr="//div[hasclass('o_grid_item')][2]" position="attributes">
|
|
<attribute name="class" remove="rounded" separator=" "/>
|
|
<attribute name="style" add="--grid-item-padding-y: 32px !important;" separator=";"/>
|
|
</xpath>
|
|
<!-- Image -->
|
|
<xpath expr="//img" position="attributes">
|
|
<attribute name="style" remove="padding: 16px;" separator=";"/>
|
|
</xpath>
|
|
</template>
|
|
|
|
<template id="configurator_s_image_frame" inherit_id="website.configurator_s_image_frame">
|
|
<xpath expr="//section" position="attributes">
|
|
<attribute name="class" remove="pt64 pb64" add="pt40 pb0" separator=" "/>
|
|
</xpath>
|
|
</template>
|
|
|
|
</odoo>
|