mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[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:
@@ -237,7 +237,7 @@
|
||||
<record id="s_quotes_carousel_demo_image_1" model="theme.ir.attachment">
|
||||
<field name="key">website.s_quotes_carousel_demo_image_1</field>
|
||||
<field name="name">website.s_quotes_carousel_demo_image_1</field>
|
||||
<field name="url">/theme_bistro/static/src/img/backgrounds/19.jpg</field>
|
||||
<field name="url">/theme_bistro/static/src/img/backgrounds/s_quotes_carousel_background.jpg</field>
|
||||
</record>
|
||||
<record id="s_quotes_carousel_demo_image_3" model="theme.ir.attachment">
|
||||
<field name="key">website.s_quotes_carousel_demo_image_3</field>
|
||||
@@ -401,7 +401,7 @@
|
||||
<record id="s_image_title_default_image" model="theme.ir.attachment">
|
||||
<field name="key">website.s_image_title_default_image</field>
|
||||
<field name="name">website.s_image_title_default_image</field>
|
||||
<field name="url">/theme_bistro/static/src/img/backgrounds/14.jpg</field>
|
||||
<field name="url">/theme_bistro/static/src/img/backgrounds/s_image_title.jpg</field>
|
||||
</record>
|
||||
|
||||
<!-- Pricelist boxed -->
|
||||
@@ -420,7 +420,7 @@
|
||||
<record id="s_quadrant_default_image_2" model="theme.ir.attachment">
|
||||
<field name="key">website.s_quadrant_default_image_2</field>
|
||||
<field name="name">website.s_quadrant_default_image_2</field>
|
||||
<field name="url">/theme_bistro/static/src/img/backgrounds/16.jpg</field>
|
||||
<field name="url">/theme_bistro/static/src/img/content/s_quadrant_default_image_2.jpg</field>
|
||||
</record>
|
||||
<record id="s_quadrant_default_image_3" model="theme.ir.attachment">
|
||||
<field name="key">website.s_quadrant_default_image_3</field>
|
||||
@@ -430,7 +430,7 @@
|
||||
<record id="s_quadrant_default_image_4" model="theme.ir.attachment">
|
||||
<field name="key">website.s_quadrant_default_image_4</field>
|
||||
<field name="name">website.s_quadrant_default_image_4</field>
|
||||
<field name="url">/theme_bistro/static/src/img/content/picture.jpg</field>
|
||||
<field name="url">/theme_bistro/static/src/img/content/s_quadrant_default_image_4.jpg</field>
|
||||
</record>
|
||||
|
||||
<!-- Image Hexagonal -->
|
||||
@@ -449,7 +449,7 @@
|
||||
<record id="s_key_images_default_image_2" model="theme.ir.attachment">
|
||||
<field name="key">website.s_key_images_default_image_2</field>
|
||||
<field name="name">website.s_key_images_default_image_2</field>
|
||||
<field name="url">/theme_bistro/static/src/img/content/media_list_02.jpg</field>
|
||||
<field name="url">/theme_bistro/static/src/img/content/s_key_images_02.jpg</field>
|
||||
</record>
|
||||
<record id="s_key_images_default_image_3" model="theme.ir.attachment">
|
||||
<field name="key">website.s_key_images_default_image_3</field>
|
||||
@@ -459,7 +459,7 @@
|
||||
<record id="s_key_images_default_image_4" model="theme.ir.attachment">
|
||||
<field name="key">website.s_key_images_default_image_4</field>
|
||||
<field name="name">website.s_key_images_default_image_4</field>
|
||||
<field name="url">/theme_bistro/static/src/img/content/three_columns_01.jpg</field>
|
||||
<field name="url">/theme_bistro/static/src/img/content/s_key_images_04.jpg</field>
|
||||
</record>
|
||||
|
||||
<!-- Kickoff -->
|
||||
@@ -563,4 +563,25 @@
|
||||
<field name="url">/theme_bistro/static/src/img/content/s_empowerment_default_image.jpg</field>
|
||||
</record>
|
||||
|
||||
<!-- Text Cover -->
|
||||
<record id="s_text_cover_default_image" model="theme.ir.attachment">
|
||||
<field name="key">website.s_text_cover_default_image</field>
|
||||
<field name="name">website.s_text_cover_default_image</field>
|
||||
<field name="url">/theme_bistro/static/src/img/backgrounds/08.jpg</field>
|
||||
</record>
|
||||
|
||||
<!-- Framed Intro -->
|
||||
<record id="s_framed_intro_default_image" model="theme.ir.attachment">
|
||||
<field name="key">website.s_framed_intro_default_image</field>
|
||||
<field name="name">website.s_framed_intro_default_image</field>
|
||||
<field name="url">/theme_bistro/static/src/img/backgrounds/20.jpg</field>
|
||||
</record>
|
||||
|
||||
<!-- Showcase -->
|
||||
<record id="s_showcase_default_image" model="theme.ir.attachment">
|
||||
<field name="key">website.s_showcase_default_image</field>
|
||||
<field name="name">website.s_showcase_default_image</field>
|
||||
<field name="url">/theme_bistro/static/src/img/content/s_key_images_04.jpg</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
|
||||
@@ -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&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>
|
||||
|
||||
@@ -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 & 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&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">
|
||||
|
||||
Reference in New Issue
Block a user