[IMP] theme_artists: update the theme

This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.

task-2580170

Part-of: odoo/design-themes#500
This commit is contained in:
Brieuc-brd
2021-06-25 06:36:16 +00:00
committed by qsm-odoo
parent 986029fed5
commit 46a1d66d96
55 changed files with 1007 additions and 318 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 71 KiB

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 133 KiB

After

Width:  |  Height:  |  Size: 114 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 179 KiB

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 194 KiB

After

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 148 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 191 KiB

After

Width:  |  Height:  |  Size: 38 KiB

+17 -9
View File
@@ -1,15 +1,14 @@
odoo.define("theme_artists.tour.artists", 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_parallax',
name: 'Parallax',
id: 's_carousel_wrapper',
name: 'Carousel',
},
{
id: 's_text_image',
@@ -19,6 +18,14 @@ const snippets = [
id: 's_three_columns',
name: 'Columns',
},
{
id: 's_title',
name: 'Title',
},
{
id: 's_images_wall',
name: 'Images Wall',
},
{
id: 's_call_to_action',
name: 'Call to Action',
@@ -32,7 +39,8 @@ wTourUtils.registerThemeHomepageTour("artists_tour", [
wTourUtils.goBackToBlocks(),
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.clickOnText(snippets[3], 'h1'),
wTourUtils.goBackToBlocks(),
wTourUtils.dragNDrop(snippets[4]),
wTourUtils.dragNDrop(snippets[5]),
]);
});
@@ -2,6 +2,13 @@
// Fonts
//------------------------------------------------------------------------------
$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-font-configs: (
'Handlee': (
'family': ('Handlee', cursive),
@@ -70,6 +77,14 @@ $o-theme-font-configs: (
'family': ('Radley', serif),
'url': 'Radley:300,300i,400,400i,700,700i',
),
'Oxygen': (
'family': ('Oxygen', sans-serif),
'url': 'Oxygen:300,400,700',
),
'Montserrat': (
'family': ('Montserrat', sans-serif),
'url': 'Montserrat:300,300i,400,400i,700,700i',
),
);
//------------------------------------------------------------------------------
@@ -80,15 +95,16 @@ $o-website-values-palettes: (
(
'color-palettes-name': 'artists-1',
'header-font-size': (13 / 16) * 1rem,
'font': 'Droid Sans',
'headings-font': 'Radley',
'navbar-font': 'Radley',
'buttons-font': 'Radley',
'font': 'Montserrat',
'headings-font': 'Oxygen',
'navbar-font': 'Montserrat',
'buttons-font': 'Montserrat',
'btn-ripple': true,
'header-template': 'hamburger',
'hamburger-type': 'off-canvas',
'hamburger-position': 'left',
'footer-template': 'centered',
'link-underline': 'never',
),
);
@@ -125,7 +141,15 @@ $o-color-palettes-compatibility-indexes: (
//------------------------------------------------------------------------------
$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Airy/12', (3: 3));
$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Airy/12_001', (3: 3));
$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Airy/12_001', (3: 5));
$o-bg-shapes: add-extra-shape-colors-mapping('web_editor', 'Airy/12_001', 'second', (3: 4));
$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Wavy/02_001', (3: 5));
$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Wavy/04', (5: 4));
$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Wavy/05', (5: 4));
$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Wavy/08', (2: 4));
$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Wavy/27', (2: 4));
$o-bg-shapes: add-extra-shape-colors-mapping('web_editor', 'Wavy/27', 'second', (1: 5, 2: 5));
$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Origins/16', (3: 5));
$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Floats/02', (1: 5, 2: 5, 3: 1, 5: 1));
$o-bg-shapes: add-footer-shape-colors-mapping('web_editor', 'Airy/12', (3: 'footer'));
$o-bg-shapes: add-footer-shape-colors-mapping('web_editor', 'Airy/12_001', (3: 'footer'));