[IMP] theme_artists,* : s_quotes_carousel adaptations

This commit removes the `s_quotes_carousel` customization since this
snippets has been redesigned in PR[1].

task-3658347

[1]: https://github.com/odoo/odoo/pull/172723

closes odoo/design-themes#828

Related: odoo/odoo#172723
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
This commit is contained in:
Brieuc-brd
2024-07-18 15:55:28 +02:00
parent 903b6a149a
commit f1b15e063f
10 changed files with 74 additions and 126 deletions
+16 -37
View File
@@ -9,22 +9,14 @@
<xpath expr="//div[hasclass('container')]" position="before">
<div class="o_we_bg_filter" style="background-color: rgba(25, 41, 37, 0.55) !important;"/>
</xpath>
<xpath expr="//blockquote[hasclass('s_blockquote')]" position="attributes">
<attribute name="class" add="me-auto" remove="mx-auto" separator=" "/>
<xpath expr="(//p[hasclass('s_blockquote_quote')])[1]" position="replace" mode="inner">
Thank you so much for being a part of our special day. It was so nice working with you. Without your help the day would not have been as perfect as it was.
</xpath>
<xpath expr="(//i[hasclass('s_blockquote_icon')])" position="attributes">
<attribute name="style" add="background-color: rgba(255, 0, 0, 0) !important;" separator="; "></attribute>
<attribute name="class" add="text-o-color-3" remove="bg-o-color-2" separator=" "/>
<xpath expr="(//div[hasclass('s_blockquote_author')])[1]//strong" position="replace" mode="inner">
Linda and Paul
</xpath>
<xpath expr="(//*[hasclass('s_blockquote_content')])[1]" position="attributes">
<attribute name="class" add="bg-o-color-2 rounded" remove="o_cc1" separator=" "/>
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.25) 0px 8px 16px 0px !important;" separator="; "/>
</xpath>
<xpath expr="(//div[hasclass('s_blockquote_content')])[1]/p" position="replace">
<p style="font-size: 16px">Thank you so much for being a part of our special day. It was so nice working with you. Without your help the day would not have been as perfect as it was.</p>
</xpath>
<xpath expr="(//span[hasclass('s_blockquote_author')])[1]" position="replace">
<span class="s_blockquote_author"><b>Linda and Paul</b> • Married in 2020</span>
<xpath expr="(//div[hasclass('s_blockquote_author')])[1]//span//span" position="replace" mode="inner">
Married in 2020
</xpath>
<!-- Quote 2 -->
<xpath expr="(//*[hasclass('carousel-item')])[2]" position="attributes">
@@ -33,19 +25,11 @@
<xpath expr="(//*[hasclass('container')])[2]" position="before">
<div class="o_we_bg_filter" style="background-color: rgba(25, 41, 37, 0.55) !important;"/>
</xpath>
<xpath expr="(//i[hasclass('s_blockquote_icon')])[2]" position="attributes">
<attribute name="style">background-color: rgba(255, 0, 0, 0) !important;</attribute>
<attribute name="class" add="text-o-color-3" remove="bg-o-color-2" separator=" "/>
<xpath expr="(//div[hasclass('s_blockquote_author')])[2]//strong" position="replace" mode="inner">
Jack and Mary
</xpath>
<xpath expr="(//*[hasclass('s_blockquote_content')])[2]" position="attributes">
<attribute name="class" add="bg-o-color-1 rounded" remove="o_cc1" separator=" "/>
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.25) 0px 8px 16px 0px !important;" separator="; "/>
</xpath>
<xpath expr="(//div[hasclass('s_blockquote_content')])[2]/p" position="replace">
<p style="font-size:16px">Our wedding coordinator made the entire process so much less stressful. She was more than kind, accommodating, and helpful in more ways than one! She always answered my emails within a day and thoroughly. She went above and beyond, I would recommend her to anyone!</p>
</xpath>
<xpath expr="(//span[hasclass('s_blockquote_author')])[2]" position="replace">
<span class="s_blockquote_author"><b>Jack and Mary</b> • Married in 2019</span>
<xpath expr="(//div[hasclass('s_blockquote_author')])[2]//span//span" position="replace" mode="inner">
Married in 2019
</xpath>
<!-- Quote 3 -->
<xpath expr="(//*[hasclass('carousel-item')])[3]" position="attributes">
@@ -54,19 +38,14 @@
<xpath expr="(//*[hasclass('container')])[3]" position="before">
<div class="o_we_bg_filter" style="background-color: rgba(25, 41, 37, 0.55) !important;"/>
</xpath>
<xpath expr="(//i[hasclass('s_blockquote_icon')])[3]" position="attributes">
<attribute name="style" add="background-color: rgba(255, 0, 0, 0) !important;" separator="; "/>
<attribute name="class" add="text-o-color-3" remove="bg-o-color-2" separator=" "/>
<xpath expr="(//p[hasclass('s_blockquote_quote')])[3]" position="replace" mode="inner">
From the beginning of our planning process, our planner was incredible! She made us feel heard, gave great suggestions and was always just an email or call away when we had any last minute questions. Couldn't have done it without her!
</xpath>
<xpath expr="(//*[hasclass('s_blockquote_content')])[3]" position="attributes">
<attribute name="class" add="rounded" separator=" "/>
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.25) 0px 8px 16px 0px !important;" separator="; "/>
<xpath expr="(//div[hasclass('s_blockquote_author')])[3]//strong" position="replace" mode="inner">
Rose and Peter
</xpath>
<xpath expr="(//*[hasclass('s_blockquote_content')])[3]/p" position="replace">
<p style="font-size:16px">From the beginning of our planning process, our planner was incredible! She made us feel heard, gave great suggestions and was always just an email or call away when we had any last minute questions. Couldn't have done it without her!</p>
</xpath>
<xpath expr="(//*[hasclass('s_blockquote_author')])[3]" position="replace">
<span class="s_blockquote_author"><b>Rose and Peter</b> • Renewed their vows in 2021</span>
<xpath expr="(//div[hasclass('s_blockquote_author')])[3]//span//span" position="replace" mode="inner">
Renewed their vows in 2021
</xpath>
</template>