mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
8175b84b8f
task-2582420
closes odoo/design-themes#501
X-original-commit: b48fe33a0b
Related: odoo/odoo#77123
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
42 lines
1.9 KiB
XML
42 lines
1.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<template id="s_media_list" inherit_id="website.s_media_list">
|
|
<!-- Section -->
|
|
<xpath expr="//section" position="attributes">
|
|
<attribute name="class" add="o_colored_level" separator=" "/>
|
|
</xpath>
|
|
<!-- Media item #1 -->
|
|
<xpath expr="//div[hasclass('s_media_list_item')]/div" position="attributes">
|
|
<attribute name="class" add="o_cc4" remove="o_cc1" separator=" "/>
|
|
</xpath>
|
|
<!-- Media item #1 - Img -->
|
|
<xpath expr="//div[hasclass('s_media_list_item')]//img" position="attributes">
|
|
<attribute name="style">padding: 32px !important;</attribute>
|
|
<!-- Enable SVG dynamic color functionality -->
|
|
<attribute name="src">/web_editor/shape/theme_buzzy/s_media_list-01.svg?c1=o-color-1</attribute>
|
|
</xpath>
|
|
<!-- Media item #2 -->
|
|
<xpath expr="//div[hasclass('s_media_list_item')][2]/div" position="attributes">
|
|
<attribute name="class" add="o_cc5" remove="o_cc1" separator=" "/>
|
|
</xpath>
|
|
<!-- Media item #2 - Img -->
|
|
<xpath expr="//div[hasclass('s_media_list_item')][2]//img" position="attributes">
|
|
<attribute name="style">padding: 32px !important;</attribute>
|
|
<!-- Enable SVG dynamic color functionality -->
|
|
<attribute name="src">/web_editor/shape/theme_buzzy/s_media_list-02.svg?c1=o-color-1</attribute>
|
|
</xpath>
|
|
<!-- Media item #3 -->
|
|
<xpath expr="//div[hasclass('s_media_list_item')][3]/div" position="attributes">
|
|
<attribute name="class" add="o_cc4" remove="o_cc1" separator=" "/>
|
|
</xpath>
|
|
<!-- Media item #3 - Img -->
|
|
<xpath expr="//div[hasclass('s_media_list_item')][3]//img" position="attributes">
|
|
<attribute name="style">padding: 32px !important;</attribute>
|
|
<!-- Enable SVG dynamic color functionality -->
|
|
<attribute name="src">/web_editor/shape/theme_buzzy/s_media_list-03.svg?c1=o-color-1</attribute>
|
|
</xpath>
|
|
</template>
|
|
|
|
</odoo>
|