[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 odoo/design-themes#823

Related: odoo/odoo#172728
Related: odoo/enterprise#66578
Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
This commit is contained in:
Chrysanthe (chgo)
2024-07-12 13:54:16 +02:00
parent a5b4acdbdf
commit 143585714a
21 changed files with 25 additions and 28 deletions
@@ -4,7 +4,7 @@
<template id="s_call_to_action" inherit_id="website.s_call_to_action">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="pt120 pb104 o_cc4" remove="pt48 pb24 o_cc3" separator=" "/>
<attribute name="class" add="pt120 pb104 o_cc4" remove="pt64 pb64 o_cc5" separator=" "/>
<attribute name="data-oe-shape-data">{"shape":"web_editor/Floats/02","flip":[]}</attribute>
</xpath>
<!-- Shape -->
@@ -4,11 +4,11 @@
<template id="s_call_to_action" inherit_id="website.s_call_to_action">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="pb208 pt64 o_cc4" remove="pb24 pt48 o_cc3" separator=" "/>
<attribute name="class" add="pb208 o_cc4" remove="pb64 o_cc5" separator=" "/>
</xpath>
<!-- Title & Paragraph -->
<xpath expr="//h3" position="replace" mode="inner">
<b>Want to discover more?</b>
Want to discover more?
</xpath>
<xpath expr="//p" position="replace" mode="inner">
Contact me for a visit of my studio.
+1 -1
View File
@@ -156,7 +156,7 @@
<template id="s_call_to_action" inherit_id="website.s_call_to_action" name="Avantgarde s_call_to_action">
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_half_screen_height pt0" remove="pt48" separator=" "/>
<attribute name="class" add="o_half_screen_height pt0" remove="pt64" separator=" "/>
</xpath>
<xpath expr="//h3" position="replace">
<h3 style="text-align: right;"><b>Since 1992</b> creating around the world.</h3>
@@ -4,7 +4,7 @@
<template id="s_call_to_action" inherit_id="website.s_call_to_action">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="pt128 pb128" remove="pt48 pb24 bg-200" separator=" "/>
<attribute name="class" add="pt128 pb128" remove="pt64 pb64" separator=" "/>
</xpath>
<!-- Layout -->
<xpath expr="//div[hasclass('col-lg-9')]" position="attributes">
+1 -1
View File
@@ -194,7 +194,7 @@
</xpath>
<!-- Title -->
<xpath expr="//h3" position="replace">
<h4><b>3,000 students</b> graduate each year and find a job within 2 months</h4>
<h4>3,000 students graduate each year and find a job within 2 months</h4>
</xpath>
<!-- Subtitle -->
<xpath expr="//div[hasclass('col-lg-9')]/p" position="replace" mode="inner">
@@ -4,7 +4,7 @@
<template id="s_call_to_action" inherit_id="website.s_call_to_action">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc1 pt128 pb32" remove="o_cc3 pt48 pb24" separator=" "/>
<attribute name="class" add="o_cc1 pt128 pb32" remove="o_cc5 pt64 pb64" separator=" "/>
</xpath>
<!-- Paragraph #1 -->
<xpath expr="//div[hasclass('col-lg-9')]" position="replace">
@@ -4,7 +4,7 @@
<template id="s_call_to_action" inherit_id="website.s_call_to_action">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc5 pt88 pb48" remove="o_cc3 pt48 pb24" separator=" "/>
<attribute name="class" add="pt88 pb48" remove="pt64 pb64" separator=" "/>
<attribute name="data-oe-shape-data">{"shape":"web_editor/Rainy/08_001","flip":[]}</attribute>
</xpath>
<!-- Shape -->
@@ -21,7 +21,7 @@
</xpath>
<!-- Title -->
<xpath expr="//h3" position="replace" mode="inner">
<b>Start to build</b> your robust activity with these powerful tools
Start to build your robust activity with these powerful tools
</xpath>
<!-- Paragraph -->
<xpath expr="//div[hasclass('row')]//p" position="replace" mode="inner">
@@ -4,11 +4,11 @@
<template id="s_call_to_action" inherit_id="website.s_call_to_action">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="pt80 o_cc2" remove="pt48 o_cc3" separator=" "/>
<attribute name="class" add="pt80 o_cc2" remove="pt64 o_cc5" separator=" "/>
</xpath>
<!-- Paragraph -->
<xpath expr="//div[hasclass('col-lg-9')]" position="attributes">
<attribute name="class" add="pt16" remove="pb16" separator=" "/>
<attribute name="class" add="pt16" separator=" "/>
</xpath>
<xpath expr="//h3" position="replace" mode="inner">
<b>50,000 people</b>, run Clean to grow their financial wealth.
@@ -4,7 +4,7 @@
<template id="s_call_to_action" inherit_id="website.s_call_to_action">
<!-- Paragraph -->
<xpath expr="//h3" position="replace" mode="inner">
As <b>436 clients</b> before you, lets work together
As 436 clients before you, lets work together
</xpath>
<xpath expr="//p" position="replace"/>
</template>
+1 -4
View File
@@ -193,11 +193,8 @@
<!-- ======== CALL TO ACTION ======== -->
<template id="s_call_to_action" inherit_id="website.s_call_to_action" name="Graphene s_call_to_action">
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc5" remove="o_cc3" separator=" "/>
</xpath>
<xpath expr="//h3" position="replace">
<h3 style="text-align: right;"><b>50,000+ companies</b> run our software.</h3>
<h3 style="text-align: right;">50,000+ companies run our software.</h3>
</xpath>
<xpath expr="//div[hasclass('col-lg-9')]" position="attributes">
<attribute name="class" add="col-lg-8" remove="col-lg-9" separator=" "/>
@@ -4,7 +4,7 @@
<template id="s_call_to_action" inherit_id="website.s_call_to_action">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc2 pt152 pb152 o_colored_level" remove="pt48 pb24 o_cc3" separator=" "/>
<attribute name="class" add="o_cc2 pt152 pb152 o_colored_level" remove="pt64 pb64 o_cc5" separator=" "/>
<attribute name="data-oe-shape-data">{"shape":"web_editor/Floats/14"}</attribute>
</xpath>
@@ -4,7 +4,7 @@
<template id="s_call_to_action" inherit_id="website.s_call_to_action">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="pt128 pb128 o_cc4" remove="pt48 pb24 o_cc3" separator=" "/>
<attribute name="class" add="pt128 pb128 o_cc4" remove="pt64 pb64 o_cc5" separator=" "/>
</xpath>
<!-- Layout -->
<xpath expr="//div[hasclass('col-lg-9')]" position="attributes">
+1 -1
View File
@@ -178,7 +178,7 @@
<!-- ======== CALL TO ACTION ======== -->
<template id="s_call_to_action" inherit_id="website.s_call_to_action" name="Monglia s_call_to_action">
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc4" remove="o_cc3" separator=" "/>
<attribute name="class" add="o_cc4" remove="o_cc5" separator=" "/>
</xpath>
<xpath expr="//h3" position="replace">
<h3 style="text-align: left;"><b>APPLY FOR OUR V.I.P. CARD</b></h3>
@@ -4,7 +4,7 @@
<template id="s_call_to_action" inherit_id="website.s_call_to_action">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="pb72 pt96 oe_img_bg o_bg_img_center" remove="pt48 pb24" separator=" "/>
<attribute name="class" add="pb72 pt96 oe_img_bg o_bg_img_center" remove="pt64 pb64" separator=" "/>
<attribute name="data-oe-shape-data">{"shape":"web_editor/Floats/12","flip":[]}</attribute>
<attribute name="style">background-image: url('/web/image/website.s_call_to_action_default_image'); background-position: 50% 34%;</attribute>
</xpath>
@@ -4,7 +4,7 @@
<template id="s_call_to_action" inherit_id="website.s_call_to_action">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc5 pb56 pt56" remove="o_cc3 pt48 pb24" separator=" "/>
<attribute name="class" add="pb56 pt56" remove="pt64 pb64" separator=" "/>
</xpath>
<!-- Left column -->
<xpath expr="//div[hasclass('col-lg-9')]" position="attributes">
@@ -4,7 +4,7 @@
<template id="s_call_to_action" inherit_id="website.s_call_to_action">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="pb88 pt88" remove="pb24 pt48 bg-200" separator=" "/>
<attribute name="class" add="pb88 pt88" remove="pb64 pt64" separator=" "/>
</xpath>
<!-- Title & paragraph -->
<xpath expr="//h3" position="replace" mode="inner">
+2 -2
View File
@@ -294,11 +294,11 @@
<!-- ==== Call to action ===== -->
<template id="s_call_to_action" inherit_id="website.s_call_to_action" name="Paptic s_call_to_action">
<xpath expr="//section" position="attributes">
<attribute name="class" add="pt120 pb120 o_cc1" remove="pt48 pb24 o_cc3" separator=" "/>
<attribute name="class" add="pt120 pb120 o_cc1" remove="pt64 pb64 o_cc5" separator=" "/>
</xpath>
<!-- Title -->
<xpath expr="//h3" position="replace" mode="inner">
<b>50,000+ companies</b> run Paptic to grow their businesses.
50,000+ companies run Paptic to grow their businesses.
</xpath>
</template>
@@ -4,7 +4,7 @@
<template id="s_call_to_action" inherit_id="website.s_call_to_action">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="pt80 pb48" remove="pt48 pb24" separator=" "/>
<attribute name="class" add="pt80 pb48" remove="pt64 pb64" separator=" "/>
<attribute name="data-oe-shape-data">{"shape":"web_editor/Rainy/08_001"}</attribute>
</xpath>
<!-- Shape -->
+1 -1
View File
@@ -115,7 +115,7 @@
<template id="s_call_to_action" inherit_id="website.s_call_to_action" name="Vehicle s_call_to_action">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc5 pt96 pb64" remove="o_cc3 pt48 pb24" separator=" "/>
<attribute name="class" add="pt96" remove="pt64" separator=" "/>
<attribute name="data-oe-shape-data">{"shape":"web_editor/Floats/09","flip":[]}</attribute>
</xpath>
<!-- Shape -->
@@ -4,7 +4,7 @@
<template id="s_call_to_action" inherit_id="website.s_call_to_action">
<!-- Title -->
<xpath expr="//h3" position="replace" mode="inner">
<b>345 couples</b> trusted us to organize their wedding.
345 couples trusted us to organize their wedding.
</xpath>
<!-- Paragraph -->
<xpath expr="//p" position="replace" mode="inner">
@@ -4,7 +4,7 @@
<template id="s_call_to_action" inherit_id="website.s_call_to_action">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="pt64 pb48 o_cc4" remove="pt48 pb24 o_cc3" separator=" "/>
<attribute name="class" add="pb48 o_cc4" remove="pb64 o_cc5" separator=" "/>
</xpath>
</template>