[IMP] theme_bistro: revamp the theme

task-4178021
Part of task-4177975

closes odoo/design-themes#919

Related: odoo/odoo#180736
Signed-off-by: Outagant Mehdi (mou) <mou@odoo.com>
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
Brieuc-brd
2024-09-19 10:58:09 +02:00
committed by qsm-odoo
parent f0e216f031
commit 97683ee283
21 changed files with 266 additions and 201 deletions
+2 -2
View File
@@ -4,12 +4,12 @@
<template id="s_big_number" inherit_id="website.s_big_number">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="data-oe-shape-data">{"shape":"web_editor/Blobs/02"}</attribute>
<attribute name="data-oe-shape-data">{"shape":"web_editor/Blobs/02","colors":{"c1":"o-color-1","c2":"o-color-1"},"flip":[],"showOnMobile":false,"shapeAnimationSpeed":"0"}</attribute>
</xpath>
<!-- Shape -->
<xpath expr="//div[hasclass('o_we_shape')]" position="replace">
<div class="o_we_shape o_web_editor_Blobs_02"/>
<div class="o_we_shape o_web_editor_Blobs_02" style="background-image: url('/web_editor/shape/web_editor/Blobs/02.svg?c1=o-color-1&amp;c2=o-color-1');"/>
</xpath>
<!-- Text -->
@@ -2,6 +2,17 @@
<odoo>
<template id="s_image_title" inherit_id="website.s_image_title">
<!-- Layout -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="parallax" separator=" "/>
<attribute name="style"/>
<attribute name="data-scroll-background-ratio">-3</attribute>
</xpath>
<xpath expr="//div[hasclass('o_we_bg_filter')]" position="before">
<span class="s_parallax_bg oe_img_bg o_bg_img_center" style="background-image: url('/web/image/website.s_image_title_default_image') !important;"/>
</xpath>
<!-- Texts -->
<xpath expr="//h1" position="replace" mode="inner">
A Deep Dive into Flavor and Innovation
</xpath>
-11
View File
@@ -24,15 +24,4 @@
</xpath>
</template>
<template id="configurator_s_picture" inherit_id="website.configurator_s_picture">
<!-- Shape option -->
<xpath expr="//section" position="attributes">
<attribute name="data-oe-shape-data">{"shape":"web_editor/Origins/04_001"}</attribute>
</xpath>
<!-- Shape -->
<xpath expr="//div[hasclass('o_container_small')]" position="before">
<div class="o_we_shape o_web_editor_Origins_04_001"/>
</xpath>
</template>
</odoo>
@@ -2,6 +2,13 @@
<odoo>
<template id="s_quadrant" inherit_id="website.s_quadrant">
<!-- Layout -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc o_cc3 o_colored_level" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('o_grid_item_image')])[1]" position="replace"/>
<xpath expr="(//div[hasclass('o_grid_item_image')])[2]" position="replace"/>
<!-- Title -->
<xpath expr="//h2" position="replace" mode="inner">
Taste &amp; Enjoy
@@ -4,8 +4,24 @@
<template id="s_quotes_carousel" inherit_id="website.s_quotes_carousel">
<!-- Carousel -->
<xpath expr="//*[hasclass('s_quotes_carousel')]" position="attributes">
<attribute name="class" add="s_carousel_rounded oe_img_bg o_bg_img_center" remove="s_carousel_default o_cc o_cc2" separator=" "/>
<attribute name="class" add="s_carousel_default oe_img_bg o_bg_img_center" remove="s_carousel_boxed carousel-dark o_cc o_cc2" separator=" "/>
<attribute name="style">background-image: url('/web/image/website.s_quotes_carousel_demo_image_1');</attribute>
<attribute name="data-oe-shape-data">{'shape':'web_editor/Origins/19','colors':{'c5':'o-color-1'},'flip':['x'],'showOnMobile':false,'shapeAnimationSpeed':'0'}</attribute>
</xpath>
<xpath expr="//div[hasclass('carousel-indicators')]" position="attributes">
<attribute name="class" remove="s_carousel_indicators_dots" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('carousel-inner')]" position="before">
<div class="o_we_shape o_web_editor_Origins_19" style="background-image: url('/web_editor/shape/web_editor/Origins/19.svg?c5=o-color-1&amp;flip=x');"/>
</xpath>
<xpath expr="//blockquote" position="attributes">
<attribute name="class" add="s_blockquote_default" remove="s_blockquote_with_icon" separator=" "/>
</xpath>
<xpath expr="(//blockquote)[2]" position="attributes">
<attribute name="class" add="s_blockquote_default" remove="s_blockquote_with_icon" separator=" "/>
</xpath>
<xpath expr="(//blockquote)[3]" position="attributes">
<attribute name="class" add="s_blockquote_default" remove="s_blockquote_with_icon" separator=" "/>
</xpath>
<!-- Slide #01 -->
<xpath expr="//*[hasclass('carousel-item')][1]" position="attributes">