@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.
Files changed (111) hide show
  1. package/AGENTS.md +59 -0
  2. package/CLAUDE.md +36 -0
  3. package/README.md +7 -7
  4. package/app/app.config.ts +11 -2
  5. package/app/app.vue +5 -0
  6. package/app/assets/css/layout.css +134 -0
  7. package/app/assets/css/main.css +189 -0
  8. package/app/components/SLAlertModal.vue +24 -16
  9. package/app/components/SLBreadcrumbs.vue +12 -8
  10. package/app/components/SLButton.vue +196 -163
  11. package/app/components/SLCalendarButton.vue +40 -34
  12. package/app/components/SLCalendarPopup.vue +79 -53
  13. package/app/components/SLCard.vue +57 -41
  14. package/app/components/SLChart.vue +6 -3
  15. package/app/components/SLCheckbox.vue +92 -49
  16. package/app/components/SLCircleButton.vue +25 -16
  17. package/app/components/SLCollapsableBlock.vue +44 -33
  18. package/app/components/SLCollapsableMulitPillSelect.vue +20 -15
  19. package/app/components/SLConfirmModal.vue +9 -6
  20. package/app/components/SLContextMenu.vue +88 -48
  21. package/app/components/SLDateInput.vue +109 -92
  22. package/app/components/SLDatePicker.vue +9 -7
  23. package/app/components/SLDistributor.vue +1 -1
  24. package/app/components/SLDownloadButton.vue +39 -29
  25. package/app/components/SLDraggable.vue +2 -2
  26. package/app/components/SLDropdown.vue +33 -25
  27. package/app/components/SLDropdownItem.vue +9 -5
  28. package/app/components/SLElementWithTitle.vue +12 -7
  29. package/app/components/SLEyeCheckbox.vue +44 -31
  30. package/app/components/SLFileInput.vue +23 -16
  31. package/app/components/SLGenderAgeSelect.vue +52 -36
  32. package/app/components/SLHourRangeInput.vue +45 -32
  33. package/app/components/SLIOSSwitch.vue +81 -60
  34. package/app/components/SLIcon.vue +4 -3
  35. package/app/components/SLIconButton.vue +31 -29
  36. package/app/components/SLInfoTip.vue +51 -40
  37. package/app/components/SLInsightSitePage.vue +12 -7
  38. package/app/components/SLLegend.vue +19 -12
  39. package/app/components/SLLinearProgressBar.vue +7 -20
  40. package/app/components/SLLink.vue +12 -8
  41. package/app/components/SLLoading.vue +34 -31
  42. package/app/components/SLMapChart.vue +5 -4
  43. package/app/components/SLModal.vue +90 -66
  44. package/app/components/SLMonthCalendarButton.vue +91 -45
  45. package/app/components/SLMonthPicker.vue +42 -37
  46. package/app/components/SLMultiEmailInput.vue +163 -113
  47. package/app/components/SLMultiSelect.vue +37 -26
  48. package/app/components/SLNoData.vue +16 -11
  49. package/app/components/SLNotification.vue +133 -129
  50. package/app/components/SLPageModal.vue +14 -9
  51. package/app/components/SLPagination.vue +45 -33
  52. package/app/components/SLPillCheckbox.vue +50 -42
  53. package/app/components/SLPillLabel.vue +43 -28
  54. package/app/components/SLPopupMenuButton.vue +26 -17
  55. package/app/components/SLProfileButton.vue +28 -20
  56. package/app/components/SLProjectShareItem.vue +30 -17
  57. package/app/components/SLRadioButton.vue +41 -33
  58. package/app/components/SLRadioButtonGroup.vue +28 -23
  59. package/app/components/SLRadioGroup.vue +90 -78
  60. package/app/components/SLRangeInput.vue +53 -38
  61. package/app/components/SLRegionsMapChart.vue +5 -4
  62. package/app/components/SLRightSider.vue +50 -40
  63. package/app/components/SLSearchInput.vue +24 -19
  64. package/app/components/SLSelect.vue +114 -87
  65. package/app/components/SLSelectAllToggle.vue +52 -37
  66. package/app/components/SLSidebarNav.vue +253 -193
  67. package/app/components/SLSidebarNavGroupItem.vue +13 -10
  68. package/app/components/SLSidebarNavGroupItemSection.vue +240 -179
  69. package/app/components/SLSidebarNavLinkItem.vue +131 -109
  70. package/app/components/SLSidebarNavSectionItem.vue +21 -18
  71. package/app/components/SLSitePage.vue +35 -24
  72. package/app/components/SLSkyInsightSitePage.vue +13 -8
  73. package/app/components/SLSortByDropdown.vue +35 -22
  74. package/app/components/SLSpinIcon.vue +6 -3
  75. package/app/components/SLStayRangeInput.vue +47 -36
  76. package/app/components/SLTab.vue +7 -2
  77. package/app/components/SLTable.vue +330 -313
  78. package/app/components/SLTableTooltip.vue +44 -30
  79. package/app/components/SLTabs.vue +333 -280
  80. package/app/components/SLTextInput.vue +162 -134
  81. package/app/components/SLTextarea.vue +40 -29
  82. package/app/components/SLToast.vue +19 -11
  83. package/app/components/SLToggleButton.vue +18 -11
  84. package/app/components/SLTwoLayerMultiSelect.vue +180 -85
  85. package/app/components/SLTwoLayerSelect.vue +47 -37
  86. package/app/components/SLTwoLayerSingleSelect.vue +52 -33
  87. package/app/components/SLWarnModal.vue +9 -7
  88. package/app/interface/commons.ts +7 -0
  89. package/app/utils/index.ts +213 -146
  90. package/eslint.config.js +3 -0
  91. package/nuxt.config.ts +17 -14
  92. package/package.json +9 -8
  93. package/skills-lock.json +59 -0
  94. package/tsconfig.json +1 -6
  95. package/.eslintrc.cjs +0 -4
  96. package/app/assets/css/layout.styl +0 -98
  97. package/app/assets/css/tailwind.css +0 -3
  98. package/app/pages/index.vue +0 -15
  99. package/interface/commons.ts +0 -7
  100. package/tailwind.config.js +0 -271
  101. /package/{interface → app/interface}/IDateRange.ts +0 -0
  102. /package/{interface → app/interface}/IHourRange.ts +0 -0
  103. /package/{interface → app/interface}/IInputOption.ts +0 -0
  104. /package/{interface → app/interface}/ILegendItem.ts +0 -0
  105. /package/{interface → app/interface}/IOrganization.ts +0 -0
  106. /package/{interface → app/interface}/IPopupMenuButton.ts +0 -0
  107. /package/{interface → app/interface}/IStayRange.ts +0 -0
  108. /package/{interface → app/interface}/ITableField.ts +0 -0
  109. /package/{interface → app/interface}/IWeb.ts +0 -0
  110. /package/{interface → app/interface}/NavConfigType.ts +0 -0
  111. /package/{models → app/models}/DateRange.ts +0 -0
