[IMP] theme_odoo_experts: update the theme
This commit updates the theme to improve the design with new colors, new pictures and new snippet customizations. task-2585389 Part-of: odoo/design-themes#500
@@ -7,7 +7,7 @@
|
||||
first projects on the web. Just drag & drop the new building blocks
|
||||
you need to easily build your layout. All layouts are made of sections,
|
||||
that you can easily combine to fit your specific project.</p>
|
||||
<img src="odoo_experts_description.png" class="img-fluid d-block mx-auto"/>
|
||||
<img src="odoo_experts_description.jpg" class="img-fluid d-block mx-auto"/>
|
||||
<hr>
|
||||
|
||||
<h2 class="text-muted">Odoo Experts Customization Tool</h2>
|
||||
|
||||
|
After Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 254 KiB |
|
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 59 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 75 KiB |
|
After Width: | Height: | Size: 33 KiB |
|
After Width: | Height: | Size: 70 KiB |
|
After Width: | Height: | Size: 60 KiB |
|
After Width: | Height: | Size: 95 KiB |
|
Before Width: | Height: | Size: 8.9 KiB After Width: | Height: | Size: 28 KiB |
|
After Width: | Height: | Size: 80 KiB |
|
After Width: | Height: | Size: 94 KiB |
|
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
|
After Width: | Height: | Size: 84 KiB |
|
Before Width: | Height: | Size: 89 KiB After Width: | Height: | Size: 101 KiB |
|
Before Width: | Height: | Size: 92 KiB After Width: | Height: | Size: 45 KiB |
|
Before Width: | Height: | Size: 145 KiB After Width: | Height: | Size: 39 KiB |
|
Before Width: | Height: | Size: 91 KiB After Width: | Height: | Size: 54 KiB |
|
Before Width: | Height: | Size: 142 KiB After Width: | Height: | Size: 99 KiB |
|
Before Width: | Height: | Size: 76 KiB After Width: | Height: | Size: 43 KiB |
|
Before Width: | Height: | Size: 55 KiB After Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 125 KiB After Width: | Height: | Size: 58 KiB |
|
Before Width: | Height: | Size: 59 KiB After Width: | Height: | Size: 31 KiB |
|
After Width: | Height: | Size: 84 KiB |
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 37 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 7.6 KiB After Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 6.5 KiB After Width: | Height: | Size: 55 KiB |
|
Before Width: | Height: | Size: 67 KiB After Width: | Height: | Size: 117 KiB |
|
Before Width: | Height: | Size: 107 KiB After Width: | Height: | Size: 57 KiB |
@@ -1,15 +1,14 @@
|
||||
odoo.define("theme_odoo_experts.tour.odoo_experts", function (require) {
|
||||
"use strict";
|
||||
/** @odoo-module */
|
||||
|
||||
import wTourUtils from 'website.tour_utils';
|
||||
|
||||
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_cover',
|
||||
name: 'Cover',
|
||||
},
|
||||
{
|
||||
id: 's_image_text',
|
||||
@@ -19,6 +18,14 @@ const snippets = [
|
||||
id: 's_media_list',
|
||||
name: 'Media List',
|
||||
},
|
||||
{
|
||||
id: 's_company_team',
|
||||
name: 'Team',
|
||||
},
|
||||
{
|
||||
id: 's_references',
|
||||
name: 'References',
|
||||
},
|
||||
{
|
||||
id: 's_call_to_action',
|
||||
name: 'Call to Action',
|
||||
@@ -32,7 +39,9 @@ wTourUtils.registerThemeHomepageTour("odoo_experts_tour", [
|
||||
wTourUtils.dragNDrop(snippets[1]),
|
||||
wTourUtils.dragNDrop(snippets[2]),
|
||||
wTourUtils.dragNDrop(snippets[3]),
|
||||
wTourUtils.clickOnSnippet(snippets[3]),
|
||||
wTourUtils.changeOption('ScrollButton', 'we-button-group.o_we_user_value_widget', _t('height')),
|
||||
wTourUtils.dragNDrop(snippets[4]),
|
||||
wTourUtils.clickOnSnippet(snippets[4], 'top'),
|
||||
wTourUtils.changeOption('ContainerWidth', 'we-button-group.o_we_user_value_widget', _t('width')),
|
||||
wTourUtils.goBackToBlocks(),
|
||||
wTourUtils.dragNDrop(snippets[5]),
|
||||
]);
|
||||
});
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
// Headings font weight
|
||||
|
||||
$headings-font-weight: $o-theme-headings-font-weight !default;
|
||||
@@ -2,12 +2,14 @@
|
||||
// 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-h1-font-size-multiplier: (62 / 16);
|
||||
$o-theme-h2-font-size-multiplier: (44 / 16);
|
||||
$o-theme-h3-font-size-multiplier: (36 / 16);
|
||||
$o-theme-h4-font-size-multiplier: (24 / 16);
|
||||
$o-theme-h5-font-size-multiplier: (21 / 16);
|
||||
$o-theme-h6-font-size-multiplier: (18 / 16);
|
||||
|
||||
$o-theme-headings-font-weight: 700;
|
||||
|
||||
$o-theme-font-configs: (
|
||||
'Heebo': (
|
||||
@@ -58,6 +60,10 @@ $o-theme-font-configs: (
|
||||
'family': ('Oswald', sans-serif),
|
||||
'url': 'Oswald:300,300i,400,400i,700,700i',
|
||||
),
|
||||
'Work Sans': (
|
||||
'family': ('Work Sans', sans-serif),
|
||||
'url': 'Work+Sans:300,300i,400,400i,700,700i',
|
||||
),
|
||||
);
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
@@ -69,17 +75,17 @@ $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,
|
||||
'header-font-size': 1rem,
|
||||
'btn-border-radius': 0,
|
||||
'btn-border-radius-lg': 0,
|
||||
'btn-border-radius-sm': 0,
|
||||
'font': 'Lato',
|
||||
'headings-font': 'Oswald',
|
||||
'navbar-font': 'Oswald',
|
||||
'headings-font': 'Work Sans',
|
||||
'navbar-font': 'Work Sans',
|
||||
'buttons-font': 'Lato',
|
||||
'header-template': 'Contact',
|
||||
'footer-template': 'contact',
|
||||
'header-links-style': 'border-bottom',
|
||||
'link-underline': 'never',
|
||||
),
|
||||
);
|
||||
|
||||
@@ -108,3 +114,18 @@ $o-color-palettes-compatibility-indexes: (
|
||||
20: 'generic-16',
|
||||
21: 'generic-17',
|
||||
);
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// Shapes
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Origins/02_001', (5: 3));
|
||||
$o-bg-shapes: add-extra-shape-colors-mapping('web_editor', 'Origins/02_001', 'second', (4: 4, 5:2));
|
||||
$o-bg-shapes: add-extra-shape-colors-mapping('web_editor', 'Origins/02_001', 'third', (4: 2, 5: 1));
|
||||
$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Origins/09_001', (3: 5));
|
||||
$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Origins/16', (3: 1));
|
||||
$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Floats/07', (1: 5));
|
||||
$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Blobs/04', (5: 5));
|
||||
$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Rainy/10', (1: 5, 3: 5));
|
||||
$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Airy/01', (1: 3));
|
||||
$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Airy/03_001', (5: 4));
|
||||
|
||||