wickes-css2 2.107.0-develop.5 → 2.107.0-develop.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wickes-css2",
3
- "version": "2.107.0-develop.5",
3
+ "version": "2.107.0-develop.6",
4
4
  "description": "CSS and JS and page templates in use by Wickes",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -6,7 +6,7 @@
6
6
  "values": [
7
7
  {
8
8
  "text": null,
9
- "additionalData": "./img/quick-filters/bath1.svg",
9
+ "additionalData": "./img/quick-filters/bath4.svg",
10
10
  "url": "?filter=icon1",
11
11
  "selected": false
12
12
  },
@@ -221,8 +221,8 @@
221
221
  "displayText": "Select Size",
222
222
  "values": [
223
223
  {
224
- "text": "Double ended baths",
225
- "additionalData": "./img/quick-filters/bath1.svg",
224
+ "text": "15 minute Click & Collect",
225
+ "additionalData": "./img/quick-filters/bath4.svg",
226
226
  "url": "?size=double",
227
227
  "selected": false
228
228
  },
@@ -261,6 +261,15 @@
261
261
  }
262
262
  }
263
263
 
264
+ @include media-breakpoint-only(sm) {
265
+ .products-list-page {
266
+ .plp-filters {
267
+ width: 100vw;
268
+ margin-left: calc(50% - 50vw);
269
+ }
270
+ }
271
+ }
272
+
264
273
  @include media-breakpoint-up(md) {
265
274
  .plp-filters {
266
275
  background: $gray-bg;
@@ -43,16 +43,24 @@ $quick-filter-shadow: rgba(0, 0, 0, 0.12);
43
43
  border-radius: 8px;
44
44
  }
45
45
 
46
- &--selected {
47
- color: $blue;
48
- border-color: $blue;
49
- }
50
-
51
46
  &:hover,
52
47
  &:focus,
53
48
  &:active {
54
49
  text-decoration: none;
55
50
  border-color: $blue;
51
+ color: $gray-dark;
52
+ }
53
+
54
+ &--selected {
55
+ color: $blue;
56
+ border-color: $blue;
57
+
58
+ &:hover,
59
+ &:focus,
60
+ &:active {
61
+ color: $blue-darker;
62
+ border-color: $blue-darker;
63
+ }
56
64
  }
57
65
  }
58
66
 
@@ -151,11 +159,23 @@ $quick-filter-shadow: rgba(0, 0, 0, 0.12);
151
159
  img {
152
160
  width: 58px;
153
161
  height: 58px;
162
+ border-radius: 0;
154
163
  }
155
164
 
156
- &--selected img {
157
- // prettier-ignore
158
- filter: brightness(0) saturate(100%) invert(27%) sepia(98%) saturate(1821%) hue-rotate(188deg) brightness(95%) contrast(101%);
165
+ &--selected {
166
+ img {
167
+ // prettier-ignore
168
+ filter: brightness(0) saturate(100%) invert(27%) sepia(98%) saturate(1821%) hue-rotate(188deg) brightness(95%) contrast(101%);
169
+ }
170
+
171
+ &:hover,
172
+ &:focus,
173
+ &:active {
174
+ img {
175
+ // prettier-ignore
176
+ filter: brightness(0) saturate(100%) invert(17%) sepia(94%) saturate(1900%) hue-rotate(190deg) brightness(85%) contrast(105%);
177
+ }
178
+ }
159
179
  }
160
180
  }
161
181
  }
@@ -167,11 +187,23 @@ $quick-filter-shadow: rgba(0, 0, 0, 0.12);
167
187
  img {
168
188
  width: 58px;
169
189
  height: 58px;
190
+ border-radius: 0;
170
191
  }
171
192
 
172
- &--selected img {
173
- // prettier-ignore
174
- filter: brightness(0) saturate(100%) invert(27%) sepia(98%) saturate(1821%) hue-rotate(188deg) brightness(95%) contrast(101%);
193
+ &--selected {
194
+ img {
195
+ // prettier-ignore
196
+ filter: brightness(0) saturate(100%) invert(27%) sepia(98%) saturate(1821%) hue-rotate(188deg) brightness(95%) contrast(101%);
197
+ }
198
+
199
+ &:hover,
200
+ &:focus,
201
+ &:active {
202
+ img {
203
+ // prettier-ignore
204
+ filter: brightness(0) saturate(100%) invert(17%) sepia(94%) saturate(1900%) hue-rotate(190deg) brightness(85%) contrast(105%);
205
+ }
206
+ }
175
207
  }
176
208
  }
177
209
  }
@@ -3,6 +3,12 @@
3
3
  padding: 20px 0 0;
4
4
  }
5
5
 
