[IMP] theme_vehicule: improve theme

task-4178091
Part of task-4177975

closes odoo/design-themes#924

Signed-off-by: Outagant Mehdi (mou) <mou@odoo.com>
This commit is contained in:
Xavier Luyckx (xlu)
2024-09-18 13:33:00 +02:00
parent 199bd53c11
commit 8fda02fca5
7 changed files with 375 additions and 251 deletions
+12 -5
View File
@@ -47,7 +47,7 @@
<template id="new_page_template_about_s_cover" inherit_id="website.new_page_template_about_s_cover">
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_half_screen_height" remove="o_full_screen_height" separator=" "/>
<attribute name="class" add="o_full_screen_height" remove="o_half_screen_height" separator=" "/>
</xpath>
</template>
@@ -115,10 +115,17 @@
</xpath>
</template>
<template id="new_page_template_s_cover" inherit_id="website.new_page_template_s_cover">
<xpath expr="//section" position="attributes">
<attribute name="class" remove="o_half_screen_height" separator=" "/>
</xpath>
</template>
<template id="new_page_template_landing_0_s_cover" inherit_id="website.new_page_template_landing_0_s_cover">
<xpath expr="//section" position="attributes">
<!-- pb256 is defined in both theme and new page template -->
<attribute name="class" add="pb256" remove="pt0 pb256" separator=" "/>
<attribute name="class" add="pb80 pt80" remove="pt256 pb256 pt0 pb0" separator=" "/>
</xpath>
</template>
@@ -133,7 +140,7 @@
<template id="new_page_template_landing_2_s_cover" inherit_id="website.new_page_template_landing_2_s_cover">
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_half_screen_height" remove="o_full_screen_height" separator=" "/>
<attribute name="class" add="o_full_screen_height" remove="o_half_screen_height" separator=" "/>
</xpath>
</template>
@@ -162,7 +169,7 @@
<template id="new_page_template_gallery_s_cover" inherit_id="website.new_page_template_gallery_s_cover">
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_half_screen_height" remove="o_full_screen_height" separator=" "/>
<attribute name="class" add="o_full_screen_height" remove="o_half_screen_height" separator=" "/>
</xpath>
</template>
@@ -186,7 +193,7 @@
<template id="new_page_template_pricing_s_cover" inherit_id="website.new_page_template_pricing_s_cover">
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_half_screen_height" remove="o_full_screen_height" separator=" "/>
<attribute name="class" add="o_full_screen_height" remove="o_half_screen_height" separator=" "/>
</xpath>
</template>