@@ -184,292 +184,345 @@ export default defineComponent({
184
184
  });
185
185
  </script>
186
186
 
187
- <style lang="stylus">
188
- .tabs
189
- &.tabs-sm
190
- &.tabs-type-1
191
- & > .tabs-nav
192
- ul
193
- .tab-nav-item
194
- &-link
195
- @apply text-sm
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
- &.tabs-xs
198
- &.tabs-type-1
199
- & > .tabs-nav
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
- &-link
207
- @apply s("py-0.75") text-base
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
- &.tabs-type-1
210
- & > .tabs-nav
211
- @apply flex items-start justify-between h-0 space-x-8 overflow-hidden
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
- &.show
215
- @apply h-auto s("-mb-1.5")
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
- .tabs-nav-left
218
- @apply flex-grow overflow-hidden
409
+ .tabs.tabs-type-4 .tabs-content > div {
410
+ @apply flex min-h-full;
411
+ }
219
412
 
220
- .tabs-nav-right
221
- @apply flex-grow-0 flex-shrink-0
413
+ .tabs.tabs-type-4 .tabs-content > div .tabs-content-body {
414
+ @apply w-full;
415
+ }
222
416
 
223
- ul
224
- @apply inline-flex items-start s("-space-x-px")
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
- .tab-nav-item
227
- @apply relative rounded-t bg-white
421
+ .tabs.tabs-type-5 > .tabs-nav.show {
422
+ @apply h-auto;
423
+ }
228
424
 
