@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
|
@@ -185,66 +185,65 @@ export default defineComponent({
|
|
|
185
185
|
|
|
186
186
|
.checkbox {
|
|
187
187
|
@apply inline-flex relative text-base align-top overflow-hidden;
|
|
188
|
-
}
|
|
189
188
|
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
}
|
|
189
|
+
input:checked + label, &.is-check-some {
|
|
190
|
+
@apply text-primary;
|
|
191
|
+
}
|
|
193
192
|
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
}
|
|
193
|
+
&.inactive label {
|
|
194
|
+
@apply pointer-events-none;
|
|
195
|
+
}
|
|
197
196
|
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
}
|
|
197
|
+
&.checkbox-sm {
|
|
198
|
+
@apply text-sm;
|
|
201
199
|
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
}
|
|
200
|
+
label {
|
|
201
|
+
@apply text-sm;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
205
204
|
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
}
|
|
205
|
+
input {
|
|
206
|
+
@apply absolute -top-10 -left-10;
|
|
209
207
|
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
}
|
|
208
|
+
&:not(:checked) + label:not(.is-check-some) .icon-square {
|
|
209
|
+
@apply inline-block;
|
|
210
|
+
}
|
|
213
211
|
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
}
|
|
212
|
+
&:not(:checked) + label.is-check-some {
|
|
213
|
+
@apply text-primary;
|
|
217
214
|
|
|
218
|
-
.
|
|
219
|
-
|
|
220
|
-
}
|
|
215
|
+
.icon-minus-square {
|
|
216
|
+
@apply inline-block;
|
|
217
|
+
}
|
|
221
218
|
|
|
222
|
-
.
|
|
223
|
-
|
|
224
|
-
}
|
|
219
|
+
.icon-square {
|
|
220
|
+
@apply hidden;
|
|
221
|
+
}
|
|
222
|
+
}
|
|
225
223
|
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
}
|
|
224
|
+
&:checked + label .icon-check-square {
|
|
225
|
+
@apply inline-block;
|
|
226
|
+
}
|
|
229
227
|
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
}
|
|
228
|
+
&:not(:checked):disabled + label {
|
|
229
|
+
@apply text-pgray-4 cursor-default pointer-events-none;
|
|
230
|
+
}
|
|
233
231
|
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
}
|
|
232
|
+
&:checked:disabled + label {
|
|
233
|
+
@apply text-pgray-3 cursor-default pointer-events-none;
|
|
234
|
+
}
|
|
235
|
+
}
|
|
238
236
|
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
}
|
|
237
|
+
label {
|
|
238
|
+
@apply relative text-base text-pgray-3 cursor-pointer;
|
|
242
239
|
|
|
243
|
-
.
|
|
244
|
-
|
|
245
|
-
}
|
|
240
|
+
.icon {
|
|
241
|
+
@apply hidden;
|
|
242
|
+
}
|
|
246
243
|
|
|
247
|
-
|
|
248
|
-
|
|
244
|
+
span {
|
|
245
|
+
@apply ml-2;
|
|
246
|
+
}
|
|
247
|
+
}
|
|
249
248
|
}
|
|
250
249
|
</style>
|
|
@@ -76,29 +76,29 @@ export default defineComponent({
|
|
|
76
76
|
|
|
77
77
|
.circle-button {
|
|
78
78
|
@apply inline-flex items-center justify-center relative w-10 h-10 rounded-full bg-white text-xl leading-5.75 text-white;
|
|
79
|
+
|
|
80
|
+
.badge {
|
|
81
|
+
@apply absolute top-1.5 right-2 block w-0.75 h-0.75 rounded-full bg-highlight;
|
|
82
|
+
}
|
|
79
83
|
}
|
|
80
84
|
|
|
81
85
|
.circle-button-lg {
|
|
82
86
|
@apply w-13.5 h-13.5 text-2p67xl;
|
|
83
|
-
}
|
|
84
87
|
|
|
85
|
-
.
|
|
86
|
-
|
|
88
|
+
.badge {
|
|
89
|
+
@apply top-1.75 right-3 w-1 h-1;
|
|
90
|
+
}
|
|
87
91
|
}
|
|
88
92
|
|
|
89
93
|
.circle-button-highlight-400 {
|
|
90
94
|
@apply bg-highlight-400;
|
|
91
|
-
}
|
|
92
95
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.circle-button-highlight-400.active {
|
|
98
|
-
@apply border border-highlight text-highlight;
|
|
99
|
-
}
|
|
96
|
+
&.shadow {
|
|
97
|
+
@apply shadow-md;
|
|
98
|
+
}
|
|
100
99
|
|
|
101
|
-
|
|
102
|
-
|
|
100
|
+
&.active {
|
|
101
|
+
@apply border border-highlight text-highlight;
|
|
102
|
+
}
|
|
103
103
|
}
|
|
104
104
|
</style>
|
|
@@ -100,17 +100,17 @@ export default defineComponent({
|
|
|
100
100
|
|
|
101
101
|
.sl-collapsable-block {
|
|
102
102
|
@apply p-3.75 border border-secondary-400 rounded-lg;
|
|
103
|
-
}
|
|
104
103
|
|
|
105
|
-
|
|
104
|
+
&.collapsed
|
|
106
105
|
.sl-collapsable-block-header
|
|
107
106
|
.toggle-collapse-button
|
|
108
107
|
.icon {
|
|
109
|
-
|
|
110
|
-
}
|
|
108
|
+
@apply rotate-0;
|
|
109
|
+
}
|
|
111
110
|
|
|
112
|
-
|
|
113
|
-
|
|
111
|
+
&.collapsed .sl-collapsable-block-body {
|
|
112
|
+
@apply pt-0;
|
|
113
|
+
}
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
.sl-collapsable-block-header .collapse-block-title-icon {
|
|
@@ -123,21 +123,21 @@ export default defineComponent({
|
|
|
123
123
|
|
|
124
124
|
.sl-collapsable-block-header .toggle-collapse-button {
|
|
125
125
|
@apply inline-flex items-center space-x-2;
|
|
126
|
-
}
|
|
127
126
|
|
|
128
|
-
.
|
|
129
|
-
|
|
130
|
-
}
|
|
127
|
+
.button-title {
|
|
128
|
+
@apply text-sm text-primary;
|
|
129
|
+
}
|
|
131
130
|
|
|
132
|
-
.
|
|
133
|
-
|
|
131
|
+
.icon {
|
|
132
|
+
@apply text-xs leading-none text-primary-600 rotate-180 transition-transform;
|
|
133
|
+
}
|
|
134
134
|
}
|
|
135
135
|
|
|
136
136
|
.sl-collapsable-block-body {
|
|
137
137
|
@apply relative pt-4 overflow-hidden transition-all;
|
|
138
|
-
}
|
|
139
138
|
|
|
140
|
-
.
|
|
141
|
-
|
|
139
|
+
.collapsable-block-wrapper {
|
|
140
|
+
@apply absolute top-4 left-0 w-full;
|
|
141
|
+
}
|
|
142
142
|
}
|
|
143
143
|
</style>
|
|
@@ -77,21 +77,21 @@ export default defineComponent({
|
|
|
77
77
|
|
|
78
78
|
.collapsable-multi-pill-select .toggle-button {
|
|
79
79
|
@apply inline-flex items-center justify-between w-80 p-2 mb-2 border border-primary-500 rounded text-base text-pgray-2;
|
|
80
|
-
}
|
|
81
80
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
}
|
|
81
|
+
&.active .toggle-icon {
|
|
82
|
+
@apply rotate-180;
|
|
83
|
+
}
|
|
85
84
|
|
|
86
|
-
.
|
|
87
|
-
|
|
85
|
+
.toggle-icon {
|
|
86
|
+
@apply transform origin-center;
|
|
87
|
+
}
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
.collapsable-multi-pill-select .pills {
|
|
91
91
|
@apply -mx-1 mb-4 border-b border-primary-300;
|
|
92
|
-
}
|
|
93
92
|
|
|
94
|
-
.
|
|
95
|
-
|
|
93
|
+
.pill-checkbox {
|
|
94
|
+
@apply mx-1 mb-2;
|
|
95
|
+
}
|
|
96
96
|
}
|
|
97
97
|
</style>
|
|
@@ -276,19 +276,19 @@ export default defineComponent({
|
|
|
276
276
|
|
|
277
277
|
.sl-context-menu-container {
|
|
278
278
|
@apply fixed top-0 left-0 w-full h-full;
|
|
279
|
-
}
|
|
280
279
|
|
|
281
|
-
.sl-context-menu-
|
|
282
|
-
|
|
283
|
-
|
|
280
|
+
.sl-context-menu-item {
|
|
281
|
+
@apply block min-w-[160px] p-3 bg-white text-base text-gray-2;
|
|
282
|
+
@apply hover:bg-primary-100 hover:text-primary;
|
|
283
|
+
}
|
|
284
284
|
|
|
285
|
-
.sl-context-menu
|
|
286
|
-
|
|
285
|
+
.sl-context-menu {
|
|
286
|
+
@apply absolute top-0 left-0 m-0 border border-primary-600 rounded overflow-hidden shadow-popup-sm;
|
|
287
|
+
}
|
|
287
288
|
}
|
|
288
289
|
|
|
289
|
-
.sl-context-menu-container
|
|
290
|
-
@apply
|
|
291
|
-
@apply hover:bg-primary-100 hover:text-primary;
|
|
290
|
+
.sl-context-menu-container-modal {
|
|
291
|
+
@apply absolute top-0 left-0 w-full h-full;
|
|
292
292
|
}
|
|
293
293
|
|
|
294
294
|
.toast.copy-msg-toast :deep(.toast-wrapper) {
|
|
@@ -371,10 +371,10 @@ export default defineComponent({
|
|
|
371
371
|
|
|
372
372
|
.date-input.date-input-xs .input-group .inputs {
|
|
373
373
|
@apply pl-0 rounded-r-lg;
|
|
374
|
-
}
|
|
375
374
|
|
|
376
|
-
|
|
377
|
-
|
|
375
|
+
div input {
|
|
376
|
+
@apply w-[5.875rem] text-center;
|
|
377
|
+
}
|
|
378
378
|
}
|
|
379
379
|
|
|
380
380
|
.date-input.date-input-range.date-input-dateTime
|
|
@@ -387,20 +387,17 @@ export default defineComponent({
|
|
|
387
387
|
|
|
388
388
|
.date-input.inline {
|
|
389
389
|
@apply flex;
|
|
390
|
-
}
|
|
391
390
|
|
|
392
|
-
.
|
|
393
|
-
|
|
394
|
-
}
|
|
391
|
+
.form-control {
|
|
392
|
+
@apply grow;
|
|
393
|
+
}
|
|
395
394
|
|
|
396
|
-
|
|
397
|
-
|
|
395
|
+
> label {
|
|
396
|
+
@apply grow-0 shrink-0 mb-0 mr-2 py-2 border-t border-b border-transparent;
|
|
397
|
+
}
|
|
398
398
|
}
|
|
399
399
|
|
|
400
|
-
.date-input.disabled .input-group .input-group-prepend,
|
|
401
|
-
.date-input.disabled .input-group .inputs,
|
|
402
|
-
.date-input.readonly .input-group .input-group-prepend,
|
|
403
|
-
.date-input.readonly .input-group .inputs {
|
|
400
|
+
.date-input.disabled .input-group .input-group-prepend, .date-input.disabled .input-group .inputs, .date-input.readonly .input-group .input-group-prepend, .date-input.readonly .input-group .inputs {
|
|
404
401
|
@apply border-primary-500 bg-primary-100;
|
|
405
402
|
}
|
|
406
403
|
|
|
@@ -408,19 +405,16 @@ export default defineComponent({
|
|
|
408
405
|
@apply mb-2 text-base leading-[1.3125] text-pgray-2;
|
|
409
406
|
}
|
|
410
407
|
|
|
411
|
-
.date-input .is-invalid .input-group .input-group-prepend,
|
|
412
|
-
.date-input .is-invalid .input-group.is-focus .input-group-prepend {
|
|
408
|
+
.date-input .is-invalid .input-group .input-group-prepend, .date-input .is-invalid .input-group.is-focus .input-group-prepend {
|
|
413
409
|
@apply border-danger-light;
|
|
414
410
|
}
|
|
415
411
|
|
|
416
|
-
.date-input .is-invalid .input-group .inputs,
|
|
417
|
-
.date-input .is-invalid .input-group.is-focus .inputs {
|
|
412
|
+
.date-input .is-invalid .input-group .inputs, .date-input .is-invalid .input-group.is-focus .inputs {
|
|
418
413
|
@apply border-danger-light;
|
|
419
|
-
}
|
|
420
414
|
|
|
421
|
-
.
|
|
422
|
-
|
|
423
|
-
|
|
415
|
+
.icon, .icon {
|
|
416
|
+
@apply inline-block;
|
|
417
|
+
}
|
|
424
418
|
}
|
|
425
419
|
|
|
426
420
|
.date-input .is-invalid .invalid-feedback {
|
|
@@ -429,41 +423,40 @@ export default defineComponent({
|
|
|
429
423
|
|
|
430
424
|
.date-input .input-group {
|
|
431
425
|
@apply flex flex-nowrap w-full text-base leading-[1.3125];
|
|
432
|
-
}
|
|
433
426
|
|
|
434
|
-
.
|
|
435
|
-
|
|
436
|
-
}
|
|
427
|
+
&.is-fill .input .float-label, &.is-focus .input .float-label {
|
|
428
|
+
@apply ml-1.5 -mt-2.25 py-0 px-0.5 bg-white text-primary text-xs transition-(--transition-input-focus);
|
|
429
|
+
}
|
|
437
430
|
|
|
438
|
-
.
|
|
439
|
-
|
|
440
|
-
@apply ml-1.5 -mt-2.25 py-0 px-0.5 bg-white text-primary text-xs transition-(--transition-input-focus);
|
|
441
|
-
}
|
|
431
|
+
.input-group-prepend {
|
|
432
|
+
@apply grow-0 shrink-0 flex items-center relative pl-4 pr-6 rounded-l border border-r-0 border-primary-500 bg-white text-base leading-none;
|
|
442
433
|
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
434
|
+
&::after {
|
|
435
|
+
content: "";
|
|
436
|
+
@apply block absolute top-2 right-1.75 bottom-2 w-px bg-primary;
|
|
437
|
+
}
|
|
438
|
+
}
|
|
446
439
|
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
}
|
|
440
|
+
&.is-focus .input {
|
|
441
|
+
@apply border-primary;
|
|
442
|
+
}
|
|
451
443
|
|
|
452
|
-
.
|
|
453
|
-
|
|
454
|
-
}
|
|
444
|
+
.inputs {
|
|
445
|
+
@apply relative grow flex items-center p-2 bg-white rounded-r border border-l-0 border-primary-500 text-base text-pgray-2;
|
|
455
446
|
|
|
456
|
-
.date-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
}
|
|
447
|
+
.date-range-split {
|
|
448
|
+
@apply grow-0 shrink-0 mx-0.5;
|
|
449
|
+
}
|
|
460
450
|
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
451
|
+
input {
|
|
452
|
+
@apply grow bg-transparent text-base text-pgray-2 text-left placeholder-pgray-4 focus:outline-none;
|
|
453
|
+
width: calc((100% - 25px) / 2);
|
|
454
|
+
}
|
|
464
455
|
|
|
465
|
-
.
|
|
466
|
-
|
|
456
|
+
.icon {
|
|
457
|
+
@apply absolute right-0 mr-2 text-danger-light hidden;
|
|
458
|
+
}
|
|
459
|
+
}
|
|
467
460
|
}
|
|
468
461
|
|
|
469
462
|
.date-input .input-info {
|
|
@@ -278,29 +278,29 @@ export default defineComponent({
|
|
|
278
278
|
|
|
279
279
|
.download-button {
|
|
280
280
|
@apply inline-block;
|
|
281
|
-
}
|
|
282
281
|
|
|
283
|
-
|
|
284
|
-
|
|
282
|
+
&.disabled .download-button-toggle {
|
|
283
|
+
@apply border-pgray-5 text-pgray-5 cursor-default;
|
|
284
|
+
}
|
|
285
285
|
}
|
|
286
286
|
|
|
287
287
|
.download-button-toggle {
|
|
288
288
|
@apply inline-flex justify-center items-center w-[28px] h-[28px] bg-white border border-primary-600 rounded text-lg text-primary-600;
|
|
289
|
-
}
|
|
290
289
|
|
|
291
|
-
|
|
292
|
-
|
|
290
|
+
&.active {
|
|
291
|
+
@apply bg-primary-600 text-white;
|
|
292
|
+
}
|
|
293
293
|
}
|
|
294
294
|
|
|
295
295
|
.download-button-popup {
|
|
296
296
|
@apply z-60 absolute flex flex-col bg-white border border-primary-500 rounded overflow-hidden shadow-default invisible pointer-events-none;
|
|
297
|
-
}
|
|
298
297
|
|
|
299
|
-
.download-
|
|
300
|
-
|
|
301
|
-
}
|
|
298
|
+
.download-option {
|
|
299
|
+
@apply block p-2 bg-white text-sm text-pgray-3 hover:bg-primary-100 hover:text-primary;
|
|
300
|
+
}
|
|
302
301
|
|
|
303
|
-
|
|
304
|
-
|
|
302
|
+
&[data-show] {
|
|
303
|
+
@apply visible pointer-events-auto;
|
|
304
|
+
}
|
|
305
305
|
}
|
|
306
306
|
</style>
|
|
@@ -245,41 +245,41 @@ export default defineComponent({
|
|
|
245
245
|
|
|
246
246
|
.dropdown {
|
|
247
247
|
@apply inline-block relative;
|
|
248
|
-
}
|
|
249
248
|
|
|
250
|
-
|
|
251
|
-
|
|
249
|
+
&.active .dropdown-toggle .toggle-icon {
|
|
250
|
+
@apply text-primary-600 rotate-180;
|
|
251
|
+
}
|
|
252
252
|
}
|
|
253
253
|
|
|
254
254
|
.dropdown-toggle {
|
|
255
255
|
@apply flex items-center p-1.75 border border-primary-500 rounded bg-white space-x-2 text-base text-pgray-2 whitespace-nowrap;
|
|
256
|
-
}
|
|
257
256
|
|
|
258
|
-
.
|
|
259
|
-
|
|
257
|
+
.toggle-icon {
|
|
258
|
+
@apply text-xs leading-none text-pgray-2 transition-transform transform;
|
|
259
|
+
}
|
|
260
260
|
}
|
|
261
261
|
|
|
262
262
|
.dropdown-menu {
|
|
263
263
|
@apply z-50 flex flex-col max-h-48 border border-primary-500 rounded bg-white shadow-md overflow-hidden invisible pointer-events-none;
|
|
264
|
-
}
|
|
265
264
|
|
|
266
|
-
.dropdown-
|
|
267
|
-
|
|
268
|
-
}
|
|
265
|
+
.dropdown-list-wrapper {
|
|
266
|
+
@apply grow;
|
|
269
267
|
|
|
270
|
-
.dropdown-
|
|
271
|
-
|
|
272
|
-
}
|
|
268
|
+
.dropdown-list {
|
|
269
|
+
@apply absolute;
|
|
270
|
+
}
|
|
271
|
+
}
|
|
273
272
|
|
|
274
|
-
.dropdown-
|
|
275
|
-
|
|
276
|
-
}
|
|
273
|
+
.dropdown-search {
|
|
274
|
+
@apply grow-0 shrink-0 mb-1 p-1;
|
|
275
|
+
}
|
|
277
276
|
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
}
|
|
277
|
+
&[data-show] {
|
|
278
|
+
@apply visible pointer-events-auto;
|
|
281
279
|
|
|
282
|
-
.dropdown-
|
|
283
|
-
|
|
280
|
+
.dropdown-list-wrapper .dropdown-list {
|
|
281
|
+
@apply relative;
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
284
|
}
|
|
285
285
|
</style>
|
|
@@ -27,9 +27,9 @@ export default defineComponent({
|
|
|
27
27
|
|
|
28
28
|
.dropdown-item {
|
|
29
29
|
@apply block p-2 bg-white text-sm text-primary whitespace-nowrap hover:text-primary hover:bg-primary-50 focus:text-primary focus:bg-primary-50 active:text-primary active:bg-primary-50;
|
|
30
|
-
}
|
|
31
30
|
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
&.active {
|
|
32
|
+
@apply text-primary bg-primary-50;
|
|
33
|
+
}
|
|
34
34
|
}
|
|
35
35
|
</style>
|
|
@@ -178,9 +178,9 @@ export default defineComponent({
|
|
|
178
178
|
|
|
179
179
|
.element-with-title-tooltip {
|
|
180
180
|
@apply z-10 p-2 bg-mask/70 rounded text-xs text-white whitespace-pre shadow-default invisible pointer-events-none;
|
|
181
|
-
}
|
|
182
181
|
|
|
183
|
-
|
|
184
|
-
|
|
182
|
+
&[data-show] {
|
|
183
|
+
@apply visible;
|
|
184
|
+
}
|
|
185
185
|
}
|
|
186
186
|
</style>
|
|
@@ -123,53 +123,53 @@ export default defineComponent({
|
|
|
123
123
|
|
|
124
124
|
.eye-checkbox {
|
|
125
125
|
@apply inline-block relative text-base align-top overflow-hidden;
|
|
126
|
-
}
|
|
127
126
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
}
|
|
127
|
+
&.checkbox-sm {
|
|
128
|
+
@apply text-sm;
|
|
131
129
|
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
}
|
|
130
|
+
label {
|
|
131
|
+
@apply text-sm;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
135
134
|
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
}
|
|
135
|
+
input {
|
|
136
|
+
@apply absolute -top-10 -left-10;
|
|
139
137
|
|
|
140
|
-
.eye-
|
|
141
|
-
|
|
142
|
-
}
|
|
138
|
+
&:not(:checked) + label .icon-eye-slash {
|
|
139
|
+
@apply inline-block;
|
|
140
|
+
}
|
|
143
141
|
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
}
|
|
142
|
+
&:not(:checked):disabled + label {
|
|
143
|
+
@apply text-pgray-4 cursor-default;
|
|
147
144
|
|
|
148
|
-
.eye-
|
|
149
|
-
|
|
150
|
-
}
|
|
145
|
+
.icon-eye-slash {
|
|
146
|
+
@apply inline-block text-pgray-4;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
151
149
|
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
}
|
|
150
|
+
&:checked + label .icon-eye {
|
|
151
|
+
@apply inline-block;
|
|
152
|
+
}
|
|
155
153
|
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
}
|
|
154
|
+
&:checked:disabled + label {
|
|
155
|
+
@apply text-pgray-3 cursor-default;
|
|
159
156
|
|
|
160
|
-
.eye
|
|
161
|
-
|
|
162
|
-
}
|
|
157
|
+
.icon-eye {
|
|
158
|
+
@apply inline-block text-pgray-3;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
163
162
|
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
}
|
|
163
|
+
label {
|
|
164
|
+
@apply relative inline-flex items-center text-base text-pgray-2 cursor-pointer;
|
|
167
165
|
|
|
168
|
-
.
|
|
169
|
-
|
|
170
|
-
}
|
|
166
|
+
.icon {
|
|
167
|
+
@apply hidden text-primary;
|
|
168
|
+
}
|
|
171
169
|
|
|
172
|
-
|
|
173
|
-
|
|
170
|
+
span {
|
|
171
|
+
@apply ml-2;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
174
|
}
|
|
175
175
|
</style>
|