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

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 211 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 148 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 196 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 198 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 132 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 190 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 146 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 KiB

+44
View File
@@ -0,0 +1,44 @@
odoo.define("theme_enark.tour.enark", 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_picture',
name: 'Picture',
},
{
id: 's_text_image',
name: 'Text - Image',
},
{
id: 's_media_list',
name: 'Media List',
},
{
id: 's_call_to_action',
name: 'Call to Action',
},
];
wTourUtils.registerThemeHomepageTour("enark_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.dragNDrop(snippets[4]),
wTourUtils.clickOnSnippet(snippets[4]),
wTourUtils.changeOption('minHeight', 'we-button-group.o_we_user_value_widget', _t('height')),
wTourUtils.clickOnSave(),
]);
});
@@ -0,0 +1,61 @@
/* Big Icon Circle */
@include o-theme-chd-big-icons-classes(0, none);
/* Big Icon Square */
.s_big_icon_square_box {
.fa {
color: o-color('alpha') !important;
}
}
.s_big_icon_square_icon {
text-align:center!important;
color:#fff;
transition: all 0.3s ease-in-out;
h5 {
margin-top: 48px;
}
}
.s_big_icon_square_box:hover .s_big_icon_square_icon {
transition: all 0.3s ease-in-out;
}
/* s_big_icons */
.bg-beta .s_big_icons_icon {
border: 6px solid;
@include o-theme-chd-big-icons-styles(rgba(0, 0, 0, 0), white);
}
.bg-beta .s_big_icons_box:hover .s_big_icons_icon {
@include o-theme-chd-big-icons-styles($bg-color: white, $fa-color: o-color('alpha'));
}
/* s_big_icon_square */
.bg-beta .s_big_icon_square_icon {
background-color: rgba(0, 0, 0, 0) !important;
border: 6px solid white !important;
h5 {
color: white !important;
}
.fa {
color: white !important;
}
}
.bg-beta .s_big_icon_square_box:hover .s_big_icon_square_icon {
background-color: white !important;
border-color: o-color('alpha');
transform: scale(1.1,1.1);
.fa {
color: o-color('alpha') !important;
}
h5 {
color: white !important;
}
}
@@ -0,0 +1,6 @@
.s_big_image .s_text_highlight {
padding: 12px 8px 18px;
border-radius: 0px;
border: 3px solid o-color('alpha');
background: rgba(black, 0.35)
}
@@ -0,0 +1,5 @@
.s_big_image_parallax {
min-height: 600px;
padding-top: 20px;
background-size: cover;
}
@@ -0,0 +1,126 @@
/* Icon Box Circle */
.s_icon_box_circle_box {
float: left;
.fa {
color: o-color('alpha') !important;
font-size: 28px;
}
}
.s_icon_box_circle_icon {
width:60px;
height:60px;
margin-right: 15px;
text-align:center!important;
color:#fff;
padding: 20px 0;
transition: all 0.3s ease-in-out;
background-color: rgba(0, 0, 0, 0) !important;
border: 2px solid o-color('alpha');
border-radius: 50px;
}
.s_icon_box_circle_box:hover .s_icon_box_circle_icon {
transform: scale(1.1,1.1);
transition: all 0.3s ease-in-out;
border-color: o-color('gamma');
.fa {
color: o-color('gamma') !important;
}
}
/* Icon Box Square */
.s_icon_box_square_box {
float: left;
.fa {
color: o-color('alpha') !important;
}
}
.s_icon_box_square_icon {
width:60px;
height:55px;
margin-right: 15px;
text-align:center!important;
color:#fff;
padding: 18px 0;
transition: all 0.3s ease-in-out;
background-color: rgba(0, 0, 0, 0) !important;
border: 2px solid o-color('alpha');
}
.s_icon_box_square_box:hover .s_icon_box_square_icon {
transform: scale(1.1,1.1);
transition: all 0.3s ease-in-out;
border-color: o-color('gamma');
.fa {
color: o-color('gamma') !important;
}
}
/* s_icon_box */
.bg-beta .s_icon_box_box:hover .s_icon_box_icon .fa {
transition: all 0.3s ease-in-out;
color: o-color('delta') !important;
}
.bg-beta .s_icon_box_box:hover .s_icon_box_content h4 {
transition: all 0.3s ease-in-out;
color: o-color('delta') !important;
}
/* s_icon_box_square */
.bg-beta .s_icon_box_square_icon {
border-color: white !important;
background-color: o-color('alpha') !important;
.fa {
color: white !important;
}
h4 {
color: white !important;
}
}
.bg-beta .s_icon_box_square_box:hover .s_icon_box_square_icon {
border-color: white !important;
background-color: white !important;
.fa {
color: o-color('alpha') !important;
}
}
.bg-beta .s_icon_box_square_box:hover h4 {
color: white !important;
}
/* s_icon_box_circle */
.bg-beta .s_icon_box_circle_icon {
border-color: white !important;
background-color: o-color('alpha') !important;
.fa {
color: white !important;
}
h4 {
color: white !important;
}
}
.bg-beta .s_icon_box_circle_box:hover .s_icon_box_circle_icon {
border-color: white !important;
background-color: white !important;
.fa {
color: o-color('alpha') !important;
}
}
.bg-beta .s_icon_box_circle_box:hover h4 {
color: white !important;
}
+18
View File
@@ -0,0 +1,18 @@
// 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: 150 !default;
// Components
//
// Define common padding and border radius sizes and more.
$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,225 @@
// Not used anymore by the editor: files and records kept for back-compatibility.
// Check also in theme.scss and theme_common's mixins.scss.
$o-theme-bg-img-01: url("/theme_enark/static/src/img/backgrounds/bg_img_01.jpg");
$o-theme-bg-img-02: url("/theme_enark/static/src/img/backgrounds/bg_img_02.jpg");
$o-theme-bg-img-03: url("/theme_enark/static/src/img/backgrounds/bg_img_03.jpg");
$o-theme-bg-img-04: url("/theme_enark/static/src/img/backgrounds/bg_img_04.jpg");
$o-theme-bg-img-05: url("/theme_enark/static/src/img/backgrounds/bg_img_05.jpg");
$o-theme-bg-img-06: url("/theme_enark/static/src/img/backgrounds/bg_img_06.jpg");
$o-theme-bg-img-07: url("/theme_enark/static/src/img/backgrounds/bg_img_07.jpg");
$o-theme-bg-img-08: url("/theme_enark/static/src/img/backgrounds/bg_img_08.jpg");
$o-theme-bg-img-09: url("/theme_enark/static/src/img/backgrounds/bg_img_09.jpg");
$o-theme-bg-img-10: url("/theme_enark/static/src/img/backgrounds/bg_img_10.jpg");
$o-theme-bg-img-11: url("/theme_enark/static/src/img/backgrounds/bg_img_11.jpg");
$o-theme-bg-img-12: url("/theme_enark/static/src/img/backgrounds/bg_img_12.jpg");
$o-theme-bg-pattern-01: url("/theme_enark/static/src/img/backgrounds/bg_pattern_01.jpg");
$o-theme-bg-pattern-02: url("/theme_enark/static/src/img/backgrounds/bg_pattern_02.jpg");
$o-theme-bg-pattern-03: url("/theme_enark/static/src/img/backgrounds/bg_pattern_03.jpg");
$o-theme-bg-pattern-04: url("/theme_enark/static/src/img/backgrounds/bg_pattern_04.jpg");
$o-theme-bg-pattern-05: url("/theme_enark/static/src/img/backgrounds/bg_pattern_05.jpg");
$o-theme-bg-pattern-06: url("/theme_enark/static/src/img/backgrounds/bg_pattern_06.jpg");
//------------------------------------------------------------------------------
// Colors
//------------------------------------------------------------------------------
// Theme colors
$o-theme-color-palettes: (
(
'alpha': #9ea5ab,
'beta': #b5c0c9,
'gamma': #778089,
'delta': #566b7f,
'epsilon': #28354d,
),
(
'alpha': #2b6990,
'beta': #9ea5ab,
'gamma': #1fb1b0,
'delta': #324465,
'epsilon': #28354d,
),
(
'alpha': #5a8eaf,
'beta': #2b6990,
'gamma': #566b7f,
'delta': #324465,
'epsilon': #28354d,
),
(
'alpha': #1fb1b0,
'beta': #566b7f,
'gamma': #1b7f7e,
'delta': darken(#1b7f7e, 30%),
'epsilon': darken(#1b7f7e, 50%),
),
(
'alpha': #5a8eaf,
'beta': #2b6990,
'gamma': #1fb1b0,
'delta': #324465,
'epsilon': #28354d,
),
(
'alpha': lighten(#000, 45%),
'beta': lighten(#000, 80%),
'gamma': lighten(#000, 70%),
'delta': lighten(#000, 35%),
'epsilon': lighten(#000, 20%),
),
);
// Grays
$-gray-700: lighten(#000, 55%);
$o-gray-color-palettes: ();
@each $-palette in $o-theme-color-palettes {
$o-gray-color-palettes: append($o-gray-color-palettes, (
'900': lighten(#000, 40%),
'700': $-gray-700,
'600': lighten(#000, 70%),
'200': lighten(#000, 80%),
));
}
// Colors
$o-color-palettes: (
(
'o-color-1': #7b97af,
'o-color-2': #464d53,
'o-color-3': #f2f2f2,
'o-color-4': #FFFFFF,
'o-color-5': #191919,
'o-cc1-text': 'o-color-2',
'o-cc1-btn-primary': 'o-color-2',
'o-cc5-link': 'o-color-4',
),
(
'o-color-1': #41cb7a,
'o-color-2': #0f4c26,
'o-color-3': #fafafa,
'o-color-4': #FFFFFF,
'o-color-5': #000000,
'menu': 2,
'footer': 2,
'copyright': 2,
),
(
'o-color-1': #F2A679,
'o-color-2': #4f6b8c,
'o-color-3': #f4f2f2,
'o-color-4': #FFFFFF,
'o-color-5': #000000,
'o-cc4-text': 'o-color-5',
'menu': 4,
'footer': 4,
'copyright': 4,
),
(
'o-color-1': #FFC513,
'o-color-2': #022859,
'o-color-3': #f4f2f2,
'o-color-4': #FFFFFF,
'o-color-5': #000000,
'o-cc4-text': 'o-color-5',
'menu': 4,
'footer': 4,
'copyright': 4,
),
(
'o-color-1': #41cbb4,
'o-color-2': #0f4c4c,
'o-color-3': #f2f2ef,
'o-color-4': #FFFFFF,
'o-color-5': #000000,
'o-cc4-text': 'o-color-5',
'footer': 4,
'copyright': 4,
),
);
//------------------------------------------------------------------------------
// Fonts
//------------------------------------------------------------------------------
$o-theme-h1-font-size-multiplier: (54 / 16);
$o-theme-h2-font-size-multiplier: (48 / 16);
$o-theme-h3-font-size-multiplier: (44 / 16);
$o-theme-h4-font-size-multiplier: (31 / 16);
$o-theme-h5-font-size-multiplier: (27 / 16);
$o-theme-h6-font-size-multiplier: (20 / 16);
$o-theme-font-configs: (
'Ubuntu': (
'family': ('Ubuntu', sans-serif),
'url': 'Ubuntu:300,300i,400,400i,700,700i',
),
'BebasNeue': (
'family': ('BebasNeue', sans-serif),
'url': 'Bebas+Neue:400,700',
),
'Maven Pro': (
'family': ('Maven Pro', sans-serif),
'url': 'Maven+Pro:300,300i,400,400i,700,700i',
),
'Muli': (
'family': ('Muli', sans-serif),
'url': 'Muli:300,300i,400,400i,700,700i',
),
'Abel': (
'family': ('Abel', sans-serif),
'url': 'Abel:300,300i,400,400i,700,700i',
),
'Raleway': (
'family': ('Raleway', sans-serif),
'url': 'Raleway:300,300i,400,400i,700,700i',
),
'Alegreya Sans SC': (
'family': ('Alegreya Sans SC', sans-serif),
'url': 'Alegreya+Sans+SC:300,300i,400,400i,700,700i',
),
'Bitter': (
'family': ('Bitter', serif),
'url': 'Bitter:300,300i,400,400i,700,700i',
),
'Quattrocento': (
'family': ('Quattrocento', serif),
'url': 'Quattrocento:300,300i,400,400i,700,700i',
),
'PT Sans': (
'family': ('PT Sans', sans-serif),
'url': 'PT+Sans:300,300i,400,400i,700,700i',
),
'Vollkorn': (
'family': ('Vollkorn', serif),
'url': 'Vollkorn:300,300i,400,400i,700,700i',
),
);
//------------------------------------------------------------------------------
// Website customizations
//------------------------------------------------------------------------------
$o-website-values-palettes: (
(
'header-font-size': 1.3rem,
'font': 'Raleway',
'headings-font': 'Abel',
'navbar-font': 'Abel',
'buttons-font': 'Abel',
'header-template': 'hamburger',
'footer-template': 'descriptive',
'header-links-style': 'outline',
'btn-primary-outline': 'true',
),
);