[IMP] theme_loftspace: revamp the theme

This commit revamp the design of the `theme_loftspace`.

task-4178079
part of task-4177975

closes odoo/design-themes#910

Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
This commit is contained in:
Chrysanthe (chgo)
2024-09-13 19:55:14 +02:00
parent 483ea55070
commit fa220d0170
26 changed files with 644 additions and 257 deletions
+48 -28
View File
@@ -9,6 +9,43 @@
</xpath>
</template>
<template id="new_page_template_about_s_features" inherit_id="website.new_page_template_about_s_features">
<xpath expr="//div[hasclass('row')]/div[1]/div/h3" position="attributes">
<attribute name="style" add="text-align: center;" separator=";"/>
</xpath>
<xpath expr="//div[hasclass('row')]/div[2]/div/h3" position="attributes">
<attribute name="style" add="text-align: center;" separator=";"/>
</xpath>
<xpath expr="//div[hasclass('row')]/div[3]/div/h3" position="attributes">
<attribute name="style" add="text-align: center;" separator=";"/>
</xpath>
<xpath expr="//div[hasclass('row')]/div[1]/div/p" position="attributes">
<attribute name="style" add="text-align: center;" separator=";"/>
</xpath>
<xpath expr="//div[hasclass('row')]/div[2]/div/p" position="attributes">
<attribute name="style" add="text-align: center;" separator=";"/>
</xpath>
<xpath expr="//div[hasclass('row')]/div[3]/div/p" position="attributes">
<attribute name="style" add="text-align: center;" separator=";"/>
</xpath>
</template>
<!-- Landing -->
<template id="new_page_template_landing_s_features" inherit_id="website.new_page_template_landing_s_features">
<xpath expr="//section" position="attributes">
<attribute name="class" add="pt48" separator=" "/>
</xpath>
</template>
<!-- Gallery -->
<template id="new_page_template_gallery_s_banner" inherit_id="website.new_page_template_gallery_s_banner">
<xpath expr="//h1" position="attributes">
<attribute name="style" add="text-align: center;" separator=";"/>
</xpath>
</template>
<!-- General customizations -->
<template id="new_page_template_s_call_to_action" inherit_id="website.new_page_template_s_call_to_action">
@@ -93,13 +130,12 @@
<!-- 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/Floats/07","flip":[]}</attribute>
<!-- Text -->
<xpath expr="//h1" position="attributes">
<attribute name="style" add="text-align: center;" separator=";"/>
</xpath>
<!-- Shape -->
<xpath expr="//div[hasclass('container')]" position="before">
<div class="o_we_shape o_web_editor_Floats_07"/>
<xpath expr="//p" position="attributes">
<attribute name="style" add="text-align: center;" separator=";"/>
</xpath>
</template>
@@ -175,17 +211,6 @@
</xpath>
</template>
<template id="new_page_template_landing_1_s_banner" inherit_id="website.new_page_template_landing_1_s_banner">
<!-- Shape option -->
<xpath expr="//section" position="attributes">
<attribute name="data-oe-shape-data">{"shape":"web_editor/Floats/07","flip":[]}</attribute>
</xpath>
<!-- Shape -->
<xpath expr="//div[hasclass('container')]" position="before">
<div class="o_we_shape o_web_editor_Floats_07"/>
</xpath>
</template>
<template id="new_page_template_landing_2_s_cover" inherit_id="website.new_page_template_landing_2_s_cover">
<!-- Section -->
<xpath expr="//section" position="attributes">
@@ -195,17 +220,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/Floats/07","flip":[]}</attribute>
</xpath>
<!-- Shape -->
<xpath expr="//div[hasclass('container')]" position="before">
<div class="o_we_shape o_web_editor_Floats_07"/>
</xpath>
</template>
<template id="new_page_template_gallery_s_cover" inherit_id="website.new_page_template_gallery_s_cover">
<!-- Section -->
<xpath expr="//section" position="attributes">
@@ -318,4 +332,10 @@
</xpath>
</template>
<template id="new_page_template_about_s_image_text" inherit_id="website.new_page_template_about_s_image_text">
<xpath expr="//section" position="attributes">
<attribute name="class" remove="pt64 pb64" separator=" "/>
</xpath>
</template>
</odoo>