[ADD] theme 14.0
|
After Width: | Height: | Size: 21 KiB |
|
After Width: | Height: | Size: 33 KiB |
|
After Width: | Height: | Size: 100 KiB |
|
After Width: | Height: | Size: 74 KiB |
|
After Width: | Height: | Size: 76 KiB |
|
After Width: | Height: | Size: 79 KiB |
|
After Width: | Height: | Size: 80 KiB |
|
After Width: | Height: | Size: 134 KiB |
|
After Width: | Height: | Size: 138 KiB |
|
After Width: | Height: | Size: 108 KiB |
|
After Width: | Height: | Size: 23 KiB |
|
After Width: | Height: | Size: 64 KiB |
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 33 KiB |
|
After Width: | Height: | Size: 25 KiB |
|
After Width: | Height: | Size: 33 KiB |
|
After Width: | Height: | Size: 25 KiB |
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 32 KiB |
|
After Width: | Height: | Size: 29 KiB |
|
After Width: | Height: | Size: 25 KiB |
|
After Width: | Height: | Size: 30 KiB |
|
After Width: | Height: | Size: 21 KiB |
|
After Width: | Height: | Size: 191 KiB |
|
After Width: | Height: | Size: 186 KiB |
|
After Width: | Height: | Size: 81 KiB |
|
After Width: | Height: | Size: 148 KiB |
|
After Width: | Height: | Size: 134 KiB |
|
After Width: | Height: | Size: 131 KiB |
|
After Width: | Height: | Size: 76 KiB |
@@ -0,0 +1,45 @@
|
||||
odoo.define("theme_kiddo.tour.kiddo", 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_banner',
|
||||
name: 'Banner',
|
||||
},
|
||||
{
|
||||
id: 's_image_text',
|
||||
name: 'Image - Text',
|
||||
},
|
||||
{
|
||||
id: 's_product_list',
|
||||
name: 'Items',
|
||||
},
|
||||
{
|
||||
id: 's_three_columns',
|
||||
name: 'Columns',
|
||||
},
|
||||
{
|
||||
id: 's_call_to_action',
|
||||
name: 'Call to Action',
|
||||
},
|
||||
];
|
||||
|
||||
wTourUtils.registerThemeHomepageTour("kiddo_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.changeOption('ContainerWidth', 'we-button-group.o_we_user_value_widget', _t('width')),
|
||||
wTourUtils.goBackToBlocks(),
|
||||
wTourUtils.dragNDrop(snippets[4]),
|
||||
wTourUtils.clickOnSave(),
|
||||
]);
|
||||
});
|
||||
@@ -0,0 +1,20 @@
|
||||
$s-discount-box-border-radius: 0px;
|
||||
$s-discount-coupon-color: blue; // gamma FIXME
|
||||
$s-discount-amount-size: 70px;
|
||||
|
||||
@mixin s-discount-descr-hook {
|
||||
background-color: o-color('beta');
|
||||
color: o-color('alpha');
|
||||
}
|
||||
@mixin s-discount-box-hook {
|
||||
color: gray('700');
|
||||
|
||||
.s_discount_open-code {
|
||||
color: o-color('gamma');
|
||||
}
|
||||
}
|
||||
@mixin s-discount-brand-hook {
|
||||
h3 {
|
||||
color: o-color('gamma');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
// The yiq lightness value that determines when the lightness of color changes from "dark" to "light".
|
||||
// Acceptable values are between 0 and 255.
|
||||
|
||||
// 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: 150 !default;
|
||||
|
||||
// Shadow
|
||||
|
||||
$box-shadow-sm: 0 0 .3125rem rgba(0,0,0,.25) !default;
|
||||
$box-shadow: 0 0 .3125rem rgba(0,0,0,.25) !default;
|
||||
$box-shadow-lg: 0 0 .3125rem rgba(0,0,0,.25) !default;
|
||||
|
||||
// Breadcrumbs
|
||||
|
||||
$breadcrumb-bg: o-color('white') !default;
|
||||
@@ -0,0 +1,192 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// Colors
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
// Theme colors
|
||||
$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,
|
||||
),
|
||||
);
|
||||
|
||||
$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
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
$o-theme-h1-font-size-multiplier: (40 / 14);
|
||||
$o-theme-h2-font-size-multiplier: (32 / 14);
|
||||
$o-theme-h3-font-size-multiplier: (28 / 14);
|
||||
$o-theme-h4-font-size-multiplier: (24 / 14);
|
||||
$o-theme-h5-font-size-multiplier: (20 / 14);
|
||||
$o-theme-h6-font-size-multiplier: (16 / 14);
|
||||
|
||||
$o-theme-font-configs: (
|
||||
'Montserrat': (
|
||||
'family': ('Montserrat', sans-serif), // font update - Proxima -> Montserrat
|
||||
'url': 'Montserrat:300,300i,400,400i,600,600i',
|
||||
),
|
||||
'Comic Neue': (
|
||||
'family': ('Comic Neue', cursive), // font update - Comic Sans MS -> Comic Neue
|
||||
'url': 'Comic+Neue:300,300i,400,400i,700,700i',
|
||||
),
|
||||
'Bubblegum Sans': (
|
||||
'family': ('Bubblegum Sans', cursive), // font update - Fontastique -> Bubblegum+Sans
|
||||
'url': 'Bubblegum+Sans:300,300i,400,400i,700,700i',
|
||||
),
|
||||
'Eagle Lake': (
|
||||
'family': ('Eagle Lake', serif), // font update - Luminari -> Eagle Lake
|
||||
'url': 'Eagle+Lake:300,300i,400,400i,700,700i',
|
||||
),
|
||||
'Marcellus': (
|
||||
'family': ('Marcellus', sans-serif), // font update - Fecske -> Marcellus
|
||||
'url': 'Marcellus:300,300i,400,400i,700,700i',
|
||||
),
|
||||
'Roboto': ( // stable ! Din -> Roboto
|
||||
'family': ('Roboto', sans-serif),
|
||||
'url': 'Roboto:300,300i,400,400i,700,700i',
|
||||
),
|
||||
'Oxygen': (
|
||||
'family': ('Oxygen', sans-serif),
|
||||
'url': 'Oxygen:300,300i,400,400i,700,700i',
|
||||
),
|
||||
'Cabin': (
|
||||
'family': ('Cabin', sans-serif),
|
||||
'url': 'Cabin:300,300i,400,400i,700,700i',
|
||||
),
|
||||
'Abel': (
|
||||
'family': ('Abel', sans-serif),
|
||||
'url': 'Abel:300,300i,400,400i,700,700i',
|
||||
),
|
||||
'Advent Pro': (
|
||||
'family': ('Advent Pro', sans-serif),
|
||||
'url': 'Advent+Pro:300,300i,400,400i,700,700i',
|
||||
),
|
||||
'Muli': (
|
||||
'family': ('Muli', sans-serif),
|
||||
'url': 'Muli:300,300i,400,400i,700,700i',
|
||||
),
|
||||
'Noto Sans': (
|
||||
'family': ('Noto Sans', sans-serif),
|
||||
'url': 'Noto+Sans:300,300i,400,400i,700,700i',
|
||||
),
|
||||
);
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// Website customizations
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
$o-website-values-palettes: (
|
||||
(
|
||||
'font-size-base': (14 / 16) * 1rem,
|
||||
'header-font-size': 1.25rem,
|
||||
'logo-height': 3rem,
|
||||
'fixed-logo-height': 3rem,
|
||||
'btn-border-radius': 2rem,
|
||||
'font': 'MontSerrat',
|
||||
'headings-font': 'Bubblegum Sans',
|
||||
'navbar-font': 'Bubblegum Sans',
|
||||
'buttons-font': 'Bubblegum Sans',
|
||||
'link-underline': 'never',
|
||||
'header-template': 'centered_logo',
|
||||
'footer-template': 'minimalist',
|
||||
),
|
||||
);
|
||||