mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[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,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