[ADD] theme saas-14.3
This commit is contained in:
@@ -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_cover.xml',
|
||||
@@ -17,12 +17,16 @@
|
||||
'views/snippets/s_company_team.xml',
|
||||
'views/snippets/s_call_to_action.xml',
|
||||
|
||||
'views/old_snippets/s_banner_parallax.xml',
|
||||
],
|
||||
],
|
||||
'images': [
|
||||
'static/description/beauty_description.png',
|
||||
'static/description/beauty_screenshot.jpg',
|
||||
],
|
||||
'license': 'LGPL-3',
|
||||
'live_test_url': 'https://theme-beauty.odoo.com',
|
||||
'assets': {
|
||||
'website.assets_editor': [
|
||||
'theme_beauty/static/src/js/tour.js',
|
||||
],
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<data>
|
||||
|
||||
<record id="theme_beauty.s_banner_parallax_000_variables_scss" model="theme.ir.asset">
|
||||
<field name="key">theme_beauty.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_beauty/static/src/old_snippets/s_banner_parallax/000_variables.scss</field>
|
||||
<field name="active" eval="False"/>
|
||||
</record>
|
||||
|
||||
<record id="theme_beauty.primary_variables_scss" model="theme.ir.asset">
|
||||
<field name="key">theme_beauty.primary_variables_scss</field>
|
||||
<field name="name">Primary variables SCSS</field>
|
||||
<field name="bundle">web._assets_primary_variables</field>
|
||||
<field name="glob">theme_beauty/static/src/scss/primary_variables.scss</field>
|
||||
</record>
|
||||
|
||||
<record id="theme_beauty.bootstrap_overridden_scss" model="theme.ir.asset">
|
||||
<field name="key">theme_beauty.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_beauty/static/src/scss/bootstrap_overridden.scss</field>
|
||||
</record>
|
||||
|
||||
<record id="theme_beauty.compatibility_saas_11_4_variables_scss" model="theme.ir.asset">
|
||||
<field name="key">theme_beauty.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_beauty/static/src/scss/compatibility-saas-11.4-variables.scss</field>
|
||||
<field name="active" eval="False"/>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</odoo>
|
||||
@@ -1,74 +1,3 @@
|
||||
$o-color-palettes: (
|
||||
(
|
||||
'o-color-1': #df699c,
|
||||
'o-color-2': #590046,
|
||||
'o-color-3': #dbe8ed,
|
||||
'o-color-4': #ffffff,
|
||||
'o-color-5': #222222,
|
||||
|
||||
'o-cc2-text': 'o-color-1',
|
||||
|
||||
'menu': 5,
|
||||
'footer': 5,
|
||||
'copyright': 5,
|
||||
),
|
||||
(
|
||||
'o-color-1': #4fda89,
|
||||
'o-color-2': #714e9c,
|
||||
'o-color-3': #dadbdb,
|
||||
'o-color-4': #ffffff,
|
||||
'o-color-5': #242327,
|
||||
|
||||
'o-cc2-link': 'o-color-5',
|
||||
|
||||
'menu': 4,
|
||||
'footer': 4,
|
||||
'copyright': 2,
|
||||
),
|
||||
(
|
||||
'o-color-1': #009083,
|
||||
'o-color-2': #8ba1a0,
|
||||
'o-color-3': #e9e9e9,
|
||||
'o-color-4': #ffffff,
|
||||
'o-color-5': #1e222f,
|
||||
|
||||
'footer': 2,
|
||||
'copyright': 2,
|
||||
),
|
||||
(
|
||||
'o-color-1': #b6977d,
|
||||
'o-color-2': #585832,
|
||||
'o-color-3': #e7e5e5,
|
||||
'o-color-4': #ffffff,
|
||||
'o-color-5': #000000,
|
||||
|
||||
'footer': 1,
|
||||
'copyright': 1,
|
||||
),
|
||||
(
|
||||
'o-color-1': #1ad68f,
|
||||
'o-color-2': #2e2e2e,
|
||||
'o-color-3': #e9e9e9,
|
||||
'o-color-4': #ffffff,
|
||||
'o-color-5': #000000,
|
||||
|
||||
'o-cc2-link': 'o-color-5',
|
||||
|
||||
'menu': 3,
|
||||
'footer': 3,
|
||||
'copyright': 3,
|
||||
),
|
||||
(
|
||||
'o-color-1': #b3b862,
|
||||
'o-color-2': #1e493b,
|
||||
'o-color-3': #e3e7e9,
|
||||
'o-color-4': #ffffff,
|
||||
'o-color-5': #112625,
|
||||
|
||||
'o-cc2-link': 'o-color-5',
|
||||
),
|
||||
);
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// Fonts
|
||||
//------------------------------------------------------------------------------
|
||||
@@ -125,6 +54,8 @@ $o-theme-font-configs: (
|
||||
|
||||
$o-website-values-palettes: (
|
||||
(
|
||||
'color-palettes-name': 'beauty-1',
|
||||
|
||||
'header-font-size': (18 / 16) * 1rem,
|
||||
'btn-border-radius': .3125rem,
|
||||
'btn-border-radius-lg': .3125rem,
|
||||
@@ -138,3 +69,31 @@ $o-website-values-palettes: (
|
||||
'header-links-style': 'outline',
|
||||
),
|
||||
);
|
||||
|
||||
$o-palette-priority-prefix: 'beauty';
|
||||
|
||||
$o-color-palettes-compatibility-indexes: (
|
||||
1: 'beauty-1',
|
||||
2: 'beauty-2',
|
||||
3: 'beauty-3',
|
||||
4: 'beauty-4',
|
||||
5: 'beauty-5',
|
||||
6: 'beauty-6',
|
||||
7: 'generic-1',
|
||||
8: 'generic-2',
|
||||
9: 'generic-3',
|
||||
10: 'generic-4',
|
||||
11: 'generic-5',
|
||||
12: 'generic-6',
|
||||
13: 'generic-7',
|
||||
14: 'generic-8',
|
||||
15: 'generic-9',
|
||||
16: 'generic-10',
|
||||
17: 'generic-11',
|
||||
18: 'generic-12',
|
||||
19: 'generic-13',
|
||||
20: 'generic-14',
|
||||
21: 'generic-15',
|
||||
22: 'generic-16',
|
||||
23: 'generic-17',
|
||||
);
|
||||
|
||||
@@ -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_beauty/static/src/scss/primary_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_beauty/static/src/scss/bootstrap_overridden.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_beauty/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_beauty/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_beauty/static/src/old_snippets/s_banner_parallax/000_variables.scss"/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user