mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[ADD] theme 14.0
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<template id="s_cover" inherit_id="website.s_cover">
|
||||
<!-- Section -->
|
||||
<xpath expr="section" position="attributes">
|
||||
<attribute name="class" add="o_full_screen_height" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="//h1" position="replace">
|
||||
<h1 style="text-align: center;">
|
||||
<font style="font-size: 62px;"><b>Daily Fresh Food</b></font>
|
||||
</h1>
|
||||
</xpath>
|
||||
<!-- Paragraph -->
|
||||
<xpath expr="//p" position="replace">
|
||||
<h6 class="text-center">Only local and fresh products to keep you healthy.</h6>
|
||||
<p><br/></p>
|
||||
</xpath>
|
||||
<!-- Button -->
|
||||
<xpath expr="//a[hasclass('btn')]" position="replace">
|
||||
<a href="#" class="btn btn-lg btn-primary rounded-circle mb-2">Menu</a>
|
||||
</xpath>
|
||||
<!-- Scroll Down button -->
|
||||
<xpath expr="//div[hasclass('container')]" position="after">
|
||||
<a class="o_scroll_button rounded-circle align-items-center justify-content-center mx-auto bg-o-color-5 mb-2" href="#" title="Scroll down to next section">
|
||||
<i class="fa fa-angle-down fa-2x"/>
|
||||
</a>
|
||||
</xpath>
|
||||
</template>
|
||||
</odoo>
|
||||
@@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<template id="s_features" inherit_id="website.s_features">
|
||||
<!-- Column #01 -->
|
||||
<xpath expr="//div[hasclass('row')]/div[1]/i" position="replace">
|
||||
<i class="fa fa-2x fa-coffee rounded-circle bg-primary m-3"/>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('row')]/div[1]/h3" position="replace">
|
||||
<h4>Breakfast</h4>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('row')]/div[1]/p" position="replace">
|
||||
<p>Help you start your morning right.<br/><small>From <b>7:30 pm</b> to <b>10:30 pm</b></small></p>
|
||||
</xpath>
|
||||
<!-- Column #02 -->
|
||||
<xpath expr="//div[hasclass('row')]/div[2]/i" position="replace">
|
||||
<i class="fa fa-2x fa-cutlery rounded-circle bg-400 m-3"/>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('row')]/div[2]/h3" position="replace">
|
||||
<h4>Lunch</h4>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('row')]/div[2]/p" position="replace">
|
||||
<p>Take a break from your busy schedule.<br/><small>From <b>11:30 pm</b> to <b>14:30 am</b></small></p>
|
||||
</xpath>
|
||||
<!-- Column #03 -->
|
||||
<xpath expr="//div[hasclass('row')]/div[3]/i" position="replace">
|
||||
<i class="fa fa-2x fa-glass rounded-circle bg-secondary m-3"/>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('row')]/div[3]/h3" position="replace">
|
||||
<h4>Dinner</h4>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('row')]/div[3]/p" position="replace">
|
||||
<p>Enjoy tasty food with friends.<br/><small>From <b>6:30 am</b> to <b>10:30 am</b></small></p>
|
||||
</xpath>
|
||||
</template>
|
||||
</odoo>
|
||||
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<template id="s_picture" inherit_id="website.s_picture">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="pt80 pb32" remove="pt48 pb24" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Size -->
|
||||
<xpath expr="//div[hasclass('col-lg-10')]" position="attributes">
|
||||
<attribute name="class" add="col-lg-8 offset-lg-2" remove="col-lg-10 offset-lg-1" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="//h2" position="replace">
|
||||
<h2 style="text-align: center;">Today's special</h2>
|
||||
</xpath>
|
||||
<!-- Text -->
|
||||
<xpath expr="//p" position="replace">
|
||||
<p style="text-align: center;">Taste our chef special, the macon two shells of almond macaroon<br/> topped with a creamy orange blossom scent.</p>
|
||||
</xpath>
|
||||
<!-- Caption -->
|
||||
<xpath expr="//figcaption" position="replace">
|
||||
<figcaption class="figure-caption text-muted py-3">The perfect dessert to share for the table.</figcaption>
|
||||
</xpath>
|
||||
</template>
|
||||
</odoo>
|
||||
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<template id="s_product_catalog" inherit_id="website.s_product_catalog">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="style"/>
|
||||
<attribute name="class" add="pt96 pb80 s_parallax parallax s_parallax_is_fixed o_colored_level o_cc5" remove="pt32 pb32" separator=" "/>
|
||||
<attribute name="data-scroll-background-ratio">1</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//section/*" position="before">
|
||||
<span class="s_parallax_bg oe_img_bg" style="background-image: url('/theme_bistro/static/src/img/backgrounds/16.jpg'); background-position: 50% 0%;"/>
|
||||
<div class="o_we_bg_filter bg-black-50"/>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="//h2" position="replace"/>
|
||||
<!-- Paragraph -->
|
||||
<xpath expr="//p" position="replace"/>
|
||||
</template>
|
||||
</odoo>
|
||||
@@ -0,0 +1,39 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<template id="s_quotes_carousel" inherit_id="website.s_quotes_carousel">
|
||||
<!-- Carousel -->
|
||||
<xpath expr="//div[hasclass('s_quotes_carousel')]" position="attributes">
|
||||
<attribute name="class" add="s_carousel_rounded" remove="s_carousel_default" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Slide #01 -->
|
||||
<xpath expr="//div[hasclass('carousel-item')][1]" position="attributes">
|
||||
<attribute name="class" remove="bg-200" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('carousel-item')][1]//blockquote" position="attributes">
|
||||
<attribute name="class" add="mx-auto" remove="mr-auto" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('carousel-item')][1]//blockquote//p" position="replace">
|
||||
<p class="small">Cosy and friendly, good atmosphere and super food. Especially the spiced fruit crumble.</p>
|
||||
</xpath>
|
||||
<!-- Slide #02 -->
|
||||
<xpath expr="//div[hasclass('carousel-item')][2]" position="attributes">
|
||||
<attribute name="style">background-image: none;</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('carousel-item')][2]//blockquote" position="attributes">
|
||||
<attribute name="class" add="mx-auto" remove="mr-auto" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('carousel-item')][2]//blockquote//p" position="replace">
|
||||
<p class="small">This place is perfect for groups or a casual date night.</p>
|
||||
</xpath>
|
||||
<!-- Slide #03 -->
|
||||
<xpath expr="//div[hasclass('carousel-item')][3]" position="attributes">
|
||||
<attribute name="style">background-image: none;</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('carousel-item')][3]//blockquote" position="attributes">
|
||||
<attribute name="class" add="mx-auto" remove="ml-auto" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('carousel-item')][3]//blockquote//p" position="replace">
|
||||
<p class="small">A truly exquisite dining experience. I highly recommend the Mustard Sauce, out of this world.</p>
|
||||
</xpath>
|
||||
</template>
|
||||
</odoo>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<template id="s_text_block" inherit_id="website.s_text_block">
|
||||
<!-- Paragraph #01 -->
|
||||
<xpath expr="//p" position="replace">
|
||||
<p>A healthy kitchen with local products. We’re constantly looking to propose new products and receipts. <b>While respecting seasons' products and nature.</b></p>
|
||||
</xpath>
|
||||
<!-- Paragraph #02 -->
|
||||
<xpath expr="//p[2]" position="replace">
|
||||
<p>At the Bistro, you can expect a healthy kitchen on a daily basis. <br/>Come and visit us for a Sunday brunch, healthy juices full of nutrition or delicious cakes that satisfy your sweet tooth. <b>And each day, you’ll discover our Today’s Special.</b></p>
|
||||
</xpath>
|
||||
</template>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user