[IMP] theme_*: review s_cover templates

This commit aims to review all the occurrences of the `s_cover`
snippet across the themes in order to fix broken selectors.

task-3665300

Part-of: odoo/design-themes#827
Related: odoo/odoo#172725
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
This commit is contained in:
Chrysanthe (chgo)
2024-07-15 22:42:09 +02:00
parent c3bee92507
commit d3d4d7b900
21 changed files with 39 additions and 48 deletions
+6 -6
View File
@@ -36,7 +36,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 o_cc5" remove="o_full_screen_height" separator=" "/>
<attribute name="class" add="o_half_screen_height o_cc5" remove="o_full_screen_height o_cc4" separator=" "/>
</xpath>
</template>
@@ -44,19 +44,19 @@
<template id="new_page_template_landing_0_s_cover" inherit_id="website.new_page_template_landing_0_s_cover">
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc5" separator=" "/>
<attribute name="class" add="o_cc5" remove="o_cc4" separator=" "/>
</xpath>
</template>
<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 o_cc5" remove="o_full_screen_height" separator=" "/>
<attribute name="class" add="o_half_screen_height o_cc5" remove="o_full_screen_height o_cc4" separator=" "/>
</xpath>
</template>
<template id="new_page_template_landing_4_s_cover" inherit_id="website.new_page_template_landing_4_s_cover">
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc5" separator=" "/>
<attribute name="class" add="o_cc5" remove="o_cc4" separator=" "/>
</xpath>
</template>
@@ -64,7 +64,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 o_cc5" remove="o_full_screen_height" separator=" "/>
<attribute name="class" add="o_half_screen_height o_cc5" remove="o_full_screen_height o_cc4" separator=" "/>
</xpath>
</template>
@@ -80,7 +80,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 o_cc5" remove="o_full_screen_height" separator=" "/>
<attribute name="class" add="o_half_screen_height o_cc5" remove="o_full_screen_height o_cc4" separator=" "/>
</xpath>
</template>