[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
@@ -8,13 +8,13 @@
</xpath>
<!-- Icons -->
<xpath expr="//i" position="attributes">
<attribute name="class" add="bg-o-color-5" remove="bg-o-color-2" separator=" "/>
<attribute name="class" add="bg-o-color-5" remove="bg-o-color-1" separator=" "/>
</xpath>
<xpath expr="(//i)[2]" position="attributes">
<attribute name="class" add="bg-o-color-5" remove="bg-o-color-2" separator=" "/>
<attribute name="class" add="bg-o-color-5" remove="bg-o-color-1" separator=" "/>
</xpath>
<xpath expr="(//i)[3]" position="attributes">
<attribute name="class" add="bg-o-color-5" remove="bg-o-color-2" separator=" "/>
<attribute name="class" add="bg-o-color-5" remove="bg-o-color-1" separator=" "/>
</xpath>
<!-- Carousel items - Remove background images -->
<xpath expr="//div[hasclass('carousel-item')]" position="attributes">
@@ -3,25 +3,34 @@
<template id="s_quotes_carousel" inherit_id="website.s_quotes_carousel">
<!-- Quote 1 -->
<xpath expr="(//div[hasclass('s_blockquote_content')])[1]/p" position="replace" mode="inner">
<xpath expr="(//p[hasclass('s_blockquote_quote')])[1]" position="replace" mode="inner">
It's difficult to describe how awesome the trip was. I feel like my life has changed forever. It would take too long to describe day by day the sights, sounds, architecture, art, food, history, and people that we came across. Ireland was fantastic.
</xpath>
<xpath expr="(//span[hasclass('s_blockquote_author')])[1]" position="replace" mode="inner">
<b>Linda and Paulo</b> • From Italy
<xpath expr="(//div[hasclass('s_blockquote_author')])[1]//strong" position="replace" mode="inner">
Linda and Paulo
</xpath>
<xpath expr="(//div[hasclass('s_blockquote_author')])[1]//span//span" position="replace" mode="inner">
From Italy
</xpath>
<!-- Quote 2 -->
<xpath expr="(//div[hasclass('s_blockquote_content')])[2]/p" position="replace" mode="inner">
<xpath expr="(//p[hasclass('s_blockquote_quote')])[2]" position="replace" mode="inner">
As always, Odoo Travel has delivered a truly wonderful travel experience for us. Norway was a great travel destination. The parts of the country we visited were beautiful, people were friendly, everything we ate was delicious, and there were many fun things to see and do.
</xpath>
<xpath expr="(//span[hasclass('s_blockquote_author')])[2]" position="replace" mode="inner">
<b>Jacques and Marie</b> • From France
<xpath expr="(//div[hasclass('s_blockquote_author')])[2]//strong" position="replace" mode="inner">
Jacques and Marie
</xpath>
<xpath expr="(//div[hasclass('s_blockquote_author')])[2]//span//span" position="replace" mode="inner">
From France
</xpath>
<!-- Quote 3 -->
<xpath expr="(//div[hasclass('s_blockquote_content')])[3]/p" position="replace" mode="inner">
<xpath expr="(//p[hasclass('s_blockquote_quote')])[3]" position="replace" mode="inner">
We would like to thank Odoo Travel for organising wonderful tour for us in Delhi, Agra and Rajasthan. Everything was very well organised. Thank you very much for everything!
</xpath>
<xpath expr="(//span[hasclass('s_blockquote_author')])[3]" position="replace" mode="inner">
<b>Rose and Peter</b> • From United Kingdom
<xpath expr="(//div[hasclass('s_blockquote_author')])[3]//strong" position="replace" mode="inner">
Rose and Peter
</xpath>
<xpath expr="(//div[hasclass('s_blockquote_author')])[3]//span//span" position="replace" mode="inner">
From United Kingdom
</xpath>
</template>
+8 -17
View File
@@ -135,14 +135,11 @@
<xpath expr="//blockquote" position="attributes">
<attribute name="class" add="w-75" remove="w-50" separator=" "/>
</xpath>
<xpath expr="//blockquote//i" position="attributes">
<attribute name="class" add="bg-o-color-1" remove="bg-o-color-2" separator=" "/>
</xpath>
<xpath expr="//blockquote//p" position="replace" mode="inner">
I have learned a lot, and I have realised professional projects thanks to the support of the mentors! The team is always at the top and always looking for solutions to problems, I felt accompanied and supported! It's not easy every day, but it's a great adventure!
</xpath>
<xpath expr="//span[hasclass('s_blockquote_author')]" position="replace" mode="inner">
<b>Iris DOE</b> Graduated in 2019
<xpath expr="//div[hasclass('s_blockquote_author')]//span//span" position="replace" mode="inner">
Graduated in 2019
</xpath>
<!-- Slide #2 -->
<xpath expr="//div[hasclass('carousel-item')][2]" position="attributes">
@@ -152,16 +149,13 @@
</xpath>
<!-- Slide #2 - blockquote -->
<xpath expr="(//blockquote)[2]" position="attributes">
<attribute name="class" add="w-75 mx-auto" remove="w-50 me-auto" separator=" "/>
</xpath>
<xpath expr="(//blockquote)[2]//i" position="attributes">
<attribute name="class" add="bg-o-color-1" remove="bg-o-color-2" separator=" "/>
<attribute name="class" add="w-75" remove="w-50" separator=" "/>
</xpath>
<xpath expr="(//blockquote)[2]//p" position="replace" mode="inner">
Thanks to its innovative system, the school offers an academic training during which we are followed by a "mentor", a sort of "tutor"!
</xpath>
<xpath expr="(//span[hasclass('s_blockquote_author')])[2]" position="replace" mode="inner">
<b>Jane DOE</b> Graduated in 2017
<xpath expr="(//div[hasclass('s_blockquote_author')])[2]//span//span" position="replace" mode="inner">
Graduated in 2017
</xpath>
<!-- Slide #3 -->
<xpath expr="//div[hasclass('carousel-item')][3]" position="attributes">
@@ -171,16 +165,13 @@
</xpath>
<!-- Slide #3 - blockquote -->
<xpath expr="(//blockquote)[3]" position="attributes">
<attribute name="class" add="w-75 mx-auto" remove="w-50 ms-auto" separator=" "/>
</xpath>
<xpath expr="(//blockquote)[3]//i" position="attributes">
<attribute name="class" add="bg-o-color-1" remove="bg-o-color-2" separator=" "/>
<attribute name="class" add="w-75" remove="w-50" separator=" "/>
</xpath>
<xpath expr="(//blockquote)[3]//p" position="replace" mode="inner">
Great support and quality courses! A mentor helps you move forward and can be contacted through flexible schedules. Everything you need to start your career on the web.
</xpath>
<xpath expr="(//span[hasclass('s_blockquote_author')])[3]" position="replace" mode="inner">
<b>John DOE</b> Graduated in 2016
<xpath expr="(//div[hasclass('s_blockquote_author')])[3]//span//span" position="replace" mode="inner">
Graduated in 2016
</xpath>
</template>
@@ -20,9 +20,6 @@
<attribute name="class" add="pt120 pb120" remove="pt80 pb80" separator=" "/>
<attribute name="style">background-image: none;</attribute>
</xpath>
<xpath expr="(//blockquote)[2]" position="attributes">
<attribute name="class" add="mx-auto" remove="me-auto" separator=" "/>
</xpath>
<xpath expr="(//p)[2]" position="replace" mode="inner">
This place is perfect for groups or a casual date night.
</xpath>
@@ -31,9 +28,6 @@
<attribute name="class" add="pt120 pb120" remove="pt80 pb80" separator=" "/>
<attribute name="style">background-image: none;</attribute>
</xpath>
<xpath expr="(//blockquote)[3]" position="attributes">
<attribute name="class" add="mx-auto" remove="ms-auto" separator=" "/>
</xpath>
<xpath expr="(//p)[3]" position="replace" mode="inner">
A truly exquisite dining experience. I highly recommend the Mustard Sauce, out of this world.
</xpath>
@@ -11,16 +11,6 @@
<xpath expr="//ol[hasclass('carousel-indicators')]" position="before">
<div class="o_we_shape o_web_editor_Rainy_10"/>
</xpath>
<!-- Icons quote -->
<xpath expr="//i" position="attributes">
<attribute name="class" add="bg-o-color-1" remove="bg-o-color-2" separator=" "/>
</xpath>
<xpath expr="(//i)[2]" position="attributes">
<attribute name="class" add="bg-o-color-1" remove="bg-o-color-2" separator=" "/>
</xpath>
<xpath expr="(//i)[3]" position="attributes">
<attribute name="class" add="bg-o-color-1" remove="bg-o-color-2" separator=" "/>
</xpath>
<!-- Carousel items - Remove background image -->
<xpath expr="//div[hasclass('carousel-item')]" position="attributes">
<attribute name="style"/>
@@ -31,6 +21,16 @@
<xpath expr="(//div[hasclass('carousel-item')])[3]" position="attributes">
<attribute name="style"/>
</xpath>
<!-- Authors -->
<xpath expr="(//div[hasclass('s_blockquote_author')])[1]//span//span" position="attributes">
<attribute name="class" add="text-o-color-2" remove="text-muted"/>
</xpath>
<xpath expr="(//div[hasclass('s_blockquote_author')])[2]//span//span" position="attributes">
<attribute name="class" add="text-o-color-2" remove="text-muted"/>
</xpath>
<xpath expr="(//div[hasclass('s_blockquote_author')])[3]//span//span" position="attributes">
<attribute name="class" add="text-o-color-2" remove="text-muted"/>
</xpath>
</template>
</odoo>
@@ -14,9 +14,6 @@
<xpath expr="(//div[hasclass('carousel-item')])[2]" position="attributes">
<attribute name="class" add="pt128 pb128" remove="pt80 pb80" separator=" "/>
</xpath>
<xpath expr="(//blockquote)[2]" position="attributes">
<attribute name="class" add="mx-auto" remove="me-auto" separator=" "/>
</xpath>
<xpath expr="(//i)[2]" position="attributes">
<attribute name="class" add="rounded-circle" remove="rounded" separator=" "/>
</xpath>
@@ -25,9 +22,6 @@
<xpath expr="(//div[hasclass('carousel-item')])[3]" position="attributes">
<attribute name="class" add="pt128 pb128" remove="pt80 pb80" separator=" "/>
</xpath>
<xpath expr="(//blockquote)[3]" position="attributes">
<attribute name="class" add="mx-auto" remove="ms-auto" separator=" "/>
</xpath>
<xpath expr="(//i)[3]" position="attributes">
<attribute name="class" add="rounded-circle" remove="rounded" separator=" "/>
</xpath>
@@ -6,34 +6,14 @@
<xpath expr="//div[hasclass('carousel-item')]//div[hasclass('container')]" position="before">
<div class="o_we_bg_filter bg-black-50"/>
</xpath>
<!-- Carousel item #1 - icon -->
<xpath expr="//i" position="attributes">
<attribute name="class" add="bg-o-color-1" remove="bg-o-color-2" separator=" "/>
</xpath>
<!-- Carousel item #2 - filter -->
<xpath expr="//div[hasclass('carousel-item')][2]//div[hasclass('container')]" position="before">
<div class="o_we_bg_filter bg-black-50"/>
</xpath>
<!-- Carousel item #2 - icon -->
<xpath expr="(//i)[2]" position="attributes">
<attribute name="class" add="bg-o-color-1" remove="bg-o-color-2" separator=" "/>
</xpath>
<!-- Carousel item #2 - blockquote -->
<xpath expr="//div[hasclass('carousel-item')][2]//blockquote" position="attributes">
<attribute name="class" add="mx-auto" remove="me-auto" separator=" "/>
</xpath>
<!-- Carousel item #3 - filter -->
<xpath expr="//div[hasclass('carousel-item')][3]//div[hasclass('container')]" position="before">
<div class="o_we_bg_filter bg-black-50"/>
</xpath>
<!-- Carousel item #3 - icon -->
<xpath expr="(//i)[3]" position="attributes">
<attribute name="class" add="bg-o-color-1" remove="bg-o-color-2" separator=" "/>
</xpath>
<!-- Carousel item #3 - blockquote -->
<xpath expr="//div[hasclass('carousel-item')][3]//blockquote" position="attributes">
<attribute name="class" add="mx-auto" remove="ms-auto" separator=" "/>
</xpath>
</template>
</odoo>
@@ -7,7 +7,7 @@
<attribute name="class" add="o_cc4" remove="o_cc2" separator=" "/>
</xpath>
<!-- Quote 1 -->
<xpath expr="(//div[hasclass('s_blockquote_content')])[1]/p" position="replace" mode="inner">
<xpath expr="(//p[hasclass('s_blockquote_quote')])[1]" position="replace" mode="inner">
A wide range of high quality products and a warm welcome! I recommend this shop 200%!
</xpath>
<xpath expr="//div[hasclass('carousel-item')]" position="attributes">
@@ -15,9 +15,12 @@
<!-- Remove background image -->
<attribute name="style"/>
</xpath>
<xpath expr="(//i[hasclass('s_blockquote_icon')])[1]" position="attributes">
<attribute name="class" add="bg-o-color-5" remove="bg-o-color-1" separator=" "/>
</xpath>
<!-- Quote 2 -->
<xpath expr="(//div[hasclass('s_blockquote_content')])[2]/p" position="replace" mode="inner">
<xpath expr="(//p[hasclass('s_blockquote_quote')])[2]" position="replace" mode="inner">
Very nice, colorful shop with many choices in the heart of a very pretty town.
</xpath>
<xpath expr="//div[hasclass('carousel-item')][2]" position="attributes">
@@ -25,13 +28,12 @@
<!-- Remove background image -->
<attribute name="style"/>
</xpath>
<!-- Center the blockquote -->
<xpath expr="(//blockquote)[2]" position="attributes">
<attribute name="class" add="mx-auto" remove="me-auto" separator=" "/>
<xpath expr="(//i[hasclass('s_blockquote_icon')])[2]" position="attributes">
<attribute name="class" add="bg-o-color-5" remove="bg-o-color-1" separator=" "/>
</xpath>
<!-- Quote 3 -->
<xpath expr="(//div[hasclass('s_blockquote_content')])[3]/p" position="replace" mode="inner">
<xpath expr="(//p[hasclass('s_blockquote_quote')])[3]" position="replace" mode="inner">
A small shop with a very large selection of roses. Nice prices and above all a very professional and friendly welcome.
</xpath>
<xpath expr="//div[hasclass('carousel-item')][3]" position="attributes">
@@ -39,9 +41,8 @@
<!-- Remove background image -->
<attribute name="style"/>
</xpath>
<!-- Center the blockquote -->
<xpath expr="(//blockquote)[3]" position="attributes">
<attribute name="class" add="mx-auto" remove="ms-auto" separator=" "/>
<xpath expr="(//i[hasclass('s_blockquote_icon')])[3]" position="attributes">
<attribute name="class" add="bg-o-color-5" remove="bg-o-color-1" separator=" "/>
</xpath>
</template>
@@ -3,25 +3,25 @@
<template id="s_quotes_carousel" inherit_id="website.s_quotes_carousel">
<!-- Quote 1 -->
<xpath expr="(//div[hasclass('s_blockquote_content')])[1]/p" position="replace" mode="inner">
<xpath expr="(//p[hasclass('s_blockquote_quote')])[1]" position="replace" mode="inner">
Amazing team! smiling, always nice to talk with, they always have the best advices for you, adapted to your needs!
</xpath>
<xpath expr="(//span[hasclass('s_blockquote_author')])[1]" position="replace" mode="inner">
<b>Jane Doe</b> Customer, bought a house
<xpath expr="(//div[hasclass('s_blockquote_author')])[1]//span//span" position="replace" mode="inner">
Customer, bought a house
</xpath>
<!-- Quote 2 -->
<xpath expr="(//div[hasclass('s_blockquote_content')])[2]/p" position="replace" mode="inner">
<xpath expr="(//p[hasclass('s_blockquote_quote')])[2]" position="replace" mode="inner">
From start to finish, they were extremely professional, friendly, helpful and easy to do business with. Very happy with the experience and the company.
</xpath>
<xpath expr="(//span[hasclass('s_blockquote_author')])[2]" position="replace" mode="inner">
<b>John Doe</b> Customer, bought an appartement
<xpath expr="(//div[hasclass('s_blockquote_author')])[2]//span//span" position="replace" mode="inner">
Customer, bought an appartement
</xpath>
<!-- Quote 3 -->
<xpath expr="(//div[hasclass('s_blockquote_content')])[3]/p" position="replace" mode="inner">
<xpath expr="(//p[hasclass('s_blockquote_quote')])[3]" position="replace" mode="inner">
Positive energy, great team spirit, hard workers and awesome people! I warmly recommend them!
</xpath>
<xpath expr="(//span[hasclass('s_blockquote_author')])[3]" position="replace" mode="inner">
<b>Iris Doe</b> Customer, sold an appartement
<xpath expr="(//div[hasclass('s_blockquote_author')])[3]//span//span" position="replace" mode="inner">
Customer, sold an appartement
</xpath>
</template>
+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>