[ADD] theme 14.0

This commit is contained in:
Jeremy Kersten
2021-05-10 15:45:35 +02:00
commit cb1e3be3f8
2309 changed files with 55585 additions and 0 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 73 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 366 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 168 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 263 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 176 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 334 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 354 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 171 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 186 KiB

+49
View File
@@ -0,0 +1,49 @@
odoo.define("theme_cobalt.tour.cobalt", function (require) {
"use strict";
const core = require("web.core");
const _t = core._t;
const wTourUtils = require("website.tour_utils");
var tour = require("web_tour.tour");
const snippets = [
{
id: 's_text_image',
name: 'Image - Text',
},
{
id: 's_references',
name: 'References',
},
{
id: 's_text_image',
name: 'Text - Image',
},
{
id: 's_three_columns',
name: 'Columns',
},
{
id: 's_picture',
name: 'Picture',
},
];
wTourUtils.registerThemeHomepageTour("cobalt_tour", [
wTourUtils.dragNDrop(snippets[0]),
wTourUtils.clickOnText(snippets[0], 'h1', 'top'),
wTourUtils.goBackToBlocks(),
wTourUtils.dragNDrop(snippets[1]),
wTourUtils.dragNDrop(snippets[2]),
wTourUtils.dragNDrop(snippets[3]),
wTourUtils.dragNDrop(snippets[4]),
wTourUtils.clickOnSnippet(snippets[4], 'top'),
wTourUtils.changeOption('BackgroundShape', 'we-toggler', _t('Background Shape')),
wTourUtils.selectNested('we-select-page', 'BackgroundShape', ':not(.o_we_pager_controls)', _t('Background Shape')),
wTourUtils.clickOnSave(),
]);
});
@@ -0,0 +1,8 @@
//------------------------------------------------------------------------------
// Bootstrap Overridden
//------------------------------------------------------------------------------
// Headings
$headings-line-height: 1.1 !default;
$headings-font-weight: 600 !default;
@@ -0,0 +1,75 @@
//------------------------------------------------------------------------------
// Colors
//------------------------------------------------------------------------------
$o-color-palettes: (
( // Palette 1
'o-color-1': #116466,
'o-color-2': #2B3737,
'o-color-3': #F6F4F2,
'o-color-4': #ffffff,
'o-color-5': #a9bcbc,
'o-cc3-headings': 'o-color-3',
'o-cc3-text': 'o-color-5',
'o-cc3-link': 'o-color-4',
'o-cc3-btn-primary': 'o-color-4',
'o-cc3-btn-secondary': 'o-color-5',
'header': 1,
'footer': 3,
'copyright': 'black-15',
),
);
//------------------------------------------------------------------------------
// Fonts
//------------------------------------------------------------------------------
$o-theme-h1-font-size-multiplier: (48.83 / 16);
$o-theme-h2-font-size-multiplier: (39.06 / 16);
$o-theme-h3-font-size-multiplier: (31.25 / 16);
$o-theme-h4-font-size-multiplier: (25.00 / 16);
$o-theme-h5-font-size-multiplier: (20.00 / 16);
$o-theme-h6-font-size-multiplier: 1.1;
$o-theme-font-configs: (
'Inter': (
'family': ('Inter', serif),
'url': 'Inter:400,400i,600,600i,800,800i',
),
'Abril Fatface': (
'family': ('Abril Fatface', serif),
'url': 'Abril+Fatface:300,300i,400,400i,700,700i',
),
);
//------------------------------------------------------------------------------
// Website customizations
//------------------------------------------------------------------------------
$o-website-values-palettes: (
(
'font': 'Inter',
'headings-font': 'Inter',
'navbar-font': 'Inter',
'buttons-font': 'Inter',
'font-size-base': (14 / 16) * 1rem,
'header-font-size': (14 / 16) * 1rem,
'hamburger-type': 'off-canvas',
'menu-box-shadow': false,
'btn-ripple': true,
'btn-secondary-outline': true,
'btn-font-size': (14 / 16) * 1rem,
'btn-border-radius': 2px,
'btn-font-size-lg': (12 / 16) * 1rem,
'btn-padding-y-lg': 1rem,
'btn-padding-x-lg': 3.3rem,
),
);