[IMP] test_themes, *: carousels adaptations

*: theme_anelusia, theme_artists, theme_avantgarde, theme_cobalt,
theme_cobalt, theme_enark, theme_loftspace, theme_notes,
theme_odoo_experts, theme_bewise, theme_bistro, theme_buzzy,
theme_clean, theme_graphene, theme_nano, theme_treehouse, theme_yes,
theme_aviato, theme_beauty, theme_bookstore, theme_kea, theme_kiddo,
theme_monglia, theme_orchid, theme_paptic, theme_real_estate,
theme_vehicle, theme_zap

This commit adapts the customizations related to `s_carousel`,
s_image_gallery` and `s_quotes_carousel` since these snippets has been
redesigned in PR[1].

task-3654328
Part of task-3619705

[1]: https://github.com/odoo/odoo/pull/172727

closes odoo/design-themes#836

Related: odoo/odoo#172727
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
This commit is contained in:
Brieuc-brd
2024-07-17 20:52:53 +02:00
parent 67053ce2bf
commit f66833de41
89 changed files with 495 additions and 182 deletions
+6 -4
View File
@@ -29,7 +29,7 @@ CONFLICTUAL_CLASSES = [
['o_spc-medium', 'o_spc-none', 'o_spc-small'], ['o_spc-medium', 'o_spc-none', 'o_spc-small'],
['oi-arrows-h', 'oi-arrows-v', 'oi-chevron-left', 'oi-chevron-right', 'oi-search'], ['oi-arrows-h', 'oi-arrows-v', 'oi-chevron-left', 'oi-chevron-right', 'oi-search'],
['position-absolute', 'position-relative'], ['position-absolute', 'position-relative'],
['s_carousel_bordered', 's_carousel_default', 's_carousel_rounded'], ['s_carousel_default', 's_carousel_rounded'],
['s_image_gallery_indicators_arrows_boxed', 's_image_gallery_indicators_arrows_rounded'], ['s_image_gallery_indicators_arrows_boxed', 's_image_gallery_indicators_arrows_rounded'],
['text-center', 'text-end', 'text-start'], ['text-center', 'text-end', 'text-start'],
] ]
@@ -76,13 +76,15 @@ CONFLICTUAL_CLASSES_RE = {
re.compile(r'^s_.*'): [ re.compile(r'^s_.*'): [
's_alert_md', 's_alert_md',
's_blockquote_with_icon', 's_blockquote', 's_blockquote_with_icon', 's_blockquote',
's_carousel_bordered', 's_carousel_default', 's_carousel_rounded', 's_carousel_default', 's_carousel_rounded', 's_carousel_boxed',
's_carousel_indicators_dots', 's_carousel_indicators_hidden', 's_carousel_controllers_indicators_outside',
's_quotes_carousel',
's_dynamic', 's_dynamic_empty', 's_dynamic_snippet_blog_posts', 's_dynamic', 's_dynamic_empty', 's_dynamic_snippet_blog_posts',
's_blog_posts_effect_marley', 's_blog_post_big_picture', 's_blog_posts_effect_marley', 's_blog_post_big_picture',
's_col_no_bgcolor', 's_col_no_resize', 's_col_no_bgcolor', 's_col_no_resize',
's_event_upcoming_snippet', 's_event_upcoming_snippet',
's_image_gallery_cover', 's_image_gallery_indicators_arrows_boxed', 's_image_gallery_indicators_arrows_rounded', 's_image_gallery', 's_image_gallery_indicators_arrows_boxed', 's_image_gallery_indicators_arrows_rounded',
's_image_gallery_indicators_dots', 's_image_gallery_indicators_rounded', 's_image_gallery_show_indicators', 's_image_gallery_indicators_dots', 's_image_gallery_indicators_squared', 's_image_gallery_indicators_rounded', 's_image_gallery_indicators_hidden', 's_image_gallery_indicators_bars', 's_image_gallery_indicators_outside','s_image_gallery_controllers_outside_arrows_right', 's_image_gallery_controllers_outside',
's_newsletter_list', 's_newsletter_subscribe_form', 's_newsletter_list', 's_newsletter_subscribe_form',
's_parallax_is_fixed', 's_parallax_no_overflow_hidden', 's_parallax_is_fixed', 's_parallax_no_overflow_hidden',
's_process_steps_connector_line', 's_process_steps_connector_line',
+1
View File
@@ -16,6 +16,7 @@
'views/snippets/s_company_team.xml', 'views/snippets/s_company_team.xml',
'views/snippets/s_cover.xml', 'views/snippets/s_cover.xml',
'views/snippets/s_image_gallery.xml', 'views/snippets/s_image_gallery.xml',
'views/snippets/s_carousel.xml',
'views/snippets/s_media_list.xml', 'views/snippets/s_media_list.xml',
'views/snippets/s_text_cover.xml', 'views/snippets/s_text_cover.xml',
'views/snippets/s_color_blocks_2.xml', 'views/snippets/s_color_blocks_2.xml',
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_carousel" inherit_id="website.s_carousel">
<xpath expr="(//div[hasclass('carousel-item')])[2]" position="attributes">
<attribute name="class" add="o_cc o_cc5" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('carousel-item')])[2]//div[hasclass('container')]" position="before">
<div class="o_we_bg_filter bg-black-25"/>
</xpath>
<xpath expr="(//div[hasclass('carousel-item')])[3]//div[hasclass('container')]" position="before">
<div class="o_we_bg_filter bg-black-25"/>
</xpath>
</template>
</odoo>
@@ -15,18 +15,14 @@
<template id="s_image_gallery" inherit_id="website.s_image_gallery"> <template id="s_image_gallery" inherit_id="website.s_image_gallery">
<!-- Section --> <!-- Section -->
<xpath expr="//section" position="attributes"> <xpath expr="//section" position="attributes">
<attribute name="class" add="s_image_gallery_cover o_full_screen_height s_image_gallery_indicators_dots" remove="s_image_gallery_indicators_rounded" separator=" "/> <attribute name="class" add="pt80 pb80" remove="pt24 pb24" separator=" "/>
</xpath>
<!-- Container -->
<xpath expr="//div[hasclass('container')]" position="attributes">
<attribute name="class" add="container-fluid" remove="container" separator=" "/>
</xpath> </xpath>
<!-- Item #2 - Img --> <!-- Item #2 - Img -->
<xpath expr="//div[hasclass('carousel-item')][2]/img" position="attributes"> <xpath expr="//div[hasclass('carousel-item')][2]/img" position="attributes">
<attribute name="src">/web/image/website.library_image_16</attribute> <attribute name="src">/web/image/website.library_image_16</attribute>
</xpath> </xpath>
<!-- Item #2 - Indicator --> <!-- Item #2 - Indicator -->
<xpath expr="//ul[hasclass('carousel-indicators')]//li[3]" position="attributes"> <xpath expr="//div[hasclass('carousel-indicators')]//button[3]" position="attributes">
<attribute name="style">background-image: url(/web/image/website.library_image_16)</attribute> <attribute name="style">background-image: url(/web/image/website.library_image_16)</attribute>
</xpath> </xpath>
</template> </template>
@@ -3,15 +3,15 @@
<template id="s_quotes_carousel" inherit_id="website.s_quotes_carousel"> <template id="s_quotes_carousel" inherit_id="website.s_quotes_carousel">
<!-- Slide #1 - Filter --> <!-- Slide #1 - Filter -->
<xpath expr="//div[hasclass('carousel-item')]//div[hasclass('container')]" position="before"> <xpath expr="//div[hasclass('container')]" position="before">
<div class="o_we_bg_filter bg-black-25"/> <div class="o_we_bg_filter bg-black-25"/>
</xpath> </xpath>
<!-- Slide #2 - Filter --> <!-- Slide #2 - Filter -->
<xpath expr="//div[hasclass('carousel-item')][2]//div[hasclass('container')]" position="before"> <xpath expr="(//div[hasclass('container')])[2]" position="before">
<div class="o_we_bg_filter bg-black-25"/> <div class="o_we_bg_filter bg-black-25"/>
</xpath> </xpath>
<!-- Slide #3 - Filter --> <!-- Slide #3 - Filter -->
<xpath expr="//div[hasclass('carousel-item')][3]//div[hasclass('container')]" position="before"> <xpath expr="(//div[hasclass('container')])[3]" position="before">
<div class="o_we_bg_filter bg-black-25"/> <div class="o_we_bg_filter bg-black-25"/>
</xpath> </xpath>
</template> </template>
+1 -9
View File
@@ -2,14 +2,6 @@
<odoo> <odoo>
<template id="s_carousel" inherit_id="website.s_carousel"> <template id="s_carousel" inherit_id="website.s_carousel">
<!-- Carousel-item #01 -->
<xpath expr="//div[hasclass('carousel-item')]" position="attributes">
<attribute name="class" add="o_cc o_cc5" separator=" "/>
</xpath>
<!-- Shape & filter -->
<xpath expr="//div[hasclass('carousel-item')]//div[hasclass('container')]" position="before">
<div class="o_we_bg_filter bg-black-25"/>
</xpath>
<!-- Content --> <!-- Content -->
<xpath expr="//div[hasclass('carousel-item')]//div[hasclass('carousel-content')]" position="replace"> <xpath expr="//div[hasclass('carousel-item')]//div[hasclass('carousel-content')]" position="replace">
<div class="carousel-content col-lg-12 pb112 pt112"> <div class="carousel-content col-lg-12 pb112 pt112">
@@ -42,7 +34,7 @@
<!-- Carousel-item #03 --> <!-- Carousel-item #03 -->
<xpath expr="//div[hasclass('carousel-item')][3]" position="attributes"> <xpath expr="//div[hasclass('carousel-item')][3]" position="attributes">
<attribute name="class" add="o_cc o_cc5 pt152 pb152" remove="pb128 pt128" separator=" "/> <attribute name="class" add="pt152 pb152" remove="pb128 pt128" separator=" "/>
</xpath> </xpath>
<!-- Shape & filter --> <!-- Shape & filter -->
<xpath expr="//div[hasclass('carousel-item')][3]//div[hasclass('container')]" position="before"> <xpath expr="//div[hasclass('carousel-item')][3]//div[hasclass('container')]" position="before">
@@ -44,11 +44,11 @@
<template id="s_image_gallery" inherit_id="website.s_image_gallery"> <template id="s_image_gallery" inherit_id="website.s_image_gallery">
<!-- Section --> <!-- Section -->
<xpath expr="//section" position="attributes"> <xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc o_cc5 s_image_gallery_cover o_full_screen_height" separator=" "/> <attribute name="class" add="o_cc o_cc5 o_full_screen_height" separator=" "/>
</xpath> </xpath>
<!-- Container --> <!-- Container -->
<xpath expr="//div[hasclass('container')]" position="attributes"> <xpath expr="//div[hasclass('carousel')]" position="attributes">
<attribute name="class" add="container-fluid" remove="container" separator=" "/> <attribute name="class" remove="carousel-dark" separator=" "/>
</xpath> </xpath>
</template> </template>
Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

+25 -9
View File
@@ -214,20 +214,36 @@
<!-- ======== CAROUSEL ======== --> <!-- ======== CAROUSEL ======== -->
<template id="s_carousel" inherit_id="website.s_carousel" name="Avantgarde s_carousel"> <template id="s_carousel" inherit_id="website.s_carousel" name="Avantgarde s_carousel">
<!-- Assign slide3 as 'active' and move it in first position --> <xpath expr="//div[hasclass('s_carousel')]" position="attributes">
<xpath expr="//div[hasclass('carousel-inner')]/div" position="attributes"> <attribute name="class" add="s_carousel_controllers_indicators_outside s_carousel_rounded carousel-dark" remove="s_carousel_default" separator=" "/>
<attribute name="class" remove="active" separator=" "/>
</xpath> </xpath>
<xpath expr="//div[hasclass('carousel-inner')]/div[3]" position="attributes"> <xpath expr="//div[hasclass('carousel-indicators')]" position="attributes">
<attribute name="class" add="active" separator=" "/> <attribute name="class" add="s_carousel_indicators_dots" separator=" "/>
</xpath> </xpath>
<xpath expr="//div[hasclass('carousel-inner')]/div" position="before"> <xpath expr="//div[hasclass('carousel-item')]" position="attributes">
<xpath expr="//div[hasclass('carousel-inner')]/div[3]" position="move"/> <attribute name="class" add="o_cc3" remove="o_cc5" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('carousel-item')])[2]" position="attributes">
<attribute name="class" add="o_cc o_cc3" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('carousel-item')])[3]" position="attributes">
<attribute name="class" add="o_cc3" remove="o_cc5" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('carousel-item')]//div[hasclass('o_we_bg_filter')]" position="replace">
<div class="o_we_bg_filter bg-black-50"/>
</xpath>
<xpath expr="(//div[hasclass('carousel-item')])[2]//div[hasclass('container')]" position="before">
<div class="o_we_bg_filter bg-black-50"/>
</xpath>
<xpath expr="(//div[hasclass('carousel-item')])[3]//div[hasclass('container')]" position="before">
<div class="o_we_bg_filter bg-black-50"/>
</xpath> </xpath>
<xpath expr="//h2/font" position="replace"> <xpath expr="//h2" position="replace" mode="inner">
<font style="font-size: 62px; background-color: var(--o-color-4);" class="o_default_snippet_text">Making Simple</font> Making Simple
</xpath> </xpath>
<xpath expr="//div[hasclass('carousel-item')]//p[2]" position="replace"/>
<xpath expr="(//div[hasclass('carousel-item')])[2]//p[2]" position="replace"/>
</template> </template>
<!-- ======== QUOTES ======== --> <!-- ======== QUOTES ======== -->
+15
View File
@@ -312,5 +312,20 @@ Check in images.scss, primary_variables.scss, main.scss and theme_common's mixin
<field name="name">website.s_accordion_image_default_image</field> <field name="name">website.s_accordion_image_default_image</field>
<field name="url">/theme_avantgarde/static/src/img/pictures/bg_image_28.jpg</field> <field name="url">/theme_avantgarde/static/src/img/pictures/bg_image_28.jpg</field>
</record> </record>
<record id="library_image_02" model="theme.ir.attachment">
<field name="key">website.library_image_02</field>
<field name="name">website.library_image_02</field>
<field name="url">/theme_avantgarde/static/src/img/pictures/library_image_02.jpg</field>
</record>
<record id="library_image_08" model="theme.ir.attachment">
<field name="key">website.library_image_08</field>
<field name="name">website.library_image_08</field>
<field name="url">/theme_avantgarde/static/src/img/pictures/library_image_08.jpg</field>
</record>
<record id="library_image_03" model="theme.ir.attachment">
<field name="key">website.library_image_03</field>
<field name="name">website.library_image_03</field>
<field name="url">/theme_avantgarde/static/src/img/pictures/library_image_03.jpg</field>
</record>
</odoo> </odoo>
+1
View File
@@ -24,6 +24,7 @@
'views/snippets/s_unveil.xml', 'views/snippets/s_unveil.xml',
'views/snippets/s_accordion_image.xml', 'views/snippets/s_accordion_image.xml',
'views/snippets/s_key_benefits.xml', 'views/snippets/s_key_benefits.xml',
'views/snippets/s_carousel.xml',
'views/new_page_template.xml', 'views/new_page_template.xml',
], ],
'images': [ 'images': [
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_carousel" inherit_id="website.s_carousel">
<xpath expr="(//div[hasclass('carousel-item')])[3]//div[hasclass('container')]" position="before">
<div class="o_we_bg_filter bg-black-50"/>
</xpath>
</template>
</odoo>
@@ -3,8 +3,11 @@
<template id="s_quotes_carousel" inherit_id="website.s_quotes_carousel"> <template id="s_quotes_carousel" inherit_id="website.s_quotes_carousel">
<!-- Quote 1 --> <!-- Quote 1 -->
<xpath expr="//blockquote" position="attributes">
<attribute name="class" add="w-75" remove="w-50" separator=" "/>
</xpath>
<xpath expr="(//p[hasclass('s_blockquote_quote')])[1]" position="replace" mode="inner"> <xpath expr="(//p[hasclass('s_blockquote_quote')])[1]" position="replace" mode="inner">
It's difficult to describe how awesome the trip was. I feel like my life has changed forever. It would take too long to describe day by day the sights, sounds, architecture, art, food, history, and people that we came across. Ireland was fantastic. It would take too long to describe day by day the sights, sounds, and people that we came across. Ireland was fantastic.
</xpath> </xpath>
<xpath expr="(//div[hasclass('s_blockquote_author')])[1]//strong" position="replace" mode="inner"> <xpath expr="(//div[hasclass('s_blockquote_author')])[1]//strong" position="replace" mode="inner">
Linda and Paulo Linda and Paulo
@@ -14,7 +17,7 @@
</xpath> </xpath>
<!-- Quote 2 --> <!-- Quote 2 -->
<xpath expr="(//p[hasclass('s_blockquote_quote')])[2]" position="replace" mode="inner"> <xpath expr="(//p[hasclass('s_blockquote_quote')])[2]" position="replace" mode="inner">
As always, Odoo Travel has delivered a truly wonderful travel experience for us. Norway was a great travel destination. The parts of the country we visited were beautiful, people were friendly, everything we ate was delicious, and there were many fun things to see and do. The parts of the country we visited were beautiful, people were friendly, everything we ate was delicious, and there were many fun things to see and do.
</xpath> </xpath>
<xpath expr="(//div[hasclass('s_blockquote_author')])[2]//strong" position="replace" mode="inner"> <xpath expr="(//div[hasclass('s_blockquote_author')])[2]//strong" position="replace" mode="inner">
Jacques and Marie Jacques and Marie
@@ -24,7 +27,7 @@
</xpath> </xpath>
<!-- Quote 3 --> <!-- Quote 3 -->
<xpath expr="(//p[hasclass('s_blockquote_quote')])[3]" position="replace" mode="inner"> <xpath expr="(//p[hasclass('s_blockquote_quote')])[3]" position="replace" mode="inner">
We would like to thank Odoo Travel for organising wonderful tour for us in Delhi, Agra and Rajasthan. Everything was very well organised. Thank you very much for everything! Everything was very well organised. Thank you very much for everything!
</xpath> </xpath>
<xpath expr="(//div[hasclass('s_blockquote_author')])[3]//strong" position="replace" mode="inner"> <xpath expr="(//div[hasclass('s_blockquote_author')])[3]//strong" position="replace" mode="inner">
Rose and Peter Rose and Peter
+1
View File
@@ -30,6 +30,7 @@
'views/snippets/s_numbers_showcase.xml', 'views/snippets/s_numbers_showcase.xml',
'views/snippets/s_accordion_image.xml', 'views/snippets/s_accordion_image.xml',
'views/snippets/s_key_benefits.xml', 'views/snippets/s_key_benefits.xml',
'views/snippets/s_carousel.xml',
'views/new_page_template.xml', 'views/new_page_template.xml',
], ],
'images': [ 'images': [
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_carousel" inherit_id="website.s_carousel">
<xpath expr="(//div[hasclass('container')])[3]" position="before">
<div class="o_we_bg_filter bg-black-50"/>
</xpath>
</template>
</odoo>
+14 -9
View File
@@ -103,18 +103,14 @@
<!-- ======== QUOTES ======== --> <!-- ======== QUOTES ======== -->
<template id="s_quotes_carousel" inherit_id="website.s_quotes_carousel" name="Be Wise s_quotes_carousel"> <template id="s_quotes_carousel" inherit_id="website.s_quotes_carousel" name="Be Wise s_quotes_carousel">
<!-- Section : Add a main background to the carousel --> <!-- Section : Add a main background to the carousel -->
<xpath expr="//section" position="attributes"> <xpath expr="//div[hasclass('s_quotes_carousel')]" position="attributes">
<attribute name="class" add="oe_img_bg o_bg_img_center" separator=" "/> <attribute name="class" add="oe_img_bg o_bg_img_center s_carousel_rounded" remove="o_cc o_cc2 s_carousel_boxed" separator=" "/>
<attribute name="style">background-image: url('/web/image/website.s_quotes_carousel_demo_image_2');</attribute> <attribute name="style">background-image: url('/web/image/website.s_quotes_carousel_demo_image_2');</attribute>
</xpath> </xpath>
<!-- Filter --> <!-- Filter -->
<xpath expr="//div[hasclass('s_quotes_carousel')]" position="before"> <xpath expr="//div[hasclass('carousel-inner')]" position="before">
<div class="o_we_bg_filter bg-black-15"/> <div class="o_we_bg_filter bg-black-15"/>
</xpath> </xpath>
<!-- Carousel -->
<xpath expr="//div[hasclass('s_quotes_carousel')]" position="attributes">
<attribute name="class" add="s_carousel_rounded" remove="o_cc o_cc2 s_carousel_default" separator=" "/>
</xpath>
<!-- Slide #1 --> <!-- Slide #1 -->
<xpath expr="//div[hasclass('carousel-item')]" position="attributes"> <xpath expr="//div[hasclass('carousel-item')]" position="attributes">
<!-- Remove background image of the slide --> <!-- Remove background image of the slide -->
@@ -171,7 +167,7 @@
<attribute name="data-oe-shape-data">{"shape":"web_editor/Origins/14_001","flip":["y"]}</attribute> <attribute name="data-oe-shape-data">{"shape":"web_editor/Origins/14_001","flip":["y"]}</attribute>
</xpath> </xpath>
<!-- Shape --> <!-- Shape -->
<xpath expr="//ol[hasclass('carousel-indicators')]" position="before"> <xpath expr="//div[hasclass('carousel-indicators')]" position="before">
<div class="o_we_shape o_web_editor_Origins_14_001" style="background-image: url('/web_editor/shape/web_editor/Origins/14_001.svg?c3=o-color-4&amp;c4=o-color-4&amp;flip=y'); background-position: 50% 0%;"/> <div class="o_we_shape o_web_editor_Origins_14_001" style="background-image: url('/web_editor/shape/web_editor/Origins/14_001.svg?c3=o-color-4&amp;c4=o-color-4&amp;flip=y'); background-position: 50% 0%;"/>
</xpath> </xpath>
</template> </template>
@@ -333,15 +329,24 @@
<!-- ======== CAROUSEL ======== --> <!-- ======== CAROUSEL ======== -->
<template id="s_carousel" inherit_id="website.s_carousel" name="Be Wise s_carousel"> <template id="s_carousel" inherit_id="website.s_carousel" name="Be Wise s_carousel">
<xpath expr="//div[hasclass('carousel-item')]" position="attributes"> <xpath expr="(//div[hasclass('carousel-item')])[2]" position="attributes">
<attribute name="class" add="o_cc o_cc5" separator=" "/> <attribute name="class" add="o_cc o_cc5" separator=" "/>
</xpath> </xpath>
<xpath expr="(//div[hasclass('carousel-item')])[2]//div[hasclass('container')]" position="before">
<div class="o_we_bg_filter bg-black-50"/>
</xpath>
<xpath expr="//div[hasclass('carousel-item')][3]" position="attributes"> <xpath expr="//div[hasclass('carousel-item')][3]" position="attributes">
<attribute name="style" add="background-position: 50% 25%" separator=";"/> <attribute name="style" add="background-position: 50% 25%" separator=";"/>
</xpath> </xpath>
<xpath expr="//div[hasclass('carousel-item')][3]//p[last()]" position="replace" mode="inner"> <xpath expr="//div[hasclass('carousel-item')][3]//p[last()]" position="replace" mode="inner">
<font class="bg-o-color-4">Good copy starts with understanding how your product or service helps your customers. Simple words communicate better than big words and pompous language.</font> <font class="bg-o-color-4">Good copy starts with understanding how your product or service helps your customers. Simple words communicate better than big words and pompous language.</font>
</xpath> </xpath>
<xpath expr="//div[hasclass('carousel-item')]//a" position="attributes">
<attribute name="class" add="btn-secondary" remove="btn-primary" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('carousel-item')])[2]//a" position="attributes">
<attribute name="class" add="btn-secondary" remove="btn-primary" separator=" "/>
</xpath>
</template> </template>
<!-- ======== MEDIA LIST ======== --> <!-- ======== MEDIA LIST ======== -->
+1
View File
@@ -28,6 +28,7 @@
'views/snippets/s_text_image.xml', 'views/snippets/s_text_image.xml',
'views/snippets/s_accordion_image.xml', 'views/snippets/s_accordion_image.xml',
'views/snippets/s_key_benefits.xml', 'views/snippets/s_key_benefits.xml',
'views/snippets/s_carousel.xml',
'views/new_page_template.xml', 'views/new_page_template.xml',
], ],
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_carousel" inherit_id="website.s_carousel">
<xpath expr="(//div[hasclass('carousel-item')])[2]" position="attributes">
<attribute name="class" add="o_cc o_cc5" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('container')])[2]" position="before">
<div class="o_we_bg_filter bg-black-50"/>
</xpath>
<xpath expr="(//div[hasclass('container')])[3]" position="before">
<div class="o_we_bg_filter bg-black-50"/>
</xpath>
</template>
</odoo>
+1
View File
@@ -33,6 +33,7 @@
'views/snippets/s_unveil.xml', 'views/snippets/s_unveil.xml',
'views/snippets/s_numbers_showcase.xml', 'views/snippets/s_numbers_showcase.xml',
'views/snippets/s_key_benefits.xml', 'views/snippets/s_key_benefits.xml',
'views/snippets/s_carousel.xml',
'views/new_page_template.xml', 'views/new_page_template.xml',
], ],
'images': [ 'images': [
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_carousel" inherit_id="website.s_carousel">
<xpath expr="//div[hasclass('s_carousel')]" position="attributes">
<attribute name="class" add="s_carousel_controllers_indicators_outside s_carousel_boxed carousel-dark" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('container')])[2]" position="before">
<div class="o_we_bg_filter bg-white-50"/>
</xpath>
<xpath expr="(//div[hasclass('container')])[3]" position="before">
<div class="o_we_bg_filter bg-black-50"/>
</xpath>
</template>
</odoo>
@@ -2,6 +2,9 @@
<odoo> <odoo>
<template id="s_quotes_carousel" inherit_id="website.s_quotes_carousel"> <template id="s_quotes_carousel" inherit_id="website.s_quotes_carousel">
<xpath expr="//div[hasclass('carousel')]" position="attributes">
<attribute name="class" remove="carousel-dark" separator=" "/>
</xpath>
<!-- Carousel item #1 --> <!-- Carousel item #1 -->
<xpath expr="//div[hasclass('carousel-item')]" position="attributes"> <xpath expr="//div[hasclass('carousel-item')]" position="attributes">
<attribute name="style">background-image: url('/web/image/website.s_quotes_carousel_demo_image_6'); background-position: 50% 50%;</attribute> <attribute name="style">background-image: url('/web/image/website.s_quotes_carousel_demo_image_6'); background-position: 50% 50%;</attribute>
+1
View File
@@ -44,6 +44,7 @@
'views/snippets/s_numbers_showcase.xml', 'views/snippets/s_numbers_showcase.xml',
'views/snippets/s_accordion_image.xml', 'views/snippets/s_accordion_image.xml',
'views/snippets/s_key_benefits.xml', 'views/snippets/s_key_benefits.xml',
'views/snippets/s_carousel.xml',
'views/new_page_template.xml', 'views/new_page_template.xml',
], ],
'images': [ 'images': [
Binary file not shown.

Before

Width:  |  Height:  |  Size: 65 KiB

After

Width:  |  Height:  |  Size: 65 KiB

+16
View File
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_carousel" inherit_id="website.s_carousel">
<xpath expr="(//div[hasclass('carousel-item')])[2]" position="attributes">
<attribute name="class" add="o_cc o_cc5" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('container')])[2]" position="before">
<div class="o_we_bg_filter bg-black-50"/>
</xpath>
<xpath expr="(//div[hasclass('container')])[3]" position="before">
<div class="o_we_bg_filter bg-black-50"/>
</xpath>
</template>
</odoo>
@@ -4,7 +4,7 @@
<template id="s_image_gallery" inherit_id="website.s_image_gallery"> <template id="s_image_gallery" inherit_id="website.s_image_gallery">
<!-- Section --> <!-- Section -->
<xpath expr="//section" position="attributes"> <xpath expr="//section" position="attributes">
<attribute name="class" add="o_full_screen_height pt56 pb56 o_cc o_cc2 s_image_gallery_indicators_arrows_rounded" remove="pt24" separator=" "/> <attribute name="class" add="o_full_screen_height pt56 pb56 o_cc o_cc2" remove="pt24 pb24" separator=" "/>
</xpath> </xpath>
</template> </template>
@@ -4,11 +4,11 @@
<template id="s_quotes_carousel" inherit_id="website.s_quotes_carousel"> <template id="s_quotes_carousel" inherit_id="website.s_quotes_carousel">
<!-- Carousel --> <!-- Carousel -->
<xpath expr="//div[hasclass('s_quotes_carousel')]" position="attributes"> <xpath expr="//div[hasclass('s_quotes_carousel')]" position="attributes">
<attribute name="class" add="s_carousel_rounded o_cc5" remove="s_carousel_default o_cc2" separator=" "/> <attribute name="class" add="s_carousel_rounded o_cc5" remove="s_carousel_boxed o_cc2 carousel-dark" separator=" "/>
<attribute name="data-oe-shape-data">{"shape":"web_editor/Rainy/10","flip":[]}</attribute> <attribute name="data-oe-shape-data">{"shape":"web_editor/Rainy/10","flip":[]}</attribute>
</xpath> </xpath>
<!-- Shape --> <!-- Shape -->
<xpath expr="//ol[hasclass('carousel-indicators')]" position="before"> <xpath expr="//div[hasclass('carousel-inner')]" position="before">
<div class="o_we_shape o_web_editor_Rainy_10"/> <div class="o_we_shape o_web_editor_Rainy_10"/>
</xpath> </xpath>
<!-- Carousel items - Remove background image --> <!-- Carousel items - Remove background image -->
Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

+5 -5
View File
@@ -142,11 +142,6 @@
<field name="name">website.s_quotes_carousel_demo_image_2</field> <field name="name">website.s_quotes_carousel_demo_image_2</field>
<field name="url">/theme_clean/static/src/img/backgrounds/bg_snippet_11.jpg</field> <field name="url">/theme_clean/static/src/img/backgrounds/bg_snippet_11.jpg</field>
</record> </record>
<record id="s_quotes_carousel_demo_image_3" model="theme.ir.attachment">
<field name="key">website.s_quotes_carousel_demo_image_3</field>
<field name="name">website.s_quotes_carousel_demo_image_3</field>
<field name="url">/theme_clean/static/src/img/backgrounds/s_quotes_carousel_demo_image_3.jpg</field>
</record>
<record id="s_newsletter_block" model="theme.ir.attachment"> <record id="s_newsletter_block" model="theme.ir.attachment">
<field name="key">website.library_image_17</field> <field name="key">website.library_image_17</field>
<field name="name">website.library_image_17</field> <field name="name">website.library_image_17</field>
@@ -192,5 +187,10 @@
<field name="name">website.s_accordion_image_default_image</field> <field name="name">website.s_accordion_image_default_image</field>
<field name="url">/theme_clean/static/src/img/content/image_content_19.jpg</field> <field name="url">/theme_clean/static/src/img/content/image_content_19.jpg</field>
</record> </record>
<record id="library_image_08" model="theme.ir.attachment">
<field name="key">website.library_image_08</field>
<field name="name">website.library_image_08</field>
<field name="url">/theme_clean/static/src/img/content/image_content_39.jpg</field>
</record>
</odoo> </odoo>
+34 -47
View File
@@ -2,53 +2,40 @@
<odoo> <odoo>
<template id="s_carousel" inherit_id="website.s_carousel"> <template id="s_carousel" inherit_id="website.s_carousel">
<!-- Container --> <!-- Titles -->
<xpath expr="//div[hasclass('carousel-inner')]" position="replace"> <xpath expr="//h2" position="replace" mode="inner">
<div class="carousel-inner"> Personal adviser
<!-- Slide 1 --> </xpath>
<div class="carousel-item pt256 pb256 oe_img_bg active o_cc o_cc3" style="background-image: url('/web/image/website.s_carousel_default_image_1'); background-position: 50% 20%; position: relative;" data-name="Slide"> <xpath expr="(//h2)[2]" position="replace" mode="inner">
<!-- Filter --> Simplify things
<div class="o_we_bg_filter bg-black-50"/> </xpath>
<div class="container"> <xpath expr="//h3" position="replace" mode="inner">
<div class="row"> Efficient team processes
<div class="carousel-content col-lg-5"> </xpath>
<!-- Paragraph --> <xpath expr="//h6" position="replace"/>
<h2>Personal adviser</h2>
<p class="lead"><br/>At any moment, you may contact our advisor through the in-app video meeting system.</p> <!-- Paragraphs -->
</div> <xpath expr="//p[hasclass('lead')]" position="replace" mode="inner">
</div> At any moment, you may contact our advisor through the in-app video meeting system.
</div> </xpath>
</div> <xpath expr="(//p[hasclass('lead')])[2]" position="replace" mode="inner">
<!-- Slide 2 --> We invest in strategic advice tailored to your business problems and needs.
<div class="carousel-item pt256 pb256 oe_img_bg o_cc o_cc3" style="background-image: url('/web/image/website.s_carousel_default_image_2'); position: relative;" data-name="Slide"> </xpath>
<!-- Filter --> <xpath expr="(//p[hasclass('lead')])[3]" position="replace" mode="inner">
<div class="o_we_bg_filter bg-black-50"/> We integrate digital tools and solutions for better insights, enabling data-driven planning.
<div class="container"> </xpath>
<div class="row">
<div class="carousel-content col-lg-12 text-center"> <!-- Filter -->
<!-- Paragraph --> <xpath expr="(//div[hasclass('container')])[2]" position="before">
<h2>Simplify things</h2> <div class="o_we_bg_filter bg-white-50"/>
<p class="lead"><br/>We invest in strategic advice tailored to your<br/> </xpath>
business problems and needs.</p> <xpath expr="(//div[hasclass('container')])[3]" position="before">
</div> <div class="o_we_bg_filter bg-black-50"/>
</div> </xpath>
</div>
</div> <!-- Background -->
<!-- Slide 3 --> <xpath expr="//div[hasclass('carousel-item')]" position="attributes">
<div class="carousel-item pt256 pb256 oe_img_bg o_cc o_cc3" style="background-image: url('/web/image/website.s_carousel_default_image_3'); position: relative; background-position: 50% 65%;" data-name="Slide"> <attribute name="style" add="background-position: 50% 10%;" separator=" "/>
<!-- Filter -->
<div class="o_we_bg_filter bg-black-50"/>
<div class="container">
<div class="row">
<div class="carousel-content col-lg-5 offset-lg-7">
<!-- Paragraph -->
<h2>Efficient team processes</h2>
<p class="lead"><br/>We integrate digital tools and solutions for better insights, enabling data-driven planning.</p>
</div>
</div>
</div>
</div>
</div>
</xpath> </xpath>
</template> </template>
+7 -8
View File
@@ -131,6 +131,13 @@
</xpath> </xpath>
</template> </template>
<!-- ======== CAROUSEL ======== -->
<template id="s_carousel" inherit_id="website.s_carousel" name="Cobalt s_carousel">
<xpath expr="(//div[hasclass('carousel-content')])[3]" position="attributes">
<attribute name="class" add="o_cc o_cc4" separator=" "/>
</xpath>
</template>
<!-- ==== References ===== --> <!-- ==== References ===== -->
<template id="s_references" inherit_id="website.s_references" name="Cobalt s_references"> <template id="s_references" inherit_id="website.s_references" name="Cobalt s_references">
<xpath expr="//section" position="attributes"> <xpath expr="//section" position="attributes">
@@ -190,14 +197,6 @@
</xpath> </xpath>
</template> </template>
<!-- ==== Images Gallery ===== -->
<template id="s_image_gallery" inherit_id="website.s_image_gallery">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="s_image_gallery_cover" separator=" "/>
</xpath>
</template>
<!-- ==== Images Wall ===== --> <!-- ==== Images Wall ===== -->
<template id="s_images_wall" inherit_id="website.s_images_wall"> <template id="s_images_wall" inherit_id="website.s_images_wall">
<!-- Section --> <!-- Section -->
+1
View File
@@ -23,6 +23,7 @@
'views/snippets/s_image_gallery.xml', 'views/snippets/s_image_gallery.xml',
'views/snippets/s_unveil.xml', 'views/snippets/s_unveil.xml',
'views/snippets/s_key_benefits.xml', 'views/snippets/s_key_benefits.xml',
'views/snippets/s_carousel.xml',
'views/new_page_template.xml', 'views/new_page_template.xml',
], ],
'images': [ 'images': [
+16
View File
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_carousel" inherit_id="website.s_carousel">
<xpath expr="//div[hasclass('carousel-item')]" position="attributes">
<attribute name="class" add="o_cc1" remove="o_cc5" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('o_we_bg_filter')]" position="replace">
<div class="o_we_bg_filter bg-white-25"/>
</xpath>
<xpath expr="(//div[hasclass('container')])[3]" position="before">
<div class="o_we_bg_filter bg-black-50"/>
</xpath>
</template>
</odoo>
@@ -4,11 +4,7 @@
<template id="s_image_gallery" inherit_id="website.s_image_gallery"> <template id="s_image_gallery" inherit_id="website.s_image_gallery">
<!-- Section --> <!-- Section -->
<xpath expr="//section" position="attributes"> <xpath expr="//section" position="attributes">
<attribute name="class" add="s_image_gallery_cover s_image_gallery_indicators_arrows_boxed o_full_screen_height pt0 pb0" remove="pb24 pt24 s_image_gallery_indicators_rounded" separator=" "/> <attribute name="class" add="o_full_screen_height pt0 pb0" remove="pb24 pt24" separator=" "/>
</xpath>
<!-- Container -->
<xpath expr="//div[hasclass('container')]" position="attributes">
<attribute name="class" add="container-fluid" remove="container" separator=" "/>
</xpath> </xpath>
</template> </template>
Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

+12
View File
@@ -100,15 +100,27 @@
<!-- ======== CAROUSEL ======== --> <!-- ======== CAROUSEL ======== -->
<template id="s_carousel" inherit_id="website.s_carousel" name="Graphene s_carousel"> <template id="s_carousel" inherit_id="website.s_carousel" name="Graphene s_carousel">
<xpath expr="//div[hasclass('s_carousel')]" position="attributes">
<attribute name="class" add="s_carousel_controllers_indicators_outside s_carousel_boxed carousel-dark" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('carousel-inner')]/div[1]" position="attributes"> <xpath expr="//div[hasclass('carousel-inner')]/div[1]" position="attributes">
<attribute name="class" add="o_cc1" remove="o_cc5" separator=" "/>
<attribute name="style" add="background-position: 50% 100%;" separator=";"/> <attribute name="style" add="background-position: 50% 100%;" separator=";"/>
</xpath> </xpath>
<xpath expr="//div[hasclass('carousel-inner')]/div[2]" position="attributes"> <xpath expr="//div[hasclass('carousel-inner')]/div[2]" position="attributes">
<attribute name="style" add="background-position: 50% 100%;" separator=";"/> <attribute name="style" add="background-position: 50% 100%;" separator=";"/>
<attribute name="class" add="o_cc o_cc3" separator=" "/>
</xpath> </xpath>
<xpath expr="//div[hasclass('carousel-inner')]/div[3]" position="attributes"> <xpath expr="//div[hasclass('carousel-inner')]/div[3]" position="attributes">
<attribute name="style" add="background-position: 50% 100%;" separator=";"/> <attribute name="style" add="background-position: 50% 100%;" separator=";"/>
</xpath> </xpath>
<xpath expr="//div[hasclass('o_we_bg_filter')]" position="replace"/>
<xpath expr="(//div[hasclass('container')])[2]" position="before">
<div class="o_we_bg_filter bg-black-75" />
</xpath>
<xpath expr="(//div[hasclass('container')])[3]" position="before">
<div class="o_we_bg_filter bg-black-75" />
</xpath>
</template> </template>
<!-- ======== COMPANY TEAM ======== --> <!-- ======== COMPANY TEAM ======== -->
+11
View File
@@ -345,4 +345,15 @@ Check in images.scss, primary_variables.scss, main.scss and theme_common's mixin
<field name="url">/theme_graphene/static/src/img/pictures/content_06.jpg</field> <field name="url">/theme_graphene/static/src/img/pictures/content_06.jpg</field>
</record> </record>
<record id="library_image_02" model="theme.ir.attachment">
<field name="key">website.library_image_02</field>
<field name="name">website.library_image_02</field>
<field name="url">/theme_graphene/static/src/img/pictures/content_26.jpg</field>
</record>
<record id="library_image_08" model="theme.ir.attachment">
<field name="key">website.library_image_08</field>
<field name="name">website.library_image_08</field>
<field name="url">/theme_graphene/static/src/img/pictures/content_27.jpg</field>
</record>
</odoo> </odoo>
+2
View File
@@ -27,6 +27,8 @@
'views/snippets/s_unveil.xml', 'views/snippets/s_unveil.xml',
'views/snippets/s_accordion_image.xml', 'views/snippets/s_accordion_image.xml',
'views/snippets/s_key_benefits.xml', 'views/snippets/s_key_benefits.xml',
'views/snippets/s_carousel.xml',
'views/snippets/s_quotes_carousel.xml',
'views/new_page_template.xml', 'views/new_page_template.xml',
], ],
'images': [ 'images': [
+10
View File
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_carousel" inherit_id="website.s_carousel">
<xpath expr="//div[hasclass('s_carousel')]" position="attributes">
<attribute name="class" add="s_carousel_boxed carousel-dark" separator=" "/>
</xpath>
</template>
</odoo>
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_quotes_carousel" inherit_id="website.s_quotes_carousel">
<xpath expr="//div[hasclass('s_quotes_carousel')]" position="attributes">
<attribute name="class" remove="carousel-dark" separator=" "/>
</xpath>
</template>
</odoo>
+1
View File
@@ -26,6 +26,7 @@
'views/snippets/s_numbers_showcase.xml', 'views/snippets/s_numbers_showcase.xml',
'views/snippets/s_accordion_image.xml', 'views/snippets/s_accordion_image.xml',
'views/snippets/s_key_benefits.xml', 'views/snippets/s_key_benefits.xml',
'views/snippets/s_carousel.xml',
'views/new_page_template.xml', 'views/new_page_template.xml',
], ],
'images': [ 'images': [
Binary file not shown.

Before

Width:  |  Height:  |  Size: 108 KiB

After

Width:  |  Height:  |  Size: 87 KiB

+13
View File
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_carousel" inherit_id="website.s_carousel">
<xpath expr="(//div[hasclass('container')])[2]" position="before">
<div class="o_we_bg_filter bg-white-50"/>
</xpath>
<xpath expr="(//div[hasclass('container')])[3]" position="before">
<div class="o_we_bg_filter bg-black-50"/>
</xpath>
</template>
</odoo>
+1
View File
@@ -28,6 +28,7 @@
'views/snippets/s_product_catalog.xml', 'views/snippets/s_product_catalog.xml',
'views/snippets/s_unveil.xml', 'views/snippets/s_unveil.xml',
'views/snippets/s_key_benefits.xml', 'views/snippets/s_key_benefits.xml',
'views/snippets/s_carousel.xml',
'views/new_page_template.xml', 'views/new_page_template.xml',
], ],
'images': [ 'images': [
Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

+10
View File
@@ -260,5 +260,15 @@ Check in primary_variables.scss and theme.scss -->
<field name="name">website.s_accordion_image_default_image</field> <field name="name">website.s_accordion_image_default_image</field>
<field name="url">/theme_loftspace/static/src/img/snippets/s_media_list_1.jpg</field> <field name="url">/theme_loftspace/static/src/img/snippets/s_media_list_1.jpg</field>
</record> </record>
<record id="library_image_02" model="theme.ir.attachment">
<field name="key">website.library_image_02</field>
<field name="name">website.library_image_02</field>
<field name="url">/theme_loftspace/static/src/img/snippets/s_images_gallery_1.jpg</field>
</record>
<record id="library_image_08" model="theme.ir.attachment">
<field name="key">website.library_image_08</field>
<field name="name">website.library_image_08</field>
<field name="url">/theme_loftspace/static/src/img/snippets/s_images_gallery_2.jpg</field>
</record>
</odoo> </odoo>
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_carousel" inherit_id="website.s_carousel">
<xpath expr="//div[hasclass('carousel-item')]" position="attributes">
<attribute name="class" add="o_cc4" remove="o_cc5" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('container')])[2]" position="before">
<div class="o_we_bg_filter bg-white-50"/>
</xpath>
<xpath expr="(//div[hasclass('container')])[3]" position="before">
<div class="o_we_bg_filter bg-black-50"/>
</xpath>
</template>
</odoo>
@@ -2,13 +2,9 @@
<odoo> <odoo>
<template id="s_image_gallery" inherit_id="website.s_image_gallery"> <template id="s_image_gallery" inherit_id="website.s_image_gallery">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="s_image_gallery_cover" separator=" "/>
</xpath>
<!-- Container --> <!-- Container -->
<xpath expr="//div[hasclass('container')]" position="attributes"> <xpath expr="//div[hasclass('o_container_small')]" position="attributes">
<attribute name="class" add="container-fluid" remove="container" separator=" "/> <attribute name="class" add="container" remove="o_container_small" separator=" "/>
</xpath> </xpath>
</template> </template>
Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

+9
View File
@@ -159,6 +159,15 @@
<xpath expr="//a" position="replace"> <xpath expr="//a" position="replace">
<a href="/contactus" class="btn btn-primary">Discover</a> <a href="/contactus" class="btn btn-primary">Discover</a>
</xpath> </xpath>
<xpath expr="(//div[hasclass('carousel-item')])[2]" position="attributes">
<attribute name="class" add="o_cc o_cc5" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('container')])[2]" position="before">
<div class="o_we_bg_filter bg-black-50"/>
</xpath>
<xpath expr="(//div[hasclass('container')])[3]" position="before">
<div class="o_we_bg_filter bg-black-50"/>
</xpath>
</template> </template>
<!-- ======== QUOTES ======== --> <!-- ======== QUOTES ======== -->
+21
View File
@@ -220,6 +220,11 @@ Check in primary_variables.scss, theme.scss and theme_common's mixins.scss -->
<field name="name">website.s_product_catalog_default_image</field> <field name="name">website.s_product_catalog_default_image</field>
<field name="url">/theme_monglia/static/src/img/snippets/s_product_catalog.jpg</field> <field name="url">/theme_monglia/static/src/img/snippets/s_product_catalog.jpg</field>
</record> </record>
<record id="s_quotes_carousel_demo_image_0" model="theme.ir.attachment">
<field name="key">website.s_quotes_carousel_demo_image_0</field>
<field name="name">website.s_quotes_carousel_demo_image_0</field>
<field name="url">/theme_monglia/static/src/img/snippets/s_quotes_carousel_0.jpg</field>
</record>
<record id="s_quotes_carousel_demo_image_1" model="theme.ir.attachment"> <record id="s_quotes_carousel_demo_image_1" model="theme.ir.attachment">
<field name="key">website.s_quotes_carousel_demo_image_1</field> <field name="key">website.s_quotes_carousel_demo_image_1</field>
<field name="name">website.s_quotes_carousel_demo_image_1</field> <field name="name">website.s_quotes_carousel_demo_image_1</field>
@@ -261,4 +266,20 @@ Check in primary_variables.scss, theme.scss and theme_common's mixins.scss -->
<field name="url">/theme_monglia/static/src/img/snippets/s_media_list_1.jpg</field> <field name="url">/theme_monglia/static/src/img/snippets/s_media_list_1.jpg</field>
</record> </record>
<record id="library_image_02" model="theme.ir.attachment">
<field name="key">website.library_image_02</field>
<field name="name">website.library_image_02</field>
<field name="url">/theme_monglia/static/src/img/snippets/s_images_gallery_1.jpg</field>
</record>
<record id="library_image_08" model="theme.ir.attachment">
<field name="key">website.library_image_08</field>
<field name="name">website.library_image_08</field>
<field name="url">/theme_monglia/static/src/img/snippets/s_images_gallery_2.jpg</field>
</record>
<record id="library_image_08" model="theme.ir.attachment">
<field name="key">website.library_image_08</field>
<field name="name">website.library_image_08</field>
<field name="url">/theme_monglia/static/src/img/snippets/s_images_gallery_2.jpg</field>
</record>
</odoo> </odoo>
Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

+10
View File
@@ -368,5 +368,15 @@
<field name="name">website.s_accordion_image_default_image</field> <field name="name">website.s_accordion_image_default_image</field>
<field name="url">/theme_nano/static/src/img/snippets/s_cover.jpg</field> <field name="url">/theme_nano/static/src/img/snippets/s_cover.jpg</field>
</record> </record>
<record id="library_image_02" model="theme.ir.attachment">
<field name="key">website.library_image_02</field>
<field name="name">website.library_image_02</field>
<field name="url">/theme_nano/static/src/img/snippets/s_images_gallery_01.jpg</field>
</record>
<record id="library_image_08" model="theme.ir.attachment">
<field name="key">website.library_image_08</field>
<field name="name">website.library_image_08</field>
<field name="url">/theme_nano/static/src/img/snippets/s_images_gallery_02.jpg</field>
</record>
</odoo> </odoo>
+1 -1
View File
@@ -4,7 +4,7 @@
<template id="s_carousel" inherit_id="website.s_carousel"> <template id="s_carousel" inherit_id="website.s_carousel">
<!-- Carousel --> <!-- Carousel -->
<xpath expr="//*[hasclass('s_carousel')]" position="attributes"> <xpath expr="//*[hasclass('s_carousel')]" position="attributes">
<attribute name="class" add="s_carousel_bordered carousel-fade bg-o-color-4" remove="s_carousel_default" separator=" "/> <attribute name="class" add="carousel-fade bg-o-color-4" separator=" "/>
</xpath> </xpath>
<!-- Slide #01 --> <!-- Slide #01 -->
<xpath expr="//*[hasclass('carousel-content')][1]" position="attributes"> <xpath expr="//*[hasclass('carousel-content')][1]" position="attributes">
+9 -6
View File
@@ -4,11 +4,11 @@
<template id="s_carousel" inherit_id="website.s_carousel"> <template id="s_carousel" inherit_id="website.s_carousel">
<!-- Slide #1 --> <!-- Slide #1 -->
<xpath expr="//div[hasclass('carousel-item')]" position="attributes"> <xpath expr="//div[hasclass('carousel-item')]" position="attributes">
<attribute name="class" add="pb224 pt224 o_cc o_cc5" remove="pb152 pt152" separator=" "/> <attribute name="class" add="pb224 pt224" remove="pb152 pt152" separator=" "/>
</xpath> </xpath>
<xpath expr="//div[hasclass('carousel-content')]" position="replace"> <xpath expr="//div[hasclass('carousel-content')]" position="replace">
<div class="carousel-content col-lg-6"> <div class="carousel-content col-lg-6">
<h2>Miraillet Festival</h2> <h2 class="display-3-fs">Miraillet Festival</h2>
<p class="lead">From the 12th to the 17th of August, come and enjoy the atmosphere at the Miraillet Festival. Discover the line up below.</p> <p class="lead">From the 12th to the 17th of August, come and enjoy the atmosphere at the Miraillet Festival. Discover the line up below.</p>
<p><br/></p> <p><br/></p>
<p><a href="/contactus" class="btn btn-primary btn-lg">More Info</a></p> <p><a href="/contactus" class="btn btn-primary btn-lg">More Info</a></p>
@@ -16,11 +16,14 @@
</xpath> </xpath>
<!-- Slide #2 --> <!-- Slide #2 -->
<xpath expr="//div[hasclass('carousel-item')][2]" position="attributes"> <xpath expr="//div[hasclass('carousel-item')][2]" position="attributes">
<attribute name="class" add="pb224 pt224 o_cc o_cc2" remove="pt96 pb96" separator=" "/> <attribute name="class" add="pb224 pt224 o_cc o_cc5" remove="pt96 pb96" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('container')])[2]" position="before">
<div class="o_we_bg_filter bg-black-50"/>
</xpath> </xpath>
<xpath expr="(//div[hasclass('carousel-content')])[2]" position="replace"> <xpath expr="(//div[hasclass('carousel-content')])[2]" position="replace">
<div class="carousel-content col-lg-6"> <div class="carousel-content col-lg-6">
<h2>6 Days Pass</h2> <h2 class="display-3-fs">6 Days Pass</h2>
<p class="lead">Tickets will be on sale soon. Do not miss our 6 Days Pass. Free camping!</p> <p class="lead">Tickets will be on sale soon. Do not miss our 6 Days Pass. Free camping!</p>
<p><br/></p> <p><br/></p>
<p><a href="/" class="btn btn-primary btn-lg">More Info</a></p> <p><a href="/" class="btn btn-primary btn-lg">More Info</a></p>
@@ -28,11 +31,11 @@
</xpath> </xpath>
<!-- Slide #3 --> <!-- Slide #3 -->
<xpath expr="//div[hasclass('carousel-item')][3]" position="attributes"> <xpath expr="//div[hasclass('carousel-item')][3]" position="attributes">
<attribute name="class" add="pb224 pt224 o_cc o_cc5" remove="pt128 pb128" separator=" "/> <attribute name="class" add="pb224 pt224" remove="pt128 pb128" separator=" "/>
</xpath> </xpath>
<xpath expr="(//div[hasclass('carousel-content')])[3]" position="replace"> <xpath expr="(//div[hasclass('carousel-content')])[3]" position="replace">
<div class="carousel-content col-lg-6"> <div class="carousel-content col-lg-6">
<h2>Recent Editions</h2> <h2 class="display-3-fs">Recent Editions</h2>
<p class="lead">Discover what makes the reputation of the Miraillet festival through these after-movies.</p> <p class="lead">Discover what makes the reputation of the Miraillet festival through these after-movies.</p>
<p><br/></p> <p><br/></p>
<p><a href="/" class="btn btn-primary btn-lg">More Info</a></p> <p><a href="/" class="btn btn-primary btn-lg">More Info</a></p>
@@ -4,11 +4,7 @@
<template id="s_image_gallery" inherit_id="website.s_image_gallery"> <template id="s_image_gallery" inherit_id="website.s_image_gallery">
<!-- Section --> <!-- Section -->
<xpath expr="//section" position="attributes"> <xpath expr="//section" position="attributes">
<attribute name="class" add="s_image_gallery_cover o_full_screen_height" separator=" "/> <attribute name="class" add="s_image_gallery_indicators_arrows_boxed" separator=" "/>
</xpath>
<!-- Container -->
<xpath expr="//div[hasclass('container')]" position="attributes">
<attribute name="class" add="container-fluid" remove="container" separator=" "/>
</xpath> </xpath>
</template> </template>
@@ -4,11 +4,14 @@
<template id="s_quotes_carousel" inherit_id="website.s_quotes_carousel"> <template id="s_quotes_carousel" inherit_id="website.s_quotes_carousel">
<!-- Section --> <!-- Section -->
<xpath expr="//section" position="attributes"> <xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc o_cc5 oe_img_bg o_bg_img_center" separator=" "/> <attribute name="class" add="o_cc o_cc5" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('s_quotes_carousel')]" position="attributes">
<attribute name="class" add="oe_img_bg o_bg_img_center" remove="carousel-dark" separator=" "/>
<attribute name="style">background-image: url('/web/image/website.s_quotes_carousel_demo_image_6'); background-position: 50% 65%;</attribute> <attribute name="style">background-image: url('/web/image/website.s_quotes_carousel_demo_image_6'); background-position: 50% 65%;</attribute>
</xpath> </xpath>
<!-- Filter --> <!-- Filter -->
<xpath expr="//div[hasclass('s_quotes_carousel')]" position="before"> <xpath expr="//div[hasclass('carousel-inner')]" position="before">
<div class="o_we_bg_filter bg-black-75"/> <div class="o_we_bg_filter bg-black-75"/>
</xpath> </xpath>
<!-- Carousel --> <!-- Carousel -->
+1
View File
@@ -33,6 +33,7 @@
'views/snippets/s_title.xml', 'views/snippets/s_title.xml',
'views/snippets/s_unveil.xml', 'views/snippets/s_unveil.xml',
'views/snippets/s_key_benefits.xml', 'views/snippets/s_key_benefits.xml',
'views/snippets/s_carousel.xml',
'views/new_page_template.xml', 'views/new_page_template.xml',
], ],
'images': [ 'images': [
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_carousel" inherit_id="website.s_carousel">
<xpath expr="(//div[hasclass('carousel-item')])[2]" position="attributes">
<attribute name="class" add="o_cc o_cc5" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('container')])[2]" position="before">
<div class="o_we_bg_filter bg-black-50"/>
</xpath>
<xpath expr="(//div[hasclass('container')])[3]" position="before">
<div class="o_we_bg_filter bg-black-50"/>
</xpath>
</template>
</odoo>
@@ -4,11 +4,7 @@
<template id="s_image_gallery" inherit_id="website.s_image_gallery"> <template id="s_image_gallery" inherit_id="website.s_image_gallery">
<!-- Section --> <!-- Section -->
<xpath expr="//section" position="attributes"> <xpath expr="//section" position="attributes">
<attribute name="class" add="s_image_gallery_cover o_full_screen_height" separator=" "/> <attribute name="class" add="s_image_gallery_indicators_arrows_boxed" separator=" "/>
</xpath>
<!-- Container -->
<xpath expr="//div[hasclass('container')]" position="attributes">
<attribute name="class" add="container-fluid" remove="container" separator=" "/>
</xpath> </xpath>
</template> </template>
@@ -3,15 +3,15 @@
<template id="s_quotes_carousel" inherit_id="website.s_quotes_carousel"> <template id="s_quotes_carousel" inherit_id="website.s_quotes_carousel">
<!-- Carousel item #1 - filter --> <!-- Carousel item #1 - filter -->
<xpath expr="//div[hasclass('carousel-item')]//div[hasclass('container')]" position="before"> <xpath expr="//div[hasclass('container')]" position="before">
<div class="o_we_bg_filter bg-black-50"/> <div class="o_we_bg_filter bg-black-50"/>
</xpath> </xpath>
<!-- Carousel item #2 - filter --> <!-- Carousel item #2 - filter -->
<xpath expr="//div[hasclass('carousel-item')][2]//div[hasclass('container')]" position="before"> <xpath expr="(//div[hasclass('container')])[2]" position="before">
<div class="o_we_bg_filter bg-black-50"/> <div class="o_we_bg_filter bg-black-50"/>
</xpath> </xpath>
<!-- Carousel item #3 - filter --> <!-- Carousel item #3 - filter -->
<xpath expr="//div[hasclass('carousel-item')][3]//div[hasclass('container')]" position="before"> <xpath expr="(//div[hasclass('container')])[3]" position="before">
<div class="o_we_bg_filter bg-black-50"/> <div class="o_we_bg_filter bg-black-50"/>
</xpath> </xpath>
</template> </template>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 55 KiB

@@ -52,7 +52,7 @@
<attribute name="data-oe-shape-data">{"shape":"web_editor/Wavy/22","flip":[]}</attribute> <attribute name="data-oe-shape-data">{"shape":"web_editor/Wavy/22","flip":[]}</attribute>
</xpath> </xpath>
<!-- Shape --> <!-- Shape -->
<xpath expr="//ol[hasclass('carousel-indicators')]" position="before"> <xpath expr="//div[hasclass('carousel-indicators')]" position="before">
<div class="o_we_shape o_web_editor_Wavy_22"/> <div class="o_we_shape o_web_editor_Wavy_22"/>
</xpath> </xpath>
</template> </template>
Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

+9 -7
View File
@@ -180,15 +180,17 @@
<!-- ======== CAROUSEL ======== --> <!-- ======== CAROUSEL ======== -->
<template id="s_carousel" inherit_id="website.s_carousel" name="Paptic s_carousel"> <template id="s_carousel" inherit_id="website.s_carousel" name="Paptic s_carousel">
<!-- Assign slide2 as 'active' and move it in first position --> <xpath expr="(//div[hasclass('carousel-item')])[2]" position="attributes">
<xpath expr="//div[hasclass('carousel-inner')]/div" position="attributes"> <attribute name="class" add="o_cc o_cc3" separator=" "/>
<attribute name="class" remove="active" separator=" "/>
</xpath> </xpath>
<xpath expr="//div[hasclass('carousel-inner')]/div[2]" position="attributes"> <xpath expr="(//div[hasclass('carousel-item')])[3]" position="attributes">
<attribute name="class" add="active" separator=" "/> <attribute name="class" add="o_cc3" remove="o_cc5" separator=" "/>
</xpath> </xpath>
<xpath expr="//div[hasclass('carousel-inner')]/div" position="before"> <xpath expr="(//div[hasclass('container')])[2]" position="before">
<xpath expr="//div[hasclass('carousel-inner')]/div[2]" position="move"/> <div class="o_we_bg_filter bg-white-75"/>
</xpath>
<xpath expr="(//div[hasclass('container')])[3]" position="before">
<div class="o_we_bg_filter bg-white-75"/>
</xpath> </xpath>
</template> </template>
+17
View File
@@ -190,4 +190,21 @@
<field name="url">/theme_paptic/static/src/img/pictures/s_picture.jpg</field> <field name="url">/theme_paptic/static/src/img/pictures/s_picture.jpg</field>
</record> </record>
<!-- Images Gallery -->
<record id="library_image_02" model="theme.ir.attachment">
<field name="key">website.library_image_02</field>
<field name="name">website.library_image_02</field>
<field name="url">/theme_paptic/static/src/img/pictures/s_images_gallery_1.jpg</field>
</record>
<record id="library_image_08" model="theme.ir.attachment">
<field name="key">website.library_image_08</field>
<field name="name">website.library_image_08</field>
<field name="url">/theme_paptic/static/src/img/pictures/s_images_gallery_2.jpg</field>
</record>
<record id="library_image_03" model="theme.ir.attachment">
<field name="key">website.library_image_03</field>
<field name="name">website.library_image_03</field>
<field name="url">/theme_paptic/static/src/img/pictures/s_images_gallery_3.jpg</field>
</record>
</odoo> </odoo>
+1
View File
@@ -26,6 +26,7 @@
'views/snippets/s_call_to_action.xml', 'views/snippets/s_call_to_action.xml',
'views/snippets/s_unveil.xml', 'views/snippets/s_unveil.xml',
'views/snippets/s_key_benefits.xml', 'views/snippets/s_key_benefits.xml',
'views/snippets/s_carousel.xml',
'views/new_page_template.xml', 'views/new_page_template.xml',
], ],
'images': [ 'images': [
Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

+10
View File
@@ -216,5 +216,15 @@ Check in theme_monglia's primary_variables.scss, theme.scss and theme_common's m
<field name="name">website.s_accordion_image_default_image</field> <field name="name">website.s_accordion_image_default_image</field>
<field name="url">/theme_real_estate/static/src/img/snippets/s_images_wall_05.jpg</field> <field name="url">/theme_real_estate/static/src/img/snippets/s_images_wall_05.jpg</field>
</record> </record>
<record id="library_image_02" model="theme.ir.attachment">
<field name="key">website.library_image_02</field>
<field name="name">website.library_image_02</field>
<field name="url">/theme_real_estate/static/src/img/snippets/s_images_gallery_1.jpg</field>
</record>
<record id="library_image_08" model="theme.ir.attachment">
<field name="key">website.library_image_08</field>
<field name="name">website.library_image_08</field>
<field name="url">/theme_real_estate/static/src/img/snippets/s_images_gallery_2.jpg</field>
</record>
</odoo> </odoo>
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_carousel" inherit_id="website.s_carousel">
<xpath expr="(//div[hasclass('container')])[2]" position="before">
<div class="o_we_bg_filter bg-white-50"/>
</xpath>
<xpath expr="(//div[hasclass('container')])[3]" position="before">
<div class="o_we_bg_filter bg-black-50"/>
</xpath>
</template>
</odoo>
@@ -4,7 +4,13 @@
<template id="s_carousel" inherit_id="website.s_carousel"> <template id="s_carousel" inherit_id="website.s_carousel">
<!-- Carousel --> <!-- Carousel -->
<xpath expr="//div[hasclass('s_carousel')]" position="attributes"> <xpath expr="//div[hasclass('s_carousel')]" position="attributes">
<attribute name="class" add="s_carousel_rounded" remove="s_carousel_default" separator=" "/> <attribute name="class" add="s_carousel_boxed" remove="s_carousel_default" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('container')])[2]" position="before">
<div class="o_we_bg_filter bg-white-50"/>
</xpath>
<xpath expr="(//div[hasclass('container')])[3]" position="before">
<div class="o_we_bg_filter bg-black-50"/>
</xpath> </xpath>
</template> </template>
Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

+14
View File
@@ -410,4 +410,18 @@
</xpath> </xpath>
</template> </template>
<!-- ======== CAROUSEL ======== -->
<template id="s_carousel" inherit_id="website.s_carousel">
<xpath expr="(//div[hasclass('carousel-item')])[2]" position="attributes">
<attribute name="class" add="o_cc o_cc5" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('container')])[2]" position="before">
<div class="o_we_bg_filter bg-black-50"/>
</xpath>
<xpath expr="(//div[hasclass('container')])[3]" position="before">
<div class="o_we_bg_filter bg-black-50"/>
</xpath>
</template>
</odoo> </odoo>
+5
View File
@@ -210,6 +210,11 @@ Check in theme_monglia's primary_variables.scss, theme.scss and theme_common's m
<field name="name">website.s_quotes_carousel_demo_image_2</field> <field name="name">website.s_quotes_carousel_demo_image_2</field>
<field name="url">/theme_vehicle/static/src/img/snippets/s_quotes_carousel_2.jpg</field> <field name="url">/theme_vehicle/static/src/img/snippets/s_quotes_carousel_2.jpg</field>
</record> </record>
<record id="s_quotes_carousel_demo_image_0" model="theme.ir.attachment">
<field name="key">website.s_quotes_carousel_demo_image_0</field>
<field name="name">website.s_quotes_carousel_demo_image_0</field>
<field name="url">/theme_vehicle/static/src/img/snippets/s_quotes_carousel_0.jpg</field>
</record>
<record id="s_newsletter_block" model="theme.ir.attachment"> <record id="s_newsletter_block" model="theme.ir.attachment">
<field name="key">website.library_image_17</field> <field name="key">website.library_image_17</field>
<field name="name">website.library_image_17</field> <field name="name">website.library_image_17</field>
+2 -23
View File
@@ -3,29 +3,15 @@
<template id="s_carousel" inherit_id="website.s_carousel"> <template id="s_carousel" inherit_id="website.s_carousel">
<!-- Slide 1 --> <!-- Slide 1 -->
<xpath expr="(//*[hasclass('container')])" position="before"> <xpath expr="(//*[hasclass('o_we_bg_filter')])" position="replace">
<div class="o_we_bg_filter" style="background-color: rgba(25, 41, 37, 0.55) !important;"/> <div class="o_we_bg_filter" style="background-color: rgba(25, 41, 37, 0.55) !important;"/>
</xpath> </xpath>
<xpath expr="//div[hasclass('carousel-content')]" position="replace">
<div class="jumbotron o_cc o_cc1 p-5 carousel-content col-lg-8 offset-lg-2 text-center rounded">
<h2>Let us plan your perfect day</h2>
<p class="lead">We are focused on providing high-quality service and customer satisfaction.</p>
<a href="/contactus" class="btn btn-primary">Get in touch</a>
</div>
</xpath>
<!-- Slide 2 --> <!-- Slide 2 -->
<xpath expr="(//*[hasclass('container')])[2]" position="before"> <xpath expr="(//*[hasclass('container')])[2]" position="before">
<div class="o_we_bg_filter" style="background-color: rgba(25, 41, 37, 0.55) !important;"/> <div class="o_we_bg_filter" style="background-color: rgba(25, 41, 37, 0.55) !important;"/>
</xpath> </xpath>
<xpath expr="//*[hasclass('carousel-item')][2]" position="attributes"> <xpath expr="//*[hasclass('carousel-item')][2]" position="attributes">
<attribute name="class" add="pt152 pb152" remove="pt96 pb96" separator=" "/> <attribute name="class" add="o_cc o_cc5 pt152 pb152" remove="pt96 pb96" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('carousel-content')])[2]" position="replace">
<div class="jumbotron o_cc o_cc3 p-5 carousel-content col-lg-8 offset-lg-2 text-center rounded">
<h2>View our blog for inspiration</h2>
<p class="lead">Get inspired with the latest trends and advice from our wedding experts.</p>
<a href="#" class="btn btn-primary">See the blog</a>
</div>
</xpath> </xpath>
<!-- Slide 3 --> <!-- Slide 3 -->
<xpath expr="(//*[hasclass('container')])[3]" position="before"> <xpath expr="(//*[hasclass('container')])[3]" position="before">
@@ -34,13 +20,6 @@
<xpath expr="//*[hasclass('carousel-item')][3]" position="attributes"> <xpath expr="//*[hasclass('carousel-item')][3]" position="attributes">
<attribute name="class" add="pt152 pb152" remove="pt128 pb128" separator=" "/> <attribute name="class" add="pt152 pb152" remove="pt128 pb128" separator=" "/>
</xpath> </xpath>
<xpath expr="(//*[hasclass('carousel-content')])[3]" position="replace">
<div class="jumbotron o_cc o_cc4 p-5 carousel-content col-lg-8 offset-lg-2 text-center rounded">
<h2>Check out our gallery</h2>
<p class="lead">Take a look at some of our favourite weddings.</p>
<a href="#" class="btn btn-primary">View our work</a>
</div>
</xpath>
</template> </template>
</odoo> </odoo>
+1 -6
View File
@@ -4,17 +4,12 @@
<template id="s_image_gallery" inherit_id="website.s_image_gallery"> <template id="s_image_gallery" inherit_id="website.s_image_gallery">
<!-- Section --> <!-- Section -->
<xpath expr="//section" position="attributes"> <xpath expr="//section" position="attributes">
<attribute name="class" add="s_image_gallery_indicators_dots" remove="s_image_gallery_indicators_rounded" separator=" "/>
<attribute name="data-oe-shape-data">{"shape":"web_editor/Floats/12", "flip":[]}</attribute> <attribute name="data-oe-shape-data">{"shape":"web_editor/Floats/12", "flip":[]}</attribute>
</xpath> </xpath>
<!-- Shape --> <!-- Shape -->
<xpath expr="//*[hasclass('container')]" position="before"> <xpath expr="//*[hasclass('o_container_small')]" position="before">
<div class="o_we_shape o_web_editor_Floats_12"/> <div class="o_we_shape o_web_editor_Floats_12"/>
</xpath> </xpath>
<!-- Container -->
<xpath expr="//*[hasclass('container')]" position="attributes">
<attribute name="class" add="o_container_small" remove="container" separator=" "/>
</xpath>
</template> </template>
</odoo> </odoo>
@@ -2,6 +2,9 @@
<odoo> <odoo>
<template id="s_quotes_carousel" inherit_id="website.s_quotes_carousel"> <template id="s_quotes_carousel" inherit_id="website.s_quotes_carousel">
<xpath expr="//div[hasclass('carousel')]" position="attributes">
<attribute name="class" remove="carousel-dark" separator=" "/>
</xpath>
<!-- Quote 1 --> <!-- Quote 1 -->
<xpath expr="//div[hasclass('carousel-item')]" position="attributes"> <xpath expr="//div[hasclass('carousel-item')]" position="attributes">
<attribute name="style" add="background-image: url('/web/image/website.s_quotes_carousel_demo_image_0'); background-position: 50% 25%;" separator="; "/> <attribute name="style" add="background-image: url('/web/image/website.s_quotes_carousel_demo_image_0'); background-position: 50% 25%;" separator="; "/>
@@ -22,7 +25,7 @@
<xpath expr="(//*[hasclass('carousel-item')])[2]" position="attributes"> <xpath expr="(//*[hasclass('carousel-item')])[2]" position="attributes">
<attribute name="style" add="background-position: 50% 25%;" remove="background-position: 50% 50%;" separator="; "/> <attribute name="style" add="background-position: 50% 25%;" remove="background-position: 50% 50%;" separator="; "/>
</xpath> </xpath>
<xpath expr="(//*[hasclass('container')])[2]" position="before"> <xpath expr="(//div[hasclass('container')])[2]" position="before">
<div class="o_we_bg_filter" style="background-color: rgba(25, 41, 37, 0.55) !important;"/> <div class="o_we_bg_filter" style="background-color: rgba(25, 41, 37, 0.55) !important;"/>
</xpath> </xpath>
<xpath expr="(//div[hasclass('s_blockquote_author')])[2]//strong" position="replace" mode="inner"> <xpath expr="(//div[hasclass('s_blockquote_author')])[2]//strong" position="replace" mode="inner">
@@ -35,7 +38,7 @@
<xpath expr="(//*[hasclass('carousel-item')])[3]" position="attributes"> <xpath expr="(//*[hasclass('carousel-item')])[3]" position="attributes">
<attribute name="style" add="background-position: 50% 20%;" remove="background-position: 50% 50%;" separator="; "/> <attribute name="style" add="background-position: 50% 20%;" remove="background-position: 50% 50%;" separator="; "/>
</xpath> </xpath>
<xpath expr="(//*[hasclass('container')])[3]" position="before"> <xpath expr="(//div[hasclass('container')])[3]" position="before">
<div class="o_we_bg_filter" style="background-color: rgba(25, 41, 37, 0.55) !important;"/> <div class="o_we_bg_filter" style="background-color: rgba(25, 41, 37, 0.55) !important;"/>
</xpath> </xpath>
<xpath expr="(//p[hasclass('s_blockquote_quote')])[3]" position="replace" mode="inner"> <xpath expr="(//p[hasclass('s_blockquote_quote')])[3]" position="replace" mode="inner">
Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

+10
View File
@@ -265,6 +265,16 @@
<field name="name">website.library_image_08</field> <field name="name">website.library_image_08</field>
<field name="url">/theme_zap/static/src/img/backgrounds/01.jpg</field> <field name="url">/theme_zap/static/src/img/backgrounds/01.jpg</field>
</record> </record>
<record id="library_image_02" model="theme.ir.attachment">
<field name="key">website.library_image_02</field>
<field name="name">website.library_image_02</field>
<field name="url">/theme_zap/static/src/img/backgrounds/s_images_gallery_1.jpg</field>
</record>
<record id="library_image_03" model="theme.ir.attachment">
<field name="key">website.library_image_03</field>
<field name="name">website.library_image_03</field>
<field name="url">/theme_zap/static/src/img/backgrounds/s_images_gallery_2.jpg</field>
</record>
<!-- Accordion Image --> <!-- Accordion Image -->
<record id="s_accordion_image_default_image" model="theme.ir.attachment"> <record id="s_accordion_image_default_image" model="theme.ir.attachment">