@mptw/skylens-ui 1.5.0 → 1.5.2
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/AGENTS.md +59 -0
- package/CLAUDE.md +36 -0
- package/README.md +7 -7
- package/app/app.config.ts +11 -2
- package/app/app.vue +5 -0
- package/app/assets/css/layout.css +134 -0
- package/app/assets/css/main.css +189 -0
- package/app/components/SLAlertModal.vue +24 -16
- package/app/components/SLBreadcrumbs.vue +12 -8
- package/app/components/SLButton.vue +196 -163
- package/app/components/SLCalendarButton.vue +40 -34
- package/app/components/SLCalendarPopup.vue +79 -53
- package/app/components/SLCard.vue +57 -41
- package/app/components/SLChart.vue +6 -3
- package/app/components/SLCheckbox.vue +92 -49
- package/app/components/SLCircleButton.vue +25 -16
- package/app/components/SLCollapsableBlock.vue +44 -33
- package/app/components/SLCollapsableMulitPillSelect.vue +20 -15
- package/app/components/SLConfirmModal.vue +9 -6
- package/app/components/SLContextMenu.vue +88 -48
- package/app/components/SLDateInput.vue +109 -92
- package/app/components/SLDatePicker.vue +9 -7
- package/app/components/SLDistributor.vue +1 -1
- package/app/components/SLDownloadButton.vue +39 -29
- package/app/components/SLDraggable.vue +2 -2
- package/app/components/SLDropdown.vue +33 -25
- package/app/components/SLDropdownItem.vue +9 -5
- package/app/components/SLElementWithTitle.vue +12 -7
- package/app/components/SLEyeCheckbox.vue +44 -31
- package/app/components/SLFileInput.vue +23 -16
- package/app/components/SLGenderAgeSelect.vue +52 -36
- package/app/components/SLHourRangeInput.vue +45 -32
- package/app/components/SLIOSSwitch.vue +81 -60
- package/app/components/SLIcon.vue +4 -3
- package/app/components/SLIconButton.vue +31 -29
- package/app/components/SLInfoTip.vue +51 -40
- package/app/components/SLInsightSitePage.vue +12 -7
- package/app/components/SLLegend.vue +19 -12
- package/app/components/SLLinearProgressBar.vue +7 -20
- package/app/components/SLLink.vue +12 -8
- package/app/components/SLLoading.vue +34 -31
- package/app/components/SLMapChart.vue +5 -4
- package/app/components/SLModal.vue +90 -66
- package/app/components/SLMonthCalendarButton.vue +91 -45
- package/app/components/SLMonthPicker.vue +42 -37
- package/app/components/SLMultiEmailInput.vue +163 -113
- package/app/components/SLMultiSelect.vue +37 -26
- package/app/components/SLNoData.vue +16 -11
- package/app/components/SLNotification.vue +133 -129
- package/app/components/SLPageModal.vue +14 -9
- package/app/components/SLPagination.vue +45 -33
- package/app/components/SLPillCheckbox.vue +50 -42
- package/app/components/SLPillLabel.vue +43 -28
- package/app/components/SLPopupMenuButton.vue +26 -17
- package/app/components/SLProfileButton.vue +28 -20
- package/app/components/SLProjectShareItem.vue +30 -17
- package/app/components/SLRadioButton.vue +41 -33
- package/app/components/SLRadioButtonGroup.vue +28 -23
- package/app/components/SLRadioGroup.vue +90 -78
- package/app/components/SLRangeInput.vue +53 -38
- package/app/components/SLRegionsMapChart.vue +5 -4
- package/app/components/SLRightSider.vue +50 -40
- package/app/components/SLSearchInput.vue +24 -19
- package/app/components/SLSelect.vue +114 -87
- package/app/components/SLSelectAllToggle.vue +52 -37
- package/app/components/SLSidebarNav.vue +253 -193
- package/app/components/SLSidebarNavGroupItem.vue +13 -10
- package/app/components/SLSidebarNavGroupItemSection.vue +240 -179
- package/app/components/SLSidebarNavLinkItem.vue +131 -109
- package/app/components/SLSidebarNavSectionItem.vue +21 -18
- package/app/components/SLSitePage.vue +35 -24
- package/app/components/SLSkyInsightSitePage.vue +13 -8
- package/app/components/SLSortByDropdown.vue +35 -22
- package/app/components/SLSpinIcon.vue +6 -3
- package/app/components/SLStayRangeInput.vue +47 -36
- package/app/components/SLTab.vue +7 -2
- package/app/components/SLTable.vue +330 -313
- package/app/components/SLTableTooltip.vue +44 -30
- package/app/components/SLTabs.vue +333 -280
- package/app/components/SLTextInput.vue +162 -134
- package/app/components/SLTextarea.vue +40 -29
- package/app/components/SLToast.vue +19 -11
- package/app/components/SLToggleButton.vue +18 -11
- package/app/components/SLTwoLayerMultiSelect.vue +180 -85
- package/app/components/SLTwoLayerSelect.vue +47 -37
- package/app/components/SLTwoLayerSingleSelect.vue +52 -33
- package/app/components/SLWarnModal.vue +9 -7
- package/app/interface/commons.ts +7 -0
- package/app/utils/index.ts +213 -146
- package/eslint.config.js +3 -0
- package/nuxt.config.ts +17 -14
- package/package.json +9 -8
- package/skills-lock.json +59 -0
- package/tsconfig.json +1 -6
- package/.eslintrc.cjs +0 -4
- package/app/assets/css/layout.styl +0 -98
- package/app/assets/css/tailwind.css +0 -3
- package/app/pages/index.vue +0 -15
- package/interface/commons.ts +0 -7
- package/tailwind.config.js +0 -271
- /package/{interface → app/interface}/IDateRange.ts +0 -0
- /package/{interface → app/interface}/IHourRange.ts +0 -0
- /package/{interface → app/interface}/IInputOption.ts +0 -0
- /package/{interface → app/interface}/ILegendItem.ts +0 -0
- /package/{interface → app/interface}/IOrganization.ts +0 -0
- /package/{interface → app/interface}/IPopupMenuButton.ts +0 -0
- /package/{interface → app/interface}/IStayRange.ts +0 -0
- /package/{interface → app/interface}/ITableField.ts +0 -0
- /package/{interface → app/interface}/IWeb.ts +0 -0
- /package/{interface → app/interface}/NavConfigType.ts +0 -0
- /package/{models → app/models}/DateRange.ts +0 -0
|
@@ -184,292 +184,345 @@ export default defineComponent({
|
|
|
184
184
|
});
|
|
185
185
|
</script>
|
|
186
186
|
|
|
187
|
-
<style
|
|
188
|
-
.
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
187
|
+
<style>
|
|
188
|
+
@reference '~ui/app/assets/css/main.css';
|
|
189
|
+
|
|
190
|
+
.tabs.tabs-sm.tabs-type-1 > .tabs-nav ul .tab-nav-item-link {
|
|
191
|
+
@apply text-sm;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.tabs.tabs-xs.tabs-type-1 > .tabs-nav ul .tab-nav-item.active::before {
|
|
195
|
+
@apply hidden;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.tabs.tabs-xs.tabs-type-1 > .tabs-nav ul .tab-nav-item-link {
|
|
199
|
+
@apply py-0.75 text-base;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.tabs.tabs-type-1 > .tabs-nav {
|
|
203
|
+
@apply flex items-start justify-between h-0 space-x-8 overflow-hidden lg:space-x-30;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.tabs.tabs-type-1 > .tabs-nav.show {
|
|
207
|
+
@apply h-auto -mb-1.5;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.tabs.tabs-type-1 > .tabs-nav .tabs-nav-left {
|
|
211
|
+
@apply grow overflow-hidden;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.tabs.tabs-type-1 > .tabs-nav .tabs-nav-right {
|
|
215
|
+
@apply grow-0 shrink-0;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.tabs.tabs-type-1 > .tabs-nav ul {
|
|
219
|
+
@apply inline-flex items-start -space-x-px;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.tabs.tabs-type-1 > .tabs-nav ul .tab-nav-item {
|
|
223
|
+
@apply relative rounded-t bg-white;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.tabs.tabs-type-1
|
|
227
|
+
> .tabs-nav
|
|
228
|
+
ul
|
|
229
|
+
.tab-nav-item:first-child
|
|
230
|
+
.tab-nav-item-link::after {
|
|
231
|
+
content: "";
|
|
232
|
+
@apply absolute bottom-0 left-0 w-px h-3 -mb-3 -ml-px bg-primary-600;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.tabs.tabs-type-1 > .tabs-nav ul .tab-nav-item.active {
|
|
236
|
+
@apply pb-1.75;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.tabs.tabs-type-1 > .tabs-nav ul .tab-nav-item.active::before {
|
|
240
|
+
content: "";
|
|
241
|
+
@apply block absolute top-0.5 right-0.75 left-0.75 h-1 bg-highlight-400;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.tabs.tabs-type-1 > .tabs-nav ul .tab-nav-item.active .tab-nav-item-link {
|
|
245
|
+
@apply text-primary cursor-default;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.tabs.tabs-type-1 > .tabs-nav ul .tab-nav-item-link {
|
|
249
|
+
@apply relative block py-1.75 px-3.75 border-t border-r border-l border-primary-600 rounded-t text-lg text-primary-600;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.tabs.tabs-type-1 > .tabs-nav ul .tab-nav-item-link-title {
|
|
253
|
+
@apply truncate;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.tabs.tabs-type-1 > .tabs-nav ul .tab-pane {
|
|
257
|
+
@apply space-y-8;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
.tabs.tabs-type-1 > .tabs-content {
|
|
261
|
+
@apply p-4 border border-primary-600 rounded-lg bg-white overflow-hidden;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
.tabs.tabs-type-1 > .tabs-content .tabs-content-header {
|
|
265
|
+
@apply flex items-start justify-between mb-4;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.tabs.tabs-type-2 > .tabs-nav {
|
|
269
|
+
@apply mb-0;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
.tabs.tabs-type-2 > .tabs-nav ul {
|
|
273
|
+
@apply flex px-8 pb-5 space-x-8 lg:px-6 lg:space-x-14;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
.tabs.tabs-type-2 > .tabs-nav ul .tab-nav-item {
|
|
277
|
+
@apply relative grow py-6 rounded bg-primary-100 text-lg text-primary-600 text-center lg:py-5.5;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
.tabs.tabs-type-2 > .tabs-nav ul .tab-nav-item::before {
|
|
281
|
+
content: "";
|
|
282
|
+
@apply absolute top-0.5 left-0.5 block rounded bg-white;
|
|
283
|
+
width: calc(100% - var(--spacing));
|
|
284
|
+
height: calc(100% - var(--spacing));
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.tabs.tabs-type-2 > .tabs-nav ul .tab-nav-item::after {
|
|
288
|
+
content: "";
|
|
289
|
+
@apply absolute left-0 bottom-0 -ml-4 -mb-5 block w-full h-3 rounded-t bg-primary-300 opacity-0;
|
|
290
|
+
width: calc(100% + var(--spacing) * 4 * 2);
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
.tabs.tabs-type-2 > .tabs-nav ul .tab-nav-item.active {
|
|
294
|
+
@apply text-primary font-bold;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
.tabs.tabs-type-2 > .tabs-nav ul .tab-nav-item.active::after {
|
|
298
|
+
@apply opacity-100;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
.tabs.tabs-type-2 > .tabs-nav ul .tab-nav-item.active:nth-child(odd) {
|
|
302
|
+
@apply bg-transparent bg-linear-to-r from-insight-web-title-start to-insight-web-title-end;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
.tabs.tabs-type-2 > .tabs-nav ul .tab-nav-item.active:nth-child(odd)::after {
|
|
306
|
+
@apply bg-transparent bg-linear-to-r from-insight-web-title-start to-insight-web-title-end;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
.tabs.tabs-type-2 > .tabs-nav ul .tab-nav-item.active:nth-child(even) {
|
|
310
|
+
@apply bg-transparent bg-linear-to-r from-insight-poi-title-start to-insight-poi-title-end;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
.tabs.tabs-type-2 > .tabs-nav ul .tab-nav-item.active:nth-child(even)::after {
|
|
314
|
+
@apply bg-transparent bg-linear-to-r from-insight-poi-title-start to-insight-poi-title-end;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
.tabs.tabs-type-2 > .tabs-nav ul .tab-nav-item.active .tab-nav-item-link {
|
|
318
|
+
@apply cursor-default;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
.tabs.tabs-type-2 > .tabs-nav ul .tab-nav-item-link {
|
|
322
|
+
@apply relative;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
.tabs.tabs-type-3 > .tabs-nav {
|
|
326
|
+
@apply flex items-start justify-between h-0 space-x-8 overflow-hidden lg:space-x-30;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
.tabs.tabs-type-3 > .tabs-nav.show {
|
|
330
|
+
@apply h-auto mb-1;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
.tabs.tabs-type-3 > .tabs-nav .tabs-nav-left {
|
|
334
|
+
@apply grow overflow-hidden;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
.tabs.tabs-type-3 > .tabs-nav .tabs-nav-right {
|
|
338
|
+
@apply grow-0 shrink-0;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
.tabs.tabs-type-3 > .tabs-nav ul {
|
|
342
|
+
@apply inline-flex items-start space-x-2;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
.tabs.tabs-type-3 > .tabs-nav ul .tab-nav-item {
|
|
346
|
+
@apply relative rounded-t bg-primary-100;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
.tabs.tabs-type-3 > .tabs-nav ul .tab-nav-item.active {
|
|
350
|
+
@apply bg-primary;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
.tabs.tabs-type-3 > .tabs-nav ul .tab-nav-item.active .tab-nav-item-link {
|
|
354
|
+
@apply text-white cursor-default;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
.tabs.tabs-type-3 > .tabs-nav ul .tab-nav-item-link {
|
|
358
|
+
@apply relative block py-2 px-8 rounded-t text-base text-primary;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
.tabs.tabs-type-3 > .tabs-nav ul .tab-nav-item-link-title {
|
|
362
|
+
@apply truncate;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
.tabs.tabs-type-3 > .tabs-nav ul .tab-pane {
|
|
366
|
+
@apply space-y-8;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
.tabs.tabs-type-3 > .tabs-content {
|
|
370
|
+
@apply p-6 rounded-tr-lg rounded-b-lg bg-white shadow-default overflow-hidden;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
.tabs.tabs-type-3 > .tabs-content .tabs-content-header {
|
|
374
|
+
@apply flex items-start justify-between;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
.tabs.tabs-type-3 > .tabs-content .tabs-dropdown {
|
|
378
|
+
@apply mb-4;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
.tabs.tabs-type-4 {
|
|
382
|
+
@apply flex;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
.tabs.tabs-type-4 > .tabs-nav {
|
|
386
|
+
@apply grow-0 shrink-0;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
.tabs.tabs-type-4 > .tabs-nav .tabs-nav-left ul {
|
|
390
|
+
@apply flex flex-col space-y-0.5;
|
|
391
|
+
}
|
|
196
392
|
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
ul
|
|
201
|
-
.tab-nav-item
|
|
202
|
-
&.active
|
|
203
|
-
&:before
|
|
204
|
-
@apply hidden
|
|
393
|
+
.tabs.tabs-type-4 > .tabs-nav .tabs-nav-left ul .tab-nav-item {
|
|
394
|
+
@apply flex justify-between w-[184px] py-3 pl-3 pr-5 bg-primary-50 rounded-l-lg text-xs;
|
|
395
|
+
}
|
|
205
396
|
|
|
206
|
-
|
|
207
|
-
|
|
397
|
+
.tabs.tabs-type-4 > .tabs-nav .tabs-nav-left ul .tab-nav-item.active {
|
|
398
|
+
@apply bg-primary-600 text-white font-bold shadow-md;
|
|
399
|
+
}
|
|
208
400
|
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
@apply s('lg:space-x-30')
|
|
401
|
+
.tabs.tabs-type-4 > .tabs-nav .tabs-nav-left ul .tab-nav-item-link {
|
|
402
|
+
@apply block w-full;
|
|
403
|
+
}
|
|
213
404
|
|
|
214
|
-
|
|
215
|
-
|
|
405
|
+
.tabs.tabs-type-4 .tabs-content {
|
|
406
|
+
@apply grow -ml-2 p-4 bg-white border border-primary-600 rounded-lg shadow-md;
|
|
407
|
+
}
|
|
216
408
|
|
|
217
|
-
|
|
218
|
-
|
|
409
|
+
.tabs.tabs-type-4 .tabs-content > div {
|
|
410
|
+
@apply flex min-h-full;
|
|
411
|
+
}
|
|
219
412
|
|
|
220
|
-
|
|
221
|
-
|
|
413
|
+
.tabs.tabs-type-4 .tabs-content > div .tabs-content-body {
|
|
414
|
+
@apply w-full;
|
|
415
|
+
}
|
|
222
416
|
|
|
223
|
-
|
|
224
|
-
|
|
417
|
+
.tabs.tabs-type-5 > .tabs-nav {
|
|
418
|
+
@apply flex items-start justify-between h-0 mb-4 space-x-8 overflow-hidden lg:space-x-30;
|
|
419
|
+
}
|
|
225
420
|
|
|
226
|
-
|
|
227
|
-
|
|
421
|
+
.tabs.tabs-type-5 > .tabs-nav.show {
|
|
422
|
+
@apply h-auto;
|
|
423
|
+
}
|
|
228
424
|
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
&-link
|
|
334
|
-
@apply relative block py-2 px-8 rounded-t text-base text-primary
|
|
335
|
-
|
|
336
|
-
&-title
|
|
337
|
-
@apply truncate
|
|
338
|
-
|
|
339
|
-
.tab-pane
|
|
340
|
-
@apply space-y-8
|
|
341
|
-
|
|
342
|
-
& > .tabs-content
|
|
343
|
-
@apply p-6 rounded-tr-lg rounded-b-lg bg-white shadow overflow-hidden
|
|
344
|
-
|
|
345
|
-
.tabs-content-header
|
|
346
|
-
@apply flex items-start justify-between
|
|
347
|
-
|
|
348
|
-
.tabs-dropdown
|
|
349
|
-
@apply mb-4
|
|
350
|
-
|
|
351
|
-
&.tabs-type-4
|
|
352
|
-
@apply flex
|
|
353
|
-
|
|
354
|
-
& > .tabs-nav
|
|
355
|
-
@apply flex-grow-0 flex-shrink-0
|
|
356
|
-
|
|
357
|
-
.tabs-nav-left
|
|
358
|
-
ul
|
|
359
|
-
@apply flex flex-col s('space-y-0.5')
|
|
360
|
-
|
|
361
|
-
.tab-nav-item
|
|
362
|
-
@apply flex justify-between s('w-[184px]') py-3 pl-3 pr-5 bg-primary-50 rounded-l-lg text-xs
|
|
363
|
-
|
|
364
|
-
&.active
|
|
365
|
-
@apply bg-primary-600 text-white font-bold shadow-md
|
|
366
|
-
|
|
367
|
-
&-link
|
|
368
|
-
@apply block w-full
|
|
369
|
-
|
|
370
|
-
.tabs-content
|
|
371
|
-
@apply flex-grow s('-ml-2') p-4 bg-white border border-primary-600 rounded-lg shadow-md
|
|
372
|
-
|
|
373
|
-
& > div
|
|
374
|
-
@apply flex min-h-full
|
|
375
|
-
|
|
376
|
-
.tabs-content-body
|
|
377
|
-
@apply w-full
|
|
378
|
-
|
|
379
|
-
&.tabs-type-5
|
|
380
|
-
& > .tabs-nav
|
|
381
|
-
@apply flex items-start justify-between h-0 mb-4 space-x-8 overflow-hidden
|
|
382
|
-
@apply s('lg:space-x-30')
|
|
383
|
-
|
|
384
|
-
&.show
|
|
385
|
-
@apply h-auto
|
|
386
|
-
|
|
387
|
-
.tabs-nav-left
|
|
388
|
-
&:before
|
|
389
|
-
content ""
|
|
390
|
-
@apply absolute right-0 bottom-0 left-0 h-px s('rounded-[1px]') bg-primary-300
|
|
391
|
-
|
|
392
|
-
.tabs-nav-left
|
|
393
|
-
@apply relative flex-grow overflow-hidden
|
|
394
|
-
|
|
395
|
-
.tabs-nav-right
|
|
396
|
-
@apply flex-grow-0 flex-shrink-0
|
|
397
|
-
|
|
398
|
-
ul
|
|
399
|
-
@apply inline-flex items-start
|
|
400
|
-
|
|
401
|
-
.tab-nav-item
|
|
402
|
-
@apply relative
|
|
403
|
-
|
|
404
|
-
&.active
|
|
405
|
-
&:after
|
|
406
|
-
content ""
|
|
407
|
-
@apply block absolute right-0 bottom-0 left-0 h-1 s('rounded-[1px]') bg-primary
|
|
408
|
-
|
|
409
|
-
.tab-nav-item-link
|
|
410
|
-
@apply cursor-default
|
|
411
|
-
|
|
412
|
-
&.disabled
|
|
413
|
-
.tab-nav-item-link
|
|
414
|
-
@apply text-pgray-4 cursor-default
|
|
415
|
-
|
|
416
|
-
&-link
|
|
417
|
-
@apply relative block px-4 pb-2 text-lg text-pgray-2
|
|
418
|
-
|
|
419
|
-
&-title
|
|
420
|
-
@apply truncate
|
|
421
|
-
|
|
422
|
-
.tab-pane
|
|
423
|
-
@apply space-y-8
|
|
424
|
-
|
|
425
|
-
&.tabs-type-6
|
|
426
|
-
& > .tabs-nav
|
|
427
|
-
@apply flex items-start justify-between h-0 mb-6 space-x-8 overflow-hidden
|
|
428
|
-
@apply s('lg:space-x-30')
|
|
429
|
-
|
|
430
|
-
&.show
|
|
431
|
-
@apply h-auto
|
|
432
|
-
|
|
433
|
-
.tabs-nav-left
|
|
434
|
-
&:before
|
|
435
|
-
content ""
|
|
436
|
-
@apply absolute right-0 bottom-0 left-0 h-1 bg-pgray-5
|
|
437
|
-
|
|
438
|
-
.tabs-nav-left
|
|
439
|
-
@apply relative flex-grow-0 flex-shrink-0
|
|
440
|
-
|
|
441
|
-
.tabs-nav-right
|
|
442
|
-
@apply flex-grow-0 flex-shrink-0
|
|
443
|
-
|
|
444
|
-
ul
|
|
445
|
-
@apply inline-flex items-start
|
|
446
|
-
|
|
447
|
-
.tab-nav-item
|
|
448
|
-
@apply relative
|
|
449
|
-
|
|
450
|
-
&.active
|
|
451
|
-
&:after
|
|
452
|
-
content ""
|
|
453
|
-
@apply block absolute right-0 bottom-0 left-0 h-1 bg-blue-1
|
|
454
|
-
|
|
455
|
-
.tab-nav-item-link
|
|
456
|
-
@apply text-blue-1 cursor-default
|
|
457
|
-
|
|
458
|
-
&.disabled
|
|
459
|
-
.tab-nav-item-link
|
|
460
|
-
@apply text-pgray-4 cursor-default
|
|
461
|
-
|
|
462
|
-
&-link
|
|
463
|
-
@apply relative block pt-1 px-6 pb-2 text-base text-secondary-500
|
|
464
|
-
|
|
465
|
-
&-title
|
|
466
|
-
@apply truncate
|
|
467
|
-
|
|
468
|
-
.tab-pane
|
|
469
|
-
@apply space-y-8
|
|
470
|
-
|
|
471
|
-
& > .tabs-content
|
|
472
|
-
.tabs
|
|
473
|
-
& > .tabs-content
|
|
474
|
-
@apply shadow-md
|
|
475
|
-
</style>
|
|
425
|
+
.tabs.tabs-type-5 > .tabs-nav.show .tabs-nav-left::before {
|
|
426
|
+
content: "";
|
|
427
|
+
@apply absolute right-0 bottom-0 left-0 h-px rounded-[1px] bg-primary-300;
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
.tabs.tabs-type-5 > .tabs-nav .tabs-nav-left {
|
|
431
|
+
@apply relative grow overflow-hidden;
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
.tabs.tabs-type-5 > .tabs-nav .tabs-nav-right {
|
|
435
|
+
@apply grow-0 shrink-0;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
.tabs.tabs-type-5 > .tabs-nav ul {
|
|
439
|
+
@apply inline-flex items-start;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
.tabs.tabs-type-5 > .tabs-nav ul .tab-nav-item {
|
|
443
|
+
@apply relative;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
.tabs.tabs-type-5 > .tabs-nav ul .tab-nav-item.active::after {
|
|
447
|
+
content: "";
|
|
448
|
+
@apply block absolute right-0 bottom-0 left-0 h-1 rounded-[1px] bg-primary;
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
.tabs.tabs-type-5 > .tabs-nav ul .tab-nav-item.active .tab-nav-item-link {
|
|
452
|
+
@apply cursor-default;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
.tabs.tabs-type-5 > .tabs-nav ul .tab-nav-item.disabled .tab-nav-item-link {
|
|
456
|
+
@apply text-pgray-4 cursor-default;
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
.tabs.tabs-type-5 > .tabs-nav ul .tab-nav-item-link {
|
|
460
|
+
@apply relative block px-4 pb-2 text-lg text-pgray-2;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
.tabs.tabs-type-5 > .tabs-nav ul .tab-nav-item-link-title {
|
|
464
|
+
@apply truncate;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
.tabs.tabs-type-5 > .tabs-nav ul .tab-pane {
|
|
468
|
+
@apply space-y-8;
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
.tabs.tabs-type-6 > .tabs-nav {
|
|
472
|
+
@apply flex items-start justify-between h-0 mb-6 space-x-8 overflow-hidden lg:space-x-30;
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
.tabs.tabs-type-6 > .tabs-nav.show {
|
|
476
|
+
@apply h-auto;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
.tabs.tabs-type-6 > .tabs-nav.show .tabs-nav-left::before {
|
|
480
|
+
content: "";
|
|
481
|
+
@apply absolute right-0 bottom-0 left-0 h-1 bg-pgray-5;
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
.tabs.tabs-type-6 > .tabs-nav .tabs-nav-left {
|
|
485
|
+
@apply relative grow-0 shrink-0;
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
.tabs.tabs-type-6 > .tabs-nav .tabs-nav-right {
|
|
489
|
+
@apply grow-0 shrink-0;
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
.tabs.tabs-type-6 > .tabs-nav ul {
|
|
493
|
+
@apply inline-flex items-start;
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
.tabs.tabs-type-6 > .tabs-nav ul .tab-nav-item {
|
|
497
|
+
@apply relative;
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
.tabs.tabs-type-6 > .tabs-nav ul .tab-nav-item.active::after {
|
|
501
|
+
content: "";
|
|
502
|
+
@apply block absolute right-0 bottom-0 left-0 h-1 bg-blue-1;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
.tabs.tabs-type-6 > .tabs-nav ul .tab-nav-item.active .tab-nav-item-link {
|
|
506
|
+
@apply text-blue-1 cursor-default;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
.tabs.tabs-type-6 > .tabs-nav ul .tab-nav-item.disabled .tab-nav-item-link {
|
|
510
|
+
@apply text-pgray-4 cursor-default;
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
.tabs.tabs-type-6 > .tabs-nav ul .tab-nav-item-link {
|
|
514
|
+
@apply relative block pt-1 px-6 pb-2 text-base text-secondary-500;
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
.tabs.tabs-type-6 > .tabs-nav ul .tab-nav-item-link-title {
|
|
518
|
+
@apply truncate;
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
.tabs.tabs-type-6 > .tabs-nav ul .tab-pane {
|
|
522
|
+
@apply space-y-8;
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
.tabs > .tabs-content .tabs > .tabs-content {
|
|
526
|
+
@apply shadow-md;
|
|
527
|
+
}
|
|
528
|
+
</style>
|