wickes-css2 2.96.0-develop.1 → 2.96.0-develop.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Readme.md +1 -2
- package/build/css/category-main.css +1 -1
- package/build/css/homepage-main.css +1 -1
- package/build/css/main.css +1 -1
- package/build/css/my-account-main-v2.css +1 -1
- package/build/css/my-account-main.css +1 -1
- package/build/css/pages/my-account-v2.css +1 -1
- package/build/css/pages/my-account.css +1 -1
- package/build/css/pages/page_default-store.css +1 -1
- package/build/css/pages/page_store-locator-details.css +1 -1
- package/build/css/pages/tradePro-rewards-old.css +1 -0
- package/build/css/pages/tradePro-rewards.css +1 -1
- package/build/css/pdp-main-before-combine.css +1 -1
- package/build/css/pdp-main-non-critical.css +1 -1
- package/build/css/pdp-main.css +1 -1
- package/build/css/plp-main.css +1 -1
- package/build/css/store-locator-main.css +1 -1
- package/build/js/basket.min.js +1 -1
- package/build/js/bundle.min.js +1 -1
- package/build/js/checkout.min.js +1 -1
- package/build/js/emulation.min.js +9 -4
- package/build/js/general.bundle.min.js +1 -1
- package/build/js/merged-checkout.min.js +1 -1
- package/build/js/page/tradePro-rewards.js +46 -0
- package/build/js/pdp.bundle.min.js +1 -1
- package/build/js/plp.bundle.min.js +1 -1
- package/build/js/project-list.min.js +1 -1
- package/build/js/tradePro-rewards.min.js +1 -0
- package/package.json +2 -10
- package/src/components/cards-slider.hbs +35 -0
- package/src/components/my-account/mobile-nav.hbs +7 -0
- package/src/components/navigation/menu-item-sub.hbs +33 -0
- package/src/components/navigation/menu-item-top.hbs +32 -0
- package/src/components/navigation/menu-item.hbs +32 -0
- package/src/components/navigation/nav-wrapper.hbs +12 -0
- package/src/components/reward_card.hbs +10 -0
- package/src/components/voucher.hbs +60 -158
- package/src/data/data_tradePro_cards.json +60 -0
- package/src/data/data_voucher_tradePro.json +123 -286
- package/src/data/my-account/data_my-account.json +34 -0
- package/src/data/navigation.json +854 -0
- package/src/js/components/cards-slider.js +62 -0
- package/src/js/components/general/main-nav.js +23 -14
- package/src/js/emulation/main-nav-local.js +6 -4
- package/src/js/emulation/vat-toggle.js +3 -0
- package/src/js/page/tradePro-rewards.js +46 -0
- package/src/page_old-navigation.html +10 -0
- package/src/page_tradePro_rewards_home.html +46 -0
- package/src/page_tradePro_rewards_home_single.html +44 -0
- package/src/page_tradePro_rewards_instore.html +67 -0
- package/src/page_tradePro_rewards_instoreAndOnline.html +65 -0
- package/src/page_tradePro_rewards_noInstoreAndOnline.html +65 -0
- package/src/page_tradePro_rewards_noOptional.html +65 -0
- package/src/page_tradePro_rewards_online.html +65 -0
- package/src/partials/main-nav.hbs +6 -2
- package/src/scss/components/_accordion.scss +4 -0
- package/src/scss/components/_cards-slider.scss +88 -0
- package/src/scss/components/_rewards.scss +74 -0
- package/src/scss/components/my-account/_mobile-nav.scss +15 -15
- package/src/scss/main.scss +1 -0
- package/src/scss/my-account-main-v2.scss +2 -0
- package/src/scss/pages/tradePro-rewards-old.scss +776 -0
- package/src/scss/pages/tradePro-rewards.scss +110 -715
- package/src/scss/partials/_main-nav.scss +9 -0
- package/src/sitemap.html +42 -7
- package/src/page_tradePro_rewards.html +0 -34
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
.cards-slider-boundary {
|
|
2
|
+
overflow: hidden;
|
|
3
|
+
background-color: $ma-white;
|
|
4
|
+
padding: 24px 0 32px;
|
|
5
|
+
|
|
6
|
+
&--secondary {
|
|
7
|
+
background-color: transparent;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
@include media-breakpoint-up(md) {
|
|
11
|
+
padding: 40px 0;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.cards-slider {
|
|
16
|
+
width: 100%;
|
|
17
|
+
|
|
18
|
+
&__header {
|
|
19
|
+
display: flex;
|
|
20
|
+
justify-content: space-between;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&__controls {
|
|
24
|
+
display: none;
|
|
25
|
+
justify-content: space-between;
|
|
26
|
+
align-items: flex-start;
|
|
27
|
+
user-select: none;
|
|
28
|
+
|
|
29
|
+
@include media-breakpoint-up(lg) {
|
|
30
|
+
display: flex;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&__btn {
|
|
35
|
+
font-size: 1.625rem;
|
|
36
|
+
margin-top: 2px;
|
|
37
|
+
color: $blue;
|
|
38
|
+
cursor: pointer;
|
|
39
|
+
|
|
40
|
+
&.swiper-button-disabled {
|
|
41
|
+
cursor: auto;
|
|
42
|
+
display: block !important;
|
|
43
|
+
color: $gray;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&__prev-btn {
|
|
48
|
+
margin-right: 20px;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&__title {
|
|
52
|
+
text-align: left;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.swiper-container {
|
|
56
|
+
user-select: none;
|
|
57
|
+
overflow: visible;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.swiper-wrapper {
|
|
61
|
+
align-items: stretch;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.swiper-pagination-bullet {
|
|
65
|
+
border-radius: 5px;
|
|
66
|
+
background-color: $gray;
|
|
67
|
+
height: 6px;
|
|
68
|
+
width: 6px;
|
|
69
|
+
transition: width .3s ease-in, background-color .3s ease-in;
|
|
70
|
+
|
|
71
|
+
&-active {
|
|
72
|
+
background-color: $blue;
|
|
73
|
+
width: 24px;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.swiper-pagination {
|
|
78
|
+
position: static;
|
|
79
|
+
margin-top: 24px;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
&--fits {
|
|
83
|
+
.swiper-pagination,
|
|
84
|
+
.cards-slider__controls {
|
|
85
|
+
display: none;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
.top-indent {
|
|
2
|
+
margin-top: 16px;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.reward-card {
|
|
6
|
+
border-radius: 4px;
|
|
7
|
+
height: auto;
|
|
8
|
+
width: 248px;
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
background-color: $white;
|
|
12
|
+
overflow: hidden;
|
|
13
|
+
|
|
14
|
+
&__content {
|
|
15
|
+
padding: 16px;
|
|
16
|
+
flex: 1;
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-direction: column;
|
|
19
|
+
align-items: flex-start;
|
|
20
|
+
|
|
21
|
+
.btn {
|
|
22
|
+
margin-top: auto;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&__img {
|
|
27
|
+
width: 100%;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&__description {
|
|
31
|
+
font-size: .875rem;
|
|
32
|
+
margin-bottom: 12px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&__title {
|
|
36
|
+
font-size: 1.125rem;
|
|
37
|
+
font-weight: 500;
|
|
38
|
+
margin-bottom: 8px;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@include media-breakpoint-up(sm) {
|
|
43
|
+
.top-indent {
|
|
44
|
+
margin-top: 24px;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
@include media-breakpoint-up(md) {
|
|
49
|
+
.top-indent {
|
|
50
|
+
margin-top: 40px;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.reward-card {
|
|
54
|
+
width: 260px;
|
|
55
|
+
|
|
56
|
+
&__content {
|
|
57
|
+
padding: 24px;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&__title {
|
|
61
|
+
font-weight: 700;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&__description {
|
|
65
|
+
margin-bottom: 16px;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
@include media-breakpoint-up(lg) {
|
|
71
|
+
.reward-card {
|
|
72
|
+
width: 333px;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
@@ -61,21 +61,6 @@
|
|
|
61
61
|
text-decoration: none;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
.rewards {
|
|
65
|
-
width: 20px;
|
|
66
|
-
height: 20px;
|
|
67
|
-
border-radius: 50px;
|
|
68
|
-
background: $blue-dark;
|
|
69
|
-
color: $white;
|
|
70
|
-
margin-left: 8px;
|
|
71
|
-
display: flex;
|
|
72
|
-
align-items: center;
|
|
73
|
-
justify-content: center;
|
|
74
|
-
font-size: .75rem;
|
|
75
|
-
font-weight: 500;
|
|
76
|
-
line-height: 1rem;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
64
|
&.active {
|
|
80
65
|
background: $ma-white;
|
|
81
66
|
|
|
@@ -86,6 +71,21 @@
|
|
|
86
71
|
}
|
|
87
72
|
}
|
|
88
73
|
|
|
74
|
+
.rewards {
|
|
75
|
+
width: 20px;
|
|
76
|
+
height: 20px;
|
|
77
|
+
border-radius: 50px;
|
|
78
|
+
background: $blue-dark;
|
|
79
|
+
color: $white;
|
|
80
|
+
margin-left: 8px;
|
|
81
|
+
display: flex;
|
|
82
|
+
align-items: center;
|
|
83
|
+
justify-content: center;
|
|
84
|
+
font-size: .75rem;
|
|
85
|
+
font-weight: 500;
|
|
86
|
+
line-height: 1rem;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
89
|
.accordion {
|
|
90
90
|
&__header {
|
|
91
91
|
padding: 8px 8px 8px 16px;
|
package/src/scss/main.scss
CHANGED