[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: 109 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 374 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 186 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 408 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 190 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 156 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

+49
View File
@@ -0,0 +1,49 @@
odoo.define("theme_bookstore.tour.bookstore", function (require) {
"use strict";
const wTourUtils = require("website.tour_utils");
var tour = require("web_tour.tour");
const snippets = [
{
id: 's_title',
name: 'Title',
},
{
id: 's_three_columns',
name: 'Columns',
},
{
id: 's_picture',
name: 'Picture',
},
{
id: 's_product_list',
name: 'Items',
},
{
id: 's_text_image',
name: 'Text - Image',
},
{
id: 's_call_to_action',
name: 'Call to Action',
},
];
wTourUtils.registerThemeHomepageTour("bookstore_tour", [
wTourUtils.dragNDrop(snippets[0]),
wTourUtils.clickOnText(snippets[0], 'h1'),
wTourUtils.goBackToBlocks(),
wTourUtils.dragNDrop(snippets[1]),
wTourUtils.dragNDrop(snippets[2]),
wTourUtils.dragNDrop(snippets[3]),
wTourUtils.clickOnSnippet(snippets[3]),
wTourUtils.changeBackgroundColor(),
wTourUtils.selectColorPalette(),
wTourUtils.goBackToBlocks(),
wTourUtils.dragNDrop(snippets[4]),
wTourUtils.dragNDrop(snippets[5]),
wTourUtils.clickOnSave(),
]);
});
@@ -0,0 +1,5 @@
// Colors
// The yiq lightness value that determines when the lightness of color changes from "dark" to "light".
// Acceptable values are between 0 and 255.
$yiq-contrasted-threshold: 140 !default;
@@ -0,0 +1,7 @@
@mixin s-banner-3-row-hook {
img {
display: none;
}
}
$s-big-icon-circle-text-color: $-gray-700;
@@ -0,0 +1,164 @@
// Colors
$o-color-palettes: (
(
'o-color-1': #a1a52f,
'o-color-2': #66555c,
'o-color-3': #f7f7f7,
'o-color-4': #ffffff,
'o-color-5': #242327,
'o-cc2-link': 'o-color-5',
'o-cc5-link': 'o-color-4',
'o-cc5-btn-primary': 'o-color-4',
'o-cc5-btn-secondary': 'o-color-5',
'menu': 5,
'footer': 5,
'copyright': 5,
),
(
'o-color-1': #679b96,
'o-color-2': #345552,
'o-color-3': #e9e9e9,
'o-color-4': #ffffff,
'o-color-5': #1e222f,
'o-cc2-link': 'o-color-5',
'o-cc2-headings': 'o-color-5',
'menu': 2,
'footer': 2,
'copyright': 2,
),
(
'o-color-1': #df699c,
'o-color-2': #590046,
'o-color-3': #dbe8ed,
'o-color-4': #ffffff,
'o-color-5': #222222,
'o-cc2-link': 'o-color-5',
'o-cc2-headings': 'o-color-5',
'menu': 2,
'footer': 2,
'copyright': 2,
),
(
'o-color-1': #b29964,
'o-color-2': #62624c,
'o-color-3': #f5f4f4,
'o-color-4': #ffffff,
'o-color-5': #333333,
'o-cc2-link': 'o-color-5',
'menu': 4,
'footer': 4,
'copyright': 4,
),
(
'o-color-1': #1ad68f,
'o-color-2': #2e2e2e,
'o-color-3': #f7f7f7,
'o-color-4': #ffffff,
'o-color-5': #000000,
'o-cc2-link': 'o-color-5',
'o-cc4-link': 'o-color-5',
'o-cc4-text': 'o-color-5',
'menu': 4,
'footer': 4,
'copyright': 4,
),
(
'o-color-1': #cfd744,
'o-color-2': #3d504a,
'o-color-3': #f0f1f1,
'o-color-4': #ffffff,
'o-color-5': #112625,
'o-cc2-link': 'o-color-5',
'o-cc4-link': 'o-color-5',
'o-cc4-text': 'o-color-5',
'menu': 4,
'footer': 4,
'copyright': 4,
),
);
//------------------------------------------------------------------------------
// Fonts
//------------------------------------------------------------------------------
$o-theme-h1-font-size-multiplier: (25 / 12);
$o-theme-h2-font-size-multiplier: (18 / 12);
$o-theme-h3-font-size-multiplier: (16 / 12);
$o-theme-h4-font-size-multiplier: (14 / 12);
$o-theme-h5-font-size-multiplier: 1;
$o-theme-h6-font-size-multiplier: 1;
$o-theme-font-configs: (
'Heebo': (
'family': ('Heebo', sans-serif),
'url': 'Heebo:300,300i,400,400i,700,700i',
),
'Rajdhani': (
'family': ('Rajdhani', sans-serif),
'url': 'Rajdhani:300,300i,400,400i,700,700i',
),
'Raleway': (
'family': ('Raleway', sans-serif),
'url': 'Raleway:300,300i,400,400i,700,700i',
),
'Roboto': (
'family': ('Roboto', sans-serif),
'url': 'Roboto:300,300i,400,400i,700,700i',
),
'Source Sans Pro': (
'family': ('Source Sans Pro', sans-serif),
'url': 'Source+Sans+Pro:300,300i,400,400i,700,700i',
),
'Ubuntu': (
'family': ('Ubuntu', sans-serif),
'url': 'Ubuntu:300,300i,400,400i,700,700i',
),
'Poppins': (
'family': ('Poppins', sans-serif),
'url': 'Poppins:300,300i,400,400i,700,700i',
),
'Questrial': (
'family': ('Questrial', sans-serif),
'url': 'Questrial:300,300i,400,400i,700,700i',
),
'Muli': (
'family': ('Muli', sans-serif),
'url': 'Muli:300,300i,400,400i,700,700i',
),
'Cormorant': (
'family': ('Cormorant', serif),
'url': 'Cormorant:300,300i,400,400i,700,700i',
),
);
//------------------------------------------------------------------------------
// Website customizations
//------------------------------------------------------------------------------
$o-website-values-palettes: (
(
'header-font-size': (18 / 16) * 1rem,
'btn-border-radius': 0px,
'btn-border-radius-sm': 0px,
'btn-border-radius-lg': 0px,
'font': 'Poppins',
'headings-font': 'Poppins',
'navbar-font': 'Poppins',
'buttons-font': 'Poppins',
'header-template': 'contact',
'footer-template': 'descriptive',
'header-links-style': 'border-bottom',
),
);