[IMP] theme_enark: update the theme
This commit updates the theme to improve the design with new colors, new pictures and new snippet customizations. task-2601581 Part-of: odoo/design-themes#500
This commit is contained in:
@@ -1,29 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<template id="s_banner" inherit_id="website.s_banner">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_full_screen_height" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Banner -->
|
||||
<xpath expr="//div[hasclass('col-lg-6')]" position="attributes">
|
||||
<attribute name="class" add="offset-lg-6 border p-5" remove="o_cc o_cc1 pt32 pb32" separator=" "/>
|
||||
<attribute name="style" add="border-width: 1px !important; border-color: rgb(70, 77, 83) !important;" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="//h1" position="replace">
|
||||
<h1>
|
||||
<font style="font-size: 62px; line-height: 48px;">A Different Viewpoint.</font>
|
||||
</h1>
|
||||
</xpath>
|
||||
<!-- Paragraph -->
|
||||
<xpath expr="//p" position="replace">
|
||||
<p><br/></p>
|
||||
<p class="lead">We are a contemporary architecture firm working mainly in the residential, commercial and office sectors. Our projects are built all over the world, in urban and natural environments.</p>
|
||||
</xpath>
|
||||
<!-- Button -->
|
||||
<xpath expr="//t[@t-esc='cta_btn_text']" position="replace">
|
||||
<t t-esc="cta_btn_text">Discover More</t>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<template id="s_banner" inherit_id="website.s_banner">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_full_screen_height" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="//h1" position="replace" mode="inner">
|
||||
A Different Viewpoint.
|
||||
</xpath>
|
||||
<!-- Paragraph -->
|
||||
<xpath expr="//p" position="replace" mode="inner">
|
||||
We are a contemporary architecture firm working mainly in the residential, commercial and office sectors. Our projects are built all over the world, in urban and natural environments.
|
||||
</xpath>
|
||||
<!-- Button -->
|
||||
<xpath expr="//t[@t-esc='cta_btn_text']" position="replace" mode="inner">
|
||||
Discover More
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<template id="s_call_to_action" inherit_id="website.s_call_to_action">
|
||||
<!-- Paragraph -->
|
||||
<xpath expr="//h3" position="replace">
|
||||
<h3>As <b>436 clients</b> before you, let’s work together</h3>
|
||||
</xpath>
|
||||
<xpath expr="//p" position="replace"/>
|
||||
</template>
|
||||
|
||||
<template id="s_call_to_action" inherit_id="website.s_call_to_action">
|
||||
<!-- Paragraph -->
|
||||
<xpath expr="//h3" position="replace" mode="inner">
|
||||
As <b>436 clients</b> before you, let’s work together
|
||||
</xpath>
|
||||
<xpath expr="//p" position="replace"/>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_cover" inherit_id="website.s_cover">
|
||||
<xpath expr="//a" position="attributes">
|
||||
<attribute name="class" add="btn-secondary" remove="btn-primary" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<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 s_image_gallery_indicators_arrows_boxed o_full_screen_height pt0 pb0" remove="pb24 pt24 s_image_gallery_indicators_rounded" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Container -->
|
||||
<xpath expr="//div[hasclass('container')]" position="attributes">
|
||||
<attribute name="class" add="container-fluid" remove="container" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<template id="s_images_wall" inherit_id="website.s_images_wall">
|
||||
<!-- Container -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc3 pt0 pb0 o_spc-none" remove="pb24 pt24 o_spc-small" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('container')]" position="attributes">
|
||||
<attribute name="class" add="container-fluid" remove="container" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
@@ -1,50 +1,53 @@
|
||||
<?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_cc1" remove="o_cc2" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Row 1 -->
|
||||
<xpath expr="(//div[hasclass('row')])[2]" position="attributes">
|
||||
<attribute name="class" add="border rounded" separator=" "/>
|
||||
<attribute name="style" add="border-width: 1px !important; border-color: rgb(70, 77, 83) !important; border-radius: 4px !important;" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('col-lg-4')]" position="attributes">
|
||||
<attribute name="class" add="col-lg-6" remove="col-lg-4" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Row 2 -->
|
||||
<xpath expr="(//div[hasclass('row')])[3]" position="attributes">
|
||||
<attribute name="class" add="border rounded" separator=" "/>
|
||||
<attribute name="style" add="border-width: 1px !important; border-color: rgb(70, 77, 83) !important; border-radius: 4px !important;" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Row 3 -->
|
||||
<xpath expr="(//div[hasclass('row')])[4]" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc5 flex-row-reverse border rounded" remove="o_cc o_cc1" separator=" "/>
|
||||
<attribute name="style" add="border-width: 1px !important; border-color: rgb(70, 77, 83) !important; border-radius: 4px !important;" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Text 3 -->
|
||||
<xpath expr="(//div[hasclass('col-lg-8')])[3]" position="replace">
|
||||
<div class="col-lg-8 s_media_list_body">
|
||||
<h3 class="card-title">Know our clients.</h3>
|
||||
<p class="card-text">We always start by exploring our clients goals, priorities, lifestyle, and tastes.</p>
|
||||
<a href="#">Continue reading <i class="fa fa-long-arrow-right align-middle ml-1"></i></a>
|
||||
</div>
|
||||
</xpath>
|
||||
<!-- Text 2 -->
|
||||
<xpath expr="(//div[hasclass('col-lg-8')])[2]" position="replace">
|
||||
<div class="col-lg-8 s_media_list_body">
|
||||
<h3 class="card-title">Nature friendly</h3>
|
||||
<p class="card-text">Our creations integrate and are in perfect harmony with their environment.</p>
|
||||
</div>
|
||||
</xpath>
|
||||
<!-- Text 1 -->
|
||||
<xpath expr="//div[hasclass('col-lg-8')]" position="replace">
|
||||
<div class="col-lg-6 s_media_list_body">
|
||||
<h3 class="card-title">Construction site</h3>
|
||||
<p class="card-text">Our mastery of construction techniques has been built up over time through our close collaboration with the workers and our sustained presence on the construction sites.</p>
|
||||
<a href="#" class="btn btn-primary mb-2">Discover more</a>
|
||||
</div>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<template id="s_media_list" inherit_id="website.s_media_list">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_cc1" remove="o_cc2" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Row 1 - Layout -->
|
||||
<xpath expr="(//div[hasclass('row')])[2]" position="attributes">
|
||||
<attribute name="class" add="border rounded" separator=" "/>
|
||||
<attribute name="style" add="border-width: 1px !important; border-color: rgb(70, 77, 83) !important; border-radius: 4px !important;" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('col-lg-4')]" position="attributes">
|
||||
<attribute name="class" add="col-lg-6" remove="col-lg-4" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('col-lg-8')]" position="attributes">
|
||||
<attribute name="class" add="col-lg-6" remove="col-lg-8" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Row #1 - Title & paragraph -->
|
||||
<xpath expr="//div[hasclass('s_media_list_body')]//h3" position="replace" mode="inner">
|
||||
Construction site
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('s_media_list_body')]//p" position="replace" mode="inner">
|
||||
Our mastery of construction techniques has been built up over time through our close collaboration with the workers and our sustained presence on the construction sites.
|
||||
</xpath>
|
||||
<!-- Row 2 - Layout -->
|
||||
<xpath expr="(//div[hasclass('row')])[3]" position="attributes">
|
||||
<attribute name="class" add="border rounded" separator=" "/>
|
||||
<attribute name="style" add="border-width: 1px !important; border-color: rgb(70, 77, 83) !important; border-radius: 4px !important;" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Row #2 - Title & paragraph -->
|
||||
<xpath expr="(//div[hasclass('s_media_list_body')])[2]//h3" position="replace" mode="inner">
|
||||
Nature friendly
|
||||
</xpath>
|
||||
<xpath expr="(//div[hasclass('s_media_list_body')])[2]//p" position="replace" mode="inner">
|
||||
Our creations integrate and are in perfect harmony with their environment.
|
||||
</xpath>
|
||||
<!-- Row 3 - Layout -->
|
||||
<xpath expr="(//div[hasclass('row')])[4]" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc5 flex-row-reverse border rounded" remove="o_cc o_cc1" separator=" "/>
|
||||
<attribute name="style" add="border-width: 1px !important; border-color: rgb(70, 77, 83) !important; border-radius: 4px !important;" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Row #3 - Title & paragraph -->
|
||||
<xpath expr="(//div[hasclass('s_media_list_body')])[3]//h3" position="replace" mode="inner">
|
||||
Know our clients.
|
||||
</xpath>
|
||||
<xpath expr="(//div[hasclass('s_media_list_body')])[3]//p" position="replace" mode="inner">
|
||||
We always start by exploring our clients goals, priorities, lifestyle, and tastes.
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_numbers" inherit_id="website.s_numbers">
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_cc1 pb48 pt0" remove="pt24 pb24 o_cc2" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('row')]/div" position="attributes">
|
||||
<attribute name="class" add="col-lg-4 d-flex align-items-center justify-content-center " remove="col-lg-3" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('row')]/div[2]" position="attributes">
|
||||
<attribute name="class" add="col-lg-4 d-flex align-items-center justify-content-center " remove="col-lg-3" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('row')]/div[3]" position="attributes">
|
||||
<attribute name="class" add="col-lg-4 d-flex align-items-center justify-content-center " remove="col-lg-3" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('row')]/div[4]" position="replace">
|
||||
<attribute name="class" remove="col-lg-3" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//h6)[1]" position="attributes">
|
||||
<attribute name="class" add="m-0 pl-3" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//h6)[2]" position="attributes">
|
||||
<attribute name="class" add="m-0 pl-3" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//h6)[3]" position="attributes">
|
||||
<attribute name="class" add="m-0 pl-3" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_parallax" inherit_id="website.s_parallax">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_full_screen_height justify-content-center" remove="o_half_screen_height" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Text -->
|
||||
<xpath expr="//div[hasclass('oe_empty')]" position="after">
|
||||
<div class="container">
|
||||
<div class="row d-flex justify-content-start">
|
||||
<h1><i>“One of the great beauties of architecture is that each time, it is like life starting all over again.”</i></h1>
|
||||
</div>
|
||||
</div>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
@@ -1,21 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<template id="s_picture" inherit_id="website.s_picture">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="pt80" remove="pt48 o_cc o_cc2" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="//h2" position="replace">
|
||||
<h2 style="text-align: center;">
|
||||
<font style="font-size: 62px; line-height: 48px;">Creating places that enhance the human experience.</font>
|
||||
</h2>
|
||||
</xpath>
|
||||
<!-- Paragraphs -->
|
||||
<xpath expr="//p[1]" position="replace">
|
||||
<p class="text-center pt48">We always put people and nature at the center of our projects.</p>
|
||||
</xpath>
|
||||
<!-- Caption -->
|
||||
<xpath expr="//figcaption" position="replace"/>
|
||||
</template>
|
||||
|
||||
<template id="s_picture" inherit_id="website.s_picture">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="pt80" remove="pt48 o_cc o_cc2" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
Creating places that enhance the human experience.
|
||||
</xpath>
|
||||
<!-- Paragraphs -->
|
||||
<xpath expr="//p[1]" position="replace" />
|
||||
<!-- Caption -->
|
||||
<xpath expr="//figcaption" position="replace" mode="inner">
|
||||
We always put people and nature at the center of our projects.
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
|
||||
@@ -1,17 +1,29 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<template id="s_text_image" inherit_id="website.s_text_image">
|
||||
<!-- Title & Paragraph -->
|
||||
<xpath expr="//div[hasclass('col-lg-6')]" position="replace">
|
||||
<div class="col-lg-6 p-5 border rounded" style="border-width: 1px !important; border-color: rgb(70, 77, 83) !important; border-radius: 4px !important;">
|
||||
<h2>Building Castle in Cloud</h2>
|
||||
<p><br/></p>
|
||||
<p>When designing an architectural concept, we take into account the nine criteria that Zumthor considers to be important in creating an architectural atmosphere.</p>
|
||||
</div>
|
||||
</xpath>
|
||||
<!-- Col 2 -->
|
||||
<xpath expr="(//div[hasclass('col-lg-6')])[2]" position="attributes">
|
||||
<attribute name="class" add="col-lg-5 offset-lg-1" remove="col-lg-6" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<template id="s_text_image" inherit_id="website.s_text_image">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc5 pb96 pt96" remove="pt32 pb32" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Wrapper -->
|
||||
<xpath expr="//div[hasclass('col-lg-6')]" position="attributes">
|
||||
<attribute name="class" add="border" separator=" "/>
|
||||
<attribute name="style" add="padding:24px; border-width: 1px !important; border-color: rgb(70, 77, 83) !important; border-radius: 4px !important;"/>
|
||||
</xpath>
|
||||
<xpath expr="(//div[hasclass('col-lg-6')])[2]" position="attributes">
|
||||
<attribute name="class" add="col-lg-5 offset-lg-1" remove="col-lg-6" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
Building Castle in Cloud
|
||||
</xpath>
|
||||
<!-- Paragraphs -->
|
||||
<xpath expr="//p" position="replace" />
|
||||
<xpath expr="//p[1]" position="replace" mode="inner">
|
||||
When designing an architectural concept, we take into account the nine criteria that Zumthor considers to be important in creating an architectural atmosphere.
|
||||
</xpath>
|
||||
<xpath expr="//p[2]" position="replace" />
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
|
||||
Reference in New Issue
Block a user