@mptw/skylens-ui 1.5.16 → 1.5.17
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/app/components/SLAlertModal.vue +18 -18
- package/app/components/SLButton.vue +108 -148
- package/app/components/SLCalendarButton.vue +24 -24
- package/app/components/SLCard.vue +44 -44
- package/app/components/SLCheckbox.vue +45 -46
- package/app/components/SLCircleButton.vue +13 -13
- package/app/components/SLCollapsableBlock.vue +15 -15
- package/app/components/SLCollapsableMulitPillSelect.vue +9 -9
- package/app/components/SLContextMenu.vue +9 -9
- package/app/components/SLDateInput.vue +41 -48
- package/app/components/SLDownloadButton.vue +12 -12
- package/app/components/SLDropdown.vue +21 -21
- package/app/components/SLDropdownItem.vue +3 -3
- package/app/components/SLElementWithTitle.vue +3 -3
- package/app/components/SLEyeCheckbox.vue +36 -36
- package/app/components/SLFileInput.vue +16 -16
- package/app/components/SLGenderAgeSelect.vue +39 -39
- package/app/components/SLHourRangeInput.vue +19 -20
- package/app/components/SLIOSSwitch.vue +72 -73
- package/app/components/SLIconButton.vue +29 -21
- package/app/components/SLInfoTip.vue +35 -36
- package/app/components/SLLegend.vue +9 -9
- package/app/components/SLLink.vue +3 -3
- package/app/components/SLLoading.vue +25 -25
- package/app/components/SLModal.vue +79 -79
- package/app/components/SLMonthCalendarButton.vue +46 -46
- package/app/components/SLMonthPicker.vue +28 -30
- package/app/components/SLMultiEmailInput.vue +71 -72
- package/app/components/SLMultiSelect.vue +27 -29
- package/app/components/SLPageModal.vue +5 -5
- package/app/components/SLPagination.vue +31 -31
- package/app/components/SLPillCheckbox.vue +42 -42
- package/app/components/SLPillLabel.vue +36 -36
- package/app/components/SLPopupMenuButton.vue +16 -16
- package/app/components/SLProfileButton.vue +17 -17
- package/app/components/SLProjectShareItem.vue +17 -17
- package/app/components/SLRadioButton.vue +33 -33
- package/app/components/SLRadioButtonGroup.vue +6 -6
- package/app/components/SLRadioGroup.vue +93 -93
- package/app/components/SLRangeInput.vue +17 -19
- package/app/components/SLRightSider.vue +19 -20
- package/app/components/SLSearchInput.vue +7 -7
- package/app/components/SLSelect.vue +90 -92
- package/app/components/SLSelectAllToggle.vue +45 -45
- package/app/components/SLSidebarNav.vue +148 -151
- package/app/components/SLSidebarNavGroupItemSection.vue +70 -78
- package/app/components/SLSidebarNavLinkItem.vue +51 -53
- package/app/components/SLSitePage.vue +6 -6
- package/app/components/SLSortByDropdown.vue +18 -18
- package/app/components/SLStayRangeInput.vue +39 -40
- package/app/components/SLTable.vue +56 -59
- package/app/components/SLTableTooltip.vue +31 -33
- package/app/components/SLTabs.vue +220 -220
- package/app/components/SLTextInput.vue +64 -74
- package/app/components/SLTextarea.vue +9 -9
- package/app/components/SLToast.vue +1 -2
- package/app/components/SLToggleButton.vue +12 -12
- package/app/components/SLTwoLayerMultiSelect.vue +56 -56
- package/app/components/SLTwoLayerSelect.vue +39 -39
- package/app/components/SLTwoLayerSingleSelect.vue +21 -21
- package/app/components/SLWarnModal.vue +3 -3
- package/package.json +1 -1
|
@@ -230,14 +230,14 @@ export default defineComponent({
|
|
|
230
230
|
|
|
231
231
|
.text-input.inline {
|
|
232
232
|
@apply flex;
|
|
233
|
-
}
|
|
234
233
|
|
|
235
|
-
.
|
|
236
|
-
|
|
237
|
-
}
|
|
234
|
+
.form-control {
|
|
235
|
+
@apply grow;
|
|
236
|
+
}
|
|
238
237
|
|
|
239
|
-
|
|
240
|
-
|
|
238
|
+
> label {
|
|
239
|
+
@apply grow-0 shrink-0 mb-0 mr-2 py-2 border-t border-b border-transparent;
|
|
240
|
+
}
|
|
241
241
|
}
|
|
242
242
|
|
|
243
243
|
.text-input.is-float > label {
|
|
@@ -254,14 +254,13 @@ export default defineComponent({
|
|
|
254
254
|
|
|
255
255
|
.text-input.is-float .input-group .input {
|
|
256
256
|
@apply relative bg-primary-50 border-primary-50;
|
|
257
|
-
}
|
|
258
257
|
|
|
259
|
-
.
|
|
260
|
-
|
|
258
|
+
.float-label {
|
|
259
|
+
@apply inline-block;
|
|
260
|
+
}
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
-
.text-input.is-float .is-invalid .input-group .input,
|
|
264
|
-
.text-input.is-float .is-invalid .input-group .input.is-focus {
|
|
263
|
+
.text-input.is-float .is-invalid .input-group .input, .text-input.is-float .is-invalid .input-group .input.is-focus {
|
|
265
264
|
@apply border-danger-light;
|
|
266
265
|
}
|
|
267
266
|
|
|
@@ -271,50 +270,42 @@ export default defineComponent({
|
|
|
271
270
|
|
|
272
271
|
.text-input.is-fixed-float .input-group .input {
|
|
273
272
|
@apply relative bg-white border-primary;
|
|
274
|
-
}
|
|
275
273
|
|
|
276
|
-
.
|
|
277
|
-
|
|
274
|
+
.float-label {
|
|
275
|
+
@apply inline-block ml-1.5 -mt-2.25 py-0 px-0.5 bg-white text-primary text-xs transition-(--transition-input-focus);
|
|
276
|
+
}
|
|
278
277
|
}
|
|
279
278
|
|
|
280
|
-
.text-input.is-fixed-float .is-invalid .input-group .input,
|
|
281
|
-
.text-input.is-fixed-float .is-invalid .input-group .input.is-focus {
|
|
279
|
+
.text-input.is-fixed-float .is-invalid .input-group .input, .text-input.is-fixed-float .is-invalid .input-group .input.is-focus {
|
|
282
280
|
@apply border-danger-light;
|
|
283
281
|
}
|
|
284
282
|
|
|
285
|
-
.text-input.disabled .input-group.is-focus .input,
|
|
286
|
-
.text-input.readonly .input-group.is-focus .input {
|
|
283
|
+
.text-input.disabled .input-group.is-focus .input, .text-input.readonly .input-group.is-focus .input {
|
|
287
284
|
@apply border-primary-600;
|
|
288
285
|
}
|
|
289
286
|
|
|
290
|
-
.text-input.disabled .input-group .input,
|
|
291
|
-
.text-input.readonly .input-group .input {
|
|
287
|
+
.text-input.disabled .input-group .input, .text-input.readonly .input-group .input {
|
|
292
288
|
@apply border-primary-600 bg-primary-100;
|
|
293
289
|
}
|
|
294
290
|
|
|
295
291
|
.text-input > label {
|
|
296
292
|
@apply w-full mb-2 text-base leading-[1.3125] text-pgray-2;
|
|
297
|
-
}
|
|
298
293
|
|
|
299
|
-
.
|
|
300
|
-
|
|
294
|
+
.required {
|
|
295
|
+
@apply text-danger;
|
|
296
|
+
}
|
|
301
297
|
}
|
|
302
298
|
|
|
303
|
-
.text-input .is-invalid .input-group .input,
|
|
304
|
-
.text-input .is-invalid .input-group.is-focus .input {
|
|
299
|
+
.text-input .is-invalid .input-group .input, .text-input .is-invalid .input-group.is-focus .input {
|
|
305
300
|
@apply border-danger-light;
|
|
306
|
-
}
|
|
307
301
|
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
.text-input .is-invalid .input-group.is-focus .input.input-xs .icon {
|
|
312
|
-
@apply hidden;
|
|
313
|
-
}
|
|
302
|
+
&.input-sm .icon, &.input-xs .icon, &.input-sm .icon, &.input-xs .icon {
|
|
303
|
+
@apply hidden;
|
|
304
|
+
}
|
|
314
305
|
|
|
315
|
-
.
|
|
316
|
-
|
|
317
|
-
|
|
306
|
+
.icon, .icon {
|
|
307
|
+
@apply inline-block;
|
|
308
|
+
}
|
|
318
309
|
}
|
|
319
310
|
|
|
320
311
|
.text-input .is-invalid .invalid-feedback {
|
|
@@ -323,59 +314,58 @@ export default defineComponent({
|
|
|
323
314
|
|
|
324
315
|
.text-input .input-group {
|
|
325
316
|
@apply flex flex-nowrap text-base leading-[1.3125];
|
|
326
|
-
}
|
|
327
317
|
|
|
328
|
-
.
|
|
329
|
-
|
|
330
|
-
}
|
|
318
|
+
&.is-fill .input .float-label, &.is-focus .input .float-label {
|
|
319
|
+
@apply ml-1.5 -mt-2.25 py-0 px-0.5 bg-white text-primary text-xs transition-(--transition-input-focus);
|
|
320
|
+
}
|
|
331
321
|
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
}
|
|
322
|
+
&.is-focus .input {
|
|
323
|
+
@apply border-primary;
|
|
324
|
+
}
|
|
336
325
|
|
|
337
|
-
.
|
|
338
|
-
|
|
339
|
-
}
|
|
326
|
+
.input {
|
|
327
|
+
@apply grow flex items-center p-1.75 bg-white rounded border border-primary-600;
|
|
340
328
|
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
}
|
|
329
|
+
&:not(:first-child) {
|
|
330
|
+
@apply rounded-l-none border-l-0;
|
|
331
|
+
}
|
|
344
332
|
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
}
|
|
333
|
+
&:not(:last-child) {
|
|
334
|
+
@apply rounded-r-none border-r-0;
|
|
335
|
+
}
|
|
348
336
|
|
|
349
|
-
.
|
|
350
|
-
|
|
351
|
-
}
|
|
337
|
+
.float-label {
|
|
338
|
+
@apply hidden absolute top-0 left-0 p-1.75 border-t border-b border-transparent text-pgray-3 cursor-text;
|
|
339
|
+
}
|
|
352
340
|
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
}
|
|
341
|
+
&.input-sm {
|
|
342
|
+
@apply py-0.75;
|
|
356
343
|
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
}
|
|
344
|
+
input {
|
|
345
|
+
@apply text-base;
|
|
346
|
+
}
|
|
347
|
+
}
|
|
360
348
|
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
}
|
|
349
|
+
&.input-xs {
|
|
350
|
+
@apply py-px px-0.75;
|
|
364
351
|
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
}
|
|
352
|
+
input {
|
|
353
|
+
@apply text-base;
|
|
354
|
+
}
|
|
355
|
+
}
|
|
368
356
|
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
}
|
|
357
|
+
input {
|
|
358
|
+
@apply grow w-full bg-transparent text-pgray-2 placeholder-pgray-4 focus:outline-none;
|
|
359
|
+
}
|
|
372
360
|
|
|
373
|
-
.
|
|
374
|
-
|
|
361
|
+
.icon {
|
|
362
|
+
@apply grow-0 shrink-0 hidden text-danger-light;
|
|
363
|
+
}
|
|
364
|
+
}
|
|
375
365
|
}
|
|
376
366
|
|
|
377
|
-
.text-input .input-group
|
|
378
|
-
@apply
|
|
367
|
+
.text-input .input-group-prepend {
|
|
368
|
+
@apply grow-0 shrink-0;
|
|
379
369
|
}
|
|
380
370
|
|
|
381
371
|
.text-input .input-group-append {
|
|
@@ -97,14 +97,14 @@ export default defineComponent({
|
|
|
97
97
|
|
|
98
98
|
.textarea.inline {
|
|
99
99
|
@apply flex;
|
|
100
|
-
}
|
|
101
100
|
|
|
102
|
-
.
|
|
103
|
-
|
|
104
|
-
}
|
|
101
|
+
.form-control {
|
|
102
|
+
@apply grow;
|
|
103
|
+
}
|
|
105
104
|
|
|
106
|
-
|
|
107
|
-
|
|
105
|
+
label {
|
|
106
|
+
@apply grow-0 shrink-0 mb-0 mr-2 py-2 border-t border-b border-transparent;
|
|
107
|
+
}
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
.textarea.disabled textarea {
|
|
@@ -129,10 +129,10 @@ export default defineComponent({
|
|
|
129
129
|
|
|
130
130
|
.textarea textarea {
|
|
131
131
|
@apply block w-full p-2 border border-primary-600 rounded bg-white text-base text-pgray-2 resize-none focus:border-primary focus:outline-none;
|
|
132
|
-
}
|
|
133
132
|
|
|
134
|
-
|
|
135
|
-
|
|
133
|
+
&:focus + .textarea-placeholder {
|
|
134
|
+
@apply invisible;
|
|
135
|
+
}
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
.textarea .form-control-notice {
|
|
@@ -65,21 +65,21 @@ export default defineComponent({
|
|
|
65
65
|
|
|
66
66
|
.sl-toggle-button {
|
|
67
67
|
@apply inline-flex items-center justify-center p-1.5 space-x-2 bg-primary-100 rounded text-base text-primary-600;
|
|
68
|
-
}
|
|
69
68
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
}
|
|
69
|
+
&.sl-toggle-button-sm {
|
|
70
|
+
@apply h-7.25 px-1 py-0 text-sm;
|
|
73
71
|
|
|
74
|
-
.
|
|
75
|
-
|
|
76
|
-
}
|
|
72
|
+
.icon {
|
|
73
|
+
@apply text-lg leading-none;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
77
76
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
}
|
|
77
|
+
&.disabled {
|
|
78
|
+
@apply bg-pgray-5 text-white cursor-default;
|
|
79
|
+
}
|
|
81
80
|
|
|
82
|
-
|
|
83
|
-
|
|
81
|
+
&.active {
|
|
82
|
+
@apply bg-primary-600 text-white;
|
|
83
|
+
}
|
|
84
84
|
}
|
|
85
85
|
</style>
|
|
@@ -348,42 +348,71 @@ export default defineComponent({
|
|
|
348
348
|
|
|
349
349
|
.two-layer-multi-select {
|
|
350
350
|
@apply relative w-full;
|
|
351
|
-
}
|
|
352
351
|
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
}
|
|
352
|
+
&.two-layer-multi-select-sm .toggle-button {
|
|
353
|
+
@apply text-sm;
|
|
354
|
+
}
|
|
356
355
|
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
}
|
|
356
|
+
&.bordered .select-menu-popup {
|
|
357
|
+
@apply border-primary-600;
|
|
358
|
+
}
|
|
360
359
|
|
|
361
|
-
.
|
|
362
|
-
|
|
363
|
-
}
|
|
360
|
+
.select-menu-popup {
|
|
361
|
+
@apply z-10 flex flex-col h-67.75 min-w-[552px] w-full pt-2.75 px-2.75 bg-white border border-primary-100 rounded shadow-default invisible pointer-events-none;
|
|
364
362
|
|
|
365
|
-
.
|
|
366
|
-
|
|
367
|
-
}
|
|
363
|
+
.select-body-divider {
|
|
364
|
+
@apply grow-0 shrink-0 w-px h-auto mb-3 mr-2.75 ml-3 bg-pgray-4;
|
|
365
|
+
}
|
|
368
366
|
|
|
369
|
-
.
|
|
370
|
-
|
|
371
|
-
}
|
|
367
|
+
.select-header {
|
|
368
|
+
@apply grow-0 shrink-0 mb-3;
|
|
369
|
+
}
|
|
372
370
|
|
|
373
|
-
.
|
|
374
|
-
|
|
375
|
-
}
|
|
371
|
+
.select-body {
|
|
372
|
+
@apply grow flex overflow-hidden;
|
|
376
373
|
|
|
377
|
-
.
|
|
378
|
-
|
|
379
|
-
}
|
|
374
|
+
.menu-header {
|
|
375
|
+
@apply grow-0 shrink-0 w-full pb-2 text-primary border-b border-primary;
|
|
376
|
+
}
|
|
380
377
|
|
|
381
|
-
.
|
|
382
|
-
|
|
383
|
-
|
|
378
|
+
.menu-body {
|
|
379
|
+
@apply relative grow;
|
|
380
|
+
|
|
381
|
+
.list .item {
|
|
382
|
+
@apply relative flex items-center justify-start flex-nowrap py-1.5 px-2 space-x-2.5 text-sm text-pgray-3 hover:bg-primary-100;
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
.menu {
|
|
387
|
+
@apply grow flex flex-col text-base leading-[1.3125] overflow-hidden;
|
|
388
|
+
flex: 1;
|
|
389
|
+
|
|
390
|
+
&:hover {
|
|
391
|
+
flex: 1.5;
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
}
|
|
384
395
|
|
|
385
|
-
|
|
386
|
-
|
|
396
|
+
&[data-show] {
|
|
397
|
+
@apply visible pointer-events-auto;
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
.toggle-button {
|
|
402
|
+
@apply relative flex items-center w-full p-1.75 space-x-1.75 border border-primary-600 rounded text-base text-pgray-4;
|
|
403
|
+
|
|
404
|
+
.button-title {
|
|
405
|
+
@apply grow;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
&.selected {
|
|
409
|
+
@apply text-pgray-2;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
.icon {
|
|
413
|
+
@apply grow-0 shrink-0 inline-flex text-xs text-pgray-2 leading-none;
|
|
414
|
+
}
|
|
415
|
+
}
|
|
387
416
|
}
|
|
388
417
|
|
|
389
418
|
.two-layer-multi-select
|
|
@@ -413,19 +442,6 @@ export default defineComponent({
|
|
|
413
442
|
@apply text-sm;
|
|
414
443
|
}
|
|
415
444
|
|
|
416
|
-
.two-layer-multi-select .select-menu-popup .select-body {
|
|
417
|
-
@apply grow flex overflow-hidden;
|
|
418
|
-
}
|
|
419
|
-
|
|
420
|
-
.two-layer-multi-select .select-menu-popup .select-body .menu {
|
|
421
|
-
@apply grow flex flex-col text-base leading-[1.3125] overflow-hidden;
|
|
422
|
-
flex: 1;
|
|
423
|
-
}
|
|
424
|
-
|
|
425
|
-
.two-layer-multi-select .select-menu-popup .select-body .menu:hover {
|
|
426
|
-
flex: 1.5;
|
|
427
|
-
}
|
|
428
|
-
|
|
429
445
|
.two-layer-multi-select
|
|
430
446
|
.select-menu-popup
|
|
431
447
|
.select-body
|
|
@@ -437,18 +453,6 @@ export default defineComponent({
|
|
|
437
453
|
@apply grow;
|
|
438
454
|
}
|
|
439
455
|
|
|
440
|
-
.two-layer-multi-select .select-menu-popup .select-body .menu-header {
|
|
441
|
-
@apply grow-0 shrink-0 w-full pb-2 text-primary border-b border-primary;
|
|
442
|
-
}
|
|
443
|
-
|
|
444
|
-
.two-layer-multi-select .select-menu-popup .select-body .menu-body {
|
|
445
|
-
@apply relative grow;
|
|
446
|
-
}
|
|
447
|
-
|
|
448
|
-
.two-layer-multi-select .select-menu-popup .select-body .menu-body .list .item {
|
|
449
|
-
@apply relative flex items-center justify-start flex-nowrap py-1.5 px-2 space-x-2.5 text-sm text-pgray-3 hover:bg-primary-100;
|
|
450
|
-
}
|
|
451
|
-
|
|
452
456
|
.two-layer-multi-select
|
|
453
457
|
.select-menu-popup
|
|
454
458
|
.select-body
|
|
@@ -533,8 +537,4 @@ export default defineComponent({
|
|
|
533
537
|
.item-name {
|
|
534
538
|
@apply grow block truncate;
|
|
535
539
|
}
|
|
536
|
-
|
|
537
|
-
.two-layer-multi-select .select-menu-popup .select-body-divider {
|
|
538
|
-
@apply grow-0 shrink-0 w-px h-auto mb-3 mr-2.75 ml-3 bg-pgray-4;
|
|
539
|
-
}
|
|
540
540
|
</style>
|
|
@@ -219,57 +219,57 @@ export default defineComponent({
|
|
|
219
219
|
|
|
220
220
|
.tw-layer-select {
|
|
221
221
|
@apply flex flex-col w-138 h-67.75 pt-2.75 px-2.75 bg-white border border-primary-100 rounded shadow-default;
|
|
222
|
-
}
|
|
223
222
|
|
|
224
|
-
.
|
|
225
|
-
|
|
226
|
-
}
|
|
223
|
+
.select-body-divider {
|
|
224
|
+
@apply grow-0 shrink-0 w-px h-auto mb-3 mr-2.75 ml-3 bg-pgray-4;
|
|
225
|
+
}
|
|
227
226
|
|
|
228
|
-
.
|
|
229
|
-
|
|
230
|
-
}
|
|
227
|
+
.select-header {
|
|
228
|
+
@apply grow-0 shrink-0 mb-3;
|
|
231
229
|
|
|
232
|
-
.
|
|
233
|
-
|
|
234
|
-
}
|
|
230
|
+
.text-input .input-group .input {
|
|
231
|
+
@apply py-1.25;
|
|
235
232
|
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
}
|
|
233
|
+
input {
|
|
234
|
+
@apply text-sm;
|
|
235
|
+
}
|
|
236
|
+
}
|
|
239
237
|
|
|
240
|
-
.
|
|
241
|
-
|
|
242
|
-
}
|
|
238
|
+
.search-input .button-group {
|
|
239
|
+
@apply py-0.75;
|
|
240
|
+
}
|
|
241
|
+
}
|
|
243
242
|
|
|
244
|
-
.
|
|
245
|
-
|
|
246
|
-
}
|
|
243
|
+
.select-body {
|
|
244
|
+
@apply grow flex overflow-hidden;
|
|
247
245
|
|
|
248
|
-
.
|
|
249
|
-
|
|
250
|
-
}
|
|
246
|
+
.menu-header {
|
|
247
|
+
@apply grow-0 shrink-0 w-full pb-2 text-primary border-b border-primary;
|
|
248
|
+
}
|
|
251
249
|
|
|
252
|
-
.
|
|
253
|
-
|
|
254
|
-
}
|
|
250
|
+
.menu-body {
|
|
251
|
+
@apply relative grow;
|
|
255
252
|
|
|
256
|
-
.
|
|
257
|
-
|
|
258
|
-
}
|
|
253
|
+
.list .item {
|
|
254
|
+
@apply relative block py-1.5 px-2 hover:bg-primary-50 text-sm text-pgray-3 truncate;
|
|
259
255
|
|
|
260
|
-
.
|
|
261
|
-
|
|
262
|
-
}
|
|
256
|
+
.highlight-dot {
|
|
257
|
+
@apply absolute top-0 left-0 w-1.5 h-1.5 mt-2 ml-1 bg-red rounded-full;
|
|
258
|
+
}
|
|
263
259
|
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
}
|
|
260
|
+
&.selected {
|
|
261
|
+
@apply bg-primary-100 text-primary;
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
}
|
|
267
265
|
|
|
268
|
-
.
|
|
269
|
-
|
|
270
|
-
}
|
|
266
|
+
.menu {
|
|
267
|
+
@apply grow flex flex-col text-base leading-[1.3125] overflow-hidden;
|
|
271
268
|
|
|
272
|
-
|
|
273
|
-
|
|
269
|
+
&:hover {
|
|
270
|
+
@apply grow-[1.5];
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
274
|
}
|
|
275
275
|
</style>
|
|
@@ -301,33 +301,33 @@ export default defineComponent({
|
|
|
301
301
|
|
|
302
302
|
.two-layer-single-select {
|
|
303
303
|
@apply relative w-full;
|
|
304
|
-
}
|
|
305
304
|
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
}
|
|
305
|
+
&.two-layer-single-select-sm .toggle-button {
|
|
306
|
+
@apply text-sm;
|
|
307
|
+
}
|
|
309
308
|
|
|
310
|
-
.
|
|
311
|
-
|
|
312
|
-
}
|
|
309
|
+
.tw-layer-select {
|
|
310
|
+
@apply z-10 invisible pointer-events-none;
|
|
313
311
|
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
}
|
|
312
|
+
&[data-show] {
|
|
313
|
+
@apply visible pointer-events-auto;
|
|
314
|
+
}
|
|
315
|
+
}
|
|
317
316
|
|
|
318
|
-
.
|
|
319
|
-
|
|
320
|
-
}
|
|
317
|
+
.toggle-button {
|
|
318
|
+
@apply relative flex items-center w-full p-1.75 space-x-1.75 border border-primary-600 rounded text-base text-pgray-4;
|
|
321
319
|
|
|
322
|
-
.
|
|
323
|
-
|
|
324
|
-
}
|
|
320
|
+
.button-title {
|
|
321
|
+
@apply grow;
|
|
322
|
+
}
|
|
325
323
|
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
}
|
|
324
|
+
&.selected {
|
|
325
|
+
@apply text-pgray-2;
|
|
326
|
+
}
|
|
329
327
|
|
|
330
|
-
.
|
|
331
|
-
|
|
328
|
+
.icon {
|
|
329
|
+
@apply grow-0 shrink-0 inline-flex text-xs text-pgray-2 leading-none;
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
332
|
}
|
|
333
333
|
</style>
|
|
@@ -69,9 +69,9 @@ export default defineComponent({
|
|
|
69
69
|
|
|
70
70
|
.warn-modal .modal-body-content {
|
|
71
71
|
@apply flex flex-col items-center space-y-6 text-base text-pgray-2;
|
|
72
|
-
}
|
|
73
72
|
|
|
74
|
-
.
|
|
75
|
-
|
|
73
|
+
.icon {
|
|
74
|
+
@apply text-16xl;
|
|
75
|
+
}
|
|
76
76
|
}
|
|
77
77
|
</style>
|