Skip to content

Commit 1435857

Browse files
committed
[IMP] theme_*: adapt s_call_to_action snippet design
This commit applies some changes to the CTA snippet occurrences existing in design themes. *: anelusia, artists, avantgarde, beauty, bewise, bookstore, buzzy, clean, enark, graphene, kiddo, loftspace, monglia, notes, odoo_experts, orchid, paptic, treehouse, vehicle, yes, zap. task-3670312 closes #823 Related: odoo/odoo#172728 Related: odoo/enterprise#66578 Signed-off-by: Benjamin Vray (bvr) <[email protected]>
1 parent a5b4acd commit 1435857

File tree

21 files changed

+25
-28
lines changed

21 files changed

+25
-28
lines changed

theme_anelusia/views/snippets/s_call_to_action.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<template id="s_call_to_action" inherit_id="website.s_call_to_action">
55
<!-- Section -->
66
<xpath expr="//section" position="attributes">
7-
<attribute name="class" add="pt120 pb104 o_cc4" remove="pt48 pb24 o_cc3" separator=" "/>
7+
<attribute name="class" add="pt120 pb104 o_cc4" remove="pt64 pb64 o_cc5" separator=" "/>
88
<attribute name="data-oe-shape-data">{"shape":"web_editor/Floats/02","flip":[]}</attribute>
99
</xpath>
1010
<!-- Shape -->

theme_artists/views/snippets/s_call_to_action.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
<template id="s_call_to_action" inherit_id="website.s_call_to_action">
55
<!-- Section -->
66
<xpath expr="//section" position="attributes">
7-
<attribute name="class" add="pb208 pt64 o_cc4" remove="pb24 pt48 o_cc3" separator=" "/>
7+
<attribute name="class" add="pb208 o_cc4" remove="pb64 o_cc5" separator=" "/>
88
</xpath>
99
<!-- Title & Paragraph -->
1010
<xpath expr="//h3" position="replace" mode="inner">
11-
<b>Want to discover more?</b>
11+
Want to discover more?
1212
</xpath>
1313
<xpath expr="//p" position="replace" mode="inner">
1414
Contact me for a visit of my studio.

theme_avantgarde/views/customizations.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@
156156
<template id="s_call_to_action" inherit_id="website.s_call_to_action" name="Avantgarde s_call_to_action">
157157

158158
<xpath expr="//section" position="attributes">
159-
<attribute name="class" add="o_half_screen_height pt0" remove="pt48" separator=" "/>
159+
<attribute name="class" add="o_half_screen_height pt0" remove="pt64" separator=" "/>
160160
</xpath>
161161
<xpath expr="//h3" position="replace">
162162
<h3 style="text-align: right;"><b>Since 1992</b> creating around the world.</h3>

theme_beauty/views/snippets/s_call_to_action.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<template id="s_call_to_action" inherit_id="website.s_call_to_action">
55
<!-- Section -->
66
<xpath expr="//section" position="attributes">
7-
<attribute name="class" add="pt128 pb128" remove="pt48 pb24 bg-200" separator=" "/>
7+
<attribute name="class" add="pt128 pb128" remove="pt64 pb64" separator=" "/>
88
</xpath>
99
<!-- Layout -->
1010
<xpath expr="//div[hasclass('col-lg-9')]" position="attributes">

theme_bewise/views/customizations.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@
194194
</xpath>
195195
<!-- Title -->
196196
<xpath expr="//h3" position="replace">
197-
<h4><b>3,000 students</b> graduate each year and find a job within 2 months</h4>
197+
<h4>3,000 students graduate each year and find a job within 2 months</h4>
198198
</xpath>
199199
<!-- Subtitle -->
200200
<xpath expr="//div[hasclass('col-lg-9')]/p" position="replace" mode="inner">

theme_bookstore/views/snippets/s_call_to_action.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<template id="s_call_to_action" inherit_id="website.s_call_to_action">
55
<!-- Section -->
66
<xpath expr="//section" position="attributes">
7-
<attribute name="class" add="o_cc1 pt128 pb32" remove="o_cc3 pt48 pb24" separator=" "/>
7+
<attribute name="class" add="o_cc1 pt128 pb32" remove="o_cc5 pt64 pb64" separator=" "/>
88
</xpath>
99
<!-- Paragraph #1 -->
1010
<xpath expr="//div[hasclass('col-lg-9')]" position="replace">

theme_buzzy/views/snippets/s_call_to_action.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<template id="s_call_to_action" inherit_id="website.s_call_to_action">
55
<!-- Section -->
66
<xpath expr="//section" position="attributes">
7-
<attribute name="class" add="o_cc5 pt88 pb48" remove="o_cc3 pt48 pb24" separator=" "/>
7+
<attribute name="class" add="pt88 pb48" remove="pt64 pb64" separator=" "/>
88
<attribute name="data-oe-shape-data">{"shape":"web_editor/Rainy/08_001","flip":[]}</attribute>
99
</xpath>
1010
<!-- Shape -->
@@ -21,7 +21,7 @@
2121
</xpath>
2222
<!-- Title -->
2323
<xpath expr="//h3" position="replace" mode="inner">
24-
<b>Start to build</b> your robust activity with these powerful tools
24+
Start to build your robust activity with these powerful tools
2525
</xpath>
2626
<!-- Paragraph -->
2727
<xpath expr="//div[hasclass('row')]//p" position="replace" mode="inner">

theme_clean/views/snippets/s_call_to_action.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
<template id="s_call_to_action" inherit_id="website.s_call_to_action">
55
<!-- Section -->
66
<xpath expr="//section" position="attributes">
7-
<attribute name="class" add="pt80 o_cc2" remove="pt48 o_cc3" separator=" "/>
7+
<attribute name="class" add="pt80 o_cc2" remove="pt64 o_cc5" separator=" "/>
88
</xpath>
99
<!-- Paragraph -->
1010
<xpath expr="//div[hasclass('col-lg-9')]" position="attributes">
11-
<attribute name="class" add="pt16" remove="pb16" separator=" "/>
11+
<attribute name="class" add="pt16" separator=" "/>
1212
</xpath>
1313
<xpath expr="//h3" position="replace" mode="inner">
1414
<b>50,000 people</b>, run Clean to grow their financial wealth.

theme_enark/views/snippets/s_call_to_action.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<template id="s_call_to_action" inherit_id="website.s_call_to_action">
55
<!-- Paragraph -->
66
<xpath expr="//h3" position="replace" mode="inner">
7-
As <b>436 clients</b> before you, let’s work together
7+
As 436 clients before you, let’s work together
88
</xpath>
99
<xpath expr="//p" position="replace"/>
1010
</template>

theme_graphene/views/customizations.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -193,11 +193,8 @@
193193

194194
<!-- ======== CALL TO ACTION ======== -->
195195
<template id="s_call_to_action" inherit_id="website.s_call_to_action" name="Graphene s_call_to_action">
196-
<xpath expr="//section" position="attributes">
197-
<attribute name="class" add="o_cc5" remove="o_cc3" separator=" "/>
198-
</xpath>
199196
<xpath expr="//h3" position="replace">
200-
<h3 style="text-align: right;"><b>50,000+ companies</b> run our software.</h3>
197+
<h3 style="text-align: right;">50,000+ companies run our software.</h3>
201198
</xpath>
202199
<xpath expr="//div[hasclass('col-lg-9')]" position="attributes">
203200
<attribute name="class" add="col-lg-8" remove="col-lg-9" separator=" "/>

0 commit comments

Comments
 (0)