mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[FIX] theme_yes: fix s_call_to_action minor issues
This commit fixes three minors issues about the `s_call_to_action` snippet.
1) The `background-image` is missing the classes to set it to cover,
leading to a weird positioning of the image ;
2) The `background-image` was not the right one ;
3) The `s_call_to_action` snippet was missing from the theme screenshot.
task-4217986
follow-up of task-4178092
X-original-commit: 35ba43166a
Part-of: odoo/design-themes#971
Related: odoo/odoo#182039
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
committed by
qsm-odoo
parent
7db4448e24
commit
7f7540ab13
@@ -80,7 +80,7 @@
|
||||
'website.library_image_02': '/theme_yes/static/src/img/snippets/library_image_02.jpg',
|
||||
'website.library_image_14': '/theme_yes/static/src/img/snippets/library_image_14.webp',
|
||||
'website.library_image_16': '/theme_yes/static/src/img/snippets/library_image_16.webp',
|
||||
'website.s_parallax_default_image': '/theme_yes/static/src/img/snippets/s_parallax.jpg',
|
||||
'website.s_parallax_default_image': '/theme_yes/static/src/img/snippets/s_parallax.webp',
|
||||
},
|
||||
'configurator_snippets': {
|
||||
'homepage': ['s_kickoff', 's_title', 's_company_team', 's_image_text_overlap', 's_features', 's_freegrid', 's_quotes_carousel', 's_call_to_action'],
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 147 KiB After Width: | Height: | Size: 146 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 90 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 78 KiB |
@@ -206,7 +206,7 @@ Check in theme_kea's primary_variables.scss, theme.scss and theme_common's mixin
|
||||
<record id="s_parallax_default_image" model="theme.ir.attachment">
|
||||
<field name="key">website.s_parallax_default_image</field>
|
||||
<field name="name">website.s_parallax_default_image</field>
|
||||
<field name="url">/theme_yes/static/src/img/snippets/s_parallax.jpg</field>
|
||||
<field name="url">/theme_yes/static/src/img/snippets/s_parallax.webp</field>
|
||||
</record>
|
||||
<!-- // Company Team // -->
|
||||
<record id="s_company_team_image_1" model="theme.ir.attachment">
|
||||
|
||||
@@ -3,7 +3,8 @@
|
||||
|
||||
<template id="s_call_to_action" inherit_id="website.s_call_to_action">
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="style" add="background-image:url(/web/image/website.s_parallax_default_image)" separator=";"/>
|
||||
<attribute name="style" add="background-image: url('/web/image/website.s_parallax_default_image');" separator=";"/>
|
||||
<attribute name="class" add="oe_img_bg o_bg_img_center" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('container')]" position="before">
|
||||
<div class="o_we_bg_filter bg-black-25"/>
|
||||
|
||||
Reference in New Issue
Block a user