mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] review numbers snippets occurrences across design themes
This commit reviews the occurrences of the numbers snippets across the website themes, especially broken selector. The goal of this commit is to fix potential broken xpath as wel as fine-tune the design if needed. task-3924624 Part-of: odoo/design-themes#822 Related: odoo/odoo#163583 Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
This commit is contained in:
@@ -181,7 +181,7 @@
|
||||
<!-- ======== NUMBERS ======== -->
|
||||
<template id="s_numbers" inherit_id="website.s_numbers" name="Graphene s_numbers">
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="oe_img_bg o_bg_img_center pb56 pt56 s_parallax_no_overflow_hidden parallax s_parallax_is_fixed" remove="pb24 pt24" separator=" "/>
|
||||
<attribute name="class" add="oe_img_bg o_bg_img_center pb56 pt56 s_parallax_no_overflow_hidden parallax s_parallax_is_fixed o_cc3" remove="pb80 pt80 o_cc1" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//section/div[hasclass('container')]" position="before">
|
||||
<span class="s_parallax_bg oe_img_bg" style="background-image: url('/web/image/website.s_parallax_default_image'); background-position: 50% 75%;"/>
|
||||
@@ -197,9 +197,6 @@
|
||||
<xpath expr="(//div[hasclass('row')]/div/span)[3]" position="attributes">
|
||||
<attribute name="class" add="text-white" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//div[hasclass('row')]/div/span)[4]" position="attributes">
|
||||
<attribute name="class" add="text-white" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<!-- ======== PICTURE ======== -->
|
||||
|
||||
@@ -106,6 +106,12 @@
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<template id="new_page_template_about_full_s_numbers" inherit_id="website.new_page_template_about_full_s_numbers">
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" remove="o_cc3" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<template id="new_page_template_about_personal_s_text_block_h2" inherit_id="website.new_page_template_about_personal_s_text_block_h2">
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_cc5" remove="o_cc3" separator=" "/>
|
||||
|
||||
Reference in New Issue
Block a user