229
- &:first-child
230
- .tab-nav-item-link
231
- &:after
232
- content ""
233
- @apply absolute bottom-0 left-0 w-px h-3 s("-mb-3") s("-ml-px") bg-primary-600
234
-
235
- &.active
236
- @apply s("pb-1.75")
237
-
238
- &:before
239
- content ""
240
- @apply block absolute s("top-0.5") s("right-0.75") s("left-0.75") h-1 bg-highlight-400
241
-
242
- .tab-nav-item-link
243
- @apply text-primary cursor-default
244
-
245
- &-link
246
- @apply relative block s("py-1.75") s("px-3.75") border-t border-r border-l border-primary-600 rounded-t text-lg text-primary-600
247
-
248
- &-title
249
- @apply truncate
250
-
251
- .tab-pane
252
- @apply space-y-8
253
-
254
- & > .tabs-content
255
- @apply p-4 border border-primary-600 rounded-lg bg-white overflow-hidden
256
-
257
- .tabs-content-header
258
- @apply flex items-start justify-between mb-4
259
-
260
- &.tabs-type-2
261
- & > .tabs-nav
262
- @apply mb-0
263
-
264
- ul
265
- @apply flex px-8 pb-5 space-x-8
266
- @apply s('lg:px-6') s('lg:space-x-14')
267
-
268
- .tab-nav-item
269
- @apply relative flex-grow s('py-6') rounded bg-primary-100 text-lg text-primary-600 text-center
270
- @apply s('lg:py-5.5')
271
-
272
- &:before
273
- content ""
274
- @apply absolute s('top-0.5') s('left-0.5') block rounded bg-white
275
- width calc(100% - theme('spacing.1'))
276
- height calc(100% - theme('spacing.1'))
277
-
278
- &:after
279
- content ""
280
- @apply absolute left-0 bottom-0 s('-ml-4') s('-mb-5') block w-full h-3 rounded-t bg-primary-300 opacity-0
281
- width calc(100% + theme('spacing.4') * 2)
282
-
283
- &.active
284
- @apply text-primary font-bold
285
-
286
- &:after
287
- @apply opacity-100
288
-
289
- &:nth-child(odd)
290
- @apply bg-transparent s('bg-gradient-to-r') s('from-insight-web-title-start') s('to-insight-web-title-end')
291
-
292
- &:after
293
- @apply bg-transparent s('bg-gradient-to-r') s('from-insight-web-title-start') s('to-insight-web-title-end')
294
-
295
- &:nth-child(even)
296
- @apply bg-transparent s('bg-gradient-to-r') s('from-insight-poi-title-start') s('to-insight-poi-title-end')
297
-
298
- &:after
299
- @apply bg-transparent s('bg-gradient-to-r') s('from-insight-poi-title-start') s('to-insight-poi-title-end')
300
-
301
- .tab-nav-item-link
302
- @apply cursor-default
303
-
304
- &-link
305
- @apply relative
306
-
307
- &.tabs-type-3
308
- & > .tabs-nav
309
- @apply flex items-start justify-between h-0 space-x-8 overflow-hidden
310
- @apply s('lg:space-x-30')
311
-
312
- &.show
313
- @apply h-auto mb-1
314
-
315
- .tabs-nav-left
316
- @apply flex-grow overflow-hidden
317
-
318
- .tabs-nav-right
319
- @apply flex-grow-0 flex-shrink-0
320
-
321
- ul
322
- @apply inline-flex items-start space-x-2
323
-
324
- .tab-nav-item
325
- @apply relative rounded-t bg-primary-100
326
-
327
- &.active
328
- @apply bg-primary
329
-
330
- .tab-nav-item-link
331
- @apply text-white cursor-default
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>