[ADD] theme saas-14.3

This commit is contained in:
Jeremy Kersten
2021-05-10 15:46:42 +02:00
parent 2bdf71a2b2
commit 84ba083d17
208 changed files with 3170 additions and 4050 deletions
+7 -3
View File
@@ -8,7 +8,7 @@
'author': 'Odoo S.A.',
'depends': ['theme_common', 'website_animate'],
'data': [
'views/assets.xml',
'data/ir_asset.xml',
'views/images.xml',
'views/snippets/s_banner.xml',
@@ -16,12 +16,16 @@
'views/snippets/s_image_text.xml',
'views/snippets/s_call_to_action.xml',
'views/old_snippets/s_banner_parallax.xml',
],
],
'images': [
'static/description/odoo_experts_description.png',
'static/description/odoo_experts_screenshot.jpg',
],
'license': 'LGPL-3',
'live_test_url': 'https://theme-odoo-experts.odoo.com',
'assets': {
'website.assets_editor': [
'theme_odoo_experts/static/src/js/tour.js',
],
}
}
+29
View File
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<record id="theme_odoo_experts.s_banner_parallax_000_variables_scss" model="theme.ir.asset">
<field name="key">theme_odoo_experts.s_banner_parallax_000_variables_scss</field>
<field name="name">Banner parallax 000 variables SCSS</field>
<field name="bundle">web._assets_primary_variables</field>
<field name="glob">theme_odoo_experts/static/src/old_snippets/s_banner_parallax/000_variables.scss</field>
<field name="active" eval="False"/>
</record>
<record id="theme_odoo_experts.primary_variables_scss" model="theme.ir.asset">
<field name="key">theme_odoo_experts.primary_variables_scss</field>
<field name="name">Primary variables SCSS</field>
<field name="bundle">web._assets_primary_variables</field>
<field name="glob">theme_odoo_experts/static/src/scss/primary_variables.scss</field>
</record>
<record id="theme_odoo_experts.compatibility_saas_11_4_variables_scss" model="theme.ir.asset">
<field name="key">theme_odoo_experts.compatibility_saas_11_4_variables_scss</field>
<field name="name">Compatibility saas 11 4 variables SCSS</field>
<field name="bundle">web._assets_primary_variables</field>
<field name="glob">/theme_odoo_experts/static/src/scss/compatibility-saas-11.4-variables.scss</field>
<field name="active" eval="False"/>
</record>
</data>
</odoo>
@@ -1,60 +1,3 @@
//------------------------------------------------------------------------------
// Colors
//------------------------------------------------------------------------------
$o-color-palettes: (
(
'o-color-1': #278f84,
'o-color-2': #494048,
'o-color-3': #f9f9f9,
'o-color-4': #FFFFFF,
'o-color-5': #201c20,
'o-cc5-link': #65e4d7,
'menu': 3,
'footer': 3,
'copyright': 3,
),
(
'o-color-1': #414f8a,
'o-color-2': #888888,
'o-color-3': #f9f9f9,
'o-color-4': #FFFFFF,
'o-color-5': #222222,
'o-cc5-text': #b8b7b7,
'o-cc5-link': 'o-color-4',
'menu': 5,
'footer': 5,
'copyright': 5,
),
(
'o-color-1': #dfcc60,
'o-color-2': #7f6262,
'o-color-3': #f9f9f9,
'o-color-4': #FFFFFF,
'o-color-5': #352626,
'menu': 4,
'footer': 4,
'copyright': 4,
),
(
'o-color-1': #01e0b5,
'o-color-2': #5c7aff,
'o-color-3': #f9f9f9,
'o-color-4': #FFFFFF,
'o-color-5': #444444,
'o-cc2-link': 'o-color-5',
'menu': 3,
'footer': 3,
'copyright': 3,
),
);
//------------------------------------------------------------------------------
// Fonts
//------------------------------------------------------------------------------
@@ -123,6 +66,7 @@ $o-theme-font-configs: (
$o-website-values-palettes: (
(
'color-palettes-name': 'odoo-experts-1',
'logo-height': (52 / 16) * 1rem,
'fixed-logo-height': (52 / 16) * 1rem,
'header-font-size': (18 / 16) * 1rem,
@@ -138,3 +82,29 @@ $o-website-values-palettes: (
'header-links-style': 'border-bottom',
),
);
$o-palette-priority-prefix: 'odoo-experts';
$o-color-palettes-compatibility-indexes: (
1: 'odoo-experts-1',
2: 'odoo-experts-2',
3: 'odoo-experts-3',
4: 'odoo-experts-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',
);
-18
View File
@@ -1,18 +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_odoo_experts/static/src/scss/primary_variables.scss"/>
</xpath>
</template>
<template id="compatibility-saas-11-4-variables" name="Compatibility for saas-11.4 (variables)" inherit_id="theme_common.compatibility-saas-11-4-variables">
<xpath expr="//link[last()]" position="before">
<link rel="stylesheet" type="text/scss" href="/theme_odoo_experts/static/src/scss/compatibility-saas-11.4-variables.scss"/>
</xpath>
</template>
<template id="assets_editor" inherit_id="website.assets_editor">
<xpath expr="//script[last()]" position="after">
<script type="text/javascript" src="/theme_odoo_experts/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_banner_parallax_css_000_variables" inherit_id="theme_common._assets_snippet_s_banner_parallax_css_000_variables" active="False">
<xpath expr="//link[last()]" position="after">
<link rel="stylesheet" type="text/scss" href="/theme_odoo_experts/static/src/old_snippets/s_banner_parallax/000_variables.scss"/>
</xpath>
</template>
</odoo>