@citizenplane/pimp 8.2.7 → 8.2.8
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/dist/pimp.es.js +1 -1
- package/dist/pimp.umd.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/App.vue +7 -7
- package/src/assets/styles/helpers/_functions.scss +2 -2
- package/src/assets/styles/variables/_sizing.scss +2 -2
- package/src/assets/styles/variables/_spacing.scss +1 -1
- package/src/components/atomic-elements/CpBadge.vue +10 -10
- package/src/components/buttons/CpButton.vue +23 -20
- package/src/components/core/BaseInputLabel/index.vue +2 -1
- package/src/components/core/playground-sections/SectionContainer.vue +2 -2
- package/src/components/core/playground-sections/SectionListsAndTables.vue +2 -2
- package/src/components/core/playground-sections/SectionToggles.vue +1 -1
- package/src/components/date-pickers/CpDate/index.scss +17 -17
- package/src/components/feedback-indicators/CpAlert.vue +15 -14
- package/src/components/feedback-indicators/CpToaster.vue +12 -12
- package/src/components/inputs/CpInput.vue +22 -22
- package/src/components/inputs/CpTextarea.vue +12 -12
- package/src/components/lists-and-table/CpTable/CpTableEmptyState/index.vue +2 -2
- package/src/components/lists-and-table/CpTable/index.scss +24 -24
- package/src/components/lists-and-table/CpTable/index.vue +1 -1
- package/src/components/selects/CpSelect.vue +16 -15
- package/src/components/selects/CpSelectMenu/index.vue +25 -25
- package/src/components/toggles/CpCheckbox/index.scss +7 -7
- package/src/components/toggles/CpRadio/index.scss +5 -5
- package/src/components/toggles/CpSwitch/index.vue +7 -7
- package/src/components/typography/CpHeading/index.vue +23 -23
|
@@ -36,25 +36,25 @@
|
|
|
36
36
|
&__label {
|
|
37
37
|
display: flex;
|
|
38
38
|
align-items: center;
|
|
39
|
-
margin-bottom:
|
|
40
|
-
font-size:
|
|
39
|
+
margin-bottom: px-to-em(6);
|
|
40
|
+
font-size: px-to-em(14);
|
|
41
41
|
|
|
42
42
|
svg {
|
|
43
43
|
margin-left: $space-sm;
|
|
44
|
-
width:
|
|
45
|
-
height:
|
|
44
|
+
width: px-to-rem(16);
|
|
45
|
+
height: px-to-rem(16);
|
|
46
46
|
stroke: $error-color;
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
&__inputs {
|
|
51
51
|
display: flex;
|
|
52
|
-
height:
|
|
53
|
-
border:
|
|
54
|
-
border-radius:
|
|
52
|
+
height: px-to-em(44);
|
|
53
|
+
border: px-to-rem(1) solid $neutral-dark-4;
|
|
54
|
+
border-radius: px-to-em(10);
|
|
55
55
|
overflow: hidden;
|
|
56
56
|
background-color: $neutral-light;
|
|
57
|
-
box-shadow: inset 0
|
|
57
|
+
box-shadow: inset 0 px-to-em(1) px-to-em(2) rgba($neutral-dark, 0.12);
|
|
58
58
|
|
|
59
59
|
&:hover,
|
|
60
60
|
&:focus-within {
|
|
@@ -63,13 +63,13 @@
|
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
&:focus-within {
|
|
66
|
-
box-shadow: rgba($secondary-color, 0.1) 0 0 0
|
|
66
|
+
box-shadow: rgba($secondary-color, 0.1) 0 0 0 px-to-rem(4), $secondary-color 0 0 0 px-to-rem(0.5);
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
&__divider {
|
|
71
71
|
flex-shrink: 0;
|
|
72
|
-
width:
|
|
72
|
+
width: px-to-rem(1);
|
|
73
73
|
height: 100%;
|
|
74
74
|
background-color: $border-color;
|
|
75
75
|
}
|
|
@@ -87,9 +87,9 @@
|
|
|
87
87
|
&::after {
|
|
88
88
|
position: absolute;
|
|
89
89
|
top: 50%;
|
|
90
|
-
right:
|
|
91
|
-
width:
|
|
92
|
-
height:
|
|
90
|
+
right: px-to-em(12);
|
|
91
|
+
width: px-to-em(20);
|
|
92
|
+
height: px-to-em(20);
|
|
93
93
|
background-image: url('@/assets/images/icons/chevron-down-icon.svg');
|
|
94
94
|
background-size: cover;
|
|
95
95
|
transform: translateY(-50%);
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
select {
|
|
101
101
|
@extend %u-text-ellipsis;
|
|
102
102
|
width: 100%;
|
|
103
|
-
padding:
|
|
103
|
+
padding: px-to-em(12) px-to-em(40) px-to-em(12) px-to-em(12);
|
|
104
104
|
color: inherit;
|
|
105
105
|
cursor: pointer;
|
|
106
106
|
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
.cpDate__inputs:focus-within {
|
|
132
|
-
box-shadow: 0 0 0
|
|
132
|
+
box-shadow: 0 0 0 px-to-em(3) scale-color($error-color, $lightness: 60%);
|
|
133
133
|
}
|
|
134
134
|
|
|
135
135
|
.cpDate__divider {
|
|
@@ -154,9 +154,9 @@
|
|
|
154
154
|
}
|
|
155
155
|
|
|
156
156
|
&__errorMessage {
|
|
157
|
-
margin-top:
|
|
157
|
+
margin-top: px-to-rem(6);
|
|
158
158
|
color: $error-color;
|
|
159
159
|
font-weight: 500;
|
|
160
|
-
font-size:
|
|
160
|
+
font-size: px-to-em(14);
|
|
161
161
|
}
|
|
162
162
|
}
|
|
@@ -72,7 +72,7 @@ export default {
|
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
&--#{$className} button:focus-visible {
|
|
75
|
-
outline:
|
|
75
|
+
outline: px-to-rem(2) solid $color;
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
|
|
@@ -80,9 +80,9 @@ export default {
|
|
|
80
80
|
position: relative;
|
|
81
81
|
display: flex;
|
|
82
82
|
align-items: flex-start;
|
|
83
|
-
padding:
|
|
84
|
-
font-size:
|
|
85
|
-
border-radius:
|
|
83
|
+
padding: px-to-rem(10);
|
|
84
|
+
font-size: px-to-em(14);
|
|
85
|
+
border-radius: px-to-rem(4);
|
|
86
86
|
overflow: hidden;
|
|
87
87
|
|
|
88
88
|
&:before {
|
|
@@ -91,13 +91,13 @@ export default {
|
|
|
91
91
|
left: 0;
|
|
92
92
|
top: 0;
|
|
93
93
|
height: 100%;
|
|
94
|
-
width:
|
|
94
|
+
width: px-to-rem(3);
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
&__body {
|
|
98
98
|
flex: 1;
|
|
99
99
|
margin-left: $space;
|
|
100
|
-
padding-right: calc(#{
|
|
100
|
+
padding-right: calc(#{px-to-rem(18)} + #{$space-lg});
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
&__icon {
|
|
@@ -107,15 +107,15 @@ export default {
|
|
|
107
107
|
i {
|
|
108
108
|
display: inline-block;
|
|
109
109
|
vertical-align: sub;
|
|
110
|
-
width:
|
|
111
|
-
height:
|
|
110
|
+
width: px-to-rem(16);
|
|
111
|
+
height: px-to-rem(16);
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
&__icon,
|
|
116
116
|
&__content,
|
|
117
117
|
&__title {
|
|
118
|
-
line-height:
|
|
118
|
+
line-height: px-to-rem(19);
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
&__title {
|
|
@@ -128,17 +128,18 @@ export default {
|
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
&__button {
|
|
131
|
+
display: flex;
|
|
131
132
|
position: absolute;
|
|
132
|
-
right:
|
|
133
|
-
top:
|
|
134
|
-
border-radius:
|
|
133
|
+
right: px-to-rem(7);
|
|
134
|
+
top: px-to-rem(7);
|
|
135
|
+
border-radius: px-to-rem(4);
|
|
135
136
|
padding: $space-sm;
|
|
136
137
|
color: inherit;
|
|
137
138
|
|
|
138
139
|
svg {
|
|
139
140
|
margin: 0;
|
|
140
|
-
width:
|
|
141
|
-
height:
|
|
141
|
+
width: px-to-rem(18);
|
|
142
|
+
height: px-to-rem(18);
|
|
142
143
|
}
|
|
143
144
|
|
|
144
145
|
&:hover {
|
|
@@ -251,10 +251,10 @@ export default {
|
|
|
251
251
|
max-width: 100%;
|
|
252
252
|
margin: auto;
|
|
253
253
|
pointer-events: auto;
|
|
254
|
-
font-size:
|
|
254
|
+
font-size: px-to-rem(14);
|
|
255
255
|
|
|
256
256
|
@media (min-width: 769px) {
|
|
257
|
-
border-radius:
|
|
257
|
+
border-radius: px-to-rem(8);
|
|
258
258
|
}
|
|
259
259
|
|
|
260
260
|
@media (max-width: 768px) {
|
|
@@ -266,7 +266,7 @@ export default {
|
|
|
266
266
|
position: absolute;
|
|
267
267
|
top: 0;
|
|
268
268
|
left: 0;
|
|
269
|
-
width:
|
|
269
|
+
width: px-to-rem(3);
|
|
270
270
|
height: 100%;
|
|
271
271
|
}
|
|
272
272
|
|
|
@@ -278,7 +278,7 @@ export default {
|
|
|
278
278
|
right: 0;
|
|
279
279
|
margin: auto;
|
|
280
280
|
padding: $space-lg;
|
|
281
|
-
max-width:
|
|
281
|
+
max-width: px-to-rem(400);
|
|
282
282
|
pointer-events: none;
|
|
283
283
|
|
|
284
284
|
& > *:not(:last-child) {
|
|
@@ -303,13 +303,13 @@ export default {
|
|
|
303
303
|
|
|
304
304
|
&__icon {
|
|
305
305
|
flex-shrink: 0;
|
|
306
|
-
height:
|
|
307
|
-
width:
|
|
306
|
+
height: px-to-rem(16);
|
|
307
|
+
width: px-to-rem(16);
|
|
308
308
|
}
|
|
309
309
|
|
|
310
310
|
&__content,
|
|
311
311
|
&__title {
|
|
312
|
-
line-height:
|
|
312
|
+
line-height: px-to-rem(16);
|
|
313
313
|
}
|
|
314
314
|
|
|
315
315
|
&__title {
|
|
@@ -321,21 +321,21 @@ export default {
|
|
|
321
321
|
}
|
|
322
322
|
|
|
323
323
|
&__description {
|
|
324
|
-
font-size:
|
|
324
|
+
font-size: px-to-rem(14);
|
|
325
325
|
}
|
|
326
326
|
|
|
327
327
|
&__close {
|
|
328
328
|
position: absolute;
|
|
329
329
|
right: $space;
|
|
330
330
|
top: $space;
|
|
331
|
-
border-radius:
|
|
331
|
+
border-radius: px-to-rem(4);
|
|
332
332
|
padding: $space-sm;
|
|
333
333
|
color: $neutral-dark-1;
|
|
334
334
|
|
|
335
335
|
svg {
|
|
336
336
|
margin: 0;
|
|
337
|
-
width:
|
|
338
|
-
height:
|
|
337
|
+
width: px-to-rem(18);
|
|
338
|
+
height: px-to-rem(18);
|
|
339
339
|
}
|
|
340
340
|
|
|
341
341
|
&:hover {
|
|
@@ -350,7 +350,7 @@ export default {
|
|
|
350
350
|
}
|
|
351
351
|
|
|
352
352
|
&__button {
|
|
353
|
-
font-size:
|
|
353
|
+
font-size: px-to-rem(12);
|
|
354
354
|
color: $secondary-color;
|
|
355
355
|
|
|
356
356
|
&:not(:hover) {
|
|
@@ -218,23 +218,23 @@ export default {
|
|
|
218
218
|
}
|
|
219
219
|
|
|
220
220
|
&__inner {
|
|
221
|
-
box-shadow: inset 0
|
|
221
|
+
box-shadow: inset 0 px-to-em(1) px-to-em(2) rgba(0, 0, 0, 0.12);
|
|
222
222
|
appearance: none;
|
|
223
|
-
border:
|
|
224
|
-
border-radius:
|
|
223
|
+
border: px-to-rem(1) solid $neutral-dark-4;
|
|
224
|
+
border-radius: px-to-em(10);
|
|
225
225
|
outline: none;
|
|
226
226
|
width: 100%;
|
|
227
227
|
height: $component-size-default;
|
|
228
228
|
color: inherit;
|
|
229
|
-
padding:
|
|
230
|
-
font-size:
|
|
229
|
+
padding: px-to-em(12);
|
|
230
|
+
font-size: px-to-em(16);
|
|
231
231
|
|
|
232
232
|
&:hover {
|
|
233
233
|
@include cp-input-hover-style;
|
|
234
234
|
}
|
|
235
235
|
|
|
236
236
|
&:focus {
|
|
237
|
-
box-shadow: 0 0 0
|
|
237
|
+
box-shadow: 0 0 0 px-to-em(3) scale-color($secondary-color, $lightness: 80%);
|
|
238
238
|
border-color: $secondary-color;
|
|
239
239
|
background-color: $neutral-light;
|
|
240
240
|
}
|
|
@@ -249,11 +249,11 @@ export default {
|
|
|
249
249
|
.cpInput__inner:hover,
|
|
250
250
|
.cpInput__inner:focus,
|
|
251
251
|
.cpInput__icon:hover ~ .cpInput__inner {
|
|
252
|
-
border:
|
|
252
|
+
border: px-to-rem(1) solid $error-color;
|
|
253
253
|
}
|
|
254
254
|
|
|
255
255
|
.cpInput__inner:focus {
|
|
256
|
-
box-shadow: 0 0 0
|
|
256
|
+
box-shadow: 0 0 0 px-to-em(3) scale-color($error-color, $lightness: 60%);
|
|
257
257
|
}
|
|
258
258
|
}
|
|
259
259
|
|
|
@@ -290,18 +290,18 @@ export default {
|
|
|
290
290
|
display: block;
|
|
291
291
|
|
|
292
292
|
&:not(#{&}--isAfter) {
|
|
293
|
-
margin-bottom:
|
|
293
|
+
margin-bottom: px-to-em(6);
|
|
294
294
|
}
|
|
295
295
|
|
|
296
296
|
&--isAfter {
|
|
297
|
-
margin-top:
|
|
297
|
+
margin-top: px-to-em(6);
|
|
298
298
|
}
|
|
299
299
|
}
|
|
300
300
|
|
|
301
|
-
$cp-input-icon-size:
|
|
301
|
+
$cp-input-icon-size: px-to-em(20);
|
|
302
302
|
|
|
303
303
|
&__icon {
|
|
304
|
-
left:
|
|
304
|
+
left: px-to-em(12);
|
|
305
305
|
z-index: 1;
|
|
306
306
|
position: absolute;
|
|
307
307
|
top: 50%;
|
|
@@ -331,7 +331,7 @@ export default {
|
|
|
331
331
|
&--isAfter,
|
|
332
332
|
&--isValidity {
|
|
333
333
|
left: auto;
|
|
334
|
-
right:
|
|
334
|
+
right: px-to-em(12);
|
|
335
335
|
justify-content: flex-end;
|
|
336
336
|
}
|
|
337
337
|
|
|
@@ -340,34 +340,34 @@ export default {
|
|
|
340
340
|
}
|
|
341
341
|
|
|
342
342
|
&--isAfter ~ input {
|
|
343
|
-
padding-right: calc(#{
|
|
343
|
+
padding-right: calc(#{px-to-em(12)} + #{$cp-input-icon-size} * 2 + #{px-to-em(8)});
|
|
344
344
|
}
|
|
345
345
|
|
|
346
346
|
&--isBefore ~ input {
|
|
347
|
-
padding-left: calc(#{
|
|
347
|
+
padding-left: calc(#{px-to-em(12)} + #{$cp-input-icon-size} + #{px-to-em(8)});
|
|
348
348
|
}
|
|
349
349
|
|
|
350
350
|
&--isValidity ~ input {
|
|
351
|
-
padding-right: calc(#{
|
|
351
|
+
padding-right: calc(#{px-to-em(12)} + #{$cp-input-icon-size} + #{px-to-em(8)});
|
|
352
352
|
}
|
|
353
353
|
|
|
354
354
|
&--hasAfterAndValidityIcon ~ input {
|
|
355
|
-
padding-right: calc(#{
|
|
355
|
+
padding-right: calc(#{px-to-em(12)} + #{$cp-input-icon-size} * 2 + #{px-to-em(8)} * 2);
|
|
356
356
|
}
|
|
357
357
|
|
|
358
358
|
&--isValidity#{&}--isValid,
|
|
359
359
|
&--isValidity#{&}--isInvalid {
|
|
360
360
|
+ .cpInput__icon--isAfter {
|
|
361
|
-
right: calc(#{
|
|
361
|
+
right: calc(#{px-to-em(12)} + #{$cp-input-icon-size} + #{px-to-em(8)});
|
|
362
362
|
transition: right 0.25s cubic-bezier(0.17, 0.84, 0.44, 1);
|
|
363
363
|
}
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
366
|
|
|
367
367
|
&--isLarge {
|
|
368
|
-
$cp-input-large-icon-size:
|
|
369
|
-
$cp-input-large-spacing:
|
|
370
|
-
$cp-input-large-padding:
|
|
368
|
+
$cp-input-large-icon-size: px-to-em(24);
|
|
369
|
+
$cp-input-large-spacing: px-to-em(12);
|
|
370
|
+
$cp-input-large-padding: px-to-em(16);
|
|
371
371
|
|
|
372
372
|
.cpInput__inner {
|
|
373
373
|
height: $component-size-large;
|
|
@@ -407,7 +407,7 @@ export default {
|
|
|
407
407
|
.cpInput__icon--isValidity.cpInput__icon--isValid,
|
|
408
408
|
.cpInput__icon--isValidity.cpInput__icon--isInvalid {
|
|
409
409
|
+ .cpInput__icon--isAfter {
|
|
410
|
-
right: calc(#{$cp-input-large-padding} + #{$cp-input-large-icon-size} + #{
|
|
410
|
+
right: calc(#{$cp-input-large-padding} + #{$cp-input-large-icon-size} + #{px-to-em(8)});
|
|
411
411
|
}
|
|
412
412
|
}
|
|
413
413
|
}
|
|
@@ -115,16 +115,16 @@ export default {
|
|
|
115
115
|
<style lang="scss">
|
|
116
116
|
.cpTextarea {
|
|
117
117
|
&__input {
|
|
118
|
-
box-shadow: inset 0
|
|
118
|
+
box-shadow: inset 0 px-to-em(1) px-to-em(2) rgba(0, 0, 0, 0.12);
|
|
119
119
|
appearance: none;
|
|
120
|
-
border:
|
|
121
|
-
border-radius:
|
|
120
|
+
border: px-to-rem(1) solid $neutral-dark-4;
|
|
121
|
+
border-radius: px-to-em(10);
|
|
122
122
|
outline: none;
|
|
123
|
-
padding:
|
|
123
|
+
padding: px-to-em(16);
|
|
124
124
|
width: 100%;
|
|
125
125
|
max-width: 100%;
|
|
126
126
|
height: 100%;
|
|
127
|
-
font-size:
|
|
127
|
+
font-size: px-to-em(16);
|
|
128
128
|
color: $neutral-dark;
|
|
129
129
|
|
|
130
130
|
&:hover {
|
|
@@ -132,7 +132,7 @@ export default {
|
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
&:focus {
|
|
135
|
-
box-shadow: 0 0 0
|
|
135
|
+
box-shadow: 0 0 0 px-to-em(3) scale-color($secondary-color, $lightness: 80%);
|
|
136
136
|
border-color: $secondary-color;
|
|
137
137
|
background-color: $neutral-light;
|
|
138
138
|
}
|
|
@@ -148,16 +148,16 @@ export default {
|
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
&--isInvalid {
|
|
151
|
-
box-shadow: 0 0 0
|
|
152
|
-
border:
|
|
151
|
+
box-shadow: 0 0 0 px-to-rem(0.5) $error-color;
|
|
152
|
+
border: px-to-rem(1) solid $error-color;
|
|
153
153
|
|
|
154
154
|
&:hover,
|
|
155
155
|
&:focus {
|
|
156
|
-
border:
|
|
156
|
+
border: px-to-rem(1) solid $error-color;
|
|
157
157
|
}
|
|
158
158
|
|
|
159
159
|
&:focus {
|
|
160
|
-
box-shadow: 0 0 0
|
|
160
|
+
box-shadow: 0 0 0 px-to-em(3) scale-color($error-color, $lightness: 60%);
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
163
|
}
|
|
@@ -166,11 +166,11 @@ export default {
|
|
|
166
166
|
display: block;
|
|
167
167
|
|
|
168
168
|
&:not(#{&}--isAfter) {
|
|
169
|
-
margin-bottom:
|
|
169
|
+
margin-bottom: px-to-em(6);
|
|
170
170
|
}
|
|
171
171
|
|
|
172
172
|
&--isAfter {
|
|
173
|
-
margin-top:
|
|
173
|
+
margin-top: px-to-em(6);
|
|
174
174
|
}
|
|
175
175
|
}
|
|
176
176
|
}
|
|
@@ -30,7 +30,7 @@ export default {
|
|
|
30
30
|
|
|
31
31
|
&__icon {
|
|
32
32
|
margin-bottom: $space-xl;
|
|
33
|
-
border-radius:
|
|
33
|
+
border-radius: px-to-rem(4);
|
|
34
34
|
display: inline-block;
|
|
35
35
|
background-color: $neutral-light-1;
|
|
36
36
|
padding: $space-lg;
|
|
@@ -43,7 +43,7 @@ export default {
|
|
|
43
43
|
|
|
44
44
|
&__headline {
|
|
45
45
|
margin-bottom: $space;
|
|
46
|
-
font-size:
|
|
46
|
+
font-size: px-to-em(20);
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
&__description {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
flex: 1;
|
|
13
13
|
|
|
14
14
|
&--hasPagination {
|
|
15
|
-
border-bottom:
|
|
15
|
+
border-bottom: px-to-rem(1) solid $border-color;
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
&__container[role='region'][aria-labelledby][tabindex]:focus {
|
|
25
|
-
border-radius:
|
|
26
|
-
box-shadow: 0 0 0
|
|
25
|
+
border-radius: px-to-rem(10);
|
|
26
|
+
box-shadow: 0 0 0 px-to-em(3) scale-color($blue, $lightness: 70%);
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
&__container[role='region'][aria-labelledby][tabindex] &__table {
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
left: 0;
|
|
50
50
|
margin-bottom: $space-lg;
|
|
51
51
|
text-align: left;
|
|
52
|
-
font-size:
|
|
52
|
+
font-size: px-to-em(18);
|
|
53
53
|
|
|
54
54
|
&:first-letter {
|
|
55
55
|
text-transform: capitalize;
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
|
|
64
64
|
&__row {
|
|
65
65
|
&--body:not(:last-of-type) {
|
|
66
|
-
border-bottom:
|
|
66
|
+
border-bottom: px-to-rem(1) solid $border-color;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
&--body:not(#{&}--isFullWidth):not(#{&}--isSelected):hover,
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
&--body td {
|
|
96
|
-
font-size:
|
|
96
|
+
font-size: px-to-em(14);
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
99
|
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
padding: $space $space-md;
|
|
106
106
|
text-align: left;
|
|
107
107
|
white-space: nowrap;
|
|
108
|
-
font-size:
|
|
108
|
+
font-size: px-to-em(12);
|
|
109
109
|
font-weight: normal;
|
|
110
110
|
color: $neutral-dark-1;
|
|
111
111
|
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
bottom: 0;
|
|
121
121
|
left: 0;
|
|
122
122
|
width: 100%;
|
|
123
|
-
height:
|
|
123
|
+
height: px-to-rem(1);
|
|
124
124
|
background-color: $border-color;
|
|
125
125
|
}
|
|
126
126
|
}
|
|
@@ -157,8 +157,8 @@
|
|
|
157
157
|
}
|
|
158
158
|
|
|
159
159
|
&--isOptions button {
|
|
160
|
-
border:
|
|
161
|
-
border-radius:
|
|
160
|
+
border: px-to-rem(1) solid $border-color;
|
|
161
|
+
border-radius: px-to-rem(8);
|
|
162
162
|
background-color: $neutral-light;
|
|
163
163
|
display: inline-flex;
|
|
164
164
|
padding: $space-sm;
|
|
@@ -171,13 +171,13 @@
|
|
|
171
171
|
|
|
172
172
|
&:focus {
|
|
173
173
|
outline: none !important;
|
|
174
|
-
box-shadow: 0 0 0
|
|
174
|
+
box-shadow: 0 0 0 px-to-em(3) scale-color($secondary-color, $lightness: 80%);
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
177
|
|
|
178
178
|
&--isOptions svg {
|
|
179
|
-
width:
|
|
180
|
-
height:
|
|
179
|
+
width: px-to-rem(16);
|
|
180
|
+
height: px-to-rem(16);
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
183
|
|
|
@@ -211,7 +211,7 @@
|
|
|
211
211
|
right: 0;
|
|
212
212
|
top: 0;
|
|
213
213
|
bottom: 0;
|
|
214
|
-
border-radius:
|
|
214
|
+
border-radius: px-to-rem(10);
|
|
215
215
|
background-color: $neutral-light;
|
|
216
216
|
z-index: 4;
|
|
217
217
|
opacity: 0;
|
|
@@ -245,14 +245,14 @@
|
|
|
245
245
|
}
|
|
246
246
|
|
|
247
247
|
&__loader {
|
|
248
|
-
width:
|
|
249
|
-
height:
|
|
248
|
+
width: px-to-rem(32);
|
|
249
|
+
height: px-to-rem(32);
|
|
250
250
|
|
|
251
251
|
&--isSmall {
|
|
252
252
|
display: inline-block;
|
|
253
253
|
vertical-align: middle;
|
|
254
|
-
width:
|
|
255
|
-
height:
|
|
254
|
+
width: px-to-rem(24);
|
|
255
|
+
height: px-to-rem(24);
|
|
256
256
|
}
|
|
257
257
|
}
|
|
258
258
|
|
|
@@ -260,7 +260,7 @@
|
|
|
260
260
|
padding: $space-lg $space-md 0;
|
|
261
261
|
display: flex;
|
|
262
262
|
align-items: center;
|
|
263
|
-
font-size:
|
|
263
|
+
font-size: px-to-em(14);
|
|
264
264
|
}
|
|
265
265
|
|
|
266
266
|
.footer {
|
|
@@ -283,10 +283,10 @@
|
|
|
283
283
|
}
|
|
284
284
|
|
|
285
285
|
&__pagination button {
|
|
286
|
-
box-shadow: 0
|
|
287
|
-
border-radius:
|
|
288
|
-
border:
|
|
289
|
-
padding:
|
|
286
|
+
box-shadow: 0 px-to-rem(1) px-to-rem(2) rgba($neutral-dark, 0.08);
|
|
287
|
+
border-radius: px-to-rem(10);
|
|
288
|
+
border: px-to-rem(1) solid $border-color;
|
|
289
|
+
padding: px-to-rem(6) px-to-rem(10);
|
|
290
290
|
transition: background-color 0.15s;
|
|
291
291
|
|
|
292
292
|
&:hover {
|
|
@@ -295,7 +295,7 @@
|
|
|
295
295
|
|
|
296
296
|
&:focus {
|
|
297
297
|
outline: none !important;
|
|
298
|
-
box-shadow: 0 0 0
|
|
298
|
+
box-shadow: 0 0 0 px-to-em(3) scale-color($blue, $lightness: 70%);
|
|
299
299
|
}
|
|
300
300
|
|
|
301
301
|
&:disabled {
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
<strong>
|
|
76
76
|
{{ paginationLabel }}
|
|
77
77
|
</strong>
|
|
78
|
-
<span class="footer__resultsCount">on {{ paginationResultsDetails }}</span>
|
|
78
|
+
<span class="footer__resultsCount"> on {{ paginationResultsDetails }}</span>
|
|
79
79
|
</template>
|
|
80
80
|
<template v-else> No results </template>
|
|
81
81
|
</slot>
|