[IMP] theme_real_estate: theme improvement

Revamp of `theme_real_estate`

task-4178611

closes odoo/design-themes#945

X-original-commit: 1201131f28
Signed-off-by: Outagant Mehdi (mou) <mou@odoo.com>
This commit is contained in:
Antoine (anso)
2024-09-11 15:54:34 +00:00
parent 28233684cd
commit 4f1fdf7c41
23 changed files with 464 additions and 446 deletions
+6 -42
View File
@@ -11,15 +11,6 @@
<!-- General customizations -->
<template id="new_page_template_s_banner" inherit_id="website.new_page_template_s_banner">
<!-- Remove shape option -->
<xpath expr="//section" position="attributes">
<attribute name="data-oe-shape-data"/>
</xpath>
<!-- Remove shape -->
<xpath expr="//div[hasclass('o_we_shape')]" position="replace"/>
</template>
<template id="new_page_template_s_text_block_h1" inherit_id="website.new_page_template_s_text_block_h1">
<xpath expr="//section" position="attributes">
<attribute name="class" remove="pb0" separator=" "/>
@@ -54,17 +45,6 @@
<!-- Snippet customization About Pages -->
<template id="new_page_template_about_s_banner" inherit_id="website.new_page_template_about_s_banner">
<!-- Shape option -->
<xpath expr="//section" position="attributes">
<attribute name="data-oe-shape-data">{"shape":"web_editor/Origins/18","flip":["x"]}</attribute>
</xpath>
<!-- Shape -->
<xpath expr="//span[hasclass('s_parallax_bg')]" position="after">
<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>
</template>
<template id="new_page_template_about_s_text_block_h1" inherit_id="website.new_page_template_about_s_text_block_h1">
<xpath expr="//section" position="attributes">
<attribute name="class" remove="o_cc4" separator=" "/>
@@ -129,14 +109,9 @@
</xpath>
</template>
<template id="new_page_template_landing_1_s_banner" inherit_id="website.new_page_template_landing_1_s_banner">
<!-- Shape option -->
<template id="new_page_template_s_cover" inherit_id="website.new_page_template_s_cover">
<xpath expr="//section" position="attributes">
<attribute name="data-oe-shape-data">{"shape":"web_editor/Origins/18","flip":["x"]}</attribute>
</xpath>
<!-- Shape -->
<xpath expr="//span[hasclass('s_parallax_bg')]" position="after">
<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%;"/>
<attribute name="class" remove="pt176 pb176" separator=" "/>
</xpath>
</template>
@@ -160,17 +135,6 @@
<!-- Snippet customization Gallery Pages -->
<template id="new_page_template_gallery_s_banner" inherit_id="website.new_page_template_gallery_s_banner">
<!-- Shape option -->
<xpath expr="//section" position="attributes">
<attribute name="data-oe-shape-data">{"shape":"web_editor/Origins/18","flip":["x"]}</attribute>
</xpath>
<!-- Shape -->
<xpath expr="//span[hasclass('s_parallax_bg')]" position="after">
<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>
</template>
<template id="new_page_template_gallery_s_image_text_2nd" inherit_id="website.new_page_template_gallery_s_image_text_2nd">
<xpath expr="//section" position="attributes">
<!-- pt48 is defined by both theme and new page template -->
@@ -200,7 +164,7 @@
<template id="new_page_template_services_0_s_three_columns" inherit_id="website.new_page_template_services_0_s_three_columns">
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc4" remove="o_cc3" separator=" "/>
<attribute name="class" add="o_cc4" remove="o_cc1" separator=" "/>
</xpath>
</template>
@@ -234,9 +198,9 @@
</template>
<template id="new_page_template_team_0_s_three_columns" inherit_id="website.new_page_template_team_0_s_three_columns">
<xpath expr="//span" position="replace"/>
<xpath expr="(//div[hasclass('col-lg-4')])[2]//span" position="replace"/>
<xpath expr="(//div[hasclass('col-lg-4')])[3]//span" position="replace"/>
<xpath expr="(//div[hasclass('col-lg-4')])[1]//p" position="replace"/>
<xpath expr="(//div[hasclass('col-lg-4')])[2]//p" position="replace"/>
<xpath expr="(//div[hasclass('col-lg-4')])[3]//p" position="replace"/>
</template>
<template id="new_page_template_team_1_s_text_block_h1" inherit_id="website.new_page_template_team_1_s_text_block_h1">