@appscode/design-system 1.1.0-beta.5 → 1.1.0-beta.7
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/base/utilities/_colors.scss +66 -104
- package/package.json +1 -1
- package/vue-components/v2/pagination/Pagination.vue +1 -0
- package/vue-components/v3/cards/Cluster.vue +1 -1
- package/vue-components/v3/form-fields/AcSingleInput.vue +508 -1
- package/vue-components/v3/header/Header.vue +1 -1
- package/vue-components/v3/sidebar/ClusterSwitcher.vue +4 -0
- package/vue-components/v3/sidebar/Sidebar.vue +1 -1
- package/vue-components/v3/table/InfoTable.vue +6 -4
- package/vue-components/v3/table/Table.vue +5 -5
|
@@ -59,30 +59,22 @@
|
|
|
59
59
|
--font-hsl-saturation: 0%;
|
|
60
60
|
--font-hsl-lightness: 11%;
|
|
61
61
|
|
|
62
|
-
--ac-primary: hsla(
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
)
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
--ac-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
var(--font-hsl-lightness),
|
|
79
|
-
1
|
|
80
|
-
);
|
|
81
|
-
--ac-color-value: hsl(
|
|
82
|
-
var(--font-hsl-hue),
|
|
83
|
-
var(--font-hsl-saturation),
|
|
84
|
-
calc(var(--font-hsl-lightness) + 25%)
|
|
85
|
-
);
|
|
62
|
+
--ac-primary: hsla(var(--hsl-hue),
|
|
63
|
+
var(--hsl-saturation),
|
|
64
|
+
var(--hsl-lightness),
|
|
65
|
+
1);
|
|
66
|
+
|
|
67
|
+
--ac-text: hsla(var(--font-hsl-hue),
|
|
68
|
+
calc(var(--font-hsl-saturation) + 10%),
|
|
69
|
+
calc(var(--font-hsl-lightness) + 10%),
|
|
70
|
+
1);
|
|
71
|
+
--ac-text-heading: hsla(var(--font-hsl-hue),
|
|
72
|
+
var(--font-hsl-saturation),
|
|
73
|
+
var(--font-hsl-lightness),
|
|
74
|
+
1);
|
|
75
|
+
--ac-color-value: hsl(var(--font-hsl-hue),
|
|
76
|
+
var(--font-hsl-saturation),
|
|
77
|
+
calc(var(--font-hsl-lightness) + 25%));
|
|
86
78
|
}
|
|
87
79
|
|
|
88
80
|
$ac-bg: var(--ac-bg);
|
|
@@ -129,12 +121,12 @@ $primary-30: hsl($primary-hue, $primary-saturation, 30%);
|
|
|
129
121
|
$primary-40: hsl($primary-hue, $primary-saturation, 40%);
|
|
130
122
|
$primary: hsl($primary-hue, $primary-saturation, 40%);
|
|
131
123
|
$ac-primary: hsl(var(--hsl-hue), var(--hsl-saturation), 40%);
|
|
132
|
-
|
|
133
124
|
$primary-50: hsl($primary-hue, $primary-saturation, 50%);
|
|
134
125
|
$primary-60: hsl($primary-hue, $primary-saturation, 60%);
|
|
135
126
|
$primary-70: hsl($primary-hue, $primary-saturation, 70%);
|
|
136
127
|
$primary-80: hsl($primary-hue, $primary-saturation, 80%);
|
|
137
128
|
$primary-90: hsl($primary-hue, $primary-saturation, 90%);
|
|
129
|
+
$primary-93: hsl($primary-hue, $primary-saturation, 93%);
|
|
138
130
|
$primary-95: hsl($primary-hue, $primary-saturation, 95%);
|
|
139
131
|
$primary-97: hsl($primary-hue, $primary-saturation, 97%);
|
|
140
132
|
|
|
@@ -152,6 +144,7 @@ $green-60: hsl($green-hue, $green-saturation, 60%);
|
|
|
152
144
|
$green-70: hsl($green-hue, $green-saturation, 70%);
|
|
153
145
|
$green-80: hsl($green-hue, $green-saturation, 80%);
|
|
154
146
|
$green-90: hsl($green-hue, $green-saturation, 90%);
|
|
147
|
+
$green-93: hsl($green-hue, $green-saturation, 93%);
|
|
155
148
|
$green-95: hsl($green-hue, $green-saturation, 95%);
|
|
156
149
|
$green-97: hsl($green-hue, $green-saturation, 97%);
|
|
157
150
|
|
|
@@ -169,6 +162,7 @@ $blue-60: hsl($blue-hue, $blue-saturation, 60%);
|
|
|
169
162
|
$blue-70: hsl($blue-hue, $blue-saturation, 70%);
|
|
170
163
|
$blue-80: hsl($blue-hue, $blue-saturation, 80%);
|
|
171
164
|
$blue-90: hsl($blue-hue, $blue-saturation, 90%);
|
|
165
|
+
$blue-93: hsl($blue-hue, $blue-saturation, 93%);
|
|
172
166
|
$blue-95: hsl($blue-hue, $blue-saturation, 95%);
|
|
173
167
|
$blue-97: hsl($blue-hue, $blue-saturation, 97%);
|
|
174
168
|
|
|
@@ -186,6 +180,7 @@ $purple-60: hsl($purple-hue, $purple-saturation, 60%);
|
|
|
186
180
|
$purple-70: hsl($purple-hue, $purple-saturation, 70%);
|
|
187
181
|
$purple-80: hsl($purple-hue, $purple-saturation, 80%);
|
|
188
182
|
$purple-90: hsl($purple-hue, $purple-saturation, 90%);
|
|
183
|
+
$purple-93: hsl($purple-hue, $purple-saturation, 93%);
|
|
189
184
|
$purple-95: hsl($purple-hue, $purple-saturation, 95%);
|
|
190
185
|
$purple-97: hsl($purple-hue, $purple-saturation, 97%);
|
|
191
186
|
|
|
@@ -203,6 +198,7 @@ $yellow-60: hsl($yellow-hue, $yellow-saturation, 60%);
|
|
|
203
198
|
$yellow-70: hsl($yellow-hue, $yellow-saturation, 70%);
|
|
204
199
|
$yellow-80: hsl($yellow-hue, $yellow-saturation, 80%);
|
|
205
200
|
$yellow-90: hsl($yellow-hue, $yellow-saturation, 90%);
|
|
201
|
+
$yellow-93: hsl($yellow-hue, $yellow-saturation, 93%);
|
|
206
202
|
$yellow-95: hsl($yellow-hue, $yellow-saturation, 95%);
|
|
207
203
|
$yellow-97: hsl($yellow-hue, $yellow-saturation, 97%);
|
|
208
204
|
|
|
@@ -220,6 +216,7 @@ $red-60: hsl($red-hue, $red-saturation, 60%);
|
|
|
220
216
|
$red-70: hsl($red-hue, $red-saturation, 70%);
|
|
221
217
|
$red-80: hsl($red-hue, $red-saturation, 80%);
|
|
222
218
|
$red-90: hsl($red-hue, $red-saturation, 90%);
|
|
219
|
+
$red-93: hsl($red-hue, $red-saturation, 93%);
|
|
223
220
|
$red-95: hsl($red-hue, $red-saturation, 95%);
|
|
224
221
|
$red-97: hsl($red-hue, $red-saturation, 97%);
|
|
225
222
|
|
|
@@ -237,6 +234,7 @@ $black-60: hsl($black-hue, $black-saturation, 60%);
|
|
|
237
234
|
$black-70: hsl($black-hue, $black-saturation, 70%);
|
|
238
235
|
$black-80: hsl($black-hue, $black-saturation, 80%);
|
|
239
236
|
$black-90: hsl($black-hue, $black-saturation, 90%);
|
|
237
|
+
$black-93: hsl($black-hue, $black-saturation, 93%);
|
|
240
238
|
$black-95: hsl($black-hue, $black-saturation, 95%);
|
|
241
239
|
$black-97: hsl($black-hue, $black-saturation, 97%);
|
|
242
240
|
|
|
@@ -254,185 +252,149 @@ $black-97: hsl($black-hue, $black-saturation, 97%);
|
|
|
254
252
|
}
|
|
255
253
|
|
|
256
254
|
// for primary classes
|
|
257
|
-
@include generate-color-classes(
|
|
258
|
-
"text",
|
|
255
|
+
@include generate-color-classes("text",
|
|
259
256
|
"primary",
|
|
260
257
|
$primary-hue,
|
|
261
258
|
$primary-saturation,
|
|
262
259
|
10,
|
|
263
260
|
90,
|
|
264
|
-
10
|
|
265
|
-
);
|
|
261
|
+
10);
|
|
266
262
|
|
|
267
|
-
@include generate-color-classes(
|
|
268
|
-
"bg",
|
|
263
|
+
@include generate-color-classes("bg",
|
|
269
264
|
"primary",
|
|
270
265
|
$primary-hue,
|
|
271
266
|
$primary-saturation,
|
|
272
267
|
10,
|
|
273
268
|
90,
|
|
274
|
-
10
|
|
275
|
-
);
|
|
269
|
+
10);
|
|
276
270
|
|
|
277
|
-
@include generate-color-classes(
|
|
278
|
-
"text",
|
|
271
|
+
@include generate-color-classes("text",
|
|
279
272
|
"primary",
|
|
280
273
|
$primary-hue,
|
|
281
274
|
$primary-saturation,
|
|
282
275
|
5,
|
|
283
276
|
5,
|
|
284
|
-
1
|
|
285
|
-
);
|
|
277
|
+
1);
|
|
286
278
|
|
|
287
|
-
@include generate-color-classes(
|
|
288
|
-
"bg",
|
|
279
|
+
@include generate-color-classes("bg",
|
|
289
280
|
"primary",
|
|
290
281
|
$primary-hue,
|
|
291
282
|
$primary-saturation,
|
|
292
283
|
5,
|
|
293
284
|
5,
|
|
294
|
-
1
|
|
295
|
-
);
|
|
285
|
+
1);
|
|
296
286
|
|
|
297
|
-
@include generate-color-classes(
|
|
298
|
-
"text",
|
|
287
|
+
@include generate-color-classes("text",
|
|
299
288
|
"primary",
|
|
300
289
|
$primary-hue,
|
|
301
290
|
$primary-saturation,
|
|
302
|
-
|
|
291
|
+
93,
|
|
303
292
|
97,
|
|
304
|
-
2
|
|
305
|
-
);
|
|
293
|
+
2);
|
|
306
294
|
|
|
307
|
-
@include generate-color-classes(
|
|
308
|
-
"bg",
|
|
295
|
+
@include generate-color-classes("bg",
|
|
309
296
|
"primary",
|
|
310
297
|
$primary-hue,
|
|
311
298
|
$primary-saturation,
|
|
312
|
-
|
|
299
|
+
93,
|
|
313
300
|
97,
|
|
314
|
-
2
|
|
315
|
-
);
|
|
301
|
+
2);
|
|
316
302
|
|
|
317
303
|
// for green classes
|
|
318
|
-
@include generate-color-classes(
|
|
319
|
-
"text",
|
|
304
|
+
@include generate-color-classes("text",
|
|
320
305
|
"green",
|
|
321
306
|
$green-hue,
|
|
322
307
|
$green-saturation,
|
|
323
308
|
10,
|
|
324
309
|
90,
|
|
325
|
-
10
|
|
326
|
-
|
|
327
|
-
@include generate-color-classes(
|
|
328
|
-
"bg",
|
|
310
|
+
10);
|
|
311
|
+
@include generate-color-classes("bg",
|
|
329
312
|
"green",
|
|
330
313
|
$green-hue,
|
|
331
314
|
$green-saturation,
|
|
332
315
|
10,
|
|
333
316
|
90,
|
|
334
|
-
10
|
|
335
|
-
);
|
|
317
|
+
10);
|
|
336
318
|
|
|
337
|
-
@include generate-color-classes(
|
|
338
|
-
"text",
|
|
319
|
+
@include generate-color-classes("text",
|
|
339
320
|
"green",
|
|
340
321
|
$green-hue,
|
|
341
322
|
$green-saturation,
|
|
342
323
|
5,
|
|
343
324
|
5,
|
|
344
|
-
1
|
|
345
|
-
);
|
|
325
|
+
1);
|
|
346
326
|
|
|
347
|
-
@include generate-color-classes(
|
|
348
|
-
"bg",
|
|
327
|
+
@include generate-color-classes("bg",
|
|
349
328
|
"green",
|
|
350
329
|
$green-hue,
|
|
351
330
|
$green-saturation,
|
|
352
331
|
5,
|
|
353
332
|
5,
|
|
354
|
-
1
|
|
355
|
-
);
|
|
333
|
+
1);
|
|
356
334
|
|
|
357
|
-
@include generate-color-classes(
|
|
358
|
-
"text",
|
|
335
|
+
@include generate-color-classes("text",
|
|
359
336
|
"green",
|
|
360
337
|
$green-hue,
|
|
361
338
|
$green-saturation,
|
|
362
|
-
|
|
339
|
+
93,
|
|
363
340
|
97,
|
|
364
|
-
2
|
|
365
|
-
);
|
|
341
|
+
2);
|
|
366
342
|
|
|
367
|
-
@include generate-color-classes(
|
|
368
|
-
"bg",
|
|
343
|
+
@include generate-color-classes("bg",
|
|
369
344
|
"green",
|
|
370
345
|
$green-hue,
|
|
371
346
|
$green-saturation,
|
|
372
|
-
|
|
347
|
+
93,
|
|
373
348
|
97,
|
|
374
|
-
2
|
|
375
|
-
);
|
|
349
|
+
2);
|
|
376
350
|
|
|
377
351
|
// for purple classes
|
|
378
|
-
@include generate-color-classes(
|
|
379
|
-
"text",
|
|
352
|
+
@include generate-color-classes("text",
|
|
380
353
|
"purple",
|
|
381
354
|
$purple-hue,
|
|
382
355
|
$purple-saturation,
|
|
383
356
|
10,
|
|
384
357
|
90,
|
|
385
|
-
10
|
|
386
|
-
|
|
387
|
-
@include generate-color-classes(
|
|
388
|
-
"bg",
|
|
358
|
+
10);
|
|
359
|
+
@include generate-color-classes("bg",
|
|
389
360
|
"purple",
|
|
390
361
|
$purple-hue,
|
|
391
362
|
$purple-saturation,
|
|
392
363
|
10,
|
|
393
364
|
90,
|
|
394
|
-
10
|
|
395
|
-
);
|
|
365
|
+
10);
|
|
396
366
|
|
|
397
|
-
@include generate-color-classes(
|
|
398
|
-
"text",
|
|
367
|
+
@include generate-color-classes("text",
|
|
399
368
|
"purple",
|
|
400
369
|
$purple-hue,
|
|
401
370
|
$purple-saturation,
|
|
402
371
|
5,
|
|
403
372
|
5,
|
|
404
|
-
1
|
|
405
|
-
);
|
|
373
|
+
1);
|
|
406
374
|
|
|
407
|
-
@include generate-color-classes(
|
|
408
|
-
"bg",
|
|
375
|
+
@include generate-color-classes("bg",
|
|
409
376
|
"purple",
|
|
410
377
|
$purple-hue,
|
|
411
378
|
$purple-saturation,
|
|
412
379
|
5,
|
|
413
380
|
5,
|
|
414
|
-
1
|
|
415
|
-
);
|
|
381
|
+
1);
|
|
416
382
|
|
|
417
|
-
@include generate-color-classes(
|
|
418
|
-
"text",
|
|
383
|
+
@include generate-color-classes("text",
|
|
419
384
|
"purple",
|
|
420
385
|
$purple-hue,
|
|
421
386
|
$purple-saturation,
|
|
422
|
-
|
|
387
|
+
93,
|
|
423
388
|
97,
|
|
424
|
-
2
|
|
425
|
-
);
|
|
389
|
+
2);
|
|
426
390
|
|
|
427
|
-
@include generate-color-classes(
|
|
428
|
-
"bg",
|
|
391
|
+
@include generate-color-classes("bg",
|
|
429
392
|
"purple",
|
|
430
393
|
$purple-hue,
|
|
431
394
|
$purple-saturation,
|
|
432
|
-
|
|
395
|
+
93,
|
|
433
396
|
97,
|
|
434
|
-
2
|
|
435
|
-
);
|
|
397
|
+
2);
|
|
436
398
|
|
|
437
399
|
// Box Shadow
|
|
438
400
|
$ac-shadow-1: 0 1px 4px rgba(26, 80, 151, 0.16);
|
|
@@ -443,4 +405,4 @@ $ac-shadow-3: 0 3px 4px 0 rgba(0, 0, 0, 0.18),
|
|
|
443
405
|
$shadow-sm: 0 1px 4px rgba(26, 80, 151, 0.16);
|
|
444
406
|
$shadow-xl: 0px 8px 57px rgba(0, 0, 0, 0.16);
|
|
445
407
|
$shadow-lg: 0 3px 4px 0 rgba(0, 0, 0, 0.18), 0 3px 3px -2px rgba(0, 0, 0, 0.16),
|
|
446
|
-
0 1px 6px 0 rgba(0, 0, 0, 0.12);
|
|
408
|
+
0 1px 6px 0 rgba(0, 0, 0, 0.12);
|
package/package.json
CHANGED
|
@@ -18,4 +18,511 @@ withDefaults(defineProps<Props>(), {
|
|
|
18
18
|
</div>
|
|
19
19
|
</template>
|
|
20
20
|
|
|
21
|
-
<style lang="scss"
|
|
21
|
+
<style lang="scss">
|
|
22
|
+
.ac-single-input {
|
|
23
|
+
position: relative;
|
|
24
|
+
z-index: 1;
|
|
25
|
+
margin-bottom: 15px;
|
|
26
|
+
|
|
27
|
+
&.is-disable {
|
|
28
|
+
opacity: 0.5;
|
|
29
|
+
|
|
30
|
+
input,
|
|
31
|
+
.button.is-information,
|
|
32
|
+
.eye i.fa {
|
|
33
|
+
cursor: not-allowed;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&.is-information {
|
|
38
|
+
input {
|
|
39
|
+
padding-right: 45px;
|
|
40
|
+
|
|
41
|
+
&[type="password"] {
|
|
42
|
+
padding-right: 80px;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
span.eye i.fa {
|
|
47
|
+
right: 35px;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&.is-success {
|
|
52
|
+
input,
|
|
53
|
+
.ac-card,
|
|
54
|
+
textarea {
|
|
55
|
+
border: 1px solid $primary !important;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
p {
|
|
59
|
+
color: $primary;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&.is-danger {
|
|
64
|
+
input,
|
|
65
|
+
.ac-card,
|
|
66
|
+
textarea {
|
|
67
|
+
border: 1px solid $danger;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
p {
|
|
71
|
+
color: $danger;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&.is-loading {
|
|
76
|
+
input,
|
|
77
|
+
.ac-card,
|
|
78
|
+
textarea {
|
|
79
|
+
border: 1px solid $info;
|
|
80
|
+
opacity: 0.5;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
p {
|
|
84
|
+
color: $info;
|
|
85
|
+
opacity: 0.5;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
&.borderless-input {
|
|
90
|
+
input {
|
|
91
|
+
border: none;
|
|
92
|
+
font-size: 13px;
|
|
93
|
+
padding: 4px 7px;
|
|
94
|
+
height: 30px;
|
|
95
|
+
background-color: $white-100;
|
|
96
|
+
padding-right: 30px;
|
|
97
|
+
|
|
98
|
+
&[type="password"] {
|
|
99
|
+
padding-right: 30px;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
&:focus {
|
|
103
|
+
outline: none;
|
|
104
|
+
border: none;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
span.eye {
|
|
109
|
+
i.fa {
|
|
110
|
+
padding: 9px;
|
|
111
|
+
font-size: 12px;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
&.is-normal {
|
|
117
|
+
input {
|
|
118
|
+
height: 45px;
|
|
119
|
+
font-size: 15px;
|
|
120
|
+
font-weight: 400;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.button {
|
|
124
|
+
&.is-information {
|
|
125
|
+
height: 45px;
|
|
126
|
+
width: 45px;
|
|
127
|
+
margin-top: 0;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
span.eye i.fa {
|
|
132
|
+
padding: 14px 10px;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.ac-search-button {
|
|
136
|
+
margin-top: -22.5px;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
label {
|
|
140
|
+
top: 13px;
|
|
141
|
+
font-size: 13px;
|
|
142
|
+
|
|
143
|
+
&.show-label {
|
|
144
|
+
font-size: 12px;
|
|
145
|
+
color: $black-40;
|
|
146
|
+
top: -9px;
|
|
147
|
+
font-weight: 500;
|
|
148
|
+
background-color: $white-100;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.control {
|
|
153
|
+
&.has-icons-right {
|
|
154
|
+
.icon {
|
|
155
|
+
height: 45px;
|
|
156
|
+
width: 30px;
|
|
157
|
+
font-size: 13px;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
&.is-small {
|
|
164
|
+
input {
|
|
165
|
+
height: 36px;
|
|
166
|
+
font-size: 13px;
|
|
167
|
+
font-weight: 400;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.button {
|
|
171
|
+
&.is-information {
|
|
172
|
+
height: 36px;
|
|
173
|
+
width: 36px;
|
|
174
|
+
margin-top: 0;
|
|
175
|
+
padding: 10px;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
span.eye i.fa {
|
|
180
|
+
padding: 10px;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.ac-search-button {
|
|
184
|
+
margin-top: -18px;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
label {
|
|
188
|
+
top: 8px;
|
|
189
|
+
font-size: 13px;
|
|
190
|
+
|
|
191
|
+
&.switch-label {
|
|
192
|
+
top: 0;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
&.show-label {
|
|
196
|
+
font-size: 12px;
|
|
197
|
+
top: -9px;
|
|
198
|
+
font-weight: 500;
|
|
199
|
+
color: $black-40;
|
|
200
|
+
|
|
201
|
+
&.is-required {
|
|
202
|
+
&:after {
|
|
203
|
+
width: calc(100% + 10px);
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.control {
|
|
210
|
+
&.has-icons-right {
|
|
211
|
+
.icon {
|
|
212
|
+
height: 36px;
|
|
213
|
+
width: 25px;
|
|
214
|
+
font-size: 13px;
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
&.is-extra-small {
|
|
221
|
+
input {
|
|
222
|
+
height: 32px;
|
|
223
|
+
font-size: 13px;
|
|
224
|
+
font-weight: 400;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.button {
|
|
228
|
+
&.is-information {
|
|
229
|
+
height: 32px;
|
|
230
|
+
width: 32px;
|
|
231
|
+
margin-top: 0;
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
span.eye i.fa {
|
|
236
|
+
padding: 10px;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.ac-search-button {
|
|
240
|
+
margin-top: 0px;
|
|
241
|
+
top: 0;
|
|
242
|
+
display: flex;
|
|
243
|
+
align-items: center;
|
|
244
|
+
width: 40px;
|
|
245
|
+
justify-content: center;
|
|
246
|
+
|
|
247
|
+
svg {
|
|
248
|
+
width: 18px;
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
label {
|
|
253
|
+
top: 8px;
|
|
254
|
+
font-size: 13px;
|
|
255
|
+
|
|
256
|
+
&.switch-label {
|
|
257
|
+
top: 0;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
&.show-label {
|
|
261
|
+
font-size: 12px;
|
|
262
|
+
top: -9px;
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
.control {
|
|
267
|
+
&.has-icons-right {
|
|
268
|
+
.icon {
|
|
269
|
+
height: 32px;
|
|
270
|
+
width: 25px;
|
|
271
|
+
font-size: 13px;
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
&:last-child {
|
|
278
|
+
margin-bottom: 0;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
&.is-dark {
|
|
282
|
+
input {
|
|
283
|
+
background-color: $primary-10;
|
|
284
|
+
border-color: transparent;
|
|
285
|
+
color: $white-100;
|
|
286
|
+
|
|
287
|
+
&::placeholder {
|
|
288
|
+
color: $primary-10;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
button {
|
|
292
|
+
i.fa {
|
|
293
|
+
color: $white-100;
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
label {
|
|
300
|
+
font-size: 13px;
|
|
301
|
+
left: 15px;
|
|
302
|
+
top: 11px;
|
|
303
|
+
cursor: text;
|
|
304
|
+
color: $primary-10;
|
|
305
|
+
position: absolute;
|
|
306
|
+
z-index: 2;
|
|
307
|
+
transition: 0.3s ease-in-out;
|
|
308
|
+
|
|
309
|
+
.is-required {
|
|
310
|
+
color: $danger;
|
|
311
|
+
|
|
312
|
+
img {
|
|
313
|
+
position: absolute;
|
|
314
|
+
top: 7px;
|
|
315
|
+
padding-left: 3px;
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
&.show-label {
|
|
320
|
+
top: -9px;
|
|
321
|
+
left: 10px;
|
|
322
|
+
padding: 0 5px;
|
|
323
|
+
font-size: 13px;
|
|
324
|
+
color: $black-40;
|
|
325
|
+
|
|
326
|
+
&:after {
|
|
327
|
+
position: absolute;
|
|
328
|
+
content: "";
|
|
329
|
+
left: 0;
|
|
330
|
+
top: 50%;
|
|
331
|
+
background-color: $white-100;
|
|
332
|
+
width: 100%;
|
|
333
|
+
height: 2px;
|
|
334
|
+
margin-top: -1px;
|
|
335
|
+
z-index: -1;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
// &.is-required {
|
|
339
|
+
// &:after {
|
|
340
|
+
// width: calc(100% + 10px);
|
|
341
|
+
// }
|
|
342
|
+
// }
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
.button {
|
|
347
|
+
&.is-information {
|
|
348
|
+
background-color: transparent;
|
|
349
|
+
border: none;
|
|
350
|
+
position: absolute;
|
|
351
|
+
right: 0;
|
|
352
|
+
height: 32px;
|
|
353
|
+
width: 32px;
|
|
354
|
+
margin-top: 0;
|
|
355
|
+
|
|
356
|
+
&:focus {
|
|
357
|
+
outline: none;
|
|
358
|
+
box-shadow: none;
|
|
359
|
+
background-color: #e4e8ef;
|
|
360
|
+
transform: scale(0.8);
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
.ac-search-button {
|
|
366
|
+
background-color: transparent;
|
|
367
|
+
border: none;
|
|
368
|
+
position: absolute;
|
|
369
|
+
left: 0;
|
|
370
|
+
top: 50%;
|
|
371
|
+
width: 32px;
|
|
372
|
+
height: 100%;
|
|
373
|
+
margin-top: -15px;
|
|
374
|
+
color: $primary-20;
|
|
375
|
+
cursor: pointer;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
.ac-dropdown-content {
|
|
379
|
+
position: absolute;
|
|
380
|
+
background-color: $primary-90;
|
|
381
|
+
width: 100%;
|
|
382
|
+
height: auto;
|
|
383
|
+
box-shadow: 0px 4px 16px rgba(132, 147, 168, 0.6);
|
|
384
|
+
border-radius: 4px;
|
|
385
|
+
overflow: hidden;
|
|
386
|
+
|
|
387
|
+
ul {
|
|
388
|
+
li {
|
|
389
|
+
a {
|
|
390
|
+
color: $primary-10;
|
|
391
|
+
display: block;
|
|
392
|
+
font-size: 13px;
|
|
393
|
+
padding: 8px 20px;
|
|
394
|
+
transition: 0.3s;
|
|
395
|
+
|
|
396
|
+
&:hover {
|
|
397
|
+
background-color: hsla(
|
|
398
|
+
var(--hsl-hue),
|
|
399
|
+
var(--hsl-saturation),
|
|
400
|
+
var(--hsl-lightness),
|
|
401
|
+
0.2
|
|
402
|
+
);
|
|
403
|
+
color: $primary;
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
.ac-textarea {
|
|
411
|
+
.ac-label {
|
|
412
|
+
&.is-required {
|
|
413
|
+
&:after {
|
|
414
|
+
width: calc(100% + 10px);
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
textarea {
|
|
420
|
+
border: 1px solid $primary-80;
|
|
421
|
+
background-color: transparent;
|
|
422
|
+
padding: 10px 15px;
|
|
423
|
+
min-height: 50px;
|
|
424
|
+
|
|
425
|
+
&.bg-white {
|
|
426
|
+
background-color: transparent;
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
&:focus {
|
|
430
|
+
outline: none;
|
|
431
|
+
border: 1px solid $primary;
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
input,
|
|
437
|
+
.ac-card,
|
|
438
|
+
textarea {
|
|
439
|
+
background-color: $white-100;
|
|
440
|
+
color: $primary-10;
|
|
441
|
+
height: 45px;
|
|
442
|
+
font-weight: 400;
|
|
443
|
+
width: 100%;
|
|
444
|
+
border-radius: 4px;
|
|
445
|
+
border: 1px solid $primary-80;
|
|
446
|
+
padding: 8px 15px;
|
|
447
|
+
font-size: 13px;
|
|
448
|
+
|
|
449
|
+
&:hover {
|
|
450
|
+
border-color: $black-70;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
&.bg-white {
|
|
454
|
+
background-color: $white-100;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
&.StripeElement--focus {
|
|
458
|
+
border: 1px solid $primary;
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
&:focus {
|
|
462
|
+
border: 1px solid $primary;
|
|
463
|
+
outline: none;
|
|
464
|
+
background-color: $white-100;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
&[type="password"] {
|
|
468
|
+
padding-right: 40px;
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
&[type="search"] {
|
|
472
|
+
padding-left: 30px;
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
transition: background-color 0.3s ease-in-out;
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
.ac-card {
|
|
479
|
+
height: 36px;
|
|
480
|
+
padding: 10px 20px;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
textarea {
|
|
484
|
+
height: 55px;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
b.isRequired {
|
|
488
|
+
color: $danger;
|
|
489
|
+
font-size: 13px;
|
|
490
|
+
position: absolute;
|
|
491
|
+
right: 5px;
|
|
492
|
+
z-index: 9;
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
span.eye {
|
|
496
|
+
i.fa {
|
|
497
|
+
color: $primary-80;
|
|
498
|
+
position: absolute;
|
|
499
|
+
cursor: pointer;
|
|
500
|
+
padding: 15px;
|
|
501
|
+
right: 0;
|
|
502
|
+
top: 0;
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
.is-danger {
|
|
507
|
+
font-size: 12px;
|
|
508
|
+
line-height: 22px;
|
|
509
|
+
color: $danger;
|
|
510
|
+
text-align: left;
|
|
511
|
+
|
|
512
|
+
i.fa {
|
|
513
|
+
padding-right: 10px;
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
.ac-input.ac-search {
|
|
519
|
+
width: 42px;
|
|
520
|
+
transition: 0.3s ease-in-out;
|
|
521
|
+
padding: 0;
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
.ac-search:focus {
|
|
525
|
+
width: 200px !important;
|
|
526
|
+
padding-right: 10px;
|
|
527
|
+
}
|
|
528
|
+
</style>
|
|
@@ -397,6 +397,8 @@ watch(
|
|
|
397
397
|
font-weight: 500;
|
|
398
398
|
line-height: 1.5;
|
|
399
399
|
// padding-bottom: 4px;
|
|
400
|
+
display: flex;
|
|
401
|
+
align-items: center;
|
|
400
402
|
|
|
401
403
|
&::placeholder {
|
|
402
404
|
font-weight: 500;
|
|
@@ -465,6 +467,8 @@ watch(
|
|
|
465
467
|
font-weight: 500;
|
|
466
468
|
line-height: 1.5;
|
|
467
469
|
// padding-bottom: 4px;
|
|
470
|
+
display: flex;
|
|
471
|
+
align-items: center;
|
|
468
472
|
|
|
469
473
|
&::placeholder {
|
|
470
474
|
font-weight: 500;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { defineAsyncComponent, ref
|
|
2
|
+
import { computed, defineAsyncComponent, ref } from "vue";
|
|
3
3
|
|
|
4
4
|
interface Props {
|
|
5
5
|
isLoaderActive?: boolean;
|
|
@@ -67,8 +67,10 @@ const isFullTableLoaderActive = computed(() => {
|
|
|
67
67
|
:key="(tableHeader as string)"
|
|
68
68
|
>
|
|
69
69
|
<table-cell>
|
|
70
|
-
<
|
|
71
|
-
|
|
70
|
+
<span class="is-flex is-align-items-center">
|
|
71
|
+
<slot :name="`table-cell-icon-${idx}`" />
|
|
72
|
+
{{ tableHeader }}
|
|
73
|
+
</span>
|
|
72
74
|
</table-cell>
|
|
73
75
|
<table-cell v-if="isLoaderActive">
|
|
74
76
|
<cell-value :is-loader-active="true" />
|
|
@@ -89,7 +91,7 @@ const isFullTableLoaderActive = computed(() => {
|
|
|
89
91
|
// INFO TABLE START
|
|
90
92
|
.table.ac-info-table {
|
|
91
93
|
background-color: transparent;
|
|
92
|
-
border-top: 1px solid $primary-
|
|
94
|
+
border-top: 1px solid $primary-93;
|
|
93
95
|
|
|
94
96
|
&.is-fullwidth {
|
|
95
97
|
tbody {
|
|
@@ -490,9 +490,9 @@ onUpdated(() => {
|
|
|
490
490
|
thead {
|
|
491
491
|
tr {
|
|
492
492
|
th {
|
|
493
|
-
border-top: 1px solid $primary-
|
|
494
|
-
border-bottom: 1px solid $primary-
|
|
495
|
-
border-right: 1px solid $primary-
|
|
493
|
+
border-top: 1px solid $primary-93;
|
|
494
|
+
border-bottom: 1px solid $primary-93;
|
|
495
|
+
border-right: 1px solid $primary-93;
|
|
496
496
|
background-color: $primary-97;
|
|
497
497
|
|
|
498
498
|
&:first-child {
|
|
@@ -515,8 +515,8 @@ onUpdated(() => {
|
|
|
515
515
|
font-size: 13px;
|
|
516
516
|
color: $primary-20;
|
|
517
517
|
background-color: transparent;
|
|
518
|
-
border-bottom: 1px solid $primary-
|
|
519
|
-
border-right: 1px solid $primary-
|
|
518
|
+
border-bottom: 1px solid $primary-93;
|
|
519
|
+
border-right: 1px solid $primary-93;
|
|
520
520
|
&:last-child {
|
|
521
521
|
border-right: 1px solid transparent;
|
|
522
522
|
}
|