[ADD] theme 14.0
|
After Width: | Height: | Size: 34 KiB |
|
After Width: | Height: | Size: 55 KiB |
|
After Width: | Height: | Size: 170 KiB |
|
After Width: | Height: | Size: 192 KiB |
|
After Width: | Height: | Size: 72 KiB |
|
After Width: | Height: | Size: 257 KiB |
|
After Width: | Height: | Size: 179 KiB |
|
After Width: | Height: | Size: 25 KiB |
|
After Width: | Height: | Size: 35 KiB |
|
After Width: | Height: | Size: 49 KiB |
|
After Width: | Height: | Size: 85 KiB |
|
After Width: | Height: | Size: 125 KiB |
|
After Width: | Height: | Size: 178 KiB |
|
After Width: | Height: | Size: 169 KiB |
|
After Width: | Height: | Size: 70 KiB |
|
After Width: | Height: | Size: 78 KiB |
|
After Width: | Height: | Size: 147 KiB |
|
After Width: | Height: | Size: 36 KiB |
|
After Width: | Height: | Size: 64 KiB |
|
After Width: | Height: | Size: 39 KiB |
|
After Width: | Height: | Size: 54 KiB |
|
After Width: | Height: | Size: 73 KiB |
|
After Width: | Height: | Size: 63 KiB |
|
After Width: | Height: | Size: 74 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 166 KiB |
|
After Width: | Height: | Size: 154 KiB |
|
After Width: | Height: | Size: 118 KiB |
@@ -0,0 +1,59 @@
|
||||
odoo.define("theme_vehicle.tour.vehicle", 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_cover',
|
||||
name: 'Cover',
|
||||
},
|
||||
{
|
||||
id: 's_text_image',
|
||||
name: 'Text - Image',
|
||||
},
|
||||
{
|
||||
id: 's_masonry_block',
|
||||
name: 'Masonry',
|
||||
},
|
||||
{
|
||||
id: 's_text_image:last-of-type',
|
||||
name: 'Image - Text',
|
||||
},
|
||||
{
|
||||
id: 's_table_of_content',
|
||||
name: 'Table of Content',
|
||||
},
|
||||
{
|
||||
id: 's_call_to_action',
|
||||
name: 'Call to Action',
|
||||
},
|
||||
{
|
||||
id: 's_references',
|
||||
name: 'References',
|
||||
},
|
||||
];
|
||||
|
||||
wTourUtils.registerThemeHomepageTour("vehicle_tour", [
|
||||
wTourUtils.dragNDrop(snippets[0], 'top'),
|
||||
wTourUtils.clickOnText(snippets[0], 'h1', 'top'),
|
||||
wTourUtils.goBackToBlocks(),
|
||||
|
||||
wTourUtils.dragNDrop(snippets[1], 'top'),
|
||||
wTourUtils.dragNDrop(snippets[2], 'top'),
|
||||
|
||||
wTourUtils.dragNDrop(snippets[3], 'top'),
|
||||
wTourUtils.dragNDrop(snippets[4], 'top'),
|
||||
wTourUtils.dragNDrop(snippets[5], 'top'),
|
||||
wTourUtils.dragNDrop(snippets[6], 'top'),
|
||||
wTourUtils.clickOnSnippet(snippets[6], '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,7 @@
|
||||
@mixin s-banner-3-row-hook {
|
||||
img {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
$s-big-icon-circle-text-color: $-gray-700;
|
||||
@@ -0,0 +1,197 @@
|
||||
// Theme colors
|
||||
$o-theme-color-palettes: (
|
||||
(
|
||||
'alpha': #ffffff,
|
||||
'beta': #add3ce,
|
||||
'gamma': #a7c7d5,
|
||||
'delta': #47464b,
|
||||
'epsilon': #f3997b,
|
||||
),
|
||||
(
|
||||
'alpha': #f8f1d4,
|
||||
'beta': #5b4645,
|
||||
'gamma': #ffffff,
|
||||
'delta': #21263a,
|
||||
'epsilon': #8f8747,
|
||||
),
|
||||
(
|
||||
'alpha': #dedede,
|
||||
'beta': #adadad,
|
||||
'gamma': #ffffff,
|
||||
'delta': #3e3e3e,
|
||||
'epsilon': #848f47,
|
||||
),
|
||||
(
|
||||
'alpha': #cfcfcf,
|
||||
'beta': #2e2e2e,
|
||||
'gamma': #ffffff,
|
||||
'delta': #000000,
|
||||
'epsilon': #1ad68f,
|
||||
),
|
||||
(
|
||||
'alpha': #9fcae2,
|
||||
'beta': #bbc05c,
|
||||
'gamma': #ffffff,
|
||||
'delta': #112625,
|
||||
'epsilon': #45b08c,
|
||||
),
|
||||
(
|
||||
'alpha': #fdeacc,
|
||||
'beta': #e8cda2,
|
||||
'gamma': #ffffff,
|
||||
'delta': #3e3f43,
|
||||
'epsilon': #e1444d,
|
||||
),
|
||||
);
|
||||
|
||||
// Grays
|
||||
$-gray-700: lighten(#000, 33.5%);
|
||||
$o-gray-color-palettes: ();
|
||||
@each $-palette in $o-theme-color-palettes {
|
||||
$o-gray-color-palettes: append($o-gray-color-palettes, (
|
||||
'900': lighten(#000000, 20%),
|
||||
'700': $-gray-700,
|
||||
'600': lighten(#000000, 46.7%),
|
||||
'200': lighten(#000000, 85%),
|
||||
));
|
||||
}
|
||||
|
||||
$o-color-palettes: (
|
||||
(
|
||||
'o-color-1': #9e160d,
|
||||
'o-color-2': #543b3b,
|
||||
'o-color-3': #f7f6f6,
|
||||
'o-color-4': #ffffff,
|
||||
'o-color-5': #242424,
|
||||
|
||||
'footer': 1,
|
||||
'copyright': 1,
|
||||
),
|
||||
(
|
||||
'o-color-1': #3e7ae9,
|
||||
'o-color-2': #000000,
|
||||
'o-color-3': #f3f3f3,
|
||||
'o-color-4': #ffffff,
|
||||
'o-color-5': #222222,
|
||||
|
||||
'menu': 2,
|
||||
'footer': 2,
|
||||
'copyright': 2,
|
||||
),
|
||||
);
|
||||
|
||||
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// 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: (
|
||||
'Handlee': (
|
||||
'family': ('Handlee', cursive),
|
||||
'url': 'Handlee:300,300i,400,400i,700,700i',
|
||||
),
|
||||
'Gruppo': (
|
||||
'family': ('Gruppo', cursive),
|
||||
'url': 'Gruppo:300,300i,400,400i,700,700i',
|
||||
),
|
||||
'Darker Grotesque': (
|
||||
'family': ('Darker Grotesque', sans-serif),
|
||||
'url': 'Darker+Grotesque:300,300i,500,500i,700,700i',
|
||||
),
|
||||
'Droid Sans': (
|
||||
'family': ('Droid Sans', sans-serif),
|
||||
),
|
||||
'Bowlby One SC': (
|
||||
'family': ('Bowlby One SC', cursive),
|
||||
'url': 'Bowlby+One+SC:300,300i,400,400i,700,700i',
|
||||
),
|
||||
'Lobster': (
|
||||
'family': ('Lobster', cursive),
|
||||
'url': 'Lobster:300,300i,400,400i,700,700i',
|
||||
),
|
||||
'Nunito': (
|
||||
'family': ('Nunito', sans-serif),
|
||||
'url': 'Nunito:300,300i,400,400i,700,700i',
|
||||
),
|
||||
'Raleway': (
|
||||
'family': ('Raleway', sans-serif),
|
||||
'url': 'Raleway: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',
|
||||
),
|
||||
'Amatic SC': (
|
||||
'family': ('Amatic SC', cursive),
|
||||
'url': 'Amatic+SC:300,300i,400,400i,700,700i',
|
||||
),
|
||||
'Open Sans Condensed': (
|
||||
'family': ('Open Sans Condensed', sans-serif),
|
||||
'url': 'Open+Sans+Condensed:300,300i,400,400i,700,700i',
|
||||
),
|
||||
'Oswald': (
|
||||
'family': ('Oswald', sans-serif),
|
||||
'url': 'Oswald:300,300i,400,400i,700,700i',
|
||||
),
|
||||
'Roboto': (
|
||||
'family': ('Roboto', sans-serif),
|
||||
'url': 'Roboto:300,300i,400,400i,700,700i',
|
||||
),
|
||||
'Permanent Marker': (
|
||||
'family': ('Permanent Marker', cursive),
|
||||
'url': 'Permanent+Marker:300,300i,400,400i,700,700i',
|
||||
),
|
||||
'Pacifico': (
|
||||
'family': ('Pacifico', cursive),
|
||||
'url': 'Pacifico:300,300i,400,400i,700,700i',
|
||||
),
|
||||
'Playfair Display': (
|
||||
'family': ('Playfair Display', serif),
|
||||
'url': 'Playfair+Display:300,300i,400,400i,700,700i',
|
||||
),
|
||||
'Playfair Display SC': (
|
||||
'family': ('Playfair Display SC', serif),
|
||||
'url': 'Playfair+Display+SC:300,300i,400,400i,700,700i',
|
||||
),
|
||||
);
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// Website customizations
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
$o-website-values-palettes: (
|
||||
(
|
||||
'header-font-size': 1rem,
|
||||
'font': 'Droid Sans',
|
||||
'headings-font': 'Oswald',
|
||||
'navbar-font': 'Oswald',
|
||||
|
||||
'buttons-font': 'Oswald',
|
||||
'btn-primary-outline': false,
|
||||
'btn-secondary-outline': true,
|
||||
|
||||
'btn-border-width': 2px,
|
||||
'btn-padding-x': 1.15rem,
|
||||
'btn-border-radius': 1px,
|
||||
'btn-border-radius-sm': 0,
|
||||
'btn-border-radius-lg': 2px,
|
||||
'btn-padding-y': .474rem,
|
||||
'btn-padding-y-lg': 1rem,
|
||||
'btn-padding-x-lg': 3.3rem,
|
||||
'btn-font-size': 1.2rem,
|
||||
'btn-font-size-lg': 2rem,
|
||||
|
||||
'header-template': 'hamburger',
|
||||
'hamburger-type': 'off-canvas',
|
||||
'hamburger-position': 'left',
|
||||
'footer-template': 'minimalist',
|
||||
),
|
||||
);
|
||||