[IMP] theme_*: review s_text_cover templates
This commit aims to review all the occurrences of the `s_text_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:
@@ -4,11 +4,11 @@
|
|||||||
<template id="s_text_cover" inherit_id="website.s_text_cover">
|
<template id="s_text_cover" inherit_id="website.s_text_cover">
|
||||||
<!-- Section -->
|
<!-- Section -->
|
||||||
<xpath expr="//section" position="attributes">
|
<xpath expr="//section" position="attributes">
|
||||||
<attribute name="class" add="o_cc o_cc4" separator=" "/>
|
<attribute name="class" add="o_cc4" remove="o_cc2" separator=" "/>
|
||||||
</xpath>
|
</xpath>
|
||||||
<!-- Container -->
|
<!-- Container -->
|
||||||
<xpath expr="//div[hasclass('row')]/div" position="attributes">
|
<xpath expr="//div[hasclass('row')]/div" position="attributes">
|
||||||
<attribute name="style">text-align: right;</attribute>
|
<attribute name="style" add="text-align: right;" separator=" "/>
|
||||||
</xpath>
|
</xpath>
|
||||||
<xpath expr="//h1" position="replace" mode="inner">
|
<xpath expr="//h1" position="replace" mode="inner">
|
||||||
The next<br/> summer<br/> collection
|
The next<br/> summer<br/> collection
|
||||||
@@ -17,10 +17,6 @@
|
|||||||
<xpath expr="//p[hasclass('lead')]" position="replace" mode="inner">
|
<xpath expr="//p[hasclass('lead')]" position="replace" mode="inner">
|
||||||
Color trends are already waiting to spring <br/>into action for the next summer.
|
Color trends are already waiting to spring <br/>into action for the next summer.
|
||||||
</xpath>
|
</xpath>
|
||||||
<!-- Button -->
|
|
||||||
<xpath expr="//a[hasclass('btn')]" position="attributes">
|
|
||||||
<attribute name="class" add="btn-lg" separator=" "/>
|
|
||||||
</xpath>
|
|
||||||
<xpath expr="//a[hasclass('btn')]/t" position="replace" mode="inner">
|
<xpath expr="//a[hasclass('btn')]/t" position="replace" mode="inner">
|
||||||
Discover it
|
Discover it
|
||||||
</xpath>
|
</xpath>
|
||||||
|
|||||||
@@ -115,7 +115,7 @@
|
|||||||
|
|
||||||
<template id="new_page_template_about_s_text_cover" inherit_id="website.new_page_template_about_s_text_cover">
|
<template id="new_page_template_about_s_text_cover" inherit_id="website.new_page_template_about_s_text_cover">
|
||||||
<xpath expr="//section" position="attributes">
|
<xpath expr="//section" position="attributes">
|
||||||
<attribute name="class" add="o_cc5" separator=" "/>
|
<attribute name="class" add="o_cc5" remove="o_cc2" separator=" "/>
|
||||||
</xpath>
|
</xpath>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
@@ -161,7 +161,7 @@
|
|||||||
|
|
||||||
<template id="new_page_template_about_s_text_cover" inherit_id="website.new_page_template_about_s_text_cover">
|
<template id="new_page_template_about_s_text_cover" inherit_id="website.new_page_template_about_s_text_cover">
|
||||||
<xpath expr="//section" position="attributes">
|
<xpath expr="//section" position="attributes">
|
||||||
<attribute name="class" add="o_cc2" separator=" "/>
|
<attribute name="class" add="o_cc4" remove="o_cc2" separator=" "/>
|
||||||
</xpath>
|
</xpath>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -253,7 +253,7 @@
|
|||||||
|
|
||||||
<template id="new_page_template_landing_s_text_cover" inherit_id="website.new_page_template_landing_s_text_cover">
|
<template id="new_page_template_landing_s_text_cover" inherit_id="website.new_page_template_landing_s_text_cover">
|
||||||
<xpath expr="//section" position="attributes">
|
<xpath expr="//section" position="attributes">
|
||||||
<attribute name="class" add="o_cc2" separator=" "/>
|
<attribute name="class" add="o_cc4" remove="o_cc2" separator=" "/>
|
||||||
</xpath>
|
</xpath>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -350,7 +350,7 @@
|
|||||||
|
|
||||||
<template id="new_page_template_services_s_text_cover" inherit_id="website.new_page_template_services_s_text_cover">
|
<template id="new_page_template_services_s_text_cover" inherit_id="website.new_page_template_services_s_text_cover">
|
||||||
<xpath expr="//section" position="attributes">
|
<xpath expr="//section" position="attributes">
|
||||||
<attribute name="class" add="o_cc2" separator=" "/>
|
<attribute name="class" add="o_cc4" remove="o_cc2" separator=" "/>
|
||||||
</xpath>
|
</xpath>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
@@ -116,7 +116,7 @@
|
|||||||
|
|
||||||
<template id="new_page_template_about_s_text_cover" inherit_id="website.new_page_template_about_s_text_cover">
|
<template id="new_page_template_about_s_text_cover" inherit_id="website.new_page_template_about_s_text_cover">
|
||||||
<xpath expr="//section" position="attributes">
|
<xpath expr="//section" position="attributes">
|
||||||
<attribute name="class" add="o_cc5" separator=" "/>
|
<attribute name="class" add="o_cc5" remove="o_cc2" separator=" "/>
|
||||||
</xpath>
|
</xpath>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -331,7 +331,7 @@
|
|||||||
|
|
||||||
<template id="new_page_template_services_s_text_cover" inherit_id="website.new_page_template_services_s_text_cover">
|
<template id="new_page_template_services_s_text_cover" inherit_id="website.new_page_template_services_s_text_cover">
|
||||||
<xpath expr="//section" position="attributes">
|
<xpath expr="//section" position="attributes">
|
||||||
<attribute name="class" add="o_cc5" separator=" "/>
|
<attribute name="class" add="o_cc5" remove="o_cc2" separator=" "/>
|
||||||
</xpath>
|
</xpath>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user