wickes-css2 2.103.0-IC-977-colors-semantic.1 → 2.103.0-IC-976-pre-commit-lint.1
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/build/css/category-main.css +1 -1
- package/build/css/components/card-product-banner.css +1 -1
- package/build/css/homepage-main.css +1 -1
- package/build/css/kitchen-plp-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/page_my-orders.css +1 -1
- package/build/css/pages/page_products-list-combined.css +1 -1
- package/build/css/pages/page_products-list.css +1 -1
- package/build/css/pages/page_wismo-orders.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/account-members.min.js +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 +54 -0
- package/build/js/kitchen/kitchen-plp.min.js +1 -1
- package/build/js/merged-checkout.min.js +1 -1
- package/build/js/page/plp-cards-v2.js +15 -6
- package/build/js/page/plp-load-more.js +1 -1
- package/build/js/plp.bundle.min.js +1 -1
- package/build/js/project-list.min.js +1 -1
- package/package.json +7 -3
- package/src/components/card_product_v2.hbs +10 -5
- package/src/components/card_sponsor_banner.hbs +8 -0
- package/src/components/card_sponsor_product.hbs +6 -0
- package/src/components/injected-content.hbs +1 -1
- package/src/data/data_search-results_v2.json +56 -141
- package/src/js/components/banner-placement-manager.js +258 -0
- package/src/js/emulation/banner-placement-manager.js +53 -0
- package/src/js/page/plp-cards-v2.js +15 -6
- package/src/js/page/plp-load-more.js +1 -1
- package/src/page_plp_v2.html +16 -6
- package/src/page_search-results.html +12 -2
- package/src/scss/components/_custom-slider.scss +6 -6
- package/src/scss/components/card-product-banner.scss +91 -3
- package/src/scss/helpers/_variables.scss +1 -3
- package/src/scss/libs/_bootstrap-extracted.scss +2 -2
- package/src/scss/libs/_cat-libs.scss +10 -10
- package/src/scss/libs/_font-awesome-icons.scss +2 -0
- package/src/scss/libs/_homepage-libs.scss +12 -12
- package/src/scss/libs/_plp-libs.scss +11 -11
- package/src/scss/libs/_skeleton.scss +2 -2
- package/src/scss/libs/_store-locator-libs.scss +1 -1
- package/src/scss/libs/flatpickr.scss +4 -4
- package/src/scss/pages/_checkout-confirmation-new.scss +2 -2
- package/src/scss/pages/page_products-list-combined.scss +11 -0
- package/src/scss/pages/page_products-list.scss +8 -0
- package/src/scss/partials/_main-nav.scss +2 -2
- package/src/js/components/product-banner.js +0 -148
- package/src/scss/helpers/_colors-semantic.scss +0 -224
|
@@ -1,224 +0,0 @@
|
|
|
1
|
-
// ============================================================================
|
|
2
|
-
// Colors Semantic Improvements - New variables that weren't in _variables.scss
|
|
3
|
-
// ============================================================================
|
|
4
|
-
$blue-hover: #025f97; // Hover for links/checkboxes/icons
|
|
5
|
-
$blue-disabled: #9ac9e5; // Disabled-state for blue CTAs
|
|
6
|
-
$green-pressed: #3e6305; // Pressed for checkout-button
|
|
7
|
-
$green-disabled: #c2db9d; // Disabled for checkout-button
|
|
8
|
-
$notification-success-bg-alt: #f7faf3;
|
|
9
|
-
$notification-warning-bg-alt: #fffcf5;
|
|
10
|
-
|
|
11
|
-
// ============================================================================
|
|
12
|
-
// Colors Semantic Improvements -> existing variables in _variables.scss
|
|
13
|
-
// ============================================================================
|
|
14
|
-
|
|
15
|
-
// Backgrounds
|
|
16
|
-
$bg-primary: $white; // #ffffff
|
|
17
|
-
$bg-lightest-grey: $gray-bg; // #f8f8f8
|
|
18
|
-
$bg-light-grey: $gray-light; // #eeeeee
|
|
19
|
-
$bg-medium-grey: $gray; // #cccccc
|
|
20
|
-
$bg-brand: $blue-dark; // #0a3055
|
|
21
|
-
$bg-brand-light: $ma-white; // #f4f9fe
|
|
22
|
-
$bg-brand-bright: $pacific-depths; // #004587
|
|
23
|
-
|
|
24
|
-
// Cards
|
|
25
|
-
$card-bg-primary: $white; // #ffffff
|
|
26
|
-
$card-bg-secondary: $gray-bg; // #f8f8f8
|
|
27
|
-
|
|
28
|
-
$card-border-default: $gray; // #cccccc
|
|
29
|
-
$card-border-hover: $blue; // #0277bd
|
|
30
|
-
$card-border-pressed: $blue-darker; // #014771
|
|
31
|
-
|
|
32
|
-
// Text
|
|
33
|
-
$text-body: $gray-dark; // #3e3e3e
|
|
34
|
-
$text-secondary: $squant; // #666666
|
|
35
|
-
$text-tertiary: $warm-grey; // #8b8b8b
|
|
36
|
-
$text-inverted: $white; // #ffffff
|
|
37
|
-
$text-brand: $blue-dark; // #0a3055
|
|
38
|
-
$text-success: $green; // #67a509
|
|
39
|
-
$text-error: $red; // #cf000f
|
|
40
|
-
|
|
41
|
-
// Links
|
|
42
|
-
$link-default: $blue; // #0277bd
|
|
43
|
-
$link-hover: $blue-hover; // #025f97 (new)
|
|
44
|
-
$link-pressed: $blue-darker; // #014771
|
|
45
|
-
$link-disabled: $blue-disabled; // #9ac9e5 (new)
|
|
46
|
-
|
|
47
|
-
// Primary button
|
|
48
|
-
$button-primary-bg-default: $blue; // #0277bd
|
|
49
|
-
$button-primary-text: $white; // #ffffff
|
|
50
|
-
$button-primary-icon: $white; // #ffffff
|
|
51
|
-
$button-primary-border-default: $blue; // #0277bd
|
|
52
|
-
|
|
53
|
-
$button-primary-bg-hover: $white; // #ffffff
|
|
54
|
-
$button-primary-text-hover: $blue; // #0277bd
|
|
55
|
-
$button-primary-icon-hover: $blue; // #0277bd
|
|
56
|
-
$button-primary-border-hover: $blue; // #0277bd
|
|
57
|
-
|
|
58
|
-
$button-primary-bg-pressed: $blue-darker; // #014771
|
|
59
|
-
$button-primary-text-pressed: $white; // #ffffff
|
|
60
|
-
$button-primary-icon-pressed: $white; // #ffffff
|
|
61
|
-
$button-primary-border-pressed: $blue-darker; // #014771
|
|
62
|
-
|
|
63
|
-
$button-primary-bg-disabled: $blue-disabled; // #9ac9e5 (new)
|
|
64
|
-
$button-primary-text-disabled: $white; // #ffffff
|
|
65
|
-
$button-primary-icon-disabled: $white; // #ffffff
|
|
66
|
-
$button-primary-border-disabled: $blue-disabled; // #9ac9e5 (new)
|
|
67
|
-
|
|
68
|
-
// Secondary button
|
|
69
|
-
$button-secondary-bg-default: $white; // #ffffff
|
|
70
|
-
$button-secondary-text: $blue; // #0277bd
|
|
71
|
-
$button-secondary-icon: $blue; // #0277bd
|
|
72
|
-
$button-secondary-border-default: $blue; // #0277bd
|
|
73
|
-
|
|
74
|
-
$button-secondary-bg-hover: $blue; // #0277bd
|
|
75
|
-
$button-secondary-text-hover: $white; // #ffffff
|
|
76
|
-
$button-secondary-icon-hover: $white; // #ffffff
|
|
77
|
-
$button-primary-border-hover: $blue; // #0277bd
|
|
78
|
-
|
|
79
|
-
$button-secondary-bg-pressed: $blue-darker; // #014771
|
|
80
|
-
$button-secondary-text-pressed: $white; // #ffffff
|
|
81
|
-
$button-secondary-icon-pressed: $white; // #ffffff
|
|
82
|
-
$button-secondary-border-pressed: $blue-darker; // #014771
|
|
83
|
-
|
|
84
|
-
$button-secondary-bg-disabled: $white; // #ffffff
|
|
85
|
-
$button-secondary-text-disabled: $blue-disabled; // #9ac9e5 (new)
|
|
86
|
-
$button-secondary-icon-disabled: $blue-disabled; // #9ac9e5 (new)
|
|
87
|
-
$button-primary-border-disabled: $blue-disabled; // #9ac9e5 (new)
|
|
88
|
-
|
|
89
|
-
// Checkout button
|
|
90
|
-
$button-checkout-bg-default: $green; // #67a509
|
|
91
|
-
$button-checkout-text: $white; // #ffffff
|
|
92
|
-
$button-checkout-icon: $white; // #ffffff
|
|
93
|
-
$button-checkout-border-default: $green; // #67a509
|
|
94
|
-
|
|
95
|
-
$button-checkout-text-hover: $green; // #67a509
|
|
96
|
-
$button-checkout-icon-hover: $green; // #67a509
|
|
97
|
-
$button-checkout-border-hover: $green; // #67a509
|
|
98
|
-
|
|
99
|
-
$button-checkout-bg-pressed: $green-pressed; // #3e6305 (new)
|
|
100
|
-
$button-checkout-text-pressed: $white; // #ffffff
|
|
101
|
-
$button-checkout-icon-pressed: $white; // #ffffff
|
|
102
|
-
$button-checkout-border-pressed: $green-pressed; // #3e6305 (new)
|
|
103
|
-
|
|
104
|
-
$button-checkout-bg-disabled: $green-disabled; // #c2db9d (new)
|
|
105
|
-
$button-checkout-text-disabled: $white; // #ffffff
|
|
106
|
-
$button-checkout-icon-disabled: $white; // #ffffff
|
|
107
|
-
$button-checkout-border-disabled: $green-disabled; // #c2db9d (new)
|
|
108
|
-
|
|
109
|
-
// Checkbox
|
|
110
|
-
$checkbox-default: $blue; // #0277bd
|
|
111
|
-
$checkbox-hover: $blue-hover; // #025f97 (new)
|
|
112
|
-
$checkbox-disabled: $blue-disabled; // #9ac9e5 (new)
|
|
113
|
-
|
|
114
|
-
// Borders
|
|
115
|
-
$border-primary: $gray; // #cccccc
|
|
116
|
-
$border-secondary: $gray-bg; // #f8f8f8
|
|
117
|
-
$border-brand: $blue-dark; // #0a3055
|
|
118
|
-
$border-focus: $blue; // #0277bd
|
|
119
|
-
$border-inverted: $white; // #ffffff
|
|
120
|
-
$border-success: $green; // #67a509
|
|
121
|
-
$border-error: $red; // #cf000f
|
|
122
|
-
|
|
123
|
-
// Icons
|
|
124
|
-
$icon-primary: $gray-dark; // #3e3e3e
|
|
125
|
-
$icon-secondary: $warm-grey; // #8b8b8b
|
|
126
|
-
$icon-tertiary: $gray; // #cccccc
|
|
127
|
-
$icon-quinary: $gray-light; // #eeeeee
|
|
128
|
-
|
|
129
|
-
$icon-action: $blue; // #0277bd
|
|
130
|
-
$icon-action-default: $blue; // #0277bd
|
|
131
|
-
$icon-action-hover: $blue-hover; // #025f97 (new)
|
|
132
|
-
$icon-action-pressed: $blue-darker; // #014771
|
|
133
|
-
$icon-action-disabled: $blue-disabled; // #9ac9e5 (new)
|
|
134
|
-
|
|
135
|
-
$icon-inverted: $white; // #ffffff
|
|
136
|
-
$icon-brand-light: $blue-satin; // #99b5cf
|
|
137
|
-
$icon-brand: $blue-dark; // #0a3055
|
|
138
|
-
$icon-success: $green; // #67a509
|
|
139
|
-
$icon-warning: $orange; // #ffc439
|
|
140
|
-
$icon-error: $red; // #cf000f
|
|
141
|
-
$icon-disabled: $gray-bg; // #f8f8f8
|
|
142
|
-
|
|
143
|
-
// Notifications
|
|
144
|
-
$notification-success-bg: $notification-success-bg-alt; // #f7faf3 (new)
|
|
145
|
-
$notification-success-icon: $green; // #67a509
|
|
146
|
-
$notification-success-text: $gray-dark; // #3e3e3e
|
|
147
|
-
|
|
148
|
-
$notification-warning-ng: $notification-warning-bg-alt; // #fffcf5 (new)
|
|
149
|
-
$notification-warning-icon: $orange; // #ffc439
|
|
150
|
-
$notification-warning-text: $gray-dark; // #3e3e3e
|
|
151
|
-
|
|
152
|
-
$notification-error-bg: $red-bg; // #fdf2f3
|
|
153
|
-
$notification-error-icon: $red; // #cf000f
|
|
154
|
-
$notification-error-text: $gray-dark; // #3e3e3e
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
// ============================================================================
|
|
158
|
-
// Colors Semantic Map
|
|
159
|
-
// ============================================================================
|
|
160
|
-
|
|
161
|
-
// Backgrounds
|
|
162
|
-
$bg-primary: $white; // #ffffff
|
|
163
|
-
$bg-lightest-grey: $gray-bg; // #f8f8f8
|
|
164
|
-
$bg-light-grey: $gray-light; // #eeeeee
|
|
165
|
-
$bg-medium-grey: $gray; // #cccccc
|
|
166
|
-
$bg-dark-grey: $gray; // #cccccc (same)
|
|
167
|
-
$bg-brand: $blue-dark; // #0a3055
|
|
168
|
-
$bg-brand-light: $ma-white; // #f4f9fe
|
|
169
|
-
$bg-action: $blue; // #0277bd
|
|
170
|
-
$bg-offer: $red; // #db052b → closest is $red (#cf000f)
|
|
171
|
-
$bg-warning: $orange; // #ffc439
|
|
172
|
-
$bg-checkout: $green; // #67a509
|
|
173
|
-
$bg-new: $green-light; // #9acd32
|
|
174
|
-
$bg-info: $virid-darker; // #205c56
|
|
175
|
-
$bg-brand-bright: $pacific-depths; // #004587
|
|
176
|
-
$bg-success: rgba($green, .05); // #67A509, 5%
|
|
177
|
-
$bg-error: rgba($red, .05); // #CF000F, 5%
|
|
178
|
-
$bg-warning-5: rgba($orange, .05); // #FFC439, 5%
|
|
179
|
-
|
|
180
|
-
// Text
|
|
181
|
-
$text-body: $gray-dark; // #3e3e3e
|
|
182
|
-
$text-secondary: $squant; // #666666
|
|
183
|
-
$text-tertiary: $warm-grey; // #8b8b8b
|
|
184
|
-
$text-inverted: $white; // #ffffff
|
|
185
|
-
$text-brand: $blue-dark; // #0a3055
|
|
186
|
-
$text-success: $green; // #67a509
|
|
187
|
-
$text-error: $red; // #cf000f
|
|
188
|
-
|
|
189
|
-
// Borders
|
|
190
|
-
$border-primary: $gray; // #cccccc
|
|
191
|
-
$border-secondary: $gray-bg; // #f8f8f8
|
|
192
|
-
$border-brand: $blue-dark; // #0a3055
|
|
193
|
-
$border-focus: $blue; // #0277bd
|
|
194
|
-
$border-inverted: $white; // #ffffff
|
|
195
|
-
$border-success: $green; // #67a509
|
|
196
|
-
$border-error: $red; // #cf000f
|
|
197
|
-
|
|
198
|
-
// Icons
|
|
199
|
-
$icon-primary: $gray-dark; // #3e3e3e
|
|
200
|
-
$icon-secondary: $warm-grey; // #8b8b8b
|
|
201
|
-
$icon-tertiary: $gray; // #cccccc
|
|
202
|
-
$icon-quinary: $gray-light; // #eeeeee
|
|
203
|
-
|
|
204
|
-
$icon-action: $blue; // #0277bd
|
|
205
|
-
$icon-inverted: $white; // #ffffff
|
|
206
|
-
$icon-brand-light: $blue-satin; // #99b5cf
|
|
207
|
-
$icon-brand: $blue-dark; // #0a3055
|
|
208
|
-
$icon-success: $green; // #67a509
|
|
209
|
-
$icon-warning: $orange; // #ffc439
|
|
210
|
-
$icon-error: $red; // #cf000f
|
|
211
|
-
$icon-disabled: $gray-bg; // #f8f8f8
|
|
212
|
-
|
|
213
|
-
// Overlays
|
|
214
|
-
$overlay-hover: rgba($black, .20); // #000, 20%
|
|
215
|
-
$overlay-pressed: rgba($black, .40); // #000, 40%
|
|
216
|
-
$overlay-focused: rgba($blue, .20); // #0277bd, 20%
|
|
217
|
-
$overlay-success-focused: rgba($green, .20); // #67a509, 20%
|
|
218
|
-
$overlay-error-focused: rgba($red, .20); // #cf000f, 20%
|
|
219
|
-
|
|
220
|
-
$overlay-disabled: rgba($white, .60); // #fff, 60%
|
|
221
|
-
$overlay-inverted-hover: rgba($white, .80); // #fff, 80%
|
|
222
|
-
$overlay-inverted-focused: rgba($white, .80); // #fff, 80%
|
|
223
|
-
$overlay-inverted-pressed: rgba($white, .60); // #fff, 60%
|
|
224
|
-
$overlay-inverted-disabled: rgba($white, .40); // #fff, 40%
|