diff --git a/theme_paptic/__manifest__.py b/theme_paptic/__manifest__.py index 3ec69350d..d951f8211 100644 --- a/theme_paptic/__manifest__.py +++ b/theme_paptic/__manifest__.py @@ -4,7 +4,7 @@ 'category': 'Theme/Corporate', 'summary': 'Consultancy, Design, Tech, Computers, IT, Blogs', 'sequence': 110, - 'version': '2.0.0', + 'version': '2.1.0', 'author': 'Odoo S.A.', 'depends': ['website'], 'data': [ @@ -16,6 +16,11 @@ 'static/description/paptic_poster.jpg', 'static/description/paptic_screenshot.jpg', ], + 'images_preview_theme': { + 'website.s_three_columns_default_image_1': '/theme_paptic/static/src/img/pictures/s_three_columns_1.jpg', + 'website.s_three_columns_default_image_2': '/theme_paptic/static/src/img/pictures/s_three_columns_2.jpg', + 'website.s_three_columns_default_image_3': '/theme_paptic/static/src/img/pictures/s_three_columns_3.jpg', + }, 'license': 'LGPL-3', 'live_test_url': 'https://theme-paptic.odoo.com', 'assets': { diff --git a/theme_paptic/data/ir_asset.xml b/theme_paptic/data/ir_asset.xml index 5d957208c..ca39f4708 100644 --- a/theme_paptic/data/ir_asset.xml +++ b/theme_paptic/data/ir_asset.xml @@ -1,21 +1,19 @@ - - - theme_paptic.primary_variables_scss - Primary variables SCSS - web._assets_primary_variables - theme_paptic/static/src/scss/primary_variables.scss - + + theme_paptic.primary_variables_scss + Primary variables SCSS + web._assets_primary_variables + theme_paptic/static/src/scss/primary_variables.scss + - - theme_paptic.bootstrap_overridden_scss - Bootstrap overridden SCSS - web._assets_frontend_helpers - prepend - theme_paptic/static/src/scss/bootstrap_overridden.scss - + + theme_paptic.bootstrap_overridden_scss + Bootstrap overridden SCSS + web._assets_frontend_helpers + prepend + theme_paptic/static/src/scss/bootstrap_overridden.scss + - diff --git a/theme_paptic/static/description/paptic_poster.jpg b/theme_paptic/static/description/paptic_poster.jpg index 0e407f4fe..8d9164d3a 100644 Binary files a/theme_paptic/static/description/paptic_poster.jpg and b/theme_paptic/static/description/paptic_poster.jpg differ diff --git a/theme_paptic/static/description/paptic_screenshot.jpg b/theme_paptic/static/description/paptic_screenshot.jpg index 27c01f244..795ba9bfd 100644 Binary files a/theme_paptic/static/description/paptic_screenshot.jpg and b/theme_paptic/static/description/paptic_screenshot.jpg differ diff --git a/theme_paptic/static/src/img/pictures/s_banner.jpg b/theme_paptic/static/src/img/pictures/s_banner.jpg index 1f33e0b10..fb2b0e319 100644 Binary files a/theme_paptic/static/src/img/pictures/s_banner.jpg and b/theme_paptic/static/src/img/pictures/s_banner.jpg differ diff --git a/theme_paptic/static/src/img/pictures/s_carousel_1.jpg b/theme_paptic/static/src/img/pictures/s_carousel_1.jpg index 8ac463717..d501097c7 100644 Binary files a/theme_paptic/static/src/img/pictures/s_carousel_1.jpg and b/theme_paptic/static/src/img/pictures/s_carousel_1.jpg differ diff --git a/theme_paptic/static/src/img/pictures/s_carousel_2.jpg b/theme_paptic/static/src/img/pictures/s_carousel_2.jpg index c2edba5cf..dbbf4311b 100644 Binary files a/theme_paptic/static/src/img/pictures/s_carousel_2.jpg and b/theme_paptic/static/src/img/pictures/s_carousel_2.jpg differ diff --git a/theme_paptic/static/src/img/pictures/s_carousel_3.jpg b/theme_paptic/static/src/img/pictures/s_carousel_3.jpg index f72d5f3f8..3c06eddfa 100644 Binary files a/theme_paptic/static/src/img/pictures/s_carousel_3.jpg and b/theme_paptic/static/src/img/pictures/s_carousel_3.jpg differ diff --git a/theme_paptic/static/src/img/pictures/s_company_team_image_1.jpg b/theme_paptic/static/src/img/pictures/s_company_team_image_1.jpg index aeca08853..605e6c107 100644 Binary files a/theme_paptic/static/src/img/pictures/s_company_team_image_1.jpg and b/theme_paptic/static/src/img/pictures/s_company_team_image_1.jpg differ diff --git a/theme_paptic/static/src/img/pictures/s_company_team_image_2.jpg b/theme_paptic/static/src/img/pictures/s_company_team_image_2.jpg index 1e8b3daa6..58c48fa91 100644 Binary files a/theme_paptic/static/src/img/pictures/s_company_team_image_2.jpg and b/theme_paptic/static/src/img/pictures/s_company_team_image_2.jpg differ diff --git a/theme_paptic/static/src/img/pictures/s_company_team_image_3.jpg b/theme_paptic/static/src/img/pictures/s_company_team_image_3.jpg index c34d5d99a..e743cad20 100644 Binary files a/theme_paptic/static/src/img/pictures/s_company_team_image_3.jpg and b/theme_paptic/static/src/img/pictures/s_company_team_image_3.jpg differ diff --git a/theme_paptic/static/src/img/pictures/s_company_team_image_4.jpg b/theme_paptic/static/src/img/pictures/s_company_team_image_4.jpg index 7f38a283e..18b14146f 100644 Binary files a/theme_paptic/static/src/img/pictures/s_company_team_image_4.jpg and b/theme_paptic/static/src/img/pictures/s_company_team_image_4.jpg differ diff --git a/theme_paptic/static/src/img/pictures/s_masonry_block_1.jpg b/theme_paptic/static/src/img/pictures/s_masonry_block_1.jpg index c9562e573..21b052a41 100644 Binary files a/theme_paptic/static/src/img/pictures/s_masonry_block_1.jpg and b/theme_paptic/static/src/img/pictures/s_masonry_block_1.jpg differ diff --git a/theme_paptic/static/src/img/pictures/s_media_list_1.jpg b/theme_paptic/static/src/img/pictures/s_media_list_1.jpg index 27622bb0b..4eea819dd 100644 Binary files a/theme_paptic/static/src/img/pictures/s_media_list_1.jpg and b/theme_paptic/static/src/img/pictures/s_media_list_1.jpg differ diff --git a/theme_paptic/static/src/img/pictures/s_media_list_2.jpg b/theme_paptic/static/src/img/pictures/s_media_list_2.jpg index ed2c95840..109cc2103 100644 Binary files a/theme_paptic/static/src/img/pictures/s_media_list_2.jpg and b/theme_paptic/static/src/img/pictures/s_media_list_2.jpg differ diff --git a/theme_paptic/static/src/img/pictures/s_media_list_3.jpg b/theme_paptic/static/src/img/pictures/s_media_list_3.jpg index 3d3d4242b..bc0fb7e29 100644 Binary files a/theme_paptic/static/src/img/pictures/s_media_list_3.jpg and b/theme_paptic/static/src/img/pictures/s_media_list_3.jpg differ diff --git a/theme_paptic/static/src/img/pictures/s_parallax.jpg b/theme_paptic/static/src/img/pictures/s_parallax.jpg index cf31254c7..ebe243334 100644 Binary files a/theme_paptic/static/src/img/pictures/s_parallax.jpg and b/theme_paptic/static/src/img/pictures/s_parallax.jpg differ diff --git a/theme_paptic/static/src/img/pictures/s_picture.jpg b/theme_paptic/static/src/img/pictures/s_picture.jpg index 17238fd4d..57502e519 100644 Binary files a/theme_paptic/static/src/img/pictures/s_picture.jpg and b/theme_paptic/static/src/img/pictures/s_picture.jpg differ diff --git a/theme_paptic/static/src/img/pictures/s_popup.jpg b/theme_paptic/static/src/img/pictures/s_popup.jpg index 01c114a77..3aed254de 100644 Binary files a/theme_paptic/static/src/img/pictures/s_popup.jpg and b/theme_paptic/static/src/img/pictures/s_popup.jpg differ diff --git a/theme_paptic/static/src/img/pictures/s_product_catalog.jpg b/theme_paptic/static/src/img/pictures/s_product_catalog.jpg index 375e2d959..7dd344c25 100644 Binary files a/theme_paptic/static/src/img/pictures/s_product_catalog.jpg and b/theme_paptic/static/src/img/pictures/s_product_catalog.jpg differ diff --git a/theme_paptic/static/src/img/pictures/s_product_list_1.jpg b/theme_paptic/static/src/img/pictures/s_product_list_1.jpg index e400c526a..7ae36f207 100644 Binary files a/theme_paptic/static/src/img/pictures/s_product_list_1.jpg and b/theme_paptic/static/src/img/pictures/s_product_list_1.jpg differ diff --git a/theme_paptic/static/src/img/pictures/s_product_list_2.jpg b/theme_paptic/static/src/img/pictures/s_product_list_2.jpg index f0fd46a3a..91160c77c 100644 Binary files a/theme_paptic/static/src/img/pictures/s_product_list_2.jpg and b/theme_paptic/static/src/img/pictures/s_product_list_2.jpg differ diff --git a/theme_paptic/static/src/img/pictures/s_product_list_3.jpg b/theme_paptic/static/src/img/pictures/s_product_list_3.jpg index 60d3594e2..7c0b0aed2 100644 Binary files a/theme_paptic/static/src/img/pictures/s_product_list_3.jpg and b/theme_paptic/static/src/img/pictures/s_product_list_3.jpg differ diff --git a/theme_paptic/static/src/img/pictures/s_product_list_4.jpg b/theme_paptic/static/src/img/pictures/s_product_list_4.jpg index 1463ad62b..866aae529 100644 Binary files a/theme_paptic/static/src/img/pictures/s_product_list_4.jpg and b/theme_paptic/static/src/img/pictures/s_product_list_4.jpg differ diff --git a/theme_paptic/static/src/img/pictures/s_product_list_5.jpg b/theme_paptic/static/src/img/pictures/s_product_list_5.jpg index e8e6956bb..6b7135b46 100644 Binary files a/theme_paptic/static/src/img/pictures/s_product_list_5.jpg and b/theme_paptic/static/src/img/pictures/s_product_list_5.jpg differ diff --git a/theme_paptic/static/src/img/pictures/s_product_list_6.jpg b/theme_paptic/static/src/img/pictures/s_product_list_6.jpg index 64e777c30..a68a96c39 100644 Binary files a/theme_paptic/static/src/img/pictures/s_product_list_6.jpg and b/theme_paptic/static/src/img/pictures/s_product_list_6.jpg differ diff --git a/theme_paptic/static/src/img/pictures/s_quotes_carousel_bg_slide2.jpg b/theme_paptic/static/src/img/pictures/s_quotes_carousel_bg_slide2.jpg index 65ef19dd1..5ce65cfcc 100644 Binary files a/theme_paptic/static/src/img/pictures/s_quotes_carousel_bg_slide2.jpg and b/theme_paptic/static/src/img/pictures/s_quotes_carousel_bg_slide2.jpg differ diff --git a/theme_paptic/static/src/img/pictures/s_quotes_carousel_bg_slide3.jpg b/theme_paptic/static/src/img/pictures/s_quotes_carousel_bg_slide3.jpg index fe126d572..cacdabe3c 100644 Binary files a/theme_paptic/static/src/img/pictures/s_quotes_carousel_bg_slide3.jpg and b/theme_paptic/static/src/img/pictures/s_quotes_carousel_bg_slide3.jpg differ diff --git a/theme_paptic/static/src/img/pictures/s_three_columns_1.jpg b/theme_paptic/static/src/img/pictures/s_three_columns_1.jpg index 47644366d..7ef0053a2 100644 Binary files a/theme_paptic/static/src/img/pictures/s_three_columns_1.jpg and b/theme_paptic/static/src/img/pictures/s_three_columns_1.jpg differ diff --git a/theme_paptic/static/src/img/pictures/s_three_columns_2.jpg b/theme_paptic/static/src/img/pictures/s_three_columns_2.jpg index cfb9b2403..d931dd897 100644 Binary files a/theme_paptic/static/src/img/pictures/s_three_columns_2.jpg and b/theme_paptic/static/src/img/pictures/s_three_columns_2.jpg differ diff --git a/theme_paptic/static/src/img/pictures/s_three_columns_3.jpg b/theme_paptic/static/src/img/pictures/s_three_columns_3.jpg index 27b92dcc9..011c7170c 100644 Binary files a/theme_paptic/static/src/img/pictures/s_three_columns_3.jpg and b/theme_paptic/static/src/img/pictures/s_three_columns_3.jpg differ diff --git a/theme_paptic/static/src/js/tour.js b/theme_paptic/static/src/js/tour.js index e64120d90..117f3b123 100644 --- a/theme_paptic/static/src/js/tour.js +++ b/theme_paptic/static/src/js/tour.js @@ -1,11 +1,6 @@ -odoo.define("theme_paptic.tour.paptic", function (require) { -"use strict"; +/** @odoo-module */ -const core = require("web.core"); -const _t = core._t; - -const wTourUtils = require("website.tour_utils"); -var tour = require("web_tour.tour"); +import wTourUtils from 'website.tour_utils'; const snippets = [ { @@ -24,6 +19,14 @@ const snippets = [ id: 's_three_columns', name: 'Columns', }, + { + id: 's_comparisons', + name: 'Comparisons', + }, + { + id: 's_call_to_action', + name: 'Call to Action', + }, ]; @@ -31,9 +34,9 @@ wTourUtils.registerThemeHomepageTour("paptic_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'), ]); -}); diff --git a/theme_paptic/static/src/scss/primary_variables.scss b/theme_paptic/static/src/scss/primary_variables.scss index a65ad09d0..493420a06 100644 --- a/theme_paptic/static/src/scss/primary_variables.scss +++ b/theme_paptic/static/src/scss/primary_variables.scss @@ -2,12 +2,12 @@ // 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-h1-font-size-multiplier: (48 / 14); +$o-theme-h2-font-size-multiplier: (38 / 14); +$o-theme-h3-font-size-multiplier: (28 / 14); +$o-theme-h4-font-size-multiplier: (24 / 14); +$o-theme-h5-font-size-multiplier: (21 / 14); +$o-theme-h6-font-size-multiplier: (18 / 14); $o-theme-font-configs: ( 'Inter': ( @@ -87,4 +87,9 @@ $o-color-palettes-compatibility-indexes: ( $o-bg-shapes: change-shape-colors-mapping('web_editor', 'Blocks/04', (3: 1)); $o-bg-shapes: change-shape-colors-mapping('web_editor', 'Origins/03', (3: 1)); $o-bg-shapes: change-shape-colors-mapping('web_editor', 'Origins/01', (2: 3, 5: 3)); -$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Origins/02_001', (4: 1, 5: rgba(0, 0, 0, 0))); +$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Origins/02_001', (4: 1, 5: 3)); +$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Origins/07_002', (3: 1, 4: 3, 5: 1)); +$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Floats/03', (1: 4, 2: 2, 3: 3, 5: 2)); +$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Airy/12_001', (1: 5, 3: 1)); +$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Bold/08', (1: 3)); +$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Blocks/01_001', (1: 4, 3: 2, 5: 4)); diff --git a/theme_paptic/views/customizations.xml b/theme_paptic/views/customizations.xml index fd2ec323b..7fe2a51ce 100644 --- a/theme_paptic/views/customizations.xml +++ b/theme_paptic/views/customizations.xml @@ -10,13 +10,13 @@ -