6
+ &.accordion {
7
+ &:first-child {
8
+ border-top: 1px solid $gray;
9
+ }
10
+ }
11
+
6
12
  &__facet-cta {
7
13
  background: transparent;
8
14
  border: 0;
@@ -13,15 +13,6 @@
13
13
  padding: 0 5px;
14
14
  margin-bottom: 20px;
15
15
 
16
- &::before {
17
- content: '';
18
- position: absolute;
19
- top: -20px;
20
- left: 5px;
21
- width: calc(100% - 10px);
22
- border-bottom: 1px solid #ccc;
23
- }
24
-
25
16
  &::after {
26
17
  content: '';
27
18
  position: absolute;
@@ -107,7 +98,7 @@
107
98
  }
108
99
 
109
100
  .products-list-v2 {
110
- .card-sponsor-product:nth-of-type(n+3) {
101
+ .card-sponsor-product:nth-of-type(n + 3) {
111
102
  .card {
112
103
  &:before {
113
104
  content: none;
@@ -300,7 +300,7 @@
300
300
  margin-right: -5px;
301
301
  margin-left: -5px;
302
302
  margin-top: 0;
303
- padding-top: 40px;
303
+ padding-top: 20px;
304
304
  overflow-x: hidden;
305
305
 
306
306
  &__badges {
@@ -312,16 +312,6 @@
312
312
  padding-left: 5px;
313
313
  padding-right: 5px;
314
314
  position: relative;
315
-
316
- &:nth-of-type(1)::before,
317
- &:nth-of-type(2)::before {
318
- content: '';
319
- position: absolute;
320
- top: -20px;
321
- left: 5px;
322
- width: calc(100% - 10px);
323
- border-bottom: 1px solid $gray;
324
- }
325
315
  }
326
316
  }
327
317
  }
@@ -344,8 +334,8 @@
344
334
  .sort-products-list {
345
335
  &__section {
346
336
  @include make-col(6);
347
- color: black;
348
- border: none;
337
+ color: #000000;
338
+ border: 0;
349
339
 
350
340
  > .form-row {
351
341
  margin-bottom: 0;
@@ -256,7 +256,7 @@ $color-bar-radius: 3px;
256
256
  margin-right: -5px;
257
257
  margin-left: -5px;
258
258
  margin-top: 0;
259
- padding-top: 40px;
259
+ padding-top: 20px;
260
260
  overflow-x: hidden;
261
261
  }
262
262
 
@@ -279,20 +279,6 @@ $color-bar-radius: 3px;
279
279
  padding: 3px 5px;
280
280
  }
281
281
 
282
- .card {
283
- &:nth-of-type(1)::before,
284
- &:nth-of-type(2)::before {
285
- @include media-breakpoint-down(sm) {
286
- content: '';
287
- position: absolute;
288
- top: -20px;
289
- left: 5px;
290
- width: calc(100% - 10px);
291
- border-bottom: 1px solid $gray;
292
- }
293
- }
294
- }
295
-
296
282
  .card {
297
283
  @include media-breakpoint-down(sm) {
298
284
  margin-bottom: 20px;
@@ -300,24 +286,11 @@ $color-bar-radius: 3px;
300
286
  display: inline-block;
301
287
  vertical-align: top;
302
288
  max-width: 50%;
303
- margin-right: -4px;
304
289
  padding-left: 5px;
305
290
  padding-right: 5px;
306
291
  width: 50%;
307
292
  }
308
293
 
309
- &:nth-of-type(1)::before,
310
- &:nth-of-type(2)::before {
311
- @include media-breakpoint-down(sm) {
312
- content: '';
313
- position: absolute;
314
- top: -20px;
315
- left: 5px;
316
- width: calc(100% - 10px);
317
- border-bottom: 1px solid $gray;
318
- }
319
- }
320
-
321
294
  &__inner-v2.card__inner-v2.card__inner-v2 {
322
295
  padding-bottom: 0;
323
296
 
@@ -1,13 +1,11 @@
1
1
  @import '../helpers/helpers';
2
2
 
3
-
4
3
  .products-list-v2 {
5
-
6
4
  @include media-breakpoint-down(sm) {
7
5
  margin-right: -5px;
8
6
  margin-left: -5px;
9
7
  margin-top: 0;
10
- padding-top: 40px;
8
+ padding-top: 20px;
11
9
  overflow-x: hidden;
12
10
  }
13
11
 
@@ -17,7 +15,7 @@
17
15
  font-size: 1rem;
18
16
 
19
17
  @include media-breakpoint-down(sm) {
20
- font-size: .875rem;
18
+ font-size: 0.875rem;
21
19
  }
22
20
  }
23
21
 
@@ -31,28 +29,13 @@
31
29
  }
32
30
 
33
31
  .card {
34
-
35
32
  @include media-breakpoint-down(sm) {
36
33
  position: relative;
37
34
  display: inline-block;
38
35
  vertical-align: top;
39
36
  max-width: 50%;
40
- margin-right: -4px;
41
37
  padding-left: 5px;
42
38
  padding-right: 5px;
43
-
44
- }
45
-
46
- &:nth-of-type(1)::before,
47
- &:nth-of-type(2)::before {
48
- @include media-breakpoint-down(sm) {
49
- content: '';
50
- position: absolute;
51
- top: -20px;
52
- left: 5px;
53
- width: calc(100% - 10px);
54
- border-bottom: 1px solid $gray;
55
- }
56
39
  }
57
40
  }
58
41
  }