@pubinfo-pr/core 0.222.3 → 0.223.1
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/dist/{AppSetting-Adv5Y3SE.js → AppSetting-7jlhUzze.js} +17 -17
- package/dist/{HCheckList-WAAl9RiK.js → HCheckList-cPBgATmv.js} +1 -1
- package/dist/HSlideover-DVQDc9q6.js +3151 -0
- package/dist/{HToggle-YLmL7R0b.js → HToggle-Ce_2-yhZ.js} +1 -1
- package/dist/{PreferencesContent-CiPweszy.js → PreferencesContent-BAIH81yS.js} +6 -6
- package/dist/{SettingBreadcrumb-C1VwfnxX.js → SettingBreadcrumb-O9-PhAFT.js} +4 -4
- package/dist/{SettingCopyright-C--oGV21.js → SettingCopyright-DIKsWTuf.js} +3 -3
- package/dist/{SettingEnableTransition-DW2gfisN.js → SettingEnableTransition-61O7W00b.js} +3 -3
- package/dist/{SettingHome-VUAS3uEg.js → SettingHome-Sv65TPH8.js} +4 -4
- package/dist/{SettingMenu-BH7XU7eF.js → SettingMenu-BvwJOUZV.js} +5 -5
- package/dist/{SettingMode-BIyHzTKH.js → SettingMode-B8H_eQc8.js} +2 -2
- package/dist/{SettingNavSearch-PfSA-_ro.js → SettingNavSearch-BHsmYBA7.js} +3 -3
- package/dist/{SettingOther-DdqNapQX.js → SettingOther-CyyNnaDX.js} +4 -4
- package/dist/{SettingPage-DS-G9-X5.js → SettingPage-B82lW41P.js} +2 -2
- package/dist/{SettingTabbar-2yfw2vsm.js → SettingTabbar-Bky2xvH-.js} +5 -5
- package/dist/{SettingThemes-Bkcywy7v.js → SettingThemes-CkdzS1xt.js} +5 -5
- package/dist/{SettingToolbar-DP7-_nPK.js → SettingToolbar-CD4qns1J.js} +3 -3
- package/dist/{SettingTopbar-C0Ia4-If.js → SettingTopbar-1shjoe3s.js} +5 -5
- package/dist/{SettingWidthMode-DgSWsHFq.js → SettingWidthMode-DlG6lXjA.js} +3 -3
- package/dist/{auth-B65CJEOe.js → auth-BLGKOyc5.js} +193 -3
- package/dist/built-in/layout-component/index.d.ts +2 -6
- package/dist/{change-organization-BfnI2yEl.js → change-organization-hsqeSzDu.js} +3 -3
- package/dist/{change-password-Bj_GWzmn.js → change-password-EtccCDRX.js} +3 -3
- package/dist/{components-BfkDsfck.js → components-DFNyaAb9.js} +6 -6
- package/dist/index.js +815 -343
- package/dist/{not-found-DbHOY5cU.js → not-found-BCjngLzt.js} +1 -1
- package/dist/{not-permission-DwERxb_u.js → not-permission-C26vTMvf.js} +1 -1
- package/dist/{profile-Dq66-Gsl.js → profile-BVXIFuBG.js} +1 -1
- package/dist/style.css +1 -1
- package/package.json +7 -7
- package/src/built-in/authentication/pages/change-organization/index.vue +5 -22
- package/src/built-in/authentication/pages/change-password/index.vue +3 -30
- package/src/built-in/layout-component/Layout.vue +30 -81
- package/src/built-in/layout-component/components/Copyright/index.vue +3 -29
- package/src/built-in/layout-component/components/Header/HeaderFullMenu/More.vue +6 -17
- package/src/built-in/layout-component/components/Header/HeaderFullMenu/NotCursor.vue +7 -18
- package/src/built-in/layout-component/components/Header/index.vue +22 -119
- package/src/built-in/layout-component/components/Logo/index.vue +1 -4
- package/src/built-in/layout-component/components/Menu/item.vue +6 -29
- package/src/built-in/layout-component/components/SettingBar/AppSetting.vue +13 -33
- package/src/built-in/layout-component/components/SettingBar/components/DayNightToggle.vue +25 -113
- package/src/built-in/layout-component/components/SettingBar/components/SettingEnableTransition.vue +4 -57
- package/src/built-in/layout-component/components/SettingBar/components/SettingMode.vue +20 -123
- package/src/built-in/layout-component/components/SettingBar/components/SettingThemes.vue +25 -102
- package/src/built-in/layout-component/components/SettingBar/components/SettingWidthMode.vue +16 -100
- package/src/built-in/layout-component/components/SettingBar/index.vue +10 -64
- package/src/built-in/layout-component/components/Sidebar/MainSidebar.vue +22 -76
- package/src/built-in/layout-component/components/Sidebar/SubSidebar.vue +10 -16
- package/src/built-in/layout-component/components/Tools/Breadcrumb/index.vue +2 -2
- package/src/built-in/layout-component/components/Tools/DarkModeToggle.vue +4 -26
- package/src/built-in/layout-component/components/Tools/Preferences/PreferencesContent.vue +51 -404
- package/src/built-in/layout-component/components/Topbar/Tabbar/MoreAction.vue +13 -68
- package/src/built-in/layout-component/components/Topbar/Tabbar/index.vue +49 -177
- package/src/built-in/layout-component/components/Topbar/Toolbar/Favorites.vue +2 -2
- package/src/built-in/layout-component/components/Topbar/Toolbar/index.vue +12 -45
- package/src/built-in/layout-component/components/ui/HToggle.vue +9 -55
- package/src/built-in/layout-component/index.ts +2 -4
- package/src/features/components/PassStrengthValidator/index.vue +10 -36
- package/src/features/components/PassStrengthValidator/rule.vue +4 -17
- package/dist/HSlideover-CXBJxuQo.js +0 -1695
- package/dist/HeaderFullMenu-ByedDsvz.js +0 -251
- package/dist/HeaderThinMenu-2q2iBtTH.js +0 -438
- package/dist/overlayscrollbars-vue-mGyICRMi.js +0 -1460
- /package/dist/{HDivider-Ds5MMqtm.js → HDivider-BwvBr5OE.js} +0 -0
- /package/dist/{HInput-BrsX9848.js → HInput-KJ5nFBpF.js} +0 -0
- /package/dist/{core-4H5JBsa5.js → core-DJIGzMMM.js} +0 -0
- /package/dist/{engine-oniguruma-uxNZ2DGJ.js → engine-oniguruma-CaNXwGSv.js} +0 -0
- /package/dist/{json-CC4oV-bd.js → json-Bu_Zprin.js} +0 -0
- /package/dist/{question-line-D7ecIumZ.js → question-line-BG__Ycfv.js} +0 -0
- /package/dist/{reload-CbuQgTlC.js → reload-DHx5Vwus.js} +0 -0
- /package/dist/{right-DYiPS7dU.js → right-BxBlFUwj.js} +0 -0
- /package/dist/{vitesse-dark-CxkWMfh6.js → vitesse-dark-CTe40QT_.js} +0 -0
- /package/dist/{vitesse-light-DY25e6F3.js → vitesse-light-BWXC_WeB.js} +0 -0
- /package/dist/{wasm-DAU6f5s5.js → wasm-2zDVqo-C.js} +0 -0
|
@@ -375,366 +375,131 @@ async function resetSetting() {
|
|
|
375
375
|
|
|
376
376
|
<style lang="css" scoped>
|
|
377
377
|
.divider {
|
|
378
|
-
|
|
379
|
-
align-items: center;
|
|
380
|
-
justify-content: space-between;
|
|
381
|
-
gap: 1rem; /* 16px */
|
|
382
|
-
margin-top: 1rem; /* 16px */
|
|
383
|
-
margin-bottom: 1rem; /* 16px */
|
|
384
|
-
white-space: nowrap;
|
|
385
|
-
font-size: 0.875rem; /* 14px */
|
|
386
|
-
line-height: 1.25rem; /* 20px */
|
|
387
|
-
font-weight: 500;
|
|
378
|
+
--at-apply: flex items-center justify-between gap-4 my-4 whitespace-nowrap text-sm font-500;
|
|
388
379
|
}
|
|
389
380
|
|
|
390
381
|
.divider::before,
|
|
391
382
|
.divider::after {
|
|
392
|
-
content:
|
|
393
|
-
width: 100%;
|
|
394
|
-
height: 1px;
|
|
395
|
-
background-color: #e7e5e4;
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
.dark .divider::before,
|
|
399
|
-
.dark .divider::after {
|
|
400
|
-
background-color: #57534e;
|
|
383
|
+
--at-apply: content-empty w-full h-1px bg-stone-2 dark:bg-stone-6;
|
|
401
384
|
}
|
|
402
385
|
|
|
403
386
|
.themes {
|
|
404
|
-
|
|
405
|
-
flex-wrap: wrap;
|
|
406
|
-
align-items: center;
|
|
407
|
-
justify-content: center;
|
|
408
|
-
gap: 1rem; /* 16px */
|
|
409
|
-
padding-bottom: 1rem; /* 16px */
|
|
387
|
+
--at-apply: flex flex-wrap items-center justify-center gap-4 pb-4;
|
|
410
388
|
}
|
|
411
389
|
|
|
412
390
|
.theme {
|
|
413
|
-
|
|
414
|
-
display: flex;
|
|
415
|
-
align-items: center;
|
|
416
|
-
justify-content: center;
|
|
417
|
-
width: 3rem; /* 48px */
|
|
418
|
-
height: 3rem; /* 48px */
|
|
419
|
-
border-radius: 0.5rem; /* 8px */
|
|
420
|
-
--un-ring-width: 1px;
|
|
421
|
-
--un-ring-offset-shadow: var(--un-ring-inset) 0 0 0
|
|
422
|
-
var(--un-ring-offset-width) var(--un-ring-offset-color);
|
|
423
|
-
--un-ring-shadow: var(--un-ring-inset) 0 0 0
|
|
424
|
-
calc(var(--un-ring-width) + var(--un-ring-offset-width))
|
|
425
|
-
var(--un-ring-color);
|
|
426
|
-
box-shadow: var(--un-ring-offset-shadow), var(--un-ring-shadow),
|
|
427
|
-
var(--un-shadow);
|
|
428
|
-
--un-ring-opacity: 1;
|
|
429
|
-
--un-ring-color: rgb(231 229 228 / var(--un-ring-opacity)) /* #e7e5e4 */;
|
|
430
|
-
cursor: pointer;
|
|
431
|
-
transition-property: color, background-color, border-color,
|
|
432
|
-
text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter,
|
|
433
|
-
backdrop-filter;
|
|
434
|
-
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
435
|
-
transition-duration: 150ms;
|
|
436
|
-
}
|
|
437
|
-
.dark & {
|
|
438
|
-
--un-ring-opacity: 1;
|
|
439
|
-
--un-ring-color: rgb(68 64 60 / var(--un-ring-opacity)) /* #44403c */;
|
|
440
|
-
}
|
|
391
|
+
--at-apply: flex items-center justify-center w-12 h-12 rounded-2 ring-1 ring-stone-2 dark:ring-stone-7 cursor-pointer transition;
|
|
441
392
|
}
|
|
442
393
|
|
|
443
394
|
.theme.active {
|
|
444
|
-
--
|
|
445
|
-
--un-ring-color: rgb(var(--ui-primary) / var(--un-ring-opacity))
|
|
446
|
-
/* rgb(var(--ui-primary)) */;
|
|
447
|
-
--un-ring-width: 2px;
|
|
448
|
-
--un-ring-offset-shadow: var(--un-ring-inset) 0 0 0
|
|
449
|
-
var(--un-ring-offset-width) var(--un-ring-offset-color);
|
|
450
|
-
--un-ring-shadow: var(--un-ring-inset) 0 0 0
|
|
451
|
-
calc(var(--un-ring-width) + var(--un-ring-offset-width))
|
|
452
|
-
var(--un-ring-color);
|
|
453
|
-
box-shadow: var(--un-ring-offset-shadow), var(--un-ring-shadow),
|
|
454
|
-
var(--un-shadow);
|
|
395
|
+
--at-apply: ring-ui-primary ring-2;
|
|
455
396
|
}
|
|
456
397
|
|
|
457
398
|
.theme.active .content {
|
|
458
|
-
--
|
|
459
|
-
--un-rotate-y: 0;
|
|
460
|
-
--un-rotate-z: 0;
|
|
461
|
-
--un-rotate: 0deg;
|
|
462
|
-
transform: translateX(var(--un-translate-x)) translateY(var(--un-translate-y))
|
|
463
|
-
translateZ(var(--un-translate-z)) rotate(var(--un-rotate))
|
|
464
|
-
rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y))
|
|
465
|
-
rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y))
|
|
466
|
-
scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y))
|
|
467
|
-
scaleZ(var(--un-scale-z));
|
|
399
|
+
--at-apply: rotate-0;
|
|
468
400
|
}
|
|
469
401
|
|
|
470
402
|
.theme .content {
|
|
471
|
-
|
|
472
|
-
height: 1rem; /* 16px */
|
|
473
|
-
border-radius: 50%;
|
|
474
|
-
--un-rotate-x: 0;
|
|
475
|
-
--un-rotate-y: 0;
|
|
476
|
-
--un-rotate-z: 0;
|
|
477
|
-
--un-rotate: -45deg;
|
|
478
|
-
transform: translateX(var(--un-translate-x)) translateY(var(--un-translate-y))
|
|
479
|
-
translateZ(var(--un-translate-z)) rotate(var(--un-rotate))
|
|
480
|
-
rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y))
|
|
481
|
-
rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y))
|
|
482
|
-
scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y))
|
|
483
|
-
scaleZ(var(--un-scale-z));
|
|
484
|
-
transition-property: color, background-color, border-color,
|
|
485
|
-
text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter,
|
|
486
|
-
backdrop-filter;
|
|
487
|
-
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
488
|
-
transition-duration: 150ms;
|
|
403
|
+
--at-apply: w-6 h-4 rounded-50% -rotate-45 transition;
|
|
489
404
|
}
|
|
490
405
|
|
|
491
406
|
.menu-mode {
|
|
492
|
-
|
|
493
|
-
align-items: center;
|
|
494
|
-
justify-content: center;
|
|
495
|
-
gap: 1rem; /* 16px */
|
|
496
|
-
padding-bottom: 1rem; /* 16px */
|
|
407
|
+
--at-apply: flex items-center justify-center gap-4 pb-4;
|
|
497
408
|
}
|
|
498
409
|
|
|
499
410
|
.mode {
|
|
500
|
-
|
|
501
|
-
position: relative;
|
|
502
|
-
width: 4rem; /* 64px */
|
|
503
|
-
height: 3rem; /* 48px */
|
|
504
|
-
border-radius: 0.5rem; /* 8px */
|
|
505
|
-
--un-ring-width: 1px;
|
|
506
|
-
--un-ring-offset-shadow: var(--un-ring-inset) 0 0 0
|
|
507
|
-
var(--un-ring-offset-width) var(--un-ring-offset-color);
|
|
508
|
-
--un-ring-shadow: var(--un-ring-inset) 0 0 0
|
|
509
|
-
calc(var(--un-ring-width) + var(--un-ring-offset-width))
|
|
510
|
-
var(--un-ring-color);
|
|
511
|
-
box-shadow: var(--un-ring-offset-shadow), var(--un-ring-shadow),
|
|
512
|
-
var(--un-shadow);
|
|
513
|
-
--un-ring-opacity: 1;
|
|
514
|
-
--un-ring-color: rgb(231 229 228 / var(--un-ring-opacity)) /* #e7e5e4 */;
|
|
515
|
-
cursor: pointer;
|
|
516
|
-
transition-property: color, background-color, border-color,
|
|
517
|
-
text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter,
|
|
518
|
-
backdrop-filter;
|
|
519
|
-
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
520
|
-
transition-duration: 150ms;
|
|
521
|
-
}
|
|
522
|
-
.dark & {
|
|
523
|
-
--un-ring-opacity: 1;
|
|
524
|
-
--un-ring-color: rgb(68 64 60 / var(--un-ring-opacity)) /* #44403c */;
|
|
525
|
-
}
|
|
411
|
+
--at-apply: relative w-16 h-12 rounded-2 ring-1 ring-stone-2 dark:ring-stone-7 cursor-pointer transition;
|
|
526
412
|
}
|
|
527
413
|
|
|
528
414
|
.mode.active {
|
|
529
|
-
--
|
|
530
|
-
--un-ring-color: rgb(var(--ui-primary) / var(--un-ring-opacity))
|
|
531
|
-
/* rgb(var(--ui-primary)) */;
|
|
532
|
-
--un-ring-width: 2px;
|
|
533
|
-
--un-ring-offset-shadow: var(--un-ring-inset) 0 0 0
|
|
534
|
-
var(--un-ring-offset-width) var(--un-ring-offset-color);
|
|
535
|
-
--un-ring-shadow: var(--un-ring-inset) 0 0 0
|
|
536
|
-
calc(var(--un-ring-width) + var(--un-ring-offset-width))
|
|
537
|
-
var(--un-ring-color);
|
|
538
|
-
box-shadow: var(--un-ring-offset-shadow), var(--un-ring-shadow),
|
|
539
|
-
var(--un-shadow);
|
|
415
|
+
--at-apply: ring-ui-primary ring-2;
|
|
540
416
|
}
|
|
541
417
|
|
|
542
418
|
.mode::before,
|
|
543
419
|
.mode::after,
|
|
544
420
|
.mode .mode-container {
|
|
545
|
-
|
|
546
|
-
pointer-events: none;
|
|
421
|
+
--at-apply: absolute pointer-events-none;
|
|
547
422
|
}
|
|
548
423
|
|
|
549
424
|
.mode::before {
|
|
550
|
-
|
|
551
|
-
background-color: rgb(var(--ui-primary));
|
|
425
|
+
--at-apply: content-empty bg-ui-primary;
|
|
552
426
|
}
|
|
553
427
|
|
|
554
428
|
.mode::after {
|
|
555
|
-
|
|
556
|
-
background-color: rgb(var(--ui-primary) / 0.6);
|
|
429
|
+
--at-apply: content-empty bg-ui-primary/60;
|
|
557
430
|
}
|
|
558
431
|
|
|
559
432
|
.mode .mode-container {
|
|
560
|
-
|
|
561
|
-
border-style: dashed;
|
|
562
|
-
border-color: rgb(var(--ui-primary));
|
|
433
|
+
--at-apply: bg-ui-primary/20 border-dashed border-ui-primary;
|
|
563
434
|
}
|
|
564
435
|
|
|
565
436
|
.mode .mode-container::before {
|
|
566
|
-
|
|
567
|
-
position: absolute;
|
|
568
|
-
width: 100%;
|
|
569
|
-
height: 100%;
|
|
437
|
+
--at-apply: content-empty absolute w-full h-full;
|
|
570
438
|
}
|
|
571
439
|
|
|
572
440
|
.mode-side::before {
|
|
573
|
-
|
|
574
|
-
bottom: 0.5rem; /* 8px */
|
|
575
|
-
left: 0.5rem; /* 8px */
|
|
576
|
-
width: 0.5rem; /* 8px */
|
|
577
|
-
border-top-left-radius: 0.25rem; /* 4px */
|
|
578
|
-
border-bottom-left-radius: 0.25rem; /* 4px */
|
|
441
|
+
--at-apply: top-2 bottom-2 left-2 w-2 rounded-tl-1 rounded-bl-1;
|
|
579
442
|
}
|
|
580
443
|
|
|
581
444
|
.mode-side::after {
|
|
582
|
-
|
|
583
|
-
bottom: 0.5rem; /* 8px */
|
|
584
|
-
left: 1.125rem; /* 18px */
|
|
585
|
-
width: 0.75rem; /* 12px */
|
|
445
|
+
--at-apply: top-2 bottom-2 left-4.5 w-3;
|
|
586
446
|
}
|
|
587
447
|
|
|
588
448
|
.mode-side .mode-container {
|
|
589
|
-
|
|
590
|
-
right: 0.5rem; /* 8px */
|
|
591
|
-
bottom: 0.5rem; /* 8px */
|
|
592
|
-
left: 2rem; /* 32px */
|
|
593
|
-
border-top-right-radius: 0.25rem; /* 4px */
|
|
594
|
-
border-bottom-right-radius: 0.25rem; /* 4px */
|
|
449
|
+
--at-apply: inset-t-2 inset-r-2 inset-b-2 inset-l-8 rounded-tr-1 rounded-br-1;
|
|
595
450
|
}
|
|
596
451
|
|
|
597
452
|
.mode-head::before {
|
|
598
|
-
|
|
599
|
-
left: 0.5rem; /* 8px */
|
|
600
|
-
right: 0.5rem; /* 8px */
|
|
601
|
-
height: 0.5rem; /* 8px */
|
|
602
|
-
border-top-left-radius: 0.25rem; /* 4px */
|
|
603
|
-
border-top-right-radius: 0.25rem; /* 4px */
|
|
453
|
+
--at-apply: top-2 left-2 right-2 h-2 rounded-tl-1 rounded-tr-1;
|
|
604
454
|
}
|
|
605
455
|
|
|
606
456
|
.mode-head::after {
|
|
607
|
-
|
|
608
|
-
left: 0.5rem; /* 8px */
|
|
609
|
-
bottom: 0.5rem; /* 8px */
|
|
610
|
-
width: 0.75rem; /* 12px */
|
|
611
|
-
border-bottom-left-radius: 0.25rem; /* 4px */
|
|
457
|
+
--at-apply: top-4.5 left-2 bottom-2 w-3 rounded-bl-1;
|
|
612
458
|
}
|
|
613
459
|
|
|
614
460
|
.mode-head .mode-container {
|
|
615
|
-
|
|
616
|
-
right: 0.5rem; /* 8px */
|
|
617
|
-
bottom: 0.5rem; /* 8px */
|
|
618
|
-
left: 1.375rem; /* 22px */
|
|
619
|
-
border-bottom-right-radius: 0.25rem; /* 4px */
|
|
461
|
+
--at-apply: inset-t-4.5 inset-r-2 inset-b-2 inset-l-5.5 rounded-br-1;
|
|
620
462
|
}
|
|
621
463
|
|
|
622
464
|
.mode-single::after {
|
|
623
|
-
|
|
624
|
-
left: 0.5rem; /* 8px */
|
|
625
|
-
bottom: 0.5rem; /* 8px */
|
|
626
|
-
width: 0.75rem; /* 12px */
|
|
627
|
-
border-top-left-radius: 0.25rem; /* 4px */
|
|
628
|
-
border-bottom-left-radius: 0.25rem; /* 4px */
|
|
465
|
+
--at-apply: top-2 left-2 bottom-2 w-3 rounded-tl-1 rounded-bl-1;
|
|
629
466
|
}
|
|
630
467
|
|
|
631
468
|
.mode-single .mode-container {
|
|
632
|
-
|
|
633
|
-
right: 0.5rem; /* 8px */
|
|
634
|
-
bottom: 0.5rem; /* 8px */
|
|
635
|
-
left: 1.375rem; /* 22px */
|
|
636
|
-
border-top-right-radius: 0.25rem; /* 4px */
|
|
637
|
-
border-bottom-right-radius: 0.25rem; /* 4px */
|
|
469
|
+
--at-apply: inset-t-2 inset-r-2 inset-b-2 inset-l-5.5 rounded-tr-1 rounded-br-1;
|
|
638
470
|
}
|
|
639
471
|
|
|
640
472
|
.mode-only-side::before {
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
left: 0.5rem; /* 8px */
|
|
644
|
-
width: 0.5rem; /* 8px */
|
|
645
|
-
border-top-left-radius: 0.25rem; /* 4px */
|
|
646
|
-
border-bottom-left-radius: 0.25rem; /* 4px */
|
|
473
|
+
--at-apply: top-2 bottom-2 left-2 w-2 rounded-tl-1 rounded-bl-1;
|
|
474
|
+
|
|
647
475
|
}
|
|
648
476
|
|
|
649
477
|
.mode-only-side .mode-container {
|
|
650
|
-
|
|
651
|
-
right: 0.5rem; /* 8px */
|
|
652
|
-
bottom: 0.5rem; /* 8px */
|
|
653
|
-
left: 1.125rem; /* 18px */
|
|
654
|
-
border-top-right-radius: 0.25rem; /* 4px */
|
|
655
|
-
border-bottom-right-radius: 0.25rem; /* 4px */
|
|
478
|
+
--at-apply: inset-t-2 inset-r-2 inset-b-2 inset-l-4.5 rounded-tr-1 rounded-br-1;
|
|
656
479
|
}
|
|
657
480
|
|
|
658
481
|
.mode-only-head::before {
|
|
659
|
-
|
|
660
|
-
left: 0.5rem; /* 8px */
|
|
661
|
-
right: 0.5rem; /* 8px */
|
|
662
|
-
height: 0.5rem; /* 8px */
|
|
663
|
-
border-top-left-radius: 0.25rem; /* 4px */
|
|
664
|
-
border-top-right-radius: 0.25rem; /* 4px */
|
|
482
|
+
--at-apply: top-2 left-2 right-2 h-2 rounded-tl-1 rounded-tr-1;
|
|
665
483
|
}
|
|
666
484
|
|
|
667
485
|
.mode-only-head .mode-container {
|
|
668
|
-
|
|
669
|
-
right: 0.5rem; /* 8px */
|
|
670
|
-
bottom: 0.5rem; /* 8px */
|
|
671
|
-
left: 0.5rem; /* 8px */
|
|
672
|
-
border-bottom-left-radius: 0.25rem; /* 4px */
|
|
673
|
-
border-bottom-right-radius: 0.25rem; /* 4px */
|
|
486
|
+
--at-apply: inset-t-4.5 inset-r-2 inset-b-2 inset-l-2 rounded-bl-1 rounded-br-1;
|
|
674
487
|
}
|
|
675
488
|
|
|
676
489
|
.app-width-mode {
|
|
677
|
-
|
|
678
|
-
align-items: center;
|
|
679
|
-
justify-content: center;
|
|
680
|
-
gap: 1rem; /* 16px */
|
|
681
|
-
padding-bottom: 1rem; /* 16px */
|
|
490
|
+
--at-apply: flex items-center justify-center gap-4 pb-4;
|
|
682
491
|
}
|
|
683
492
|
|
|
684
493
|
.app-width-mode .mode {
|
|
685
|
-
|
|
686
|
-
position: relative;
|
|
687
|
-
width: 4rem; /* 64px */
|
|
688
|
-
height: 3rem; /* 48px */
|
|
689
|
-
border-radius: 0.5rem; /* 8px */
|
|
690
|
-
--un-ring-width: 1px;
|
|
691
|
-
--un-ring-offset-shadow: var(--un-ring-inset) 0 0 0
|
|
692
|
-
var(--un-ring-offset-width) var(--un-ring-offset-color);
|
|
693
|
-
--un-ring-shadow: var(--un-ring-inset) 0 0 0
|
|
694
|
-
calc(var(--un-ring-width) + var(--un-ring-offset-width))
|
|
695
|
-
var(--un-ring-color);
|
|
696
|
-
box-shadow: var(--un-ring-offset-shadow), var(--un-ring-shadow),
|
|
697
|
-
var(--un-shadow);
|
|
698
|
-
--un-ring-opacity: 1;
|
|
699
|
-
--un-ring-color: rgb(231 229 228 / var(--un-ring-opacity)) /* #e7e5e4 */;
|
|
700
|
-
cursor: pointer;
|
|
701
|
-
transition-property: color, background-color, border-color,
|
|
702
|
-
text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter,
|
|
703
|
-
backdrop-filter;
|
|
704
|
-
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
705
|
-
transition-duration: 150ms;
|
|
706
|
-
overflow: hidden;
|
|
707
|
-
}
|
|
708
|
-
.dark & {
|
|
709
|
-
--un-ring-opacity: 1;
|
|
710
|
-
--un-ring-color: rgb(68 64 60 / var(--un-ring-opacity)) /* #44403c */;
|
|
711
|
-
}
|
|
494
|
+
--at-apply: relative w-16 h-12 rounded-2 ring-1 ring-stone-2 dark:ring-stone-7 cursor-pointer transition of-hidden;
|
|
712
495
|
}
|
|
713
496
|
|
|
714
497
|
.app-width-mode .mode.active {
|
|
715
|
-
--
|
|
716
|
-
--un-ring-color: rgb(var(--ui-primary) / var(--un-ring-opacity))
|
|
717
|
-
/* rgb(var(--ui-primary)) */;
|
|
718
|
-
--un-ring-width: 2px;
|
|
719
|
-
--un-ring-offset-shadow: var(--un-ring-inset) 0 0 0
|
|
720
|
-
var(--un-ring-offset-width) var(--un-ring-offset-color);
|
|
721
|
-
--un-ring-shadow: var(--un-ring-inset) 0 0 0
|
|
722
|
-
calc(var(--un-ring-width) + var(--un-ring-offset-width))
|
|
723
|
-
var(--un-ring-color);
|
|
724
|
-
box-shadow: var(--un-ring-offset-shadow), var(--un-ring-shadow),
|
|
725
|
-
var(--un-shadow);
|
|
498
|
+
--at-apply: ring-ui-primary ring-2;
|
|
726
499
|
}
|
|
727
500
|
|
|
728
501
|
.mode-adaption::before {
|
|
729
|
-
content:
|
|
730
|
-
position: absolute;
|
|
731
|
-
width: 100%;
|
|
732
|
-
height: 100%;
|
|
733
|
-
background-color: #f5f5f4;
|
|
734
|
-
}
|
|
735
|
-
|
|
736
|
-
.dark .mode-adaption::before {
|
|
737
|
-
background-color: #1c1917;
|
|
502
|
+
--at-apply: content-empty absolute w-full h-full bg-stone-1 dark:bg-stone-9;
|
|
738
503
|
}
|
|
739
504
|
|
|
740
505
|
@media (prefers-color-scheme: dark) {
|
|
@@ -745,158 +510,69 @@ async function resetSetting() {
|
|
|
745
510
|
|
|
746
511
|
.mode-adaption .left,
|
|
747
512
|
.mode-adaption .right {
|
|
748
|
-
|
|
749
|
-
top: 50%;
|
|
750
|
-
transform: translateY(-50%);
|
|
513
|
+
--at-apply: absolute top-1/2 -translate-y-1/2;
|
|
751
514
|
}
|
|
752
515
|
|
|
753
516
|
.mode-adaption .left {
|
|
754
|
-
|
|
517
|
+
--at-apply: left-1;
|
|
755
518
|
}
|
|
756
519
|
|
|
757
520
|
.mode-adaption .right {
|
|
758
|
-
|
|
521
|
+
--at-apply: right-1;
|
|
759
522
|
}
|
|
760
523
|
|
|
761
524
|
.mode-adaption-min-width::before {
|
|
762
|
-
content:
|
|
763
|
-
position: absolute;
|
|
764
|
-
width: 50%;
|
|
765
|
-
height: 100%;
|
|
766
|
-
left: 50%;
|
|
767
|
-
transform: translateX(-50%);
|
|
768
|
-
background-color: #f5f5f4;
|
|
769
|
-
}
|
|
770
|
-
|
|
771
|
-
.dark .mode-adaption-min-width::before {
|
|
772
|
-
background-color: #1c1917;
|
|
525
|
+
--at-apply: content-empty absolute w-1/2 h-full left-1/2 -translate-x-1/2 bg-stone-1 dark:bg-stone-9;
|
|
773
526
|
}
|
|
774
527
|
|
|
775
528
|
.mode-adaption-min-width .left,
|
|
776
529
|
.mode-adaption-min-width .right {
|
|
777
|
-
|
|
778
|
-
top: 50%;
|
|
779
|
-
transform: translateY(-50%);
|
|
530
|
+
--at-apply: absolute top-1/2 -translate-y-1/2;
|
|
780
531
|
}
|
|
781
532
|
|
|
782
533
|
.mode-adaption-min-width .left {
|
|
783
|
-
|
|
534
|
+
--at-apply: left-0.5;
|
|
784
535
|
}
|
|
785
536
|
|
|
786
537
|
.mode-adaption-min-width .right {
|
|
787
|
-
|
|
538
|
+
--at-apply: right-0.5;
|
|
788
539
|
}
|
|
789
540
|
|
|
790
541
|
.mode-center::before {
|
|
791
|
-
content:
|
|
792
|
-
position: absolute;
|
|
793
|
-
width: 60%;
|
|
794
|
-
height: 100%;
|
|
795
|
-
left: 50%;
|
|
796
|
-
transform: translateX(-50%);
|
|
797
|
-
background-color: #f5f5f4;
|
|
798
|
-
}
|
|
799
|
-
|
|
800
|
-
.dark .mode-center::before {
|
|
801
|
-
background-color: #1c1917;
|
|
542
|
+
--at-apply: content-empty absolute w-3/5 h-full left-1/2 -translate-x-1/2 bg-stone-1 dark:bg-stone-9;
|
|
802
543
|
}
|
|
803
544
|
|
|
804
545
|
.mode-center-max-width::before {
|
|
805
|
-
content:
|
|
806
|
-
position: absolute;
|
|
807
|
-
width: 60%;
|
|
808
|
-
height: 100%;
|
|
809
|
-
left: 50%;
|
|
810
|
-
transform: translateX(-50%);
|
|
811
|
-
background-color: #f5f5f4;
|
|
812
|
-
}
|
|
813
|
-
|
|
814
|
-
.dark .mode-center-max-width::before {
|
|
815
|
-
background-color: #1c1917;
|
|
546
|
+
--at-apply: content-empty absolute w-3/5 h-full left-1/2 -translate-x-1/2 bg-stone-1 dark:bg-stone-9;
|
|
816
547
|
}
|
|
817
548
|
|
|
818
549
|
.mode-center-max-width .left,
|
|
819
550
|
.mode-center-max-width .right {
|
|
820
|
-
|
|
821
|
-
top: 50%;
|
|
822
|
-
transform: translateY(-50%);
|
|
551
|
+
--at-apply: absolute top-1/2 -translate-y-1/2;
|
|
823
552
|
}
|
|
824
553
|
|
|
825
554
|
.mode-center-max-width .left {
|
|
826
|
-
|
|
555
|
+
--at-apply: left-2.5;
|
|
827
556
|
}
|
|
828
557
|
|
|
829
558
|
.mode-center-max-width .right {
|
|
830
|
-
|
|
559
|
+
--at-apply: right-2.5;
|
|
831
560
|
}
|
|
832
561
|
|
|
833
562
|
.transition-mode {
|
|
834
|
-
|
|
835
|
-
align-items: center;
|
|
836
|
-
justify-content: center;
|
|
837
|
-
gap: 1rem; /* 16px */
|
|
838
|
-
padding-bottom: 1rem; /* 16px */
|
|
563
|
+
--at-apply: flex items-center justify-center gap-4 pb-4;
|
|
839
564
|
}
|
|
840
565
|
|
|
841
566
|
.transition-mode .mode {
|
|
842
|
-
|
|
843
|
-
position: relative;
|
|
844
|
-
display: flex;
|
|
845
|
-
align-items: center;
|
|
846
|
-
justify-content: center;
|
|
847
|
-
width: 3.5rem; /* 56px */
|
|
848
|
-
height: 2.5rem; /* 40px */
|
|
849
|
-
border-radius: 0.5rem; /* 8px */
|
|
850
|
-
--un-ring-width: 1px;
|
|
851
|
-
--un-ring-offset-shadow: var(--un-ring-inset) 0 0 0
|
|
852
|
-
var(--un-ring-offset-width) var(--un-ring-offset-color);
|
|
853
|
-
--un-ring-shadow: var(--un-ring-inset) 0 0 0
|
|
854
|
-
calc(var(--un-ring-width) + var(--un-ring-offset-width))
|
|
855
|
-
var(--un-ring-color);
|
|
856
|
-
box-shadow: var(--un-ring-offset-shadow), var(--un-ring-shadow),
|
|
857
|
-
var(--un-shadow);
|
|
858
|
-
--un-ring-opacity: 1;
|
|
859
|
-
--un-ring-color: rgb(231 229 228 / var(--un-ring-opacity)) /* #e7e5e4 */;
|
|
860
|
-
cursor: pointer;
|
|
861
|
-
}
|
|
862
|
-
.dark & {
|
|
863
|
-
--un-ring-opacity: 1;
|
|
864
|
-
--un-ring-color: rgb(68 64 60 / var(--un-ring-opacity)) /* #44403c */;
|
|
865
|
-
}
|
|
567
|
+
--at-apply: relative flex items-center justify-center w-14 h-10 rounded-2 ring-1 ring-stone-2 dark:ring-stone-7 cursor-pointer;
|
|
866
568
|
}
|
|
867
569
|
|
|
868
570
|
.transition-mode .mode.active {
|
|
869
|
-
--
|
|
870
|
-
--un-ring-color: rgb(var(--ui-primary) / var(--un-ring-opacity))
|
|
871
|
-
/* rgb(var(--ui-primary)) */;
|
|
872
|
-
--un-ring-width: 2px;
|
|
873
|
-
--un-ring-offset-shadow: var(--un-ring-inset) 0 0 0
|
|
874
|
-
var(--un-ring-offset-width) var(--un-ring-offset-color);
|
|
875
|
-
--un-ring-shadow: var(--un-ring-inset) 0 0 0
|
|
876
|
-
calc(var(--un-ring-width) + var(--un-ring-offset-width))
|
|
877
|
-
var(--un-ring-color);
|
|
878
|
-
box-shadow: var(--un-ring-offset-shadow), var(--un-ring-shadow),
|
|
879
|
-
var(--un-shadow);
|
|
571
|
+
--at-apply: ring-ui-primary ring-2;
|
|
880
572
|
}
|
|
881
573
|
|
|
882
574
|
.transition-mode .mode::after {
|
|
883
|
-
content:
|
|
884
|
-
position: absolute;
|
|
885
|
-
width: 60%;
|
|
886
|
-
height: 60%;
|
|
887
|
-
top: 20%;
|
|
888
|
-
left: 20%;
|
|
889
|
-
border-radius: 0.5rem; /* 8px */
|
|
890
|
-
background-color: #e7e5e4;
|
|
891
|
-
transition-property: color, background-color, border-color,
|
|
892
|
-
text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter,
|
|
893
|
-
backdrop-filter;
|
|
894
|
-
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
895
|
-
transition-duration: 150ms;
|
|
896
|
-
}
|
|
897
|
-
|
|
898
|
-
.dark .transition-mode .mode::after {
|
|
899
|
-
background-color: #1c1917;
|
|
575
|
+
--at-apply: content-empty absolute w-3/5 h-3/5 top-1/5 left-1/5 rounded-2 bg-stone-2 dark:bg-stone-9 transition;
|
|
900
576
|
}
|
|
901
577
|
|
|
902
578
|
.mode-fade::after {
|
|
@@ -969,43 +645,14 @@ async function resetSetting() {
|
|
|
969
645
|
}
|
|
970
646
|
|
|
971
647
|
.setting-item {
|
|
972
|
-
|
|
973
|
-
display: flex;
|
|
974
|
-
align-items: center;
|
|
975
|
-
justify-content: space-between;
|
|
976
|
-
gap: 1rem; /* 16px */
|
|
977
|
-
padding-left: 1rem; /* 16px */
|
|
978
|
-
padding-right: 1rem; /* 16px */
|
|
979
|
-
padding-top: 0.5rem; /* 8px */
|
|
980
|
-
padding-bottom: 0.5rem; /* 8px */
|
|
981
|
-
border-radius: 0.5rem; /* 8px */
|
|
982
|
-
transition-property: color, background-color, border-color,
|
|
983
|
-
text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter,
|
|
984
|
-
backdrop-filter;
|
|
985
|
-
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
986
|
-
transition-duration: 150ms;
|
|
987
|
-
}
|
|
988
|
-
&:hover {
|
|
989
|
-
background-color: #f5f5f4;
|
|
990
|
-
}
|
|
991
|
-
.dark &:hover {
|
|
992
|
-
background-color: #1c1917;
|
|
993
|
-
}
|
|
648
|
+
--at-apply: flex items-center justify-between gap-4 px-4 py-2 rounded-2 transition hover:bg-stone-1 dark:hover:bg-stone-9;
|
|
994
649
|
}
|
|
995
650
|
|
|
996
651
|
.setting-item .label {
|
|
997
|
-
|
|
998
|
-
align-items: center;
|
|
999
|
-
flex-shrink: 0;
|
|
1000
|
-
gap: 0.5rem; /* 8px */
|
|
1001
|
-
font-size: 0.875rem; /* 14px */
|
|
1002
|
-
line-height: 1.25rem; /* 20px */
|
|
652
|
+
--at-apply: flex items-center flex-shrink-0 gap-2 text-sm;
|
|
1003
653
|
}
|
|
1004
654
|
|
|
1005
655
|
.setting-item .label i {
|
|
1006
|
-
|
|
1007
|
-
line-height: 1.75rem; /* 28px */
|
|
1008
|
-
color: #fb923c;
|
|
1009
|
-
cursor: help;
|
|
656
|
+
--at-apply: text-xl text-orange cursor-help;
|
|
1010
657
|
}
|
|
1011
658
|
</style>
|