mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_enark: add and customize wsale categories snippet
This commit includes and customize the `website_sale.s_dynamic_snippet_category_list`snippet in the default snippet sequence of the theme's homepage. task-5009694 Part-of: odoo/design-themes#1137 Related: odoo/odoo#225310 Signed-off-by: Antoine Sougné (anso) <anso@odoo.com> Co-authored-by: Xavier Luyckx (xlu) <xlu@odoo.com>
This commit is contained in:
committed by
Antoine (anso)
parent
afb75eef0f
commit
cb7c953f92
@@ -87,6 +87,37 @@
|
|||||||
'2': ['s_text_cover', 's_image_text', 's_text_image', 's_image_text_2nd', 's_call_to_action'],
|
'2': ['s_text_cover', 's_image_text', 's_text_image', 's_image_text_2nd', 's_call_to_action'],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
'configurator_snippets_addons': {
|
||||||
|
'website_sale': {
|
||||||
|
'homepage': [
|
||||||
|
('website_sale.s_dynamic_snippet_category_list', 'after', 's_freegrid'),
|
||||||
|
],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
'theme_customizations': {
|
||||||
|
'website_sale.s_dynamic_snippet_category_list': {
|
||||||
|
'data_attributes': {
|
||||||
|
'gap': '3',
|
||||||
|
'rounded': '0',
|
||||||
|
'size': 'small',
|
||||||
|
},
|
||||||
|
'background': {
|
||||||
|
'shape': {
|
||||||
|
'data-oe-shape-data': '{"shape":"web_editor/Connections/20","flip":["y"],"colors":{"c5":"o-color-5"}}',
|
||||||
|
'element': """<div class="o_we_shape o_web_editor_Connections_20" style="background-image: url('/web_editor/shape/web_editor/Connections/20.svg?c5=o-color-5'); background-position: 50% 0%;""",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
'add_classes': [
|
||||||
|
'pb48', 'pt88',
|
||||||
|
{
|
||||||
|
's_dynamic_snippet_title': 'd-none',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
'remove_classes': [
|
||||||
|
'pb64', 'pt64',
|
||||||
|
],
|
||||||
|
},
|
||||||
|
},
|
||||||
'author': 'Odoo S.A.',
|
'author': 'Odoo S.A.',
|
||||||
'license': 'LGPL-3',
|
'license': 'LGPL-3',
|
||||||
'live_test_url': 'https://theme-enark.odoo.com',
|
'live_test_url': 'https://theme-enark.odoo.com',
|
||||||
|
|||||||
Reference in New Issue
Block a user