[ADD] theme saas-14.3
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
'author': 'Odoo S.A.',
|
||||
'depends': ['theme_common'],
|
||||
'data': [
|
||||
'views/assets.xml',
|
||||
'data/ir_asset.xml',
|
||||
'views/images_library.xml',
|
||||
|
||||
'views/snippets/s_banner.xml',
|
||||
@@ -17,12 +17,16 @@
|
||||
'views/snippets/s_three_columns.xml',
|
||||
'views/snippets/s_call_to_action.xml',
|
||||
|
||||
'views/old_snippets/s_discount.xml',
|
||||
],
|
||||
],
|
||||
'images': [
|
||||
'static/description/Kiddo_description.png',
|
||||
'static/description/kiddo_screenshot.jpg',
|
||||
],
|
||||
'license': 'LGPL-3',
|
||||
'live_test_url': 'https://theme-kiddo.odoo.com'
|
||||
'live_test_url': 'https://theme-kiddo.odoo.com',
|
||||
'assets': {
|
||||
'website.assets_editor': [
|
||||
'theme_kiddo/static/src/js/tour.js',
|
||||
],
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<data>
|
||||
|
||||
<record id="theme_kiddo.s_discount_000_variables_scss" model="theme.ir.asset">
|
||||
<field name="key">theme_kiddo.s_discount_000_variables_scss</field>
|
||||
<field name="name">Discount 000 variables SCSS</field>
|
||||
<field name="bundle">web._assets_primary_variables</field>
|
||||
<field name="glob">theme_kiddo/static/src/old_snippets/s_discount/000_variables.scss</field>
|
||||
<field name="active" eval="False"/>
|
||||
</record>
|
||||
|
||||
<record id="theme_kiddo.primary_variables_scss" model="theme.ir.asset">
|
||||
<field name="key">theme_kiddo.primary_variables_scss</field>
|
||||
<field name="name">Primary variables SCSS</field>
|
||||
<field name="bundle">web._assets_primary_variables</field>
|
||||
<field name="glob">theme_kiddo/static/src/scss/primary_variables.scss</field>
|
||||
</record>
|
||||
|
||||
<record id="theme_kiddo.secondary_variables_scss" model="theme.ir.asset">
|
||||
<field name="key">theme_kiddo.secondary_variables_scss</field>
|
||||
<field name="name">Secondary variables SCSS</field>
|
||||
<field name="bundle">web._assets_secondary_variables</field>
|
||||
<field name="glob">theme_kiddo/static/src/scss/secondary_variables.scss</field>
|
||||
</record>
|
||||
|
||||
<record id="theme_kiddo.bootstrap_overridden_scss" model="theme.ir.asset">
|
||||
<field name="key">theme_kiddo.bootstrap_overridden_scss</field>
|
||||
<field name="name">Bootstrap overridden SCSS</field>
|
||||
<field name="bundle">web._assets_frontend_helpers</field>
|
||||
<field name="directive">prepend</field>
|
||||
<field name="glob">theme_kiddo/static/src/scss/bootstrap_overridden.scss</field>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</odoo>
|
||||
@@ -12,4 +12,4 @@ class ThemeKiddo(models.AbstractModel):
|
||||
self.enable_view('website.template_footer_minimalist')
|
||||
|
||||
# For compatibility
|
||||
# self.enable_view('theme_common.compatibility-saas-10-1')
|
||||
# self.enable_asset('theme_common.compatibility_saas_10_1')
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 71 KiB After Width: | Height: | Size: 82 KiB |
@@ -3,111 +3,53 @@
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
// Theme colors
|
||||
$o-theme-color-palettes: (
|
||||
$o-theme-color-palettes: map-merge($o-theme-color-palettes,
|
||||
(
|
||||
'alpha': #ffffff,
|
||||
'beta': #47464b,
|
||||
'gamma': #f3997b,
|
||||
'delta': #add3ce,
|
||||
'epsilon': #a7c7d5,
|
||||
),
|
||||
(
|
||||
'alpha': #ffffff,
|
||||
'beta': #d699ae,
|
||||
'gamma': #B24774,
|
||||
'delta': #72c2d0,
|
||||
'epsilon': #ed8354,
|
||||
),
|
||||
(
|
||||
'alpha': #ffffff,
|
||||
'beta': #79CCC2,
|
||||
'gamma': #F05A12,
|
||||
'delta': #C5FFF8,
|
||||
'epsilon': #0F7F72,
|
||||
),
|
||||
(
|
||||
'alpha': #ffffff,
|
||||
'beta': #53a1cc,
|
||||
'gamma': #116899,
|
||||
'delta': #aab3ca,
|
||||
'epsilon': #ffc9c1,
|
||||
),
|
||||
(
|
||||
'alpha': #ffffff,
|
||||
'beta': #3b2c3c,
|
||||
'gamma': #D2546D,
|
||||
'delta': #303347,
|
||||
'epsilon': #171827,
|
||||
),
|
||||
(
|
||||
'alpha': #ffffff,
|
||||
'beta': #2F343B,
|
||||
'gamma': #C77966,
|
||||
'delta': #703030,
|
||||
'epsilon': #E3CDA4,
|
||||
),
|
||||
'kiddo-1': (
|
||||
'alpha': #ffffff,
|
||||
'beta': #47464b,
|
||||
'gamma': #f3997b,
|
||||
'delta': #add3ce,
|
||||
'epsilon': #a7c7d5,
|
||||
),
|
||||
'kiddo-2': (
|
||||
'alpha': #ffffff,
|
||||
'beta': #d699ae,
|
||||
'gamma': #B24774,
|
||||
'delta': #72c2d0,
|
||||
'epsilon': #ed8354,
|
||||
),
|
||||
'kiddo-3': (
|
||||
'alpha': #ffffff,
|
||||
'beta': #79CCC2,
|
||||
'gamma': #F05A12,
|
||||
'delta': #C5FFF8,
|
||||
'epsilon': #0F7F72,
|
||||
),
|
||||
'kiddo-4': (
|
||||
'alpha': #ffffff,
|
||||
'beta': #53a1cc,
|
||||
'gamma': #116899,
|
||||
'delta': #aab3ca,
|
||||
'epsilon': #ffc9c1,
|
||||
),
|
||||
'kiddo-5': (
|
||||
'alpha': #ffffff,
|
||||
'beta': #3b2c3c,
|
||||
'gamma': #D2546D,
|
||||
'delta': #303347,
|
||||
'epsilon': #171827,
|
||||
),
|
||||
'kiddo-6': (
|
||||
'alpha': #ffffff,
|
||||
'beta': #2F343B,
|
||||
'gamma': #C77966,
|
||||
'delta': #703030,
|
||||
'epsilon': #E3CDA4,
|
||||
),
|
||||
)
|
||||
);
|
||||
|
||||
$o-color-palettes: (
|
||||
(
|
||||
'o-color-1': #f3997b,
|
||||
'o-color-2': #99869e,
|
||||
'o-color-3': #e3f0ee,
|
||||
'o-color-4': #FFFFFF,
|
||||
'o-color-5': #2c2927,
|
||||
|
||||
'o-cc2-headings': null,
|
||||
|
||||
'menu': 4,
|
||||
'footer': 4,
|
||||
'copyright': 4,
|
||||
),
|
||||
(
|
||||
'o-color-1': #637bbe,
|
||||
'o-color-2': #8eb9c7,
|
||||
'o-color-3': #f6f0ea,
|
||||
'o-color-4': #FFFFFF,
|
||||
'o-color-5': #343643,
|
||||
|
||||
'menu': 2,
|
||||
'footer': 2,
|
||||
'copyright': 2,
|
||||
),
|
||||
(
|
||||
'o-color-1': #684672,
|
||||
'o-color-2': #6ea29c,
|
||||
'o-color-3': #f8ebd6,
|
||||
'o-color-4': #FFFFFF,
|
||||
'o-color-5': #302633,
|
||||
|
||||
'menu': 2,
|
||||
'footer': 2,
|
||||
'copyright': 2,
|
||||
),
|
||||
(
|
||||
'o-color-1': #c54545,
|
||||
'o-color-2': #364481,
|
||||
'o-color-3': #ccd7c5,
|
||||
'o-color-4': #ffffff,
|
||||
'o-color-5': #1f2230,
|
||||
|
||||
'menu': 2,
|
||||
'footer': 2,
|
||||
'copyright': 2,
|
||||
),
|
||||
);
|
||||
|
||||
// Grays
|
||||
$o-gray-color-palettes: ();
|
||||
@each $-palette in $o-theme-color-palettes {
|
||||
$o-gray-color-palettes: append($o-gray-color-palettes, (
|
||||
'900': lighten(#000, 20%),
|
||||
'700': lighten(#000, 33.5%),
|
||||
'600': lighten(#000, 46.7%),
|
||||
'200': lighten(#000, 85%),
|
||||
));
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// Fonts
|
||||
//------------------------------------------------------------------------------
|
||||
@@ -176,12 +118,16 @@ $o-theme-font-configs: (
|
||||
|
||||
$o-website-values-palettes: (
|
||||
(
|
||||
'font-size-base': (14 / 16) * 1rem,
|
||||
'color-palettes-name': 'kiddo-1',
|
||||
|
||||
'font-size-base': (14 / 16) * 1.075rem,
|
||||
'header-font-size': 1.25rem,
|
||||
'logo-height': 3rem,
|
||||
'fixed-logo-height': 3rem,
|
||||
'btn-border-radius': 2rem,
|
||||
'font': 'MontSerrat',
|
||||
'btn-padding-y': .75rem,
|
||||
'btn-padding-x': 1.75rem,
|
||||
'font': 'Montserrat',
|
||||
'headings-font': 'Bubblegum Sans',
|
||||
'navbar-font': 'Bubblegum Sans',
|
||||
'buttons-font': 'Bubblegum Sans',
|
||||
@@ -190,3 +136,38 @@ $o-website-values-palettes: (
|
||||
'footer-template': 'minimalist',
|
||||
),
|
||||
);
|
||||
|
||||
$o-palette-priority-prefix: 'kiddo';
|
||||
|
||||
$o-color-palettes-compatibility-indexes: (
|
||||
1: 'kiddo-1',
|
||||
2: 'kiddo-2',
|
||||
3: 'kiddo-3',
|
||||
4: 'kiddo-4',
|
||||
5: 'generic-1',
|
||||
6: 'generic-2',
|
||||
7: 'generic-3',
|
||||
8: 'generic-4',
|
||||
9: 'generic-5',
|
||||
10: 'generic-6',
|
||||
11: 'generic-7',
|
||||
12: 'generic-8',
|
||||
13: 'generic-9',
|
||||
14: 'generic-10',
|
||||
15: 'generic-11',
|
||||
16: 'generic-12',
|
||||
17: 'generic-13',
|
||||
18: 'generic-14',
|
||||
19: 'generic-15',
|
||||
20: 'generic-16',
|
||||
21: 'generic-17',
|
||||
);
|
||||
|
||||
$o-gray-color-palettes-compatibility-indexes: (
|
||||
1: 'kiddo-1',
|
||||
2: 'kiddo-2',
|
||||
3: 'kiddo-3',
|
||||
4: 'kiddo-4',
|
||||
5: 'kiddo-5',
|
||||
6: 'kiddo-6',
|
||||
);
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<template id="_assets_primary_variables" inherit_id="website._assets_primary_variables" priority="1">
|
||||
<xpath expr="//link[last()]" position="after">
|
||||
<link rel="stylesheet" type="text/scss" href="/theme_kiddo/static/src/scss/primary_variables.scss"/>
|
||||
</xpath>
|
||||
</template>
|
||||
<template id="_assets_secondary_variables" inherit_id="website._assets_secondary_variables" priority="1">
|
||||
<xpath expr="//link" position="before">
|
||||
<link rel="stylesheet" type="text/scss" href="/theme_kiddo/static/src/scss/secondary_variables.scss"/>
|
||||
</xpath>
|
||||
</template>
|
||||
<template id="_assets_frontend_helpers" inherit_id="website._assets_frontend_helpers" priority="1">
|
||||
<xpath expr="//link" position="before">
|
||||
<link rel="stylesheet" type="text/scss" href="/theme_kiddo/static/src/scss/bootstrap_overridden.scss"/>
|
||||
</xpath>
|
||||
</template>
|
||||
<template id="assets_editor" inherit_id="website.assets_editor">
|
||||
<xpath expr="//script[last()]" position="after">
|
||||
<script type="text/javascript" src="/theme_kiddo/static/src/js/tour.js"/>
|
||||
</xpath>
|
||||
</template>
|
||||
</odoo>
|
||||
@@ -1,10 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="_assets_snippet_s_discount_css_000_variables" inherit_id="theme_common._assets_snippet_s_discount_css_000_variables" active="False">
|
||||
<xpath expr="//link[last()]" position="after">
|
||||
<link rel="stylesheet" type="text/scss" href="/theme_kiddo/static/src/old_snippets/s_discount/000_variables.scss"/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
@@ -10,10 +10,18 @@
|
||||
<xpath expr="//div[hasclass('container')]" position="before">
|
||||
<div class="o_we_shape o_web_editor_Wavy_13 o_we_flip_x" style='background-image: url("/web_editor/shape/web_editor/Wavy/13.svg?c4=%2399869E");'/>
|
||||
</xpath>
|
||||
<!-- Paragraph -->
|
||||
<xpath expr="(//div[hasclass('col-lg-6')])[2]" position="replace">
|
||||
<div class="p-5 col-lg-5 offset-lg-1 o_cc o_cc3 text-center pb120 pt120 rounded shadow border" style="border-color: rgb(44, 41, 39) !important; border-radius: 300px !important; border-width: 2px !important; box-shadow: rgb(44, 41, 39) 25px 25px 0px 0px !important;">
|
||||
<h2>Activities</h2>
|
||||
<!-- Image -->
|
||||
<xpath expr="//img" position="attributes">
|
||||
<attribute name="src" add="/web_editor/shape/illustration/baby-svg-561?c1=%23F3997B&unique=45e7f0c7" remove="/web/image/website.s_image_text_default_image" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Paragraph 1 -->
|
||||
<xpath expr="//div[hasclass('col-lg-6')]" position="attributes">
|
||||
<attribute name="class" add="col-lg-5" remove="col-lg-6" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Paragraph 2 -->
|
||||
<xpath expr="//div[hasclass('col-lg-6')]" position="replace">
|
||||
<div class="p-5 col-lg-6 offset-lg-1 o_cc o_cc3 text-center pb120 pt120 rounded shadow border" style="border-color: rgb(44, 41, 39) !important; border-radius: 300px !important; border-width: 2px !important; box-shadow: rgb(44, 41, 39) 15px 15px 0px 0px !important;">
|
||||
<h2 style="font-size: 48px;">Activities</h2>
|
||||
<p><br/></p>
|
||||
<p>Our team is composed of experienced nursery nurses.</p>
|
||||
<p>They will propose to your children educational activities, playful, varied and adapted to the stage of development.</p>
|
||||
|
||||
Reference in New Issue
Block a user