[IMP] theme_bistro: revamp the theme

task-4178021
Part of task-4177975

closes odoo/design-themes#919

Related: odoo/odoo#180736
Signed-off-by: Outagant Mehdi (mou) <mou@odoo.com>
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
Brieuc-brd
2024-09-19 10:58:09 +02:00
committed by qsm-odoo
parent f0e216f031
commit 97683ee283
21 changed files with 266 additions and 201 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 152 KiB

After

Width:  |  Height:  |  Size: 96 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 253 KiB

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 115 KiB

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

+14 -20
View File
@@ -4,39 +4,34 @@ import * as wTourUtils from '@website/js/tours/tour_utils';
const snippets = [
{
id: 's_cover',
name: 'Cover',
groupName: "Intro",
},
{
id: 's_features',
name: 'Features',
groupName: "Content",
},
{
id: 's_picture',
name: 'Title - Image',
id: 's_image_title',
name: 'Image Title',
groupName: "Images",
},
{
id: 's_product_catalog',
name: 'Pricelist',
groupName: "Content",
id: 's_key_images',
name: 'Key Images',
groupName: "Columns",
},
{
id: 's_text_block',
name: 'Text',
groupName: "Text",
id: 's_pricelist_cafe',
name: 'Pricelist cafe',
groupName: "Content",
},
{
id: 's_quotes_carousel',
name: 'Quotes',
groupName: "People",
},
{
id: 's_quadrant',
name: 'Quadrant',
groupName: "Images",
},
];
wTourUtils.registerThemeHomepageTour("bistro_tour", () => [
wTourUtils.assertCssVariable('--color-palettes-name', '"bistro-5"'),
wTourUtils.assertCssVariable('--color-palettes-name', '"default-22"'),
...wTourUtils.dragNDrop(snippets[0]),
...wTourUtils.clickOnText(snippets[0], 'h1', 'top'),
wTourUtils.goBackToBlocks(),
@@ -48,5 +43,4 @@ wTourUtils.registerThemeHomepageTour("bistro_tour", () => [
wTourUtils.goBackToBlocks(),
...wTourUtils.dragNDrop(snippets[3]),
...wTourUtils.dragNDrop(snippets[4]),
...wTourUtils.dragNDrop(snippets[5]),
]);
@@ -4,7 +4,7 @@
$o-website-values-palettes: (
(
'color-palettes-name': 'bistro-5',
'color-palettes-name': 'default-22',
// Header
'header-template': 'vertical',
@@ -33,7 +33,7 @@ $o-website-values-palettes: (
'input-padding-y-lg': .6rem,
// Footer
'footer-template': 'centered',
'footer-template': 'default',
'footer-effect': 'slideout_slide_hover',
'footer-scrolltop': true,
),
@@ -164,8 +164,6 @@ $o-theme-color-palettes: map-merge($o-theme-color-palettes,
)
);
$o-selected-color-palettes-names: append($o-selected-color-palettes-names, 'bistro-5');
$o-color-palettes-compatibility-indexes: (
1: 'bistro-1',
2: 'bistro-2',