diff --git a/test_themes/__manifest__.py b/test_themes/__manifest__.py index 7fde70120..925fc7990 100644 --- a/test_themes/__manifest__.py +++ b/test_themes/__manifest__.py @@ -16,6 +16,7 @@ 'theme_anelusia', 'theme_artists', 'theme_avantgarde', + 'theme_aviato', 'theme_beauty', 'theme_bewise', 'theme_bistro', diff --git a/theme_aviato/LICENSE b/theme_aviato/LICENSE new file mode 100644 index 000000000..b01eaf1b7 --- /dev/null +++ b/theme_aviato/LICENSE @@ -0,0 +1,27 @@ +Odoo Proprietary License v1.0 + +This software and associated files (the "Software") may only be used (executed, +modified, executed after modifications) if you have purchased a valid license +from the authors, typically via Odoo Apps, or if you have received a written +agreement from the authors of the Software (see the COPYRIGHT file). + +You may develop Odoo modules that use the Software as a library (typically +by depending on it, importing it and using its resources), but without copying +any source code or material from the Software. You may distribute those +modules under the license of your choice, provided that this license is +compatible with the terms of the Odoo Proprietary License (For example: +LGPL, MIT, or proprietary licenses similar to this one). + +It is forbidden to publish, distribute, sublicense, or sell copies of the Software +or modified copies of the Software. + +The above copyright notice and this permission notice must be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, +DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. diff --git a/theme_aviato/__init__.py b/theme_aviato/__init__.py new file mode 100644 index 000000000..be9f4fab0 --- /dev/null +++ b/theme_aviato/__init__.py @@ -0,0 +1,3 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. +from . import models diff --git a/theme_aviato/__manifest__.py b/theme_aviato/__manifest__.py new file mode 100644 index 000000000..cf27f96e2 --- /dev/null +++ b/theme_aviato/__manifest__.py @@ -0,0 +1,43 @@ +{ + 'name': 'Aviato Theme', + 'description': 'Aviato Theme - Responsive Bootstrap Theme for Odoo CMS', + 'category': 'Theme/Creative', + 'summary': 'Travel, Excursion, Plane, Tour, Agency ', + 'sequence': 130, + 'version': '1.0.0', + 'author': 'Odoo S.A.', + 'depends': ['theme_common'], + 'data': [ + 'data/ir_asset.xml', + 'views/images_library.xml', + + 'views/snippets/s_cover.xml', + 'views/snippets/s_features.xml', + 'views/snippets/s_image_text.xml', + 'views/snippets/s_text_image.xml', + 'views/snippets/s_three_columns.xml', + 'views/snippets/s_picture.xml', + 'views/snippets/s_popup.xml', + 'views/snippets/s_title.xml', + 'views/snippets/s_quotes_carousel.xml', + ], + 'images': [ + 'static/description/aviato_cover.jpg', + 'static/description/aviato_screenshot.jpg', + ], + 'images_preview_theme': { + 'website.s_cover_default_image': '/theme_aviato/static/src/img/content/s_cover.jpg', + 'website.s_three_columns_default_image_1': '/theme_aviato/static/src/img/content/s_three_columns_1.jpg', + 'website.s_three_columns_default_image_2': '/theme_aviato/static/src/img/content/s_three_columns_2.jpg', + 'website.s_three_columns_default_image_3': '/theme_aviato/static/src/img/content/s_three_columns_3.jpg', + 'website.s_picture_default_image': '/theme_aviato/static/src/img/content/s_picture.jpg', + }, + 'license': 'LGPL-3', + 'live_test_url': 'https://theme-aviato.odoo.com', + + 'assets': { + 'website.assets_editor': [ + 'theme_aviato/static/src/js/tour.js', + ], + } +} diff --git a/theme_aviato/data/ir_asset.xml b/theme_aviato/data/ir_asset.xml new file mode 100644 index 000000000..ea476a169 --- /dev/null +++ b/theme_aviato/data/ir_asset.xml @@ -0,0 +1,19 @@ + + + + + theme_aviato.primary_variables_scss + Primary variables SCSS + web._assets_primary_variables + theme_aviato/static/src/scss/primary_variables.scss + + + + theme_aviato.bootstrap_overridden_scss + Bootstrap overridden SCSS + web._assets_frontend_helpers + prepend + theme_aviato/static/src/scss/bootstrap_overridden.scss + + + diff --git a/theme_aviato/models/__init__.py b/theme_aviato/models/__init__.py new file mode 100644 index 000000000..1b2818ea0 --- /dev/null +++ b/theme_aviato/models/__init__.py @@ -0,0 +1,3 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. +from . import theme_aviato diff --git a/theme_aviato/models/theme_aviato.py b/theme_aviato/models/theme_aviato.py new file mode 100644 index 000000000..16fe6326e --- /dev/null +++ b/theme_aviato/models/theme_aviato.py @@ -0,0 +1,10 @@ +from odoo import models + + +class ThemeAviato(models.AbstractModel): + _inherit = 'theme.utils' + + def _theme_aviato_post_copy(self, mod): + self.disable_view('website.footer_custom') + self.enable_view('website.template_footer_contact') + self.enable_view('website.template_footer_slideout') diff --git a/theme_aviato/static/description/aviato_cover.jpg b/theme_aviato/static/description/aviato_cover.jpg new file mode 100644 index 000000000..bfd8b14d5 Binary files /dev/null and b/theme_aviato/static/description/aviato_cover.jpg differ diff --git a/theme_aviato/static/description/aviato_screenshot.jpg b/theme_aviato/static/description/aviato_screenshot.jpg new file mode 100644 index 000000000..3169eecf9 Binary files /dev/null and b/theme_aviato/static/description/aviato_screenshot.jpg differ diff --git a/theme_aviato/static/description/index.html b/theme_aviato/static/description/index.html new file mode 100644 index 000000000..dbdd96f14 --- /dev/null +++ b/theme_aviato/static/description/index.html @@ -0,0 +1 @@ +
diff --git a/theme_aviato/static/shapes/s_image_text.svg b/theme_aviato/static/shapes/s_image_text.svg new file mode 100644 index 000000000..3137739d8 --- /dev/null +++ b/theme_aviato/static/shapes/s_image_text.svg @@ -0,0 +1 @@ +digital nomad \ No newline at end of file diff --git a/theme_aviato/static/shapes/s_text_image.svg b/theme_aviato/static/shapes/s_text_image.svg new file mode 100644 index 000000000..8b49f5b96 --- /dev/null +++ b/theme_aviato/static/shapes/s_text_image.svg @@ -0,0 +1 @@ +navigation \ No newline at end of file diff --git a/theme_aviato/static/src/img/content/author.gif b/theme_aviato/static/src/img/content/author.gif new file mode 100644 index 000000000..4e27f2909 Binary files /dev/null and b/theme_aviato/static/src/img/content/author.gif differ diff --git a/theme_aviato/static/src/img/content/img_01.svg b/theme_aviato/static/src/img/content/img_01.svg new file mode 100644 index 000000000..ddd2a17f1 --- /dev/null +++ b/theme_aviato/static/src/img/content/img_01.svg @@ -0,0 +1 @@ +travelers \ No newline at end of file diff --git a/theme_aviato/static/src/img/content/img_02.svg b/theme_aviato/static/src/img/content/img_02.svg new file mode 100644 index 000000000..bfcbaeea8 --- /dev/null +++ b/theme_aviato/static/src/img/content/img_02.svg @@ -0,0 +1 @@ +departing \ No newline at end of file diff --git a/theme_aviato/static/src/img/content/media_01.jpg b/theme_aviato/static/src/img/content/media_01.jpg new file mode 100644 index 000000000..a5eae442b Binary files /dev/null and b/theme_aviato/static/src/img/content/media_01.jpg differ diff --git a/theme_aviato/static/src/img/content/media_02.jpg b/theme_aviato/static/src/img/content/media_02.jpg new file mode 100644 index 000000000..0cb3cec5c Binary files /dev/null and b/theme_aviato/static/src/img/content/media_02.jpg differ diff --git a/theme_aviato/static/src/img/content/media_03.jpg b/theme_aviato/static/src/img/content/media_03.jpg new file mode 100644 index 000000000..f12a8273d Binary files /dev/null and b/theme_aviato/static/src/img/content/media_03.jpg differ diff --git a/theme_aviato/static/src/img/content/reference_01.png b/theme_aviato/static/src/img/content/reference_01.png new file mode 100644 index 000000000..b44b89897 Binary files /dev/null and b/theme_aviato/static/src/img/content/reference_01.png differ diff --git a/theme_aviato/static/src/img/content/reference_02.png b/theme_aviato/static/src/img/content/reference_02.png new file mode 100644 index 000000000..986d809bc Binary files /dev/null and b/theme_aviato/static/src/img/content/reference_02.png differ diff --git a/theme_aviato/static/src/img/content/reference_03.png b/theme_aviato/static/src/img/content/reference_03.png new file mode 100644 index 000000000..a923eea5a Binary files /dev/null and b/theme_aviato/static/src/img/content/reference_03.png differ diff --git a/theme_aviato/static/src/img/content/reference_04.png b/theme_aviato/static/src/img/content/reference_04.png new file mode 100644 index 000000000..5bdb8a90d Binary files /dev/null and b/theme_aviato/static/src/img/content/reference_04.png differ diff --git a/theme_aviato/static/src/img/content/reference_05.png b/theme_aviato/static/src/img/content/reference_05.png new file mode 100644 index 000000000..12ec99731 Binary files /dev/null and b/theme_aviato/static/src/img/content/reference_05.png differ diff --git a/theme_aviato/static/src/img/content/reference_06.png b/theme_aviato/static/src/img/content/reference_06.png new file mode 100644 index 000000000..5b1fe3c70 Binary files /dev/null and b/theme_aviato/static/src/img/content/reference_06.png differ diff --git a/theme_aviato/static/src/img/content/s_banner.jpg b/theme_aviato/static/src/img/content/s_banner.jpg new file mode 100644 index 000000000..1887cbd3d Binary files /dev/null and b/theme_aviato/static/src/img/content/s_banner.jpg differ diff --git a/theme_aviato/static/src/img/content/s_carousel_1.jpg b/theme_aviato/static/src/img/content/s_carousel_1.jpg new file mode 100644 index 000000000..cbfb4337a Binary files /dev/null and b/theme_aviato/static/src/img/content/s_carousel_1.jpg differ diff --git a/theme_aviato/static/src/img/content/s_carousel_2.jpg b/theme_aviato/static/src/img/content/s_carousel_2.jpg new file mode 100644 index 000000000..01e6e61a6 Binary files /dev/null and b/theme_aviato/static/src/img/content/s_carousel_2.jpg differ diff --git a/theme_aviato/static/src/img/content/s_carousel_3.jpg b/theme_aviato/static/src/img/content/s_carousel_3.jpg new file mode 100644 index 000000000..3c57f2442 Binary files /dev/null and b/theme_aviato/static/src/img/content/s_carousel_3.jpg differ diff --git a/theme_aviato/static/src/img/content/s_cover.jpg b/theme_aviato/static/src/img/content/s_cover.jpg new file mode 100644 index 000000000..ad99e5df1 Binary files /dev/null and b/theme_aviato/static/src/img/content/s_cover.jpg differ diff --git a/theme_aviato/static/src/img/content/s_image_text.svg b/theme_aviato/static/src/img/content/s_image_text.svg new file mode 100644 index 000000000..2ec8378a9 --- /dev/null +++ b/theme_aviato/static/src/img/content/s_image_text.svg @@ -0,0 +1 @@ +travel_plans \ No newline at end of file diff --git a/theme_aviato/static/src/img/content/s_masonry_block.jpg b/theme_aviato/static/src/img/content/s_masonry_block.jpg new file mode 100644 index 000000000..613931732 Binary files /dev/null and b/theme_aviato/static/src/img/content/s_masonry_block.jpg differ diff --git a/theme_aviato/static/src/img/content/s_picture.jpg b/theme_aviato/static/src/img/content/s_picture.jpg new file mode 100644 index 000000000..93b25a2c2 Binary files /dev/null and b/theme_aviato/static/src/img/content/s_picture.jpg differ diff --git a/theme_aviato/static/src/img/content/s_popup.jpg b/theme_aviato/static/src/img/content/s_popup.jpg new file mode 100644 index 000000000..346a7acc8 Binary files /dev/null and b/theme_aviato/static/src/img/content/s_popup.jpg differ diff --git a/theme_aviato/static/src/img/content/s_quote_1.jpg b/theme_aviato/static/src/img/content/s_quote_1.jpg new file mode 100644 index 000000000..412103544 Binary files /dev/null and b/theme_aviato/static/src/img/content/s_quote_1.jpg differ diff --git a/theme_aviato/static/src/img/content/s_quote_2.jpg b/theme_aviato/static/src/img/content/s_quote_2.jpg new file mode 100644 index 000000000..3b7b21f7f Binary files /dev/null and b/theme_aviato/static/src/img/content/s_quote_2.jpg differ diff --git a/theme_aviato/static/src/img/content/s_quote_3.jpg b/theme_aviato/static/src/img/content/s_quote_3.jpg new file mode 100644 index 000000000..ff09d73c0 Binary files /dev/null and b/theme_aviato/static/src/img/content/s_quote_3.jpg differ diff --git a/theme_aviato/static/src/img/content/s_quote_bg_1.jpg b/theme_aviato/static/src/img/content/s_quote_bg_1.jpg new file mode 100644 index 000000000..21e2253bd Binary files /dev/null and b/theme_aviato/static/src/img/content/s_quote_bg_1.jpg differ diff --git a/theme_aviato/static/src/img/content/s_quote_bg_2.jpg b/theme_aviato/static/src/img/content/s_quote_bg_2.jpg new file mode 100644 index 000000000..841875864 Binary files /dev/null and b/theme_aviato/static/src/img/content/s_quote_bg_2.jpg differ diff --git a/theme_aviato/static/src/img/content/s_quote_bg_3.jpg b/theme_aviato/static/src/img/content/s_quote_bg_3.jpg new file mode 100644 index 000000000..30baff1f3 Binary files /dev/null and b/theme_aviato/static/src/img/content/s_quote_bg_3.jpg differ diff --git a/theme_aviato/static/src/img/content/s_quotes_carousel.jpg b/theme_aviato/static/src/img/content/s_quotes_carousel.jpg new file mode 100644 index 000000000..91b31c84b Binary files /dev/null and b/theme_aviato/static/src/img/content/s_quotes_carousel.jpg differ diff --git a/theme_aviato/static/src/img/content/s_team_1.jpg b/theme_aviato/static/src/img/content/s_team_1.jpg new file mode 100644 index 000000000..382c70cee Binary files /dev/null and b/theme_aviato/static/src/img/content/s_team_1.jpg differ diff --git a/theme_aviato/static/src/img/content/s_team_2.jpg b/theme_aviato/static/src/img/content/s_team_2.jpg new file mode 100644 index 000000000..b775f0c8e Binary files /dev/null and b/theme_aviato/static/src/img/content/s_team_2.jpg differ diff --git a/theme_aviato/static/src/img/content/s_team_3.jpg b/theme_aviato/static/src/img/content/s_team_3.jpg new file mode 100644 index 000000000..cbfafe558 Binary files /dev/null and b/theme_aviato/static/src/img/content/s_team_3.jpg differ diff --git a/theme_aviato/static/src/img/content/s_team_4.jpg b/theme_aviato/static/src/img/content/s_team_4.jpg new file mode 100644 index 000000000..b0aa6fe83 Binary files /dev/null and b/theme_aviato/static/src/img/content/s_team_4.jpg differ diff --git a/theme_aviato/static/src/img/content/s_text_image.svg b/theme_aviato/static/src/img/content/s_text_image.svg new file mode 100644 index 000000000..3c2aa5575 --- /dev/null +++ b/theme_aviato/static/src/img/content/s_text_image.svg @@ -0,0 +1 @@ +navigation \ No newline at end of file diff --git a/theme_aviato/static/src/img/content/s_text_image2.svg b/theme_aviato/static/src/img/content/s_text_image2.svg new file mode 100644 index 000000000..8b49f5b96 --- /dev/null +++ b/theme_aviato/static/src/img/content/s_text_image2.svg @@ -0,0 +1 @@ +navigation \ No newline at end of file diff --git a/theme_aviato/static/src/img/content/s_three_columns_1.jpg b/theme_aviato/static/src/img/content/s_three_columns_1.jpg new file mode 100644 index 000000000..298de9f55 Binary files /dev/null and b/theme_aviato/static/src/img/content/s_three_columns_1.jpg differ diff --git a/theme_aviato/static/src/img/content/s_three_columns_2.jpg b/theme_aviato/static/src/img/content/s_three_columns_2.jpg new file mode 100644 index 000000000..e8fbe8239 Binary files /dev/null and b/theme_aviato/static/src/img/content/s_three_columns_2.jpg differ diff --git a/theme_aviato/static/src/img/content/s_three_columns_3.jpg b/theme_aviato/static/src/img/content/s_three_columns_3.jpg new file mode 100644 index 000000000..8dfb3c742 Binary files /dev/null and b/theme_aviato/static/src/img/content/s_three_columns_3.jpg differ diff --git a/theme_aviato/static/src/img/content/s_wall_01.jpg b/theme_aviato/static/src/img/content/s_wall_01.jpg new file mode 100644 index 000000000..5b1fb2681 Binary files /dev/null and b/theme_aviato/static/src/img/content/s_wall_01.jpg differ diff --git a/theme_aviato/static/src/img/content/s_wall_02.jpg b/theme_aviato/static/src/img/content/s_wall_02.jpg new file mode 100644 index 000000000..b5f1ab7ae Binary files /dev/null and b/theme_aviato/static/src/img/content/s_wall_02.jpg differ diff --git a/theme_aviato/static/src/img/content/s_wall_03.jpg b/theme_aviato/static/src/img/content/s_wall_03.jpg new file mode 100644 index 000000000..667cb974b Binary files /dev/null and b/theme_aviato/static/src/img/content/s_wall_03.jpg differ diff --git a/theme_aviato/static/src/img/content/s_wall_04.jpg b/theme_aviato/static/src/img/content/s_wall_04.jpg new file mode 100644 index 000000000..498e28dc9 Binary files /dev/null and b/theme_aviato/static/src/img/content/s_wall_04.jpg differ diff --git a/theme_aviato/static/src/img/content/s_wall_05.jpg b/theme_aviato/static/src/img/content/s_wall_05.jpg new file mode 100644 index 000000000..f55615081 Binary files /dev/null and b/theme_aviato/static/src/img/content/s_wall_05.jpg differ diff --git a/theme_aviato/static/src/img/content/s_wall_06.jpg b/theme_aviato/static/src/img/content/s_wall_06.jpg new file mode 100644 index 000000000..56bb2c61e Binary files /dev/null and b/theme_aviato/static/src/img/content/s_wall_06.jpg differ diff --git a/theme_aviato/static/src/js/tour.js b/theme_aviato/static/src/js/tour.js new file mode 100644 index 000000000..03fb523be --- /dev/null +++ b/theme_aviato/static/src/js/tour.js @@ -0,0 +1,47 @@ +/** @odoo-module */ + +import wTourUtils from 'website.tour_utils'; + +const core = require("web.core"); +const _t = core._t; + +const snippets = [ + { + id: 's_cover', + name: 'Cover', + }, + { + id: 's_text_image', + name: 'Text - Image', + }, + { + id: 's_image_text', + name: 'Image - Text', + }, + { + id: 's_title', + name: 'Title', + }, + { + id: 's_three_columns', + name: 'Columns', + }, + { + id: 's_picture', + name: 'Picture', + }, +]; + +wTourUtils.registerThemeHomepageTour("aviato_tour", [ + wTourUtils.dragNDrop(snippets[0]), + wTourUtils.clickOnText(snippets[0], 'h1', 'top'), + wTourUtils.goBackToBlocks(), + wTourUtils.dragNDrop(snippets[1]), + wTourUtils.dragNDrop(snippets[2]), + wTourUtils.dragNDrop(snippets[3]), + wTourUtils.dragNDrop(snippets[4]), + wTourUtils.dragNDrop(snippets[5]), + wTourUtils.clickOnSnippet(snippets[5], 'top'), + wTourUtils.changeOption('BackgroundShape', 'we-toggler', _t('Background Shape')), + wTourUtils.selectNested('we-select-page', 'BackgroundShape', ':not(.o_we_pager_controls)', _t('Background Shape')), +]); diff --git a/theme_aviato/static/src/scss/bootstrap_overridden.scss b/theme_aviato/static/src/scss/bootstrap_overridden.scss new file mode 100644 index 000000000..a1eb0c50b --- /dev/null +++ b/theme_aviato/static/src/scss/bootstrap_overridden.scss @@ -0,0 +1,47 @@ +//------------------------------------------------------------------------------// +// Bootstrap +//------------------------------------------------------------------------------// + +// 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: 200 !default; + +// Options +// +// Quickly modify global styling by enabling or disabling optional features. + +$enable-shadows: true; + +// Spacing +// +// Control the default styling of most Bootstrap elements by modifying these +// variables. Mostly focused on spacing. +// You can add more entries to the $spacers map, should you need more variation. + +$spacer: 1.25rem !default; + +// Components +// +// Define common padding and border radius sizes and more. + +$border-radius: .375rem !default; +$border-radius-lg: .5rem !default; +$border-radius-sm: .25rem !default; + +// Buttons + Forms +// +// Shared variables that are reassigned to `$input-` and `$btn-` specific variables. + +$input-btn-focus-width: 0 !default; +$input-focus-border-color: o-color('primary') !default; + +$btn-box-shadow: none !default; + +$input-color: o-color('o-cc1-text') !default; +$input-placeholder-color: o-color('500') !default; + +// Cards + +$card-spacer-y: 1rem !default; +$card-spacer-x: 1.75rem !default; +$card-border-width: 0 !default; +$card-border-radius: $border-radius-lg !default; diff --git a/theme_aviato/static/src/scss/primary_variables.scss b/theme_aviato/static/src/scss/primary_variables.scss new file mode 100644 index 000000000..8675e1772 --- /dev/null +++ b/theme_aviato/static/src/scss/primary_variables.scss @@ -0,0 +1,98 @@ +//------------------------------------------------------------------------------ +// Fonts +//------------------------------------------------------------------------------ + +$o-theme-h1-font-size-multiplier: (62 / 16); +$o-theme-h2-font-size-multiplier: (48 / 16); +$o-theme-h3-font-size-multiplier: (36 / 16); +$o-theme-h4-font-size-multiplier: (28 / 16); +$o-theme-h5-font-size-multiplier: (24 / 16); +$o-theme-h6-font-size-multiplier: (20 / 16); + +//------------------------------------------------------------------------------ +// Presets +//------------------------------------------------------------------------------ + +$o-website-values-palettes: ( + ( + 'color-palettes-name': 'treehouse-5', + + // Header + 'logo-height': 3rem, + 'fixed-logo-height': 2rem, + + // Font + 'font': 'Open Sans', + 'headings-font': 'Libre Baskerville', + 'navbar-font': 'Open Sans', + 'buttons-font': 'Open Sans', + + // Buttons + 'btn-padding-y': .45rem, + 'btn-padding-x': 1.35rem, + 'btn-padding-y-sm': .3rem, + 'btn-padding-x-sm': .9rem, + 'btn-padding-y-lg': .6rem, + 'btn-padding-x-lg': 1.8rem, + 'btn-border-radius': 10rem, + 'btn-border-radius-sm': 10rem, + 'btn-border-radius-lg': 10rem, + 'btn-ripple': true, + + 'input-padding-y': .45rem, + 'input-padding-y-sm': .3rem, + 'input-padding-y-lg': .6rem, + + // Footer + 'footer-template': 'contact', + 'footer-effect': 'slideout_slide_hover', + ), +); + +//------------------------------------------------------------------------------ +// Fonts +//------------------------------------------------------------------------------ + +$o-theme-font-configs: ( + 'Roboto': ( + 'family': ('Roboto', sans-serif), + 'url': 'Roboto:300,300i,400,400i,500,500i', + ), + 'Libre Baskerville': ( + 'family': ('Libre Baskerville', cursive), + 'url': 'Libre+Baskerville:400,400i,700', + ), + 'Lato': ( + 'family': ('Lato', sans-serif), + 'url': 'Lato:300,300i,400,400i,700,700i', + ), + 'Advent Pro': ( + 'family': ('Advent Pro', sans-serif), + 'url': 'Advent+Pro:300,300i,400,400i,600,600i', + 'base': ( + 'font-size-base': 1.125rem, + ), + ), + 'Oswald': ( + 'family': ('Oswald', sans-serif), + 'url': 'Oswald:200,200i,400,400i,500,500i', + 'base': ( + 'font-size-base': 1.25rem, + ), + ), + 'Oxygen': ( + 'family': ('Oxygen', sans-serif), + 'url': 'Oxygen:300,300i,400,400i,700,700i', + ), + 'Open Sans': ( + 'family': ('Open Sans', sans-serif), + 'url': 'Open+Sans:300,300i,400,400i,600,600i', + ), +); + +//------------------------------------------------------------------------------ +// Fonts +//------------------------------------------------------------------------------ + +$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Wavy/21', (2: 1)); +$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Bold/07_001', (2: 3)); diff --git a/theme_aviato/views/images_library.xml b/theme_aviato/views/images_library.xml new file mode 100644 index 000000000..8726b4ce0 --- /dev/null +++ b/theme_aviato/views/images_library.xml @@ -0,0 +1,189 @@ + + + + + + website.s_cover_default_image + website.s_cover_default_image + /theme_aviato/static/src/img/content/s_cover.jpg + + + + + website.s_banner_default_image + website.s_banner_default_image + /theme_aviato/static/src/img/content/s_banner.jpg + + + + + website.s_three_columns_default_image_1 + website.s_three_columns_default_image_1 + /theme_aviato/static/src/img/content/s_three_columns_1.jpg + + + website.s_three_columns_default_image_2 + website.s_three_columns_default_image_2 + /theme_aviato/static/src/img/content/s_three_columns_2.jpg + + + website.s_three_columns_default_image_3 + website.s_three_columns_default_image_3 + /theme_aviato/static/src/img/content/s_three_columns_3.jpg + + + + + website.s_picture_default_image + website.s_picture_default_image + /theme_aviato/static/src/img/content/s_picture.jpg + + + + + website.s_popup_default_image + website.s_popup_default_image + /theme_aviato/static/src/img/content/s_popup.jpg + + + + + website.s_masonry_block_default_image_1 + website.s_masonry_block_default_image_1 + /theme_aviato/static/src/img/content/s_masonry_block.jpg + + + + + website.s_carousel_default_image_1 + website.s_carousel_default_image_1 + /theme_aviato/static/src/img/content/s_carousel_1.jpg + + + website.s_carousel_default_image_2 + website.s_carousel_default_image_2 + /theme_aviato/static/src/img/content/s_carousel_2.jpg + + + website.s_carousel_default_image_3 + website.s_carousel_default_image_3 + /theme_aviato/static/src/img/content/s_carousel_3.jpg + + + + + website.s_media_list_default_image_1 + website.s_media_list_default_image_1 + /theme_aviato/static/src/img/content/media_02.jpg + + + website.s_media_list_default_image_2 + website.s_media_list_default_image_2 + /theme_aviato/static/src/img/content/media_02.jpg + + + website.s_media_list_default_image_3 + website.s_media_list_default_image_3 + /theme_aviato/static/src/img/content/media_02.jpg + + + + + website.s_company_team_image_1 + website.s_company_team_image_1 + /theme_aviato/static/src/img/content/s_team_1.jpg + + + website.s_company_team_image_2 + website.s_company_team_image_2 + /theme_aviato/static/src/img/content/s_team_2.jpg + + + website.s_company_team_image_3 + website.s_company_team_image_3 + /theme_aviato/static/src/img/content/s_team_3.jpg + + + website.s_company_team_image_4 + website.s_company_team_default_image_4 + /theme_aviato/static/src/img/content/s_team_4.jpg + + + + + website.s_quotes_carousel_demo_image_0 + website.s_quotes_carousel_demo_image_0 + /theme_aviato/static/src/img/content/s_quote_bg_1.jpg + + + website.s_quotes_carousel_demo_image_1 + website.s_quotes_carousel_demo_image_1 + /theme_aviato/static/src/img/content/s_quote_bg_2.jpg + + + website.s_quotes_carousel_demo_image_2 + website.s_quotes_carousel_demo_image_2 + /theme_aviato/static/src/img/content/s_quote_bg_3.jpg + + + + website.s_quotes_carousel_demo_image_3 + website.s_quotes_carousel_demo_image_3 + /theme_aviato/static/src/img/content/s_quote_1.jpg + + + website.s_quotes_carousel_demo_image_4 + website.s_quotes_carousel_demo_image_4 + /theme_aviato/static/src/img/content/s_quote_2.jpg + + + + website.s_quotes_carousel_demo_image_5 + website.s_quotes_carousel_demo_image_5 + /theme_aviato/static/src/img/content/s_quote_3.jpg + + + + + website.library_image_03 + website.library_image_03 + /theme_aviato/static/src/img/content/s_wall_01.jpg + + + website.library_image_10 + website.library_image_10 + /theme_aviato/static/src/img/content/s_wall_02.jpg + + + website.library_image_13 + website.library_image_13 + /theme_aviato/static/src/img/content/s_wall_03.jpg + + + website.library_image_05 + website.library_image_05 + /theme_aviato/static/src/img/content/s_wall_04.jpg + + + website.library_image_14 + website.library_image_14 + /theme_aviato/static/src/img/content/s_wall_05.jpg + + + website.library_image_16 + website.library_image_16 + /theme_aviato/static/src/img/content/s_wall_06.jpg + + + + website.library_image_08 + website.library_image_08 + /theme_aviato/static/src/img/content/s_wall_05.jpg + + + website.library_image_02 + website.library_image_02 + /theme_aviato/static/src/img/content/s_wall_04.jpg + + + diff --git a/theme_aviato/views/snippets/s_cover.xml b/theme_aviato/views/snippets/s_cover.xml new file mode 100644 index 000000000..5d461e4c1 --- /dev/null +++ b/theme_aviato/views/snippets/s_cover.xml @@ -0,0 +1,32 @@ + + + + + + diff --git a/theme_aviato/views/snippets/s_features.xml b/theme_aviato/views/snippets/s_features.xml new file mode 100644 index 000000000..8fdd30056 --- /dev/null +++ b/theme_aviato/views/snippets/s_features.xml @@ -0,0 +1,31 @@ + + + + + + diff --git a/theme_aviato/views/snippets/s_image_text.xml b/theme_aviato/views/snippets/s_image_text.xml new file mode 100644 index 000000000..ec6d83a5b --- /dev/null +++ b/theme_aviato/views/snippets/s_image_text.xml @@ -0,0 +1,35 @@ + + + + + + diff --git a/theme_aviato/views/snippets/s_picture.xml b/theme_aviato/views/snippets/s_picture.xml new file mode 100644 index 000000000..bc90f388b --- /dev/null +++ b/theme_aviato/views/snippets/s_picture.xml @@ -0,0 +1,24 @@ + + + + + + diff --git a/theme_aviato/views/snippets/s_popup.xml b/theme_aviato/views/snippets/s_popup.xml new file mode 100644 index 000000000..7b7c550db --- /dev/null +++ b/theme_aviato/views/snippets/s_popup.xml @@ -0,0 +1,16 @@ + + + + + + diff --git a/theme_aviato/views/snippets/s_quotes_carousel.xml b/theme_aviato/views/snippets/s_quotes_carousel.xml new file mode 100644 index 000000000..3c0946866 --- /dev/null +++ b/theme_aviato/views/snippets/s_quotes_carousel.xml @@ -0,0 +1,28 @@ + + + + + + diff --git a/theme_aviato/views/snippets/s_text_image.xml b/theme_aviato/views/snippets/s_text_image.xml new file mode 100644 index 000000000..355626d2e --- /dev/null +++ b/theme_aviato/views/snippets/s_text_image.xml @@ -0,0 +1,32 @@ + + + + + + diff --git a/theme_aviato/views/snippets/s_three_columns.xml b/theme_aviato/views/snippets/s_three_columns.xml new file mode 100644 index 000000000..5c032f35a --- /dev/null +++ b/theme_aviato/views/snippets/s_three_columns.xml @@ -0,0 +1,38 @@ + + + + + + diff --git a/theme_aviato/views/snippets/s_title.xml b/theme_aviato/views/snippets/s_title.xml new file mode 100644 index 000000000..a14834d75 --- /dev/null +++ b/theme_aviato/views/snippets/s_title.xml @@ -0,0 +1,14 @@ + + + + + +