@mptw/skylens-ui 1.5.16 → 1.5.18

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.
Files changed (62) hide show
  1. package/app/components/SLAlertModal.vue +18 -18
  2. package/app/components/SLButton.vue +108 -148
  3. package/app/components/SLCalendarButton.vue +24 -24
  4. package/app/components/SLCard.vue +44 -44
  5. package/app/components/SLCheckbox.vue +45 -46
  6. package/app/components/SLCircleButton.vue +13 -13
  7. package/app/components/SLCollapsableBlock.vue +15 -15
  8. package/app/components/SLCollapsableMulitPillSelect.vue +9 -9
  9. package/app/components/SLContextMenu.vue +9 -9
  10. package/app/components/SLDateInput.vue +41 -48
  11. package/app/components/SLDownloadButton.vue +12 -12
  12. package/app/components/SLDropdown.vue +21 -21
  13. package/app/components/SLDropdownItem.vue +3 -3
  14. package/app/components/SLElementWithTitle.vue +3 -3
  15. package/app/components/SLEyeCheckbox.vue +36 -36
  16. package/app/components/SLFileInput.vue +16 -16
  17. package/app/components/SLGenderAgeSelect.vue +39 -39
  18. package/app/components/SLHourRangeInput.vue +19 -20
  19. package/app/components/SLIOSSwitch.vue +72 -73
  20. package/app/components/SLIconButton.vue +29 -21
  21. package/app/components/SLInfoTip.vue +35 -36
  22. package/app/components/SLLegend.vue +9 -9
  23. package/app/components/SLLink.vue +3 -3
  24. package/app/components/SLLoading.vue +25 -25
  25. package/app/components/SLModal.vue +79 -79
  26. package/app/components/SLMonthCalendarButton.vue +46 -46
  27. package/app/components/SLMonthPicker.vue +28 -30
  28. package/app/components/SLMultiEmailInput.vue +72 -72
  29. package/app/components/SLMultiSelect.vue +27 -29
  30. package/app/components/SLPageModal.vue +5 -5
  31. package/app/components/SLPagination.vue +31 -31
  32. package/app/components/SLPillCheckbox.vue +42 -42
  33. package/app/components/SLPillLabel.vue +36 -36
  34. package/app/components/SLPopupMenuButton.vue +16 -16
  35. package/app/components/SLProfileButton.vue +17 -17
  36. package/app/components/SLProjectShareItem.vue +18 -17
  37. package/app/components/SLRadioButton.vue +33 -33
  38. package/app/components/SLRadioButtonGroup.vue +6 -6
  39. package/app/components/SLRadioGroup.vue +93 -93
  40. package/app/components/SLRangeInput.vue +17 -19
  41. package/app/components/SLRightSider.vue +19 -20
  42. package/app/components/SLSearchInput.vue +7 -7
  43. package/app/components/SLSelect.vue +90 -92
  44. package/app/components/SLSelectAllToggle.vue +45 -45
  45. package/app/components/SLSidebarNav.vue +148 -151
  46. package/app/components/SLSidebarNavGroupItemSection.vue +70 -78
  47. package/app/components/SLSidebarNavLinkItem.vue +51 -53
  48. package/app/components/SLSitePage.vue +6 -6
  49. package/app/components/SLSortByDropdown.vue +18 -18
  50. package/app/components/SLStayRangeInput.vue +40 -40
  51. package/app/components/SLTable.vue +56 -59
  52. package/app/components/SLTableTooltip.vue +31 -33
  53. package/app/components/SLTabs.vue +220 -220
  54. package/app/components/SLTextInput.vue +64 -74
  55. package/app/components/SLTextarea.vue +9 -9
  56. package/app/components/SLToast.vue +1 -2
  57. package/app/components/SLToggleButton.vue +12 -12
  58. package/app/components/SLTwoLayerMultiSelect.vue +56 -56
  59. package/app/components/SLTwoLayerSelect.vue +39 -39
  60. package/app/components/SLTwoLayerSingleSelect.vue +21 -21
  61. package/app/components/SLWarnModal.vue +3 -3
  62. package/package.json +1 -1
