Files
design-themes/theme_avantgarde/views/customizations.xml
T
Brieuc-brd f66833de41 [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>
2024-08-27 08:18:59 +00:00

302 lines
15 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- ======== COVER ======== -->
<template id="s_cover" inherit_id="website.s_cover" name="Avantgarde s_cover">
<xpath expr="//section" position="attributes">
<attribute name="class" add="s_parallax_no_overflow_hidden o_full_screen_height" remove="s_parallax_is_fixed s_parallax" separator=" "/>
<attribute name="data-oe-shape-data">{"shape":"web_editor/Origins/18","flip":["x"]}</attribute>
</xpath>
<xpath expr="//span[hasclass('s_parallax_bg')]" position="attributes">
<attribute name="style" remove="background-position: 50% 0;" add="background-position: 50% 80%;" separator=";"/>
</xpath>
<xpath expr="//div[hasclass('s_allow_columns')]" position="before">
<div class="o_we_shape o_web_editor_Origins_18" style="background-image: url('/web_editor/shape/web_editor/Origins/18.svg?c1=o-color-2&amp;flip=x'); background-position: 50% 50%;"/>
</xpath>
<xpath expr="//h1" position="attributes">
<attribute name="class" add="text-o-color-1 text-break" separator=" "/>
</xpath>
<xpath expr="//h1" position="replace" mode="inner">
We are Avantgarde.
</xpath>
<xpath expr="//p" position="replace" mode="inner">
We create architecture, landscapes, interiors, product design and graphic design.<br/>
Our methods allow us to explore a future that is equitable, data-driven, and green.
</xpath>
</template>
<!-- ======== PICTURE ======== -->
<template id="s_picture" inherit_id="website.s_picture" name="Avantgarde s_cover">
<xpath expr="//section" position="attributes">
<attribute name="class" add="pt144 pb128" remove="pt64 pb64" separator=" "/>
</xpath>
<xpath expr="//h2" position="attributes">
<attribute name="style" remove="text-align: center;" separator=" "/>
<attribute name="class" add="text-break" separator=" "/>
</xpath>
<xpath expr="//h2" position="replace" mode="inner">
Design Methodology
</xpath>
<xpath expr="//p" position="attributes">
<attribute name="style" remove="text-align: center;" separator=" "/>
</xpath>
<xpath expr="//p" position="replace" mode="inner">
Our design methodology is rooted in our core values.<br/>
We combine a wide spectrum of technologies with a good portion of creativity.
</xpath>
<xpath expr="//img" position="attributes">
<attribute name="src">/web_editor/image_shape/website.s_picture_default_image/web_editor/composition/composition_organic_line.svg?c2=o-color-2</attribute>
<attribute name="data-shape">web_editor/composition/composition_organic_line</attribute>
<attribute name="data-original-mimetype">image/jpeg</attribute>
<attribute name="data-file-name">bg_image_14.svg</attribute>
<attribute name="data-shape-colors">;o-color-2;;;</attribute>
</xpath>
<xpath expr="//figcaption" position="attributes">
<attribute name="style" add="text-align: right;" separator=" "/>
</xpath>
<xpath expr="//figcaption" position="replace" mode="inner">
We carry out an interdisciplinary design process.
</xpath>
</template>
<!-- ======== COLUMNS ======== -->
<template id="s_three_columns" inherit_id="website.s_three_columns" name="Avantgarde s_three_columns">
<xpath expr="//section" position="attributes">
<attribute name="class" add="pt120 pb240 o_full_screen_height" remove="pt32 pb32" separator=" "/>
</xpath>
<xpath expr="//*[hasclass('card')]" position="attributes">
<attribute name="class" add="shadow border" separator=" "/>
<attribute name="style">border-color: var(--o-color-2) !important; box-shadow: var(--o-color-2) -25px -25px 0px 0px !important; border-width: 8px !important;</attribute>
</xpath>
<xpath expr="//h3" position="replace" mode="inner">
<span style="font-weight: bolder;">Excellence</span>
</xpath>
<xpath expr="(//p[hasclass('card-text')])[1]" position="replace" mode="inner">
We conduct state-of-the-art research and development to solve complex design challenges, taking the latest advances out of the lab and into the hands of architects and engineers.</xpath>
<xpath expr="(//*[hasclass('card')])[2]" position="attributes">
<attribute name="class" add="shadow border" separator=" "/>
<attribute name="style">border-color: var(--o-color-4) !important; border-width: 8px !important; box-shadow: var(--o-color-5) 0px 0px 100px -40px !important;</attribute>
</xpath>
<xpath expr="(//h3)[2]" position="replace" mode="inner">
<span style="font-weight: bolder;">Collaboration</span>
</xpath>
<xpath expr="(//p[hasclass('card-text')])[2]" position="replace" mode="inner">
We thrive on rich collaborations to push our thinking. A continuous state of reinvention, driven by our partners in the process, is essential to our work.
</xpath>
<xpath expr="(//*[hasclass('card')])[3]" position="attributes">
<attribute name="class" add="shadow border" separator=" "/>
<attribute name="style">box-shadow: var(--o-color-1) 25px 25px 0px 0px !important; border-color: var(--o-color-1) !important; border-width: 8px !important;</attribute>
</xpath>
<xpath expr="(//h3)[3]" position="replace" mode="inner">
<span style="font-weight: bolder;">Sustainability</span>
</xpath>
<xpath expr="(//p[hasclass('card-text')])[3]" position="replace" mode="inner">
Sustainability is at the heart of our design approach. We audit projects against global standards as well as our own, more comprehensive, responsibility framework.
</xpath>
</template>
<template id="configurator_s_three_columns" inherit_id="website.configurator_s_three_columns" name="Avantgarde s_three_columns">
<xpath expr="//section" position="attributes">
<attribute name="data-oe-shape-data">{"shape":"web_editor/Wavy/20"}</attribute>
</xpath>
<xpath expr="//div[hasclass('container')]" position="before">
<div class="o_we_shape o_web_editor_Wavy_20"/>
</xpath>
</template>
<!-- ======== TEXT-IMAGE ======== -->
<template id="s_text_image" inherit_id="website.s_text_image" name="Avantgarde s_text_image">
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc o_cc3 o_full_screen_height" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('col-lg-5')]" position="attributes">
<attribute name="class" add="col-lg-4 offset-lg-1" remove="col-lg-5" separator=" "/>
</xpath>
<xpath expr="//h2" position="replace" mode="inner">
<span class="text-break" style="font-size: 62px; font-weight: bolder;">Our R&amp;D Approach</span>
</xpath>
<xpath expr="//p" position="before">
<p><br/></p>
</xpath>
<xpath expr="//p[2]" position="replace" mode="inner">
Making innovative design requires us to push the limits of technological possibilities. As a group of in-house specialists, we develop and implement computational workflows and new technologies.
</xpath>
<xpath expr="//p[3]" position="replace" mode="inner">
Through a mixture of project-based work and standalone research, we make efficient projects, adaptable in the face of change.
</xpath>
<xpath expr="//a[hasclass('btn')]" position="before">
<p><br/></p>
</xpath>
<xpath expr="//a[hasclass('btn')]" position="attributes">
<attribute name="class" add="btn-lg" separator=" "/>
</xpath>
<xpath expr="//img" position="attributes">
<attribute name="src">/web_editor/image_shape/website.s_text_image_default_image/web_editor/composition/composition_triangle_line.svg?c1=o-color-1</attribute>
<attribute name="data-shape">web_editor/composition/composition_triangle_line</attribute>
<attribute name="data-original-mimetype">image/jpeg</attribute>
<attribute name="data-file-name">bg_image_13.svg</attribute>
<attribute name="data-shape-colors">;o-color-1;;;</attribute>
</xpath>
</template>
<!-- ======== IMAGE-TEXT ======== -->
<template id="s_image_text" inherit_id="website.s_image_text" name="Avantgarde s_image_text">
<xpath expr="//div[hasclass('col-lg-6')]" position="attributes">
<attribute name="class" add="col-lg-5 offset-lg-1" remove="col-lg-6" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('col-lg-5')]" position="attributes">
<attribute name="class" add="col-lg-4" remove="col-lg-5" separator=" "/>
</xpath>
<xpath expr="//a[hasclass('btn')]" position="attributes">
<attribute name="class" add="btn-lg" separator=" "/>
</xpath>
</template>
<!-- ======== CALL TO ACTION ======== -->
<template id="s_call_to_action" inherit_id="website.s_call_to_action" name="Avantgarde s_call_to_action">
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_half_screen_height pt0" remove="pt64" separator=" "/>
</xpath>
<xpath expr="//h3" position="replace">
<h3 style="text-align: right;"><b>Since 1992</b> creating around the world.</h3>
</xpath>
<xpath expr="//p" position="replace" mode="inner">
We partner with ambitious clients. Wed love to hear from you.
</xpath>
<xpath expr="//div[hasclass('col-lg-9')]" position="attributes">
<attribute name="class" add="col-lg-8" remove="col-lg-9" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('col-lg-8')]/p" position="attributes">
<attribute name="style" add="text-align: right;" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('col-lg-3')]" position="attributes">
<attribute name="class" add="col-lg-4" remove="col-lg-3" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('col-lg-4')]/p" position="attributes">
<attribute name="style" add="text-align: left;" remove="text-align: right;" separator=";"/>
</xpath>
</template>
<!-- ======== CTA Box ======== -->
<template id="s_cta_box" inherit_id="website.s_cta_box">
<!-- Card -->
<xpath expr="//div[hasclass('card')]" position="attributes">
<attribute name="class" add="o_cc2" remove="o_cc4" separator=" "/>
</xpath>
<!-- Title -->
<xpath expr="//h2" position="replace" mode="inner">
Discover what innovation<br/>looks like !
</xpath>
<!-- Paragraphs -->
<xpath expr="//p" position="replace" mode="inner">
Explore our large collection of disruptive products<br/><br/>
</xpath>
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="src">/theme_avantgarde/static/src/img/pictures/bg_image_07.jpg</attribute>
</xpath>
<!-- Button -->
<xpath expr="//a[hasclass('btn')]" position="replace" mode="inner">
Learn more
</xpath>
</template>
<template id="configurator_s_call_to_action" inherit_id="website.configurator_s_call_to_action" name="Avantgarde s_call_to_action">
<xpath expr="//section" position="attributes">
<attribute name="data-oe-shape-data">{"shape":"web_editor/Origins/14_001"}</attribute>
</xpath>
<xpath expr="//div[hasclass('container')]" position="before">
<div class="o_we_shape o_web_editor_Origins_14_001"/>
</xpath>
</template>
<!-- ======== CAROUSEL ======== -->
<template id="s_carousel" inherit_id="website.s_carousel" name="Avantgarde s_carousel">
<xpath expr="//div[hasclass('s_carousel')]" position="attributes">
<attribute name="class" add="s_carousel_controllers_indicators_outside s_carousel_rounded carousel-dark" remove="s_carousel_default" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('carousel-indicators')]" position="attributes">
<attribute name="class" add="s_carousel_indicators_dots" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('carousel-item')]" position="attributes">
<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 expr="//h2" position="replace" mode="inner">
Making Simple
</xpath>
<xpath expr="//div[hasclass('carousel-item')]//p[2]" position="replace"/>
<xpath expr="(//div[hasclass('carousel-item')])[2]//p[2]" position="replace"/>
</template>
<!-- ======== QUOTES ======== -->
<template id="s_quotes_carousel" inherit_id="website.s_quotes_carousel" name="Avantgarde s_quotes_carousel">
<!-- Assign slide2 as 'active' and move it in first position -->
<xpath expr="//div[hasclass('carousel-inner')]/div" position="attributes">
<attribute name="class" remove="active" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('carousel-inner')]/div[2]" position="attributes">
<attribute name="class" add="active" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('carousel-inner')]/div" position="before">
<xpath expr="//div[hasclass('carousel-inner')]/div[2]" position="move"/>
</xpath>
</template>
<!-- ======== PRICELIST ======== -->
<template id="s_product_catalog" inherit_id="website.s_product_catalog">
<!-- Remove filter -->
<xpath expr="//div[hasclass('o_we_bg_filter')]" position="replace"/>
</template>
<!-- ======== UNVEIL ======== -->
<template id="s_unveil" inherit_id="website.s_unveil">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc o_cc2" separator=" "/>
</xpath>
</template>
<!-- ======== KEY BENEFITS ======== -->
<template id="s_key_benefits" inherit_id="website.s_key_benefits">
<!-- Titles -->
<xpath expr="(//h3)[1]" position="replace" mode="inner">
Tailored Pricing
</xpath>
<xpath expr="(//h3)[2]" position="replace" mode="inner">
Continuous Support
</xpath>
<xpath expr="(//h3)[3]" position="replace" mode="inner">
Tax-Free Services
</xpath>
<!-- Paragraphs -->
<xpath expr="//div[hasclass('col-lg-4')][2]/p" position="replace" mode="inner">
We provide custom pricing based on the unique needs of your project, ensuring you receive exceptional design services that fit your budget.
</xpath>
<xpath expr="//div[hasclass('col-lg-4')][3]/p" position="replace" mode="inner">
Our team is here to assist you at every stage of your project, ensuring a smooth and stress-free process for your project.
</xpath>
<xpath expr="//div[hasclass('col-lg-4')][4]/p" position="replace" mode="inner">
We maximize value by offering tax-efficient design services, helping you achieve your vision while keeping your project financially streamlined.
</xpath>
</template>
</odoo>