@@ -83,26 +83,26 @@ export default defineComponent({
83
83
 
84
84
  .custom-file-input {
85
85
  @apply inline-flex items-center space-x-3.5;
86
- }
87
86
 
88
- .custom-file-input .file-button {
89
- @apply relative overflow-hidden;
90
- }
87
+ .file-button {
88
+ @apply relative overflow-hidden;
91
89
 
92
- .custom-file-input .file-button.uploaded label {
93
- @apply bg-white border text-primary hover:text-primary-600 hover:bg-white;
94
- }
90
+ input[type="file"] {
91
+ @apply absolute top-0 left-0;
92
+ }
95
93
 
96
- .custom-file-input .file-button label {
97
- @apply relative inline-block py-1.75 px-3.75 border border-transparent rounded bg-transparent text-base leading-[1.3125] space-x-2 cursor-pointer focus:outline-none;
98
- @apply bg-primary border-primary text-white hover:bg-primary-600 hover:border-primary-600;
99
- }
94
+ &.uploaded label {
95
+ @apply bg-white border text-primary hover:text-primary-600 hover:bg-white;
96
+ }
100
97
 
101
- .custom-file-input .file-button input[type="file"] {
102
- @apply absolute top-0 left-0;
103
- }
98
+ label {
99
+ @apply relative inline-block py-1.75 px-3.75 border border-transparent rounded bg-transparent text-base leading-[1.3125] space-x-2 cursor-pointer focus:outline-none;
100
+ @apply bg-primary border-primary text-white hover:bg-primary-600 hover:border-primary-600;
101
+ }
102
+ }
104
103
 
105
- .custom-file-input .filename {
106
- @apply p-1.75 border border-primary-300 rounded bg-primary-50 text-base text-pgray-2;
104
+ .filename {
105
+ @apply p-1.75 border border-primary-300 rounded bg-primary-50 text-base text-pgray-2;
106
+ }
107
107
  }
108
108
  </style>
@@ -239,61 +239,61 @@ export default defineComponent({
239
239
 
240
240
  .gender-age-select {
241
241
  @apply relative inline-flex;
242
- }
243
242
 
244
- .gender-age-select .toggle-button {
245
- @apply inline-flex items-center justify-between w-full p-1.75 border border-primary-500 rounded space-x-4 text-sm text-pgray-2;
246
- }
243
+ .toggle-button {
244
+ @apply inline-flex items-center justify-between w-full p-1.75 border border-primary-500 rounded space-x-4 text-sm text-pgray-2;
247
245
 
248
- .gender-age-select .toggle-button .toggle-title {
249
- @apply grow truncate;
250
- }
246
+ .toggle-title {
247
+ @apply grow truncate;
248
+ }
251
249
 
252
- .gender-age-select .toggle-button .icon {
253
- @apply grow-0 shrink-0 text-xs leading-none;
250
+ .icon {
251
+ @apply grow-0 shrink-0 text-xs leading-none;
252
+ }
253
+ }
254
254
  }
255
255
 
256
256
  .options-popup {
257
257
  @apply z-60 absolute flex max-h-[196px] p-2.75 bg-white border border-primary-500 rounded shadow-default pointer-events-none invisible;
258
- }
259
258
 
260
- .options-popup[data-show] {
261
- @apply pointer-events-auto visible;
262
- }
259
+ .options-block-gender {
260
+ @apply grow-0 shrink-0 w-[37%];
261
+ }
263
262
 
264
- .options-popup .options-block {
265
- @apply flex flex-col;
266
- }
263
+ .options-block-header {
264
+ @apply pb-1.75 border-b border-primary text-base text-primary;
265
+ }
267
266
 
268
- .options-popup .options-block-gender {
269
- @apply grow-0 shrink-0 w-[37%];
270
- }
267
+ .options-block-body {
268
+ @apply overflow-hidden;
271
269
 
272
- .options-popup .options-block-age {
273
- @apply grow;
274
- }
270
+ .options-list {
271
+ @apply flex flex-col;
275
272
 
276
- .options-popup .options-block-header {
277
- @apply pb-1.75 border-b border-primary text-base text-primary;
278
- }
273
+ .checkbox label {
274
+ @apply w-full py-1.5 px-2 text-sm hover:bg-primary-100;
279
275
 
280
- .options-popup .options-block-body {
281
- @apply overflow-hidden;
282
- }
276
+ span {
277
+ @apply ml-1;
278
+ }
279
+ }
280
+ }
281
+ }
283
282
 
284
- .options-popup .options-block-body .options-list {
285
- @apply flex flex-col;
286
- }
283
+ .options-block-age {
284
+ @apply grow;
285
+ }
287
286
 
288
- .options-popup .options-block-body .options-list .checkbox label {
289
- @apply w-full py-1.5 px-2 text-sm hover:bg-primary-100;
290
- }
287
+ .options-divide {
288
+ @apply grow-0 shrink-0 w-px ml-3 mr-2.75 bg-pgray-4;
289
+ }
291
290
 
292
- .options-popup .options-block-body .options-list .checkbox label span {
293
- @apply ml-1;
294
- }
291
+ .options-block {
292
+ @apply flex flex-col;
293
+ }
295
294
 
296
- .options-popup .options-divide {
297
- @apply grow-0 shrink-0 w-px ml-3 mr-2.75 bg-pgray-4;
295
+ &[data-show] {
296
+ @apply pointer-events-auto visible;
297
+ }
298
298
  }
299
299
  </style>
@@ -171,27 +171,26 @@ export default defineComponent({
171
171
 
172
172
  .hour-range-input.inline {
173
173
  @apply flex;
174
- }
175
174
 
176
- .hour-range-input.inline > label {
177
- @apply grow-0 shrink-0 mb-0 mr-2 py-2 border-t border-b border-transparent;
178
- }
175
+ .form-control {
176
+ @apply grow;
177
+ }
179
178
 
180
- .hour-range-input.inline .form-control {
181
- @apply grow;
179
+ > label {
180
+ @apply grow-0 shrink-0 mb-0 mr-2 py-2 border-t border-b border-transparent;
181
+ }
182
182
  }
183
183
 
184
- .hour-range-input.disabled .input-group,
185
- .hour-range-input.readonly .input-group {
184
+ .hour-range-input.disabled .input-group, .hour-range-input.readonly .input-group {
186
185
  @apply border-primary-500 bg-primary-100;
187
186
  }
188
187
 
189
188
  .hour-range-input > label {
190
189
  @apply flex items-center mb-2 space-x-2 text-base leading-[1.3125] text-pgray-2;
191
- }
192
190
 
193
- .hour-range-input > label .icon {
194
- @apply text-xs leading-none;
191
+ .icon {
192
+ @apply text-xs leading-none;
193
+ }
195
194
  }
196
195
 
197
196
  .hour-range-input .form-control {
@@ -200,18 +199,18 @@ export default defineComponent({
200
199
 
201
200
  .hour-range-input .input-group {
202
201
  @apply flex items-center flex-nowrap p-2 bg-white border border-primary-500 rounded text-base space-x-1;
203
- }
204
202
 
205
- .hour-range-input .input-group.invalid {
206
- @apply border-danger;
207
- }
203
+ input[type="text"] {
204
+ @apply grow-0 shrink-0 w-4.75 border-0 bg-transparent text-base text-center text-pgray-2 outline-none;
205
+ }
208
206
 
209
- .hour-range-input .input-group input[type="text"] {
210
- @apply grow-0 shrink-0 w-4.75 border-0 bg-transparent text-base text-center text-pgray-2 outline-none;
211
- }
207
+ .minutes-label {
208
+ @apply grow-0 shrink-0;
209
+ }
212
210
 
213
- .hour-range-input .input-group .minutes-label {
214
- @apply grow-0 shrink-0;
211
+ &.invalid {
212
+ @apply border-danger;
213
+ }
215
214
  }
216
215
 
217
216
  .hour-range-input .input-group-splitter {
@@ -174,101 +174,100 @@ export default defineComponent({
174
174
 
175
175
  .ios-switch {
176
176
  @apply inline-block relative overflow-hidden;
177
- }
178
177
 
179
- .ios-switch.ios-switch-min label {
180
- @apply min-w-0 border-2 text-sm;
181
- width: 23px;
182
- height: 23px;
183
- }
178
+ &.ios-switch-primary-600 input:checked + label {
179
+ @apply bg-primary-600 border-primary;
180
+ }
184
181
 
185
- .ios-switch.ios-switch-min label::before {
186
- @apply hidden;
187
- }
182
+ &.ios-switch-primary label .false-label {
183
+ @apply text-primary;
184
+ }
188
185
 
189
- .ios-switch.ios-switch-min label .true-label,
190
- .ios-switch.ios-switch-min label .false-label {
191
- @apply p-0;
192
- }
186
+ &.ios-switch-min label {
187
+ @apply min-w-0 border-2 text-sm;
188
+ width: 23px;
189
+ height: 23px;
193
190
 
194
- .ios-switch.ios-switch-sm label {
195
- @apply min-w-[52px] h-[28px] text-sm;
196
- }
191
+ .true-label, .false-label {
192
+ @apply p-0;
193
+ }
197
194
 
198
- .ios-switch.ios-switch-sm label::before {
199
- @apply w-[20px];
200
- }
195
+ &::before {
196
+ @apply hidden;
197
+ }
198
+ }
201
199
 
202
- .ios-switch.ios-switch-sm label .true-label {
203
- @apply pr-[31px];
204
- }
200
+ &.ios-switch-sm label {
201
+ @apply min-w-[52px] h-[28px] text-sm;
205
202
 
206
- .ios-switch.ios-switch-sm label .false-label {
207
- @apply pl-[31px];
208
- }
203
+ .false-label {
204
+ @apply pl-[31px];
205
+ }
209
206
 
210
- .ios-switch.ios-switch-xs label {
211
- @apply min-w-[60px] h-[24px] text-xs;
212
- }
207
+ .true-label {
208
+ @apply pr-[31px];
209
+ }
213
210
 
214
- .ios-switch.ios-switch-xs label::before {
215
- @apply inset-y-0.75 left-0.75 w-[16px] border border-primary-100 rounded-full shadow-none;
216
- }
211
+ &::before {
212
+ @apply w-[20px];
213
+ }
214
+ }
217
215
 
218
- .ios-switch.ios-switch-xs label .true-label {
219
- @apply pr-[27px];
220
- }
216
+ &.ios-switch-xs label {
217
+ @apply min-w-[60px] h-[24px] text-xs;
221
218
 
222
- .ios-switch.ios-switch-xs label .false-label {
223
- @apply pl-[27px];
224
- }
219
+ .false-label {
220
+ @apply pl-[27px];
221
+ }
225
222
 
226
- .ios-switch.ios-switch-primary-600 input:checked + label {
227
- @apply bg-primary-600 border-primary;
228
- }
223
+ .true-label {
224
+ @apply pr-[27px];
225
+ }
229
226
 
230
- .ios-switch.ios-switch-primary label .false-label {
231
- @apply text-primary;
232
- }
227
+ &::before {
228
+ @apply inset-y-0.75 left-0.75 w-[16px] border border-primary-100 rounded-full shadow-none;
229
+ }
230
+ }
233
231
 
234
- .ios-switch input {
235
- @apply absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2;
236
- }
232
+ input {
233
+ @apply absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2;
237
234
 
238
- .ios-switch label {
239
- @apply relative min-w-full h-[2.3125rem] bg-primary-100 border border-primary-200 rounded-full text-base leading-[1.3125] align-top cursor-pointer transition-colors;
240
- }
235
+ &:checked + label {
236
+ @apply bg-primary border-primary-800;
241
237
 
242
- .ios-switch label::before {
243
- content: "";
244
- @apply block absolute left-0.75 inset-y-0.75 w-7.25 bg-white rounded-full shadow-default;
245
- }
238
+ .false-label {
239
+ @apply opacity-0;
240
+ }
246
241
 
247
- .ios-switch label span {
248
- @apply flex items-center justify-center absolute top-0 left-0 min-w-full h-full whitespace-nowrap;
249
- }
242
+ .true-label {
243
+ @apply opacity-100;
244
+ }
250
245
 
251
- .ios-switch label .true-label {
252
- @apply pl-2 pr-[35px] text-white opacity-0;
253
- }
246
+ &::before {
247
+ @apply left-auto right-0.75;
248
+ }
249
+ }
250
+ }
254
251
 
255
- .ios-switch label .false-label {
256
- @apply pl-[35px] pr-2 text-primary-600 opacity-100;
257
- }
252
+ label {
253
+ @apply relative min-w-full h-[2.3125rem] bg-primary-100 border border-primary-200 rounded-full text-base leading-[1.3125] align-top cursor-pointer transition-colors;
258
254
 
259
- .ios-switch input:checked + label {
260
- @apply bg-primary border-primary-800;
261
- }
255
+ .false-label {
256
+ @apply pl-[35px] pr-2 text-primary-600 opacity-100;
257
+ }
262
258
 
263
- .ios-switch input:checked + label::before {
264
- @apply left-auto right-0.75;
265
- }
259
+ .true-label {
260
+ @apply pl-2 pr-[35px] text-white opacity-0;
261
+ }
266
262
 
267
- .ios-switch input:checked + label .true-label {
268
- @apply opacity-100;
269
- }
263
+ &::before {
264
+ content: "";
265
+ @apply block absolute left-0.75 inset-y-0.75 w-7.25 bg-white rounded-full shadow-default;
266
+ }
270
267
 
271
- .ios-switch input:checked + label .false-label {
272
- @apply opacity-0;
268
+ span {
269
+ @apply flex items-center justify-center absolute top-0 left-0 min-w-full h-full whitespace-nowrap;
270
+ }
271
+ }
273
272
  }
274
273
  </style>
@@ -104,28 +104,36 @@ export default defineComponent({
104
104
 
105
105
  .icon-btn {
106
106
  @apply inline-flex flex-nowrap justify-start items-center p-[0.59375rem] border rounded-full text-base text-white overflow-hidden transition-[width] duration-300;
107
+
108
+ &:hover .icon-btn-title {
109
+ @apply opacity-100;
110
+ }
111
+
112
+ &.icon-btn--secondary {
113
+ @apply bg-secondary border-secondary;
114
+
115
+ &.icon-btn--outline {
116
+ @apply text-secondary;
117
+ }
118
+ }
119
+
120
+ &.icon-btn--primary {
121
+ @apply bg-primary border-primary;
122
+
123
+ &.icon-btn--outline {
124
+ @apply text-primary;
125
+ }
126
+ }
127
+
128
+ &.icon-btn--outline {
129
+ @apply bg-transparent;
130
+ }
131
+
132
+ .icon {
133
+ @apply grow-0 shrink-0;
134
+ }
107
135
  }
108
- .icon-btn:hover .icon-btn-title {
109
- @apply opacity-100;
110
- }
111
- .icon-btn.icon-btn--primary {
112
- @apply bg-primary border-primary;
113
- }
114
- .icon-btn.icon-btn--primary.icon-btn--outline {
115
- @apply text-primary;
116
- }
117
- .icon-btn.icon-btn--secondary {
118
- @apply bg-secondary border-secondary;
119
- }
120
- .icon-btn.icon-btn--secondary.icon-btn--outline {
121
- @apply text-secondary;
122
- }
123
- .icon-btn.icon-btn--outline {
124
- @apply bg-transparent;
125
- }
126
- .icon-btn .icon {
127
- @apply grow-0 shrink-0;
128
- }
136
+
129
137
  .icon-btn-title {
130
138
  @apply grow-0 shrink-0 pl-2 opacity-0 transition-opacity duration-300;
131
139
  }
@@ -185,54 +185,53 @@ export default defineComponent({
185
185
 
186
186
  .info-tip {
187
187
  @apply inline-flex ml-2 text-base leading-4.5 text-primary hover:text-primary-600 cursor-default;
188
- }
189
188
 
190
- .info-tip--xs {
191
- @apply ml-1 text-xs;
192
- }
189
+ .info-tip-toggle {
190
+ @apply inline-flex cursor-default;
191
+ }
193
192
 
194
- .info-tip .info-tip-toggle {
195
- @apply inline-flex cursor-default;
196
- }
193
+ .info-content {
194
+ @apply relative py-5 pl-4 pr-6 border border-primary-600/50 rounded-lg bg-white text-sm text-pgray-2 text-left font-normal whitespace-normal shadow-popup-sm;
197
195
 
198
- .info-tip .info {
199
- @apply z-10 absolute invisible;
200
- }
196
+ .pin-toggle {
197
+ @apply absolute top-0 right-0 mt-2 mr-2 text-base text-primary-600;
201
198
 
202
- .info-tip .info[data-popper-placement^="bottom"] {
203
- @apply pt-1;
204
- }
199
+ &:hover .icon:before {
200
+ content: "\\e967";
201
+ }
205
202
 
206
- .info-tip .info[data-popper-placement^="right"] {
207
- @apply pl-3;
208
- }
203
+ .icon:before {
204
+ content: "\\e980";
205
+ }
206
+ }
207
+ }
209
208
 
210
- .info-tip .info[data-show],
211
- .info-tip .info.pinned {
212
- @apply visible;
213
- }
209
+ .info {
210
+ @apply z-10 absolute invisible;
214
211
 
215
- .info-tip .info.pinned .info-content .pin-toggle:hover .icon:before {
216
- content: "\\e943";
217
- }
212
+ &[data-show], &.pinned {
213
+ @apply visible;
218
214
 
219
- .info-tip .info.pinned .info-content .pin-toggle .icon:before {
220
- content: "\\e943";
221
- }
215
+ .info-content .pin-toggle:hover .icon:before {
216
+ content: "\\e943";
217
+ }
222
218
 
223
- .info-tip .info-content {
224
- @apply relative py-5 pl-4 pr-6 border border-primary-600/50 rounded-lg bg-white text-sm text-pgray-2 text-left font-normal whitespace-normal shadow-popup-sm;
225
- }
219
+ .info-content .pin-toggle .icon:before {
220
+ content: "\\e943";
221
+ }
222
+ }
226
223
 
227
- .info-tip .info-content .pin-toggle {
228
- @apply absolute top-0 right-0 mt-2 mr-2 text-base text-primary-600;
229
- }
224
+ &[data-popper-placement^="bottom"] {
225
+ @apply pt-1;
226
+ }
230
227
 
231
- .info-tip .info-content .pin-toggle:hover .icon:before {
232
- content: "\\e967";
228
+ &[data-popper-placement^="right"] {
229
+ @apply pl-3;
230
+ }
231
+ }
233
232
  }
234
233
 
235
- .info-tip .info-content .pin-toggle .icon:before {
236
- content: "\\e980";
234
+ .info-tip--xs {
235
+ @apply ml-1 text-xs;
237
236
  }
238
237
  </style>
@@ -67,17 +67,17 @@ export default defineComponent({
67
67
 
68
68
  .chart-legend-item {
69
69
  @apply inline-flex items-center mx-2 text-base text-pgray-2;
70
- }
71
70
 
72
- .chart-legend-item.unactive {
73
- @apply text-pgray-5;
74
- }
71
+ .item-marker {
72
+ @apply inline-block w-3 h-3 mr-1 rounded-full;
73
+ }
75
74
 
76
- .chart-legend-item .item-icon {
77
- @apply mr-1;
78
- }
75
+ .item-icon {
76
+ @apply mr-1;
77
+ }
79
78
 
80
- .chart-legend-item .item-marker {
81
- @apply inline-block w-3 h-3 mr-1 rounded-full;
79
+ &.unactive {
80
+ @apply text-pgray-5;
81
+ }
82
82
  }
83
83
  </style>
@@ -158,9 +158,9 @@ export default defineComponent({
158
158
 
159
159
  .sl-link-tooltip {
160
160
  @apply p-1 bg-pgray-2 text-xs text-white whitespace-nowrap shadow-default invisible;
161
- }
162
161
 
163
- .sl-link-tooltip[data-show] {
164
- @apply visible;
162
+ &[data-show] {
163
+ @apply visible;
164
+ }
165
165
  }
166
166
  </style>
@@ -90,41 +90,41 @@ export default defineComponent({
90
90
 
91
91
  .loading-modal {
92
92
  @apply z-10;
93
- }
94
93
 
95
- .loading-modal-primary {
96
- @apply bg-primary-300/20;
97
- }
94
+ .loading {
95
+ @apply relative inline-block w-12 h-12;
98
96
 
99
- .loading-modal-primary .loading div {
100
- border-color: var(--color-primary) transparent transparent transparent;
101
- }
97
+ div {
98
+ @apply absolute block w-8 h-8 m-2 border-4 rounded-full animate-loading;
102
99
 
103
- .loading-modal-highlight-500 {
104
- @apply bg-highlight-500/20;
105
- }
100
+ &:nth-child(1) {
101
+ animation-delay: -0.45s;
102
+ }
106
103
 
107
- .loading-modal-highlight-500 .loading div {
108
- border-color: var(--color-highlight-500) transparent transparent transparent;
109
- }
104
+ &:nth-child(2) {
105
+ animation-delay: -0.3s;
106
+ }
110
107
 
111
- .loading-modal .loading {
112
- @apply relative inline-block w-12 h-12;
108
+ &:nth-child(3) {
109
+ animation-delay: -0.15s;
110
+ }
111
+ }
112
+ }
113
113
  }
114
114
 
115
- .loading-modal .loading div {
116
- @apply absolute block w-8 h-8 m-2 border-4 rounded-full animate-loading;
117
- }
115
+ .loading-modal-primary {
116
+ @apply bg-primary-300/20;
118
117
 
119
- .loading-modal .loading div:nth-child(1) {
120
- animation-delay: -0.45s;
118
+ .loading div {
119
+ border-color: var(--color-primary) transparent transparent transparent;
120
+ }
121
121
  }
122
122
 
123
- .loading-modal .loading div:nth-child(2) {
124
- animation-delay: -0.3s;
125
- }
123
+ .loading-modal-highlight-500 {
124
+ @apply bg-highlight-500/20;
126
125
 
127
- .loading-modal .loading div:nth-child(3) {
128
- animation-delay: -0.15s;
126
+ .loading div {
127
+ border-color: var(--color-highlight-500) transparent transparent transparent;
128
+ }
129
129
  }
130
130
  </style>