@donotdev/ui 0.0.17 → 0.0.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.
- package/dist/components/auth/AuthHeader.d.ts.map +1 -1
- package/dist/components/auth/AuthHeader.js +2 -2
- package/dist/components/auth/AuthMenu.d.ts.map +1 -1
- package/dist/components/auth/AuthMenu.js +2 -3
- package/dist/components/common/FeatureDisabled.d.ts.map +1 -1
- package/dist/components/common/FeatureDisabled.js +2 -2
- package/dist/components/layout/components/Notifications.js +2 -2
- package/dist/crud/components/EntityFormRenderer.d.ts.map +1 -1
- package/dist/crud/components/EntityFormRenderer.js +22 -2
- package/dist/crud/components/EntityList.d.ts.map +1 -1
- package/dist/crud/components/EntityList.js +7 -2
- package/dist/crud/components/EntityWorkflow.d.ts +47 -0
- package/dist/crud/components/EntityWorkflow.d.ts.map +1 -0
- package/dist/crud/components/EntityWorkflow.js +47 -0
- package/dist/crud/components/index.d.ts +2 -0
- package/dist/crud/components/index.d.ts.map +1 -1
- package/dist/crud/components/index.js +1 -0
- package/dist/dndev.css +1452 -100
- package/dist/index.js +4 -4
- package/dist/internal/layout/DnDevLayout.d.ts.map +1 -1
- package/dist/internal/layout/DnDevLayout.js +4 -3
- package/dist/internal/layout/components/AutoMetaTags.d.ts.map +1 -1
- package/dist/internal/layout/components/AutoMetaTags.js +1 -1
- package/dist/internal/providers/NavigationProvider.js +1 -1
- package/dist/styles/index.css +1418 -121
- package/dist/vite-routing/AppRoutes.d.ts.map +1 -1
- package/dist/vite-routing/AppRoutes.js +31 -4
- package/package.json +2 -2
package/dist/styles/index.css
CHANGED
|
@@ -831,7 +831,7 @@ em {
|
|
|
831
831
|
border: 0;
|
|
832
832
|
background-color: transparent;
|
|
833
833
|
font-size: var(--font-size-sm);
|
|
834
|
-
font-weight:
|
|
834
|
+
font-weight: var(--font-weight-medium);
|
|
835
835
|
}
|
|
836
836
|
|
|
837
837
|
/* Control base class - checkbox, radio, switch, slider */
|
|
@@ -1872,7 +1872,7 @@ em {
|
|
|
1872
1872
|
.dndev-menu-label {
|
|
1873
1873
|
padding: var(--gap-sm) var(--gap-md);
|
|
1874
1874
|
font-size: var(--font-size-sm);
|
|
1875
|
-
font-weight:
|
|
1875
|
+
font-weight: var(--font-weight-semibold);
|
|
1876
1876
|
}
|
|
1877
1877
|
|
|
1878
1878
|
.dndev-menu-label[data-inset='true'] {
|
|
@@ -2037,9 +2037,53 @@ em {
|
|
|
2037
2037
|
inset: 0;
|
|
2038
2038
|
background: rgba(0, 0, 0, 0.4);
|
|
2039
2039
|
backdrop-filter: blur(8px);
|
|
2040
|
-
transition: opacity var(--dur-normal) var(--ease-in-out);
|
|
2041
2040
|
will-change: opacity;
|
|
2042
2041
|
z-index: var(--z-overlay);
|
|
2042
|
+
animation: overlay-in var(--dur-normal) var(--ease-in-out);
|
|
2043
|
+
}
|
|
2044
|
+
|
|
2045
|
+
.dndev-overlay[data-state='closed'] {
|
|
2046
|
+
animation: overlay-out var(--dur-normal) var(--ease-in-out);
|
|
2047
|
+
}
|
|
2048
|
+
|
|
2049
|
+
@keyframes dialog-in {
|
|
2050
|
+
from {
|
|
2051
|
+
opacity: 0;
|
|
2052
|
+
transform: translate(-50%, -48%) scale(0.96);
|
|
2053
|
+
}
|
|
2054
|
+
to {
|
|
2055
|
+
opacity: 1;
|
|
2056
|
+
transform: translate(-50%, -50%) scale(1);
|
|
2057
|
+
}
|
|
2058
|
+
}
|
|
2059
|
+
|
|
2060
|
+
@keyframes dialog-out {
|
|
2061
|
+
from {
|
|
2062
|
+
opacity: 1;
|
|
2063
|
+
transform: translate(-50%, -50%) scale(1);
|
|
2064
|
+
}
|
|
2065
|
+
to {
|
|
2066
|
+
opacity: 0;
|
|
2067
|
+
transform: translate(-50%, -48%) scale(0.96);
|
|
2068
|
+
}
|
|
2069
|
+
}
|
|
2070
|
+
|
|
2071
|
+
@keyframes overlay-in {
|
|
2072
|
+
from {
|
|
2073
|
+
opacity: 0;
|
|
2074
|
+
}
|
|
2075
|
+
to {
|
|
2076
|
+
opacity: 1;
|
|
2077
|
+
}
|
|
2078
|
+
}
|
|
2079
|
+
|
|
2080
|
+
@keyframes overlay-out {
|
|
2081
|
+
from {
|
|
2082
|
+
opacity: 1;
|
|
2083
|
+
}
|
|
2084
|
+
to {
|
|
2085
|
+
opacity: 0;
|
|
2086
|
+
}
|
|
2043
2087
|
}
|
|
2044
2088
|
|
|
2045
2089
|
/* ===========================
|
|
@@ -2072,10 +2116,16 @@ em {
|
|
|
2072
2116
|
gap: var(--gap-md);
|
|
2073
2117
|
padding: var(--gap-lg);
|
|
2074
2118
|
overflow: hidden;
|
|
2075
|
-
|
|
2076
|
-
|
|
2119
|
+
box-shadow: var(--shadow-xl);
|
|
2120
|
+
animation: dialog-in var(--dur-normal) var(--ease-in-out);
|
|
2077
2121
|
}
|
|
2078
2122
|
|
|
2123
|
+
.dndev-modal-content[data-state='closed'] {
|
|
2124
|
+
animation: dialog-out var(--dur-normal) var(--ease-in-out);
|
|
2125
|
+
}
|
|
2126
|
+
|
|
2127
|
+
/* Dialog content size variants */
|
|
2128
|
+
|
|
2079
2129
|
.dndev-modal-content[data-content-size='auto'],.dndev-modal-content[data-content-size='form'],.dndev-modal-content[data-content-size='text'] {
|
|
2080
2130
|
max-height: 80dvh;
|
|
2081
2131
|
}
|
|
@@ -2269,6 +2319,97 @@ em {
|
|
|
2269
2319
|
height: 4px;
|
|
2270
2320
|
}
|
|
2271
2321
|
|
|
2322
|
+
.dndev-password-requirements .dndev-password-requirement-item {
|
|
2323
|
+
transition: color var(--dur-fast) var(--ease-in-out);
|
|
2324
|
+
}
|
|
2325
|
+
|
|
2326
|
+
.dndev-password-requirements .dndev-password-requirement-item svg {
|
|
2327
|
+
transition: color var(--dur-fast) var(--ease-in-out);
|
|
2328
|
+
}
|
|
2329
|
+
|
|
2330
|
+
/* ===========================
|
|
2331
|
+
HERO ANIMATIONS
|
|
2332
|
+
=========================== */
|
|
2333
|
+
|
|
2334
|
+
.network-node {
|
|
2335
|
+
fill: var(--foreground);
|
|
2336
|
+
animation: universal-float 4s ease-in-out infinite;
|
|
2337
|
+
--opacity-start: 0.3;
|
|
2338
|
+
--opacity-mid: 0.8;
|
|
2339
|
+
--transform-start: scale(1);
|
|
2340
|
+
--transform-mid: scale(1.1);
|
|
2341
|
+
}
|
|
2342
|
+
|
|
2343
|
+
.network-line {
|
|
2344
|
+
stroke: var(--foreground);
|
|
2345
|
+
stroke-width: 1;
|
|
2346
|
+
animation: universal-float 6s ease-in-out infinite;
|
|
2347
|
+
--opacity-start: 0.1;
|
|
2348
|
+
--opacity-mid: 0.5;
|
|
2349
|
+
--transform-start: scale(1);
|
|
2350
|
+
--transform-mid: scale(1);
|
|
2351
|
+
}
|
|
2352
|
+
|
|
2353
|
+
.wave-flow {
|
|
2354
|
+
background: linear-gradient(
|
|
2355
|
+
45deg,
|
|
2356
|
+
transparent 30%,
|
|
2357
|
+
color-mix(in oklab, var(--accent) 20%, transparent) 50%,
|
|
2358
|
+
transparent 70%
|
|
2359
|
+
);
|
|
2360
|
+
animation: universal-float 8s ease-in-out infinite;
|
|
2361
|
+
--transform-start: translateX(-20%) rotate(0deg);
|
|
2362
|
+
--transform-mid: translateX(20%) rotate(3deg);
|
|
2363
|
+
}
|
|
2364
|
+
|
|
2365
|
+
.particle-float {
|
|
2366
|
+
animation: universal-slide 10s linear infinite;
|
|
2367
|
+
--opacity-start: 0.2;
|
|
2368
|
+
--opacity-end: 0;
|
|
2369
|
+
--transform-start: translateY(0px) rotate(0deg);
|
|
2370
|
+
--transform-end: translateY(-100px) rotate(360deg);
|
|
2371
|
+
}
|
|
2372
|
+
|
|
2373
|
+
.geometric-rotate {
|
|
2374
|
+
animation: universal-float 20s linear infinite;
|
|
2375
|
+
--opacity-start: 0.1;
|
|
2376
|
+
--opacity-mid: 0.2;
|
|
2377
|
+
--transform-start: rotate(0deg) scale(1);
|
|
2378
|
+
--transform-mid: rotate(180deg) scale(1.1);
|
|
2379
|
+
}
|
|
2380
|
+
|
|
2381
|
+
.perspective-1000 {
|
|
2382
|
+
perspective: 1000px;
|
|
2383
|
+
}
|
|
2384
|
+
|
|
2385
|
+
.transform-style-preserve-3d {
|
|
2386
|
+
transform-style: preserve-3d;
|
|
2387
|
+
}
|
|
2388
|
+
|
|
2389
|
+
.dndev-animate-fade-in-up {
|
|
2390
|
+
animation: universal-slide var(--dur-heavy) ease-out forwards;
|
|
2391
|
+
}
|
|
2392
|
+
|
|
2393
|
+
.animation-delay-100 {
|
|
2394
|
+
animation-delay: 100ms;
|
|
2395
|
+
}
|
|
2396
|
+
|
|
2397
|
+
/* ===========================
|
|
2398
|
+
MARKETING UTILITIES
|
|
2399
|
+
=========================== */
|
|
2400
|
+
|
|
2401
|
+
.dndev-marketing-stack {
|
|
2402
|
+
display: grid;
|
|
2403
|
+
gap: var(--gap-md);
|
|
2404
|
+
}
|
|
2405
|
+
|
|
2406
|
+
.dndev-marketing-cluster {
|
|
2407
|
+
display: flex;
|
|
2408
|
+
gap: var(--gap-sm);
|
|
2409
|
+
align-items: center;
|
|
2410
|
+
justify-content: center;
|
|
2411
|
+
}
|
|
2412
|
+
|
|
2272
2413
|
/* 5. Individual Component Styles */
|
|
2273
2414
|
|
|
2274
2415
|
/* packages/components/src/atomic/Accordion/Accordion.css */
|
|
@@ -2373,7 +2514,7 @@ em {
|
|
|
2373
2514
|
}
|
|
2374
2515
|
|
|
2375
2516
|
.dndev-alert-title {
|
|
2376
|
-
font-weight:
|
|
2517
|
+
font-weight: var(--font-weight-medium);
|
|
2377
2518
|
line-height: 1;
|
|
2378
2519
|
letter-spacing: -0.025em;
|
|
2379
2520
|
}
|
|
@@ -2425,7 +2566,7 @@ em {
|
|
|
2425
2566
|
padding-top: 0.125rem;
|
|
2426
2567
|
padding-bottom: 0.125rem;
|
|
2427
2568
|
font-size: var(--font-size-sm);
|
|
2428
|
-
font-weight:
|
|
2569
|
+
font-weight: var(--font-weight-semibold);
|
|
2429
2570
|
box-shadow: none; /* Badges don't need shadows */
|
|
2430
2571
|
}
|
|
2431
2572
|
|
|
@@ -2640,7 +2781,7 @@ em {
|
|
|
2640
2781
|
.dndev-blockquote-content {
|
|
2641
2782
|
font-size: var(--font-size-lg); /* 20px - emphasized text */
|
|
2642
2783
|
line-height: 1.7; /* Industry standard for readability */
|
|
2643
|
-
font-weight:
|
|
2784
|
+
font-weight: var(--font-weight-normal);
|
|
2644
2785
|
color: inherit;
|
|
2645
2786
|
margin: 0;
|
|
2646
2787
|
}
|
|
@@ -2656,13 +2797,13 @@ em {
|
|
|
2656
2797
|
}
|
|
2657
2798
|
|
|
2658
2799
|
.dndev-blockquote-author {
|
|
2659
|
-
font-weight:
|
|
2800
|
+
font-weight: var(--font-weight-semibold);
|
|
2660
2801
|
font-style: normal;
|
|
2661
2802
|
color: inherit;
|
|
2662
2803
|
}
|
|
2663
2804
|
|
|
2664
2805
|
.dndev-blockquote-source {
|
|
2665
|
-
font-weight:
|
|
2806
|
+
font-weight: var(--font-weight-normal);
|
|
2666
2807
|
}
|
|
2667
2808
|
|
|
2668
2809
|
/*
|
|
@@ -2743,7 +2884,7 @@ em {
|
|
|
2743
2884
|
color: var(--primary);
|
|
2744
2885
|
opacity: 0.15;
|
|
2745
2886
|
font-family: Georgia, serif;
|
|
2746
|
-
font-weight:
|
|
2887
|
+
font-weight: var(--font-weight-bold);
|
|
2747
2888
|
pointer-events: none;
|
|
2748
2889
|
}
|
|
2749
2890
|
|
|
@@ -3528,6 +3669,41 @@ em {
|
|
|
3528
3669
|
pointer-events: none;
|
|
3529
3670
|
}
|
|
3530
3671
|
|
|
3672
|
+
/* ──────────────────────────────────────────────────
|
|
3673
|
+
Chips-inside mode — wrapper becomes the visual input
|
|
3674
|
+
────────────────────────────────────────────────── */
|
|
3675
|
+
|
|
3676
|
+
.dndev-combobox-wrapper--chips {
|
|
3677
|
+
display: flex;
|
|
3678
|
+
flex-wrap: wrap;
|
|
3679
|
+
align-items: center;
|
|
3680
|
+
gap: var(--gap-tight, 4px);
|
|
3681
|
+
border: var(--border-hairline) solid var(--line-2);
|
|
3682
|
+
border-radius: var(--radius-interactive);
|
|
3683
|
+
padding: var(--gap-tight, 4px);
|
|
3684
|
+
padding-inline-end: var(--combobox-pad-end);
|
|
3685
|
+
min-height: var(--touch-target);
|
|
3686
|
+
cursor: text;
|
|
3687
|
+
transition: all var(--dur-normal) var(--ease-in-out);
|
|
3688
|
+
}
|
|
3689
|
+
|
|
3690
|
+
.dndev-combobox-wrapper--chips:hover {
|
|
3691
|
+
border-color: var(--ring);
|
|
3692
|
+
}
|
|
3693
|
+
|
|
3694
|
+
.dndev-combobox-open .dndev-combobox-wrapper--chips {
|
|
3695
|
+
border-color: var(--ring);
|
|
3696
|
+
}
|
|
3697
|
+
|
|
3698
|
+
/* Input inside chips wrapper: grow to fill, no min height */
|
|
3699
|
+
|
|
3700
|
+
.dndev-combobox-wrapper--chips .dndev-input {
|
|
3701
|
+
flex: 1 1 80px;
|
|
3702
|
+
min-width: 80px;
|
|
3703
|
+
height: auto;
|
|
3704
|
+
padding: var(--gap-tight, 4px) var(--gap-sm);
|
|
3705
|
+
}
|
|
3706
|
+
|
|
3531
3707
|
/* ──────────────────────────────────────────────────
|
|
3532
3708
|
Dropdown content
|
|
3533
3709
|
────────────────────────────────────────────────── */
|
|
@@ -3564,6 +3740,11 @@ em {
|
|
|
3564
3740
|
|
|
3565
3741
|
.dndev-combobox-option-selected {
|
|
3566
3742
|
font-weight: var(--font-weight-medium);
|
|
3743
|
+
background-color: color-mix(in srgb, var(--accent) 50%, transparent);
|
|
3744
|
+
}
|
|
3745
|
+
|
|
3746
|
+
.dndev-combobox-option-selected.dndev-combobox-option-highlighted {
|
|
3747
|
+
background-color: var(--accent);
|
|
3567
3748
|
}
|
|
3568
3749
|
|
|
3569
3750
|
.dndev-combobox-option-content {
|
|
@@ -3586,8 +3767,10 @@ em {
|
|
|
3586
3767
|
.dndev-combobox-option-check {
|
|
3587
3768
|
width: var(--icon-md);
|
|
3588
3769
|
height: var(--icon-md);
|
|
3589
|
-
color:
|
|
3770
|
+
color: var(--primary);
|
|
3590
3771
|
flex-shrink: 0;
|
|
3772
|
+
margin-inline-start: auto;
|
|
3773
|
+
padding-inline-start: var(--gap-sm);
|
|
3591
3774
|
}
|
|
3592
3775
|
|
|
3593
3776
|
.dndev-combobox-empty {
|
|
@@ -3738,7 +3921,7 @@ em {
|
|
|
3738
3921
|
|
|
3739
3922
|
.dndev-code-language {
|
|
3740
3923
|
text-transform: uppercase;
|
|
3741
|
-
font-weight:
|
|
3924
|
+
font-weight: var(--font-weight-semibold);
|
|
3742
3925
|
color: var(--foreground);
|
|
3743
3926
|
}
|
|
3744
3927
|
|
|
@@ -4079,7 +4262,7 @@ em {
|
|
|
4079
4262
|
|
|
4080
4263
|
.dndev-command-dialog-title {
|
|
4081
4264
|
font-size: var(--font-size-base);
|
|
4082
|
-
font-weight:
|
|
4265
|
+
font-weight: var(--font-weight-semibold);
|
|
4083
4266
|
color: var(--foreground);
|
|
4084
4267
|
margin: 0;
|
|
4085
4268
|
flex: 1;
|
|
@@ -4163,7 +4346,7 @@ em {
|
|
|
4163
4346
|
.dndev-description-list .dndev-description-term {
|
|
4164
4347
|
display: block;
|
|
4165
4348
|
font-size: var(--font-size-base);
|
|
4166
|
-
font-weight:
|
|
4349
|
+
font-weight: var(--font-weight-semibold);
|
|
4167
4350
|
color: var(--muted-foreground);
|
|
4168
4351
|
}
|
|
4169
4352
|
|
|
@@ -4812,7 +4995,7 @@ input[type='number'] {
|
|
|
4812
4995
|
|
|
4813
4996
|
.dndev-json-key {
|
|
4814
4997
|
color: var(--foreground);
|
|
4815
|
-
font-weight:
|
|
4998
|
+
font-weight: var(--font-weight-semibold);
|
|
4816
4999
|
}
|
|
4817
5000
|
|
|
4818
5001
|
.dndev-json-value {
|
|
@@ -4980,7 +5163,7 @@ input[type='number'] {
|
|
|
4980
5163
|
margin-inline-start: var(--gap-sm);
|
|
4981
5164
|
padding: 0 var(--gap-sm);
|
|
4982
5165
|
font-size: var(--font-size-xs);
|
|
4983
|
-
font-weight:
|
|
5166
|
+
font-weight: var(--font-weight-medium);
|
|
4984
5167
|
line-height: 1;
|
|
4985
5168
|
color: var(--foreground);
|
|
4986
5169
|
/* Ellipsis by default */
|
|
@@ -5293,7 +5476,7 @@ input[type='number'] {
|
|
|
5293
5476
|
margin-bottom: var(--gap-sm);
|
|
5294
5477
|
margin-top: var(--gap-md);
|
|
5295
5478
|
font-size: var(--font-size-lg);
|
|
5296
|
-
font-weight:
|
|
5479
|
+
font-weight: var(--font-weight-bold);
|
|
5297
5480
|
}
|
|
5298
5481
|
|
|
5299
5482
|
.dndev-nav-menu-featured-description {
|
|
@@ -5310,7 +5493,7 @@ input[type='number'] {
|
|
|
5310
5493
|
|
|
5311
5494
|
.dndev-nav-menu-item-label {
|
|
5312
5495
|
font-size: var(--font-size-sm);
|
|
5313
|
-
font-weight:
|
|
5496
|
+
font-weight: var(--font-weight-medium);
|
|
5314
5497
|
}
|
|
5315
5498
|
|
|
5316
5499
|
.dndev-nav-menu-item-description {
|
|
@@ -6813,7 +6996,7 @@ input[type='number'] {
|
|
|
6813
6996
|
height: var(--touch-target);
|
|
6814
6997
|
padding: 0;
|
|
6815
6998
|
border-radius: var(--radius-full);
|
|
6816
|
-
font-weight:
|
|
6999
|
+
font-weight: var(--font-weight-bold);
|
|
6817
7000
|
font-size: var(--font-size-lg);
|
|
6818
7001
|
border-width: 2px;
|
|
6819
7002
|
border-style: solid;
|
|
@@ -7099,7 +7282,7 @@ input[type='number'] {
|
|
|
7099
7282
|
.dndev-table-footer {
|
|
7100
7283
|
border-top: 1px solid var(--border);
|
|
7101
7284
|
background-color: color-mix(in srgb, var(--muted) 50%, transparent);
|
|
7102
|
-
font-weight:
|
|
7285
|
+
font-weight: var(--font-weight-medium);
|
|
7103
7286
|
}
|
|
7104
7287
|
|
|
7105
7288
|
/* Table head (th) styles */
|
|
@@ -7107,7 +7290,7 @@ input[type='number'] {
|
|
|
7107
7290
|
.dndev-table-head {
|
|
7108
7291
|
text-align: start;
|
|
7109
7292
|
vertical-align: middle;
|
|
7110
|
-
font-weight:
|
|
7293
|
+
font-weight: var(--font-weight-medium);
|
|
7111
7294
|
color: var(--muted-foreground);
|
|
7112
7295
|
height: var(--touch-target);
|
|
7113
7296
|
padding-inline: var(--gap-md);
|
|
@@ -7450,7 +7633,7 @@ input[type='number'] {
|
|
|
7450
7633
|
border-radius: var(--radius-full);
|
|
7451
7634
|
border: 1px solid transparent;
|
|
7452
7635
|
font-size: var(--font-size-sm);
|
|
7453
|
-
font-weight:
|
|
7636
|
+
font-weight: var(--font-weight-medium);
|
|
7454
7637
|
line-height: 1;
|
|
7455
7638
|
white-space: nowrap;
|
|
7456
7639
|
transition: all var(--dur-fast) var(--ease-in-out);
|
|
@@ -7721,7 +7904,7 @@ input[type='number'] {
|
|
|
7721
7904
|
|
|
7722
7905
|
.dndev-toast-title {
|
|
7723
7906
|
font-size: var(--font-size-sm);
|
|
7724
|
-
font-weight:
|
|
7907
|
+
font-weight: var(--font-weight-semibold);
|
|
7725
7908
|
}
|
|
7726
7909
|
|
|
7727
7910
|
.dndev-toast-description {
|
|
@@ -8099,111 +8282,993 @@ input[type='number'] {
|
|
|
8099
8282
|
max-height: calc(90vh - 5rem);
|
|
8100
8283
|
}
|
|
8101
8284
|
|
|
8102
|
-
/*
|
|
8285
|
+
/* packages/components/src/advanced/Crawl/Crawl.css */
|
|
8103
8286
|
|
|
8104
|
-
/*
|
|
8287
|
+
/* ===========================
|
|
8288
|
+
1. CSS VARIABLES (Fluid - Expressive Density)
|
|
8289
|
+
=========================== */
|
|
8105
8290
|
|
|
8106
|
-
|
|
8291
|
+
:root {
|
|
8292
|
+
/* Animation & 3D Settings */
|
|
8293
|
+
--crawl-perspective: 600px;
|
|
8294
|
+
--crawl-tilt: 40deg;
|
|
8107
8295
|
|
|
8108
|
-
|
|
8109
|
-
|
|
8110
|
-
|
|
8111
|
-
|
|
8112
|
-
|
|
8113
|
-
}
|
|
8296
|
+
/* Typography - FLUID (No Breakpoints) */
|
|
8297
|
+
/* Formula: clamp(min, rem + vw, max) for zoom support */
|
|
8298
|
+
--crawl-body-size: clamp(1.6rem, 1rem + 2.5vw, 3rem);
|
|
8299
|
+
--crawl-title-size: clamp(3rem, 1.5rem + 6vw, 8rem);
|
|
8300
|
+
--crawl-intro-font-size: clamp(2rem, 1rem + 3vw, 4rem);
|
|
8114
8301
|
|
|
8115
|
-
|
|
8116
|
-
|
|
8117
|
-
|
|
8118
|
-
|
|
8119
|
-
|
|
8120
|
-
|
|
8121
|
-
|
|
8302
|
+
/* Spacing */
|
|
8303
|
+
--crawl-content-line: 1.2;
|
|
8304
|
+
--crawl-body-margin: 0.9em;
|
|
8305
|
+
--crawl-title-margin: 3em;
|
|
8306
|
+
|
|
8307
|
+
/* Colors - Hardcoded SW Yellow (not theme colors) */
|
|
8308
|
+
--crawl-text-color: #ffc909;
|
|
8309
|
+
--crawl-intro-color: #4a9eff;
|
|
8310
|
+
|
|
8311
|
+
/* Effects */
|
|
8312
|
+
/* --crawl-text-shadow: 0 0 8px rgba(255, 201, 9, 1), 0 0 16px rgba(255, 201, 9, 0.8); */
|
|
8313
|
+
--crawl-text-shadow: 0 0 12px rgba(255, 201, 9, 1);
|
|
8314
|
+
--crawl-intro-shadow:
|
|
8315
|
+
0 0 30px rgba(74, 158, 255, 0.9), 0 0 60px rgba(74, 158, 255, 0.6),
|
|
8316
|
+
0 0 90px rgba(74, 158, 255, 0.4), 0 0 120px rgba(74, 158, 255, 0.2);
|
|
8317
|
+
|
|
8318
|
+
/* Intro Overlay */
|
|
8319
|
+
--crawl-intro-duration: 2000ms;
|
|
8122
8320
|
}
|
|
8123
8321
|
|
|
8124
|
-
|
|
8125
|
-
|
|
8126
|
-
|
|
8127
|
-
transform: var(--transform-start, translateY(2rem));
|
|
8128
|
-
}
|
|
8322
|
+
/* ===========================
|
|
8323
|
+
2. CONTAINER & LAYOUT (Cinematic Breakout)
|
|
8324
|
+
=========================== */
|
|
8129
8325
|
|
|
8130
|
-
|
|
8131
|
-
|
|
8132
|
-
|
|
8133
|
-
|
|
8326
|
+
.dndev-crawl-container {
|
|
8327
|
+
/* 1. Context */
|
|
8328
|
+
position: relative;
|
|
8329
|
+
background: #000;
|
|
8330
|
+
contain: layout style paint;
|
|
8331
|
+
perspective: var(--crawl-perspective);
|
|
8332
|
+
backface-visibility: hidden;
|
|
8333
|
+
|
|
8334
|
+
/* 2. THE CINEMATIC BREAKOUT (150vw) */
|
|
8335
|
+
/* This forces the element to be 1.5x wider than the screen */
|
|
8336
|
+
width: 150vw;
|
|
8337
|
+
|
|
8338
|
+
/* 3. The "Dead Center" Lock */
|
|
8339
|
+
/* Move start edge to the exact center of parent... */
|
|
8340
|
+
inset-inline-start: 50%;
|
|
8341
|
+
/* ...then pull back by exactly half of OWN width (75vw) */
|
|
8342
|
+
transform: translate3d(-50%, 0, 0);
|
|
8343
|
+
|
|
8344
|
+
/* 4. Reset Constraints */
|
|
8345
|
+
margin: 0;
|
|
8346
|
+
margin-top: 0 !important; /* Override PageContainer gap - always sit flush with header */
|
|
8347
|
+
padding: 0;
|
|
8348
|
+
max-width: none; /* Critical: Ignore parent max-width constraints */
|
|
8349
|
+
|
|
8350
|
+
/* 5. Sizing & Safety */
|
|
8351
|
+
min-height: calc(100dvh - var(--header-height));
|
|
8352
|
+
overflow: hidden; /* Critical: Hides the text as it flies "past" the camera */
|
|
8134
8353
|
}
|
|
8135
8354
|
|
|
8136
|
-
|
|
8137
|
-
from {
|
|
8138
|
-
transform: var(--transform-start, translateX(0));
|
|
8139
|
-
}
|
|
8355
|
+
/* Override PageContainer gap and margin-top for Crawl - always first child */
|
|
8140
8356
|
|
|
8141
|
-
|
|
8142
|
-
|
|
8143
|
-
|
|
8357
|
+
/* Remove top gap only, keep bottom gap normal */
|
|
8358
|
+
|
|
8359
|
+
.dndev-container > .dndev-crawl-container:first-child {
|
|
8360
|
+
margin-top: 0 !important;
|
|
8144
8361
|
}
|
|
8145
8362
|
|
|
8146
|
-
|
|
8147
|
-
|
|
8148
|
-
|
|
8149
|
-
|
|
8150
|
-
to {
|
|
8151
|
-
transform: rotate(360deg);
|
|
8152
|
-
}
|
|
8363
|
+
/* Override PageContainer's margin-top when Crawl is first child */
|
|
8364
|
+
|
|
8365
|
+
.dndev-container:has(> .dndev-crawl-container:first-child) {
|
|
8366
|
+
margin-top: 0 !important;
|
|
8153
8367
|
}
|
|
8154
8368
|
|
|
8155
|
-
|
|
8156
|
-
|
|
8157
|
-
|
|
8158
|
-
|
|
8159
|
-
|
|
8160
|
-
|
|
8161
|
-
|
|
8162
|
-
|
|
8369
|
+
/* ===========================
|
|
8370
|
+
3. STAR FIELD BACKGROUND (Canvas)
|
|
8371
|
+
=========================== */
|
|
8372
|
+
|
|
8373
|
+
.dndev-crawl-stars {
|
|
8374
|
+
position: absolute;
|
|
8375
|
+
inset: 0;
|
|
8376
|
+
z-index: 1;
|
|
8377
|
+
contain: layout style paint;
|
|
8378
|
+
pointer-events: none;
|
|
8163
8379
|
}
|
|
8164
8380
|
|
|
8165
|
-
|
|
8166
|
-
|
|
8167
|
-
|
|
8168
|
-
|
|
8169
|
-
|
|
8170
|
-
|
|
8171
|
-
|
|
8172
|
-
|
|
8381
|
+
/* Starfield layers using SVG pattern (no canvas, no resize issues) */
|
|
8382
|
+
|
|
8383
|
+
.dndev-crawl-stars-layer-1,
|
|
8384
|
+
.dndev-crawl-stars-layer-2,
|
|
8385
|
+
.dndev-crawl-stars-layer-3 {
|
|
8386
|
+
position: absolute;
|
|
8387
|
+
inset: 0;
|
|
8388
|
+
width: 100%;
|
|
8389
|
+
height: 100%;
|
|
8390
|
+
background-image: url("data:image/svg+xml,%3Csvg width='500' height='300' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='23' cy='17' r='1' fill='white' opacity='1'/%3E%3Ccircle cx='47' cy='89' r='1' fill='white' opacity='0.8'/%3E%3Ccircle cx='91' cy='43' r='0.5' fill='white' opacity='1'/%3E%3Ccircle cx='131' cy='67' r='1' fill='white' opacity='0.6'/%3E%3Ccircle cx='163' cy='19' r='0.5' fill='%23ddd' opacity='0.8'/%3E%3Ccircle cx='197' cy='73' r='1' fill='white' opacity='1'/%3E%3Ccircle cx='211' cy='41' r='0.5' fill='white' opacity='0.7'/%3E%3Ccircle cx='233' cy='97' r='1' fill='%23eee' opacity='0.9'/%3E%3Ccircle cx='251' cy='13' r='0.5' fill='white' opacity='1'/%3E%3Ccircle cx='277' cy='59' r='1' fill='white' opacity='0.5'/%3E%3Ccircle cx='293' cy='83' r='0.5' fill='%23ddd' opacity='0.8'/%3E%3Ccircle cx='317' cy='31' r='1' fill='white' opacity='1'/%3E%3Ccircle cx='337' cy='71' r='0.5' fill='white' opacity='0.8'/%3E%3Ccircle cx='359' cy='7' r='1' fill='%23eee' opacity='0.9'/%3E%3Ccircle cx='373' cy='53' r='0.5' fill='white' opacity='1'/%3E%3Ccircle cx='389' cy='79' r='1' fill='white' opacity='0.6'/%3E%3Ccircle cx='401' cy='23' r='0.5' fill='%23ddd' opacity='0.8'/%3E%3Ccircle cx='419' cy='61' r='1' fill='white' opacity='1'/%3E%3Ccircle cx='433' cy='37' r='0.5' fill='white' opacity='0.7'/%3E%3Ccircle cx='449' cy='87' r='1' fill='%23eee' opacity='0.9'/%3E%3C/svg%3E");
|
|
8391
|
+
background-repeat: repeat;
|
|
8392
|
+
pointer-events: none;
|
|
8173
8393
|
}
|
|
8174
8394
|
|
|
8175
|
-
|
|
8176
|
-
|
|
8177
|
-
|
|
8178
|
-
|
|
8179
|
-
|
|
8180
|
-
|
|
8181
|
-
}
|
|
8395
|
+
.dndev-crawl-stars-layer-1 {
|
|
8396
|
+
--layer-base-opacity: 1;
|
|
8397
|
+
opacity: 1;
|
|
8398
|
+
background-size: 400px 250px;
|
|
8399
|
+
animation: dndev-stars-twinkle 4s ease-in-out infinite;
|
|
8400
|
+
animation-delay: 0s;
|
|
8182
8401
|
}
|
|
8183
8402
|
|
|
8184
|
-
|
|
8185
|
-
|
|
8186
|
-
|
|
8187
|
-
|
|
8188
|
-
|
|
8189
|
-
|
|
8190
|
-
}
|
|
8403
|
+
.dndev-crawl-stars-layer-2 {
|
|
8404
|
+
--layer-base-opacity: 0.7;
|
|
8405
|
+
opacity: 0.7;
|
|
8406
|
+
background-size: 300px 200px;
|
|
8407
|
+
animation: dndev-stars-twinkle 2.5s ease-in-out infinite;
|
|
8408
|
+
animation-delay: 1s;
|
|
8191
8409
|
}
|
|
8192
8410
|
|
|
8193
|
-
|
|
8194
|
-
|
|
8195
|
-
|
|
8196
|
-
|
|
8411
|
+
.dndev-crawl-stars-layer-3 {
|
|
8412
|
+
--layer-base-opacity: 0.5;
|
|
8413
|
+
opacity: 0.5;
|
|
8414
|
+
background-size: 200px 150px;
|
|
8415
|
+
animation: dndev-stars-twinkle 1.8s ease-in-out infinite;
|
|
8416
|
+
animation-delay: 2s;
|
|
8417
|
+
}
|
|
8418
|
+
|
|
8419
|
+
@keyframes dndev-stars-twinkle {
|
|
8420
|
+
0%,
|
|
8421
|
+
100% {
|
|
8422
|
+
opacity: var(--layer-base-opacity);
|
|
8197
8423
|
}
|
|
8198
|
-
|
|
8199
|
-
|
|
8200
|
-
opacity: 1;
|
|
8424
|
+
50% {
|
|
8425
|
+
opacity: calc(var(--layer-base-opacity) * 1.43);
|
|
8201
8426
|
}
|
|
8202
8427
|
}
|
|
8203
8428
|
|
|
8204
|
-
/*
|
|
8205
|
-
|
|
8206
|
-
|
|
8429
|
+
/* ===========================
|
|
8430
|
+
4. 3D CONTAINER & TEXT ANIMATION
|
|
8431
|
+
=========================== */
|
|
8432
|
+
|
|
8433
|
+
.dndev-crawl-3d-container {
|
|
8434
|
+
position: absolute;
|
|
8435
|
+
inset: 0;
|
|
8436
|
+
display: flex;
|
|
8437
|
+
align-items: center;
|
|
8438
|
+
justify-content: center;
|
|
8439
|
+
z-index: 10;
|
|
8440
|
+
perspective: var(--crawl-perspective);
|
|
8441
|
+
transform-style: preserve-3d;
|
|
8442
|
+
contain: layout style;
|
|
8443
|
+
backface-visibility: hidden;
|
|
8444
|
+
will-change: auto;
|
|
8445
|
+
}
|
|
8446
|
+
|
|
8447
|
+
.dndev-crawl-text {
|
|
8448
|
+
width: 100%;
|
|
8449
|
+
height: 100%;
|
|
8450
|
+
display: flex;
|
|
8451
|
+
align-items: center;
|
|
8452
|
+
justify-content: center;
|
|
8453
|
+
position: relative;
|
|
8454
|
+
transform: rotateX(var(--crawl-tilt)) translate3d(0, 0, 0);
|
|
8455
|
+
transform-style: preserve-3d;
|
|
8456
|
+
backface-visibility: hidden;
|
|
8457
|
+
contain: layout style;
|
|
8458
|
+
}
|
|
8459
|
+
|
|
8460
|
+
/* ===========================
|
|
8461
|
+
5. TEXT CONTENT STYLES
|
|
8462
|
+
Simple: yellow text, big shadows, centered
|
|
8463
|
+
=========================== */
|
|
8464
|
+
|
|
8465
|
+
.dndev-crawl-content {
|
|
8466
|
+
color: var(--crawl-text-color);
|
|
8467
|
+
font-size: var(--crawl-body-size);
|
|
8468
|
+
line-height: var(--crawl-content-line);
|
|
8469
|
+
font-weight: var(--font-weight-bold);
|
|
8470
|
+
text-align: center;
|
|
8471
|
+
text-shadow: var(--crawl-text-shadow);
|
|
8472
|
+
position: relative;
|
|
8473
|
+
z-index: 2;
|
|
8474
|
+
width: 60%;
|
|
8475
|
+
max-width: 60%;
|
|
8476
|
+
margin-inline: auto;
|
|
8477
|
+
padding: 0;
|
|
8478
|
+
text-rendering: optimizeLegibility;
|
|
8479
|
+
-webkit-font-smoothing: antialiased;
|
|
8480
|
+
-moz-osx-font-smoothing: grayscale;
|
|
8481
|
+
}
|
|
8482
|
+
|
|
8483
|
+
/* Title - bigger, same styling */
|
|
8484
|
+
|
|
8485
|
+
.dndev-crawl-title,
|
|
8486
|
+
.dndev-crawl-content h1,
|
|
8487
|
+
.dndev-crawl-content h2,
|
|
8488
|
+
.dndev-crawl-content p {
|
|
8489
|
+
color: var(--crawl-text-color);
|
|
8490
|
+
font-weight: var(--font-weight-bold);
|
|
8491
|
+
text-align: center;
|
|
8492
|
+
text-shadow: var(--crawl-text-shadow);
|
|
8493
|
+
|
|
8494
|
+
/* Responsive - remove shadows on mobile/tablet for performance */
|
|
8495
|
+
}
|
|
8496
|
+
|
|
8497
|
+
@media (width <= 1023px) {
|
|
8498
|
+
|
|
8499
|
+
.dndev-crawl-title,
|
|
8500
|
+
.dndev-crawl-content h1,
|
|
8501
|
+
.dndev-crawl-content h2,
|
|
8502
|
+
.dndev-crawl-content p {
|
|
8503
|
+
text-shadow: none;
|
|
8504
|
+
}
|
|
8505
|
+
}
|
|
8506
|
+
|
|
8507
|
+
.dndev-crawl-title,
|
|
8508
|
+
.dndev-crawl-content h1,
|
|
8509
|
+
.dndev-crawl-content h2 {
|
|
8510
|
+
font-size: var(--crawl-title-size);
|
|
8511
|
+
margin-bottom: var(--crawl-title-margin);
|
|
8512
|
+
padding: 0;
|
|
8513
|
+
margin-inline: 0;
|
|
8514
|
+
}
|
|
8515
|
+
|
|
8516
|
+
.dndev-crawl-content p {
|
|
8517
|
+
font-size: var(--crawl-body-size);
|
|
8518
|
+
margin-bottom: var(--crawl-body-margin);
|
|
8519
|
+
}
|
|
8520
|
+
|
|
8521
|
+
/* Responsive - allow wrapping on mobile */
|
|
8522
|
+
|
|
8523
|
+
@media (width >= 1024px) {
|
|
8524
|
+
.dndev-crawl-title {
|
|
8525
|
+
white-space: nowrap;
|
|
8526
|
+
}
|
|
8527
|
+
}
|
|
8528
|
+
|
|
8529
|
+
/* ===========================
|
|
8530
|
+
6. INTRO OVERLAY STYLES
|
|
8531
|
+
=========================== */
|
|
8532
|
+
|
|
8533
|
+
.dndev-crawl-intro {
|
|
8534
|
+
background: linear-gradient(
|
|
8535
|
+
180deg,
|
|
8536
|
+
rgba(0, 0, 0, 0.8) 0%,
|
|
8537
|
+
rgba(0, 0, 0, 0.4) 50%,
|
|
8538
|
+
rgba(0, 0, 0, 0.8) 100%
|
|
8539
|
+
);
|
|
8540
|
+
}
|
|
8541
|
+
|
|
8542
|
+
.dndev-crawl-intro-content {
|
|
8543
|
+
color: var(--crawl-intro-color);
|
|
8544
|
+
font-size: var(--crawl-intro-font-size);
|
|
8545
|
+
font-weight: 900;
|
|
8546
|
+
text-align: center;
|
|
8547
|
+
text-shadow: var(--crawl-intro-shadow);
|
|
8548
|
+
letter-spacing: 0.1em;
|
|
8549
|
+
line-height: 1.2;
|
|
8550
|
+
text-rendering: optimizeLegibility;
|
|
8551
|
+
-webkit-font-smoothing: antialiased;
|
|
8552
|
+
-moz-osx-font-smoothing: grayscale;
|
|
8553
|
+
width: 60%;
|
|
8554
|
+
max-width: 60%;
|
|
8555
|
+
margin-inline: auto;
|
|
8556
|
+
margin-block: 0;
|
|
8557
|
+
overflow-wrap: break-word;
|
|
8558
|
+
hyphens: auto;
|
|
8559
|
+
white-space: normal;
|
|
8560
|
+
}
|
|
8561
|
+
|
|
8562
|
+
.dndev-crawl-intro-mobile {
|
|
8563
|
+
animation: dndev-intro-fade-mobile var(--crawl-intro-duration) ease-in-out
|
|
8564
|
+
forwards;
|
|
8565
|
+
}
|
|
8566
|
+
|
|
8567
|
+
.dndev-crawl-intro-desktop {
|
|
8568
|
+
animation: dndev-intro-fade-desktop calc(var(--crawl-intro-duration) * 2)
|
|
8569
|
+
ease-in-out forwards;
|
|
8570
|
+
}
|
|
8571
|
+
|
|
8572
|
+
/* ===========================
|
|
8573
|
+
7. ANIMATIONS & KEYFRAMES
|
|
8574
|
+
=========================== */
|
|
8575
|
+
|
|
8576
|
+
@keyframes dndev-crawl-animation {
|
|
8577
|
+
from {
|
|
8578
|
+
transform: rotateX(var(--crawl-tilt)) translate3d(0, 100dvh, 0);
|
|
8579
|
+
}
|
|
8580
|
+
to {
|
|
8581
|
+
transform: rotateX(var(--crawl-tilt))
|
|
8582
|
+
translate3d(0, calc(-1 * var(--crawl-content-height)), 0);
|
|
8583
|
+
}
|
|
8584
|
+
}
|
|
8585
|
+
|
|
8586
|
+
/* ===========================
|
|
8587
|
+
8. ACCESSIBILITY & PERFORMANCE
|
|
8588
|
+
=========================== */
|
|
8589
|
+
|
|
8590
|
+
/* Reduced Motion Preference */
|
|
8591
|
+
|
|
8592
|
+
@media (prefers-reduced-motion: reduce) {
|
|
8593
|
+
.dndev-crawl-text {
|
|
8594
|
+
animation: none !important;
|
|
8595
|
+
}
|
|
8596
|
+
|
|
8597
|
+
.dndev-crawl-3d-container {
|
|
8598
|
+
transform: rotateX(0deg) translate3d(0, 0, 0) !important;
|
|
8599
|
+
}
|
|
8600
|
+
|
|
8601
|
+
.dndev-crawl-content {
|
|
8602
|
+
position: static !important;
|
|
8603
|
+
transform: none !important;
|
|
8604
|
+
animation: none !important;
|
|
8605
|
+
}
|
|
8606
|
+
|
|
8607
|
+
.dndev-crawl-intro-mobile,
|
|
8608
|
+
.dndev-crawl-intro-desktop {
|
|
8609
|
+
animation: none !important;
|
|
8610
|
+
}
|
|
8611
|
+
}
|
|
8612
|
+
|
|
8613
|
+
/* High Contrast Preference */
|
|
8614
|
+
|
|
8615
|
+
@media (prefers-contrast: high) {
|
|
8616
|
+
.dndev-crawl-stars {
|
|
8617
|
+
filter: contrast(1.5) brightness(1.2);
|
|
8618
|
+
}
|
|
8619
|
+
}
|
|
8620
|
+
|
|
8621
|
+
/* Reduced Motion Class (applied programmatically) */
|
|
8622
|
+
|
|
8623
|
+
.dndev-crawl-reduced-motion {
|
|
8624
|
+
animation: none !important;
|
|
8625
|
+
transform: none !important;
|
|
8626
|
+
}
|
|
8627
|
+
|
|
8628
|
+
.dndev-crawl-reduced-motion .dndev-crawl-content {
|
|
8629
|
+
position: static !important;
|
|
8630
|
+
transform: none !important;
|
|
8631
|
+
}
|
|
8632
|
+
|
|
8633
|
+
.dndev-crawl-reduced-motion .dndev-crawl-stars-layer-1,.dndev-crawl-reduced-motion .dndev-crawl-stars-layer-2,.dndev-crawl-reduced-motion .dndev-crawl-stars-layer-3 {
|
|
8634
|
+
animation: none !important;
|
|
8635
|
+
}
|
|
8636
|
+
|
|
8637
|
+
/* packages/components/src/advanced/Marquee/Marquee.css */
|
|
8638
|
+
|
|
8639
|
+
/* Marquee track */
|
|
8640
|
+
|
|
8641
|
+
[data-marquee-track] {
|
|
8642
|
+
will-change: var(--will-change-transform);
|
|
8643
|
+
animation: universal-marquee var(--marquee-duration, 0ms)
|
|
8644
|
+
var(--marquee-easing, linear) infinite;
|
|
8645
|
+
animation-direction: var(--marquee-direction, normal);
|
|
8646
|
+
|
|
8647
|
+
/* Vertical marquee */
|
|
8648
|
+
}
|
|
8649
|
+
|
|
8650
|
+
[data-marquee-track][data-marquee-direction='vertical'] {
|
|
8651
|
+
--transform-start: translateY(0);
|
|
8652
|
+
--transform-end: translateY(calc(-1 * var(--marquee-distance, 0px)));
|
|
8653
|
+
}
|
|
8654
|
+
|
|
8655
|
+
/* Bounce behavior */
|
|
8656
|
+
|
|
8657
|
+
[data-marquee-track][data-marquee-behavior='bounce'] {
|
|
8658
|
+
animation-name: universal-float;
|
|
8659
|
+
--transform-start: translateX(0);
|
|
8660
|
+
--transform-mid: translateX(calc(-1 * var(--marquee-distance, 0px)));
|
|
8661
|
+
--opacity-start: 1;
|
|
8662
|
+
--opacity-mid: 1;
|
|
8663
|
+
}
|
|
8664
|
+
|
|
8665
|
+
/* Accessibility */
|
|
8666
|
+
|
|
8667
|
+
@media (prefers-reduced-motion: reduce) {
|
|
8668
|
+
|
|
8669
|
+
[data-marquee-track] {
|
|
8670
|
+
animation: none !important;
|
|
8671
|
+
transform: none !important;
|
|
8672
|
+
}
|
|
8673
|
+
}
|
|
8674
|
+
|
|
8675
|
+
.group:hover [data-marquee-track],.group:focus-within [data-marquee-track] {
|
|
8676
|
+
animation-play-state: paused;
|
|
8677
|
+
}
|
|
8678
|
+
|
|
8679
|
+
/* packages/components/src/advanced/Reveal/Reveal.css */
|
|
8680
|
+
|
|
8681
|
+
.dndev-reveal-container {
|
|
8682
|
+
/* Performance */
|
|
8683
|
+
contain: layout style;
|
|
8684
|
+
will-change: contents;
|
|
8685
|
+
}
|
|
8686
|
+
|
|
8687
|
+
.dndev-reveal-container.dndev-reveal-visible .dndev-reveal-item {
|
|
8688
|
+
opacity: 1;
|
|
8689
|
+
transform: translate3d(0, 0, 0);
|
|
8690
|
+
|
|
8691
|
+
/* Performance cleanup */
|
|
8692
|
+
animation: dndev-reveal-cleanup var(--reveal-duration) var(--reveal-easing)
|
|
8693
|
+
forwards;
|
|
8694
|
+
}
|
|
8695
|
+
|
|
8696
|
+
@media (prefers-reduced-motion: reduce) {
|
|
8697
|
+
|
|
8698
|
+
.dndev-reveal-container.dndev-reveal-visible .dndev-reveal-item {
|
|
8699
|
+
transition: none !important;
|
|
8700
|
+
opacity: 1 !important;
|
|
8701
|
+
transform: none !important;
|
|
8702
|
+
will-change: auto;
|
|
8703
|
+
}
|
|
8704
|
+
}
|
|
8705
|
+
|
|
8706
|
+
.dndev-reveal-item {
|
|
8707
|
+
/* Default hidden state */
|
|
8708
|
+
opacity: 0;
|
|
8709
|
+
transform: translate3d(0, 0, 0);
|
|
8710
|
+
|
|
8711
|
+
/* Performance */
|
|
8712
|
+
will-change: transform, opacity;
|
|
8713
|
+
backface-visibility: hidden;
|
|
8714
|
+
|
|
8715
|
+
/* Transitions */
|
|
8716
|
+
transition:
|
|
8717
|
+
opacity var(--reveal-duration) var(--reveal-easing),
|
|
8718
|
+
transform var(--reveal-duration) var(--reveal-easing);
|
|
8719
|
+
|
|
8720
|
+
/* Stagger timing */
|
|
8721
|
+
transition-delay: var(--reveal-delay, 0ms);
|
|
8722
|
+
|
|
8723
|
+
/* Direction transforms */
|
|
8724
|
+
}
|
|
8725
|
+
|
|
8726
|
+
.dndev-reveal-item[data-direction='left'] {
|
|
8727
|
+
transform: translate3d(calc(-1 * var(--reveal-distance)), 0, 0);
|
|
8728
|
+
}
|
|
8729
|
+
|
|
8730
|
+
.dndev-reveal-item[data-direction='right'] {
|
|
8731
|
+
transform: translate3d(var(--reveal-distance), 0, 0);
|
|
8732
|
+
}
|
|
8733
|
+
|
|
8734
|
+
.dndev-reveal-item[data-direction='top'] {
|
|
8735
|
+
transform: translate3d(0, calc(-1 * var(--reveal-distance)), 0);
|
|
8736
|
+
}
|
|
8737
|
+
|
|
8738
|
+
.dndev-reveal-item[data-direction='bottom'] {
|
|
8739
|
+
transform: translate3d(0, var(--reveal-distance), 0);
|
|
8740
|
+
}
|
|
8741
|
+
|
|
8742
|
+
.dndev-reveal-item[data-direction='fade-in'] {
|
|
8743
|
+
transform: translate3d(0, 0, 0);
|
|
8744
|
+
}
|
|
8745
|
+
|
|
8746
|
+
.dndev-reveal-item[data-visible='true'] {
|
|
8747
|
+
opacity: 1;
|
|
8748
|
+
transform: translate3d(0, 0, 0);
|
|
8749
|
+
}
|
|
8750
|
+
|
|
8751
|
+
/* Accessibility */
|
|
8752
|
+
|
|
8753
|
+
@media (prefers-reduced-motion: reduce) {
|
|
8754
|
+
|
|
8755
|
+
.dndev-reveal-item {
|
|
8756
|
+
transition: none !important;
|
|
8757
|
+
opacity: 1 !important;
|
|
8758
|
+
transform: none !important;
|
|
8759
|
+
will-change: auto;
|
|
8760
|
+
}
|
|
8761
|
+
}
|
|
8762
|
+
|
|
8763
|
+
/* packages/components/src/advanced/Roadmap/Roadmap.css */
|
|
8764
|
+
|
|
8765
|
+
.dndev-roadmap {
|
|
8766
|
+
width: 100%;
|
|
8767
|
+
position: relative;
|
|
8768
|
+
}
|
|
8769
|
+
|
|
8770
|
+
/* =========================
|
|
8771
|
+
DESKTOP LAYOUT
|
|
8772
|
+
========================= */
|
|
8773
|
+
|
|
8774
|
+
.dndev-roadmap-desktop {
|
|
8775
|
+
position: relative;
|
|
8776
|
+
}
|
|
8777
|
+
|
|
8778
|
+
/* Progress line container - from center of first icon to center of last icon */
|
|
8779
|
+
|
|
8780
|
+
.dndev-roadmap-timeline {
|
|
8781
|
+
position: absolute;
|
|
8782
|
+
top: calc(var(--touch-target) / 2); /* Center of node */
|
|
8783
|
+
inset-inline-start: calc(
|
|
8784
|
+
100% / var(--step-count) / 2
|
|
8785
|
+
); /* Center of first grid cell */
|
|
8786
|
+
inset-inline-end: calc(
|
|
8787
|
+
100% / var(--step-count) / 2
|
|
8788
|
+
); /* Center of last grid cell */
|
|
8789
|
+
height: 4px;
|
|
8790
|
+
z-index: 0;
|
|
8791
|
+
}
|
|
8792
|
+
|
|
8793
|
+
.dndev-roadmap-timeline-bg {
|
|
8794
|
+
position: absolute;
|
|
8795
|
+
inset: 0;
|
|
8796
|
+
background: var(--muted);
|
|
8797
|
+
border-radius: var(--radius-full);
|
|
8798
|
+
}
|
|
8799
|
+
|
|
8800
|
+
.dndev-roadmap-timeline-progress {
|
|
8801
|
+
position: absolute;
|
|
8802
|
+
top: 0;
|
|
8803
|
+
inset-inline-start: 0;
|
|
8804
|
+
height: 100%;
|
|
8805
|
+
background: linear-gradient(
|
|
8806
|
+
to right,
|
|
8807
|
+
var(--primary),
|
|
8808
|
+
var(--accent),
|
|
8809
|
+
var(--primary)
|
|
8810
|
+
);
|
|
8811
|
+
border-radius: var(--radius-full);
|
|
8812
|
+
transition: width var(--dur-slow) var(--ease-in-out);
|
|
8813
|
+
}
|
|
8814
|
+
|
|
8815
|
+
/* Grid for steps */
|
|
8816
|
+
|
|
8817
|
+
.dndev-roadmap-grid {
|
|
8818
|
+
display: grid;
|
|
8819
|
+
gap: var(--gap-lg);
|
|
8820
|
+
position: relative;
|
|
8821
|
+
z-index: 1;
|
|
8822
|
+
}
|
|
8823
|
+
|
|
8824
|
+
/* Individual step container */
|
|
8825
|
+
|
|
8826
|
+
.dndev-roadmap-step {
|
|
8827
|
+
display: flex;
|
|
8828
|
+
flex-direction: column;
|
|
8829
|
+
align-items: center;
|
|
8830
|
+
}
|
|
8831
|
+
|
|
8832
|
+
/* Timeline node (icon circle) */
|
|
8833
|
+
|
|
8834
|
+
.dndev-roadmap-node {
|
|
8835
|
+
width: var(--touch-target);
|
|
8836
|
+
height: var(--touch-target);
|
|
8837
|
+
border-radius: var(--radius-full);
|
|
8838
|
+
border: var(--border-huge) solid var(--muted);
|
|
8839
|
+
background: var(--background);
|
|
8840
|
+
display: flex;
|
|
8841
|
+
align-items: center;
|
|
8842
|
+
justify-content: center;
|
|
8843
|
+
transition: all var(--dur-normal) var(--ease-in-out);
|
|
8844
|
+
margin-bottom: var(--gap-lg);
|
|
8845
|
+
flex-shrink: 0;
|
|
8846
|
+
}
|
|
8847
|
+
|
|
8848
|
+
.dndev-roadmap-node[data-active='true'] {
|
|
8849
|
+
border-color: var(--accent);
|
|
8850
|
+
box-shadow: 0 0 20px color-mix(in oklab, var(--accent) 40%, transparent);
|
|
8851
|
+
transform: scale(1.1);
|
|
8852
|
+
}
|
|
8853
|
+
|
|
8854
|
+
.dndev-roadmap-node svg {
|
|
8855
|
+
width: var(--icon-md);
|
|
8856
|
+
height: var(--icon-md);
|
|
8857
|
+
color: var(--muted-foreground);
|
|
8858
|
+
transition: color var(--dur-normal) var(--ease-in-out);
|
|
8859
|
+
}
|
|
8860
|
+
|
|
8861
|
+
.dndev-roadmap-node[data-active='true'] svg {
|
|
8862
|
+
color: var(--accent);
|
|
8863
|
+
}
|
|
8864
|
+
|
|
8865
|
+
/* Card styling - extra top padding for badge overlap, push footer to bottom */
|
|
8866
|
+
|
|
8867
|
+
.dndev-roadmap-card {
|
|
8868
|
+
position: relative;
|
|
8869
|
+
height: 100%;
|
|
8870
|
+
padding-top: calc(var(--gap-lg) + var(--gap-sm)) !important;
|
|
8871
|
+
align-content: space-between;
|
|
8872
|
+
}
|
|
8873
|
+
|
|
8874
|
+
.dndev-roadmap-step:hover .dndev-roadmap-card,
|
|
8875
|
+
.dndev-roadmap-card[data-active='true'] {
|
|
8876
|
+
border-color: color-mix(in oklab, var(--accent) 50%, var(--border));
|
|
8877
|
+
transform: translateY(calc(-1 * var(--gap-sm)));
|
|
8878
|
+
box-shadow: var(--shadow-xl);
|
|
8879
|
+
}
|
|
8880
|
+
|
|
8881
|
+
/* Phase badge - absolute overlay top-start */
|
|
8882
|
+
|
|
8883
|
+
.dndev-roadmap-phase {
|
|
8884
|
+
position: absolute;
|
|
8885
|
+
top: var(--gap-sm);
|
|
8886
|
+
inset-inline-start: var(--gap-sm);
|
|
8887
|
+
font-size: var(--font-size-xs);
|
|
8888
|
+
font-weight: var(--font-weight-bold);
|
|
8889
|
+
text-transform: uppercase;
|
|
8890
|
+
letter-spacing: 0.05em;
|
|
8891
|
+
padding: 2px var(--gap-sm); /* Tight vertical padding for badge */
|
|
8892
|
+
border-radius: var(--radius-interactive);
|
|
8893
|
+
background: var(--accent);
|
|
8894
|
+
color: var(--accent-foreground);
|
|
8895
|
+
}
|
|
8896
|
+
|
|
8897
|
+
/* Description - sm, foreground, start */
|
|
8898
|
+
|
|
8899
|
+
.dndev-roadmap-description {
|
|
8900
|
+
font-size: var(--font-size-sm);
|
|
8901
|
+
color: var(--foreground);
|
|
8902
|
+
line-height: var(--line-height);
|
|
8903
|
+
margin: 0;
|
|
8904
|
+
margin-bottom: var(--gap-md);
|
|
8905
|
+
text-align: start;
|
|
8906
|
+
}
|
|
8907
|
+
|
|
8908
|
+
/* =========================
|
|
8909
|
+
MOBILE LAYOUT
|
|
8910
|
+
========================= */
|
|
8911
|
+
|
|
8912
|
+
.dndev-roadmap-mobile {
|
|
8913
|
+
position: relative;
|
|
8914
|
+
padding-inline-start: 0;
|
|
8915
|
+
padding-bottom: var(--gap-lg);
|
|
8916
|
+
}
|
|
8917
|
+
|
|
8918
|
+
/* Vertical timeline line - centered, with animated progress */
|
|
8919
|
+
|
|
8920
|
+
.dndev-roadmap-timeline-vertical {
|
|
8921
|
+
position: absolute;
|
|
8922
|
+
inset-inline-start: 50%;
|
|
8923
|
+
top: 0;
|
|
8924
|
+
bottom: 0;
|
|
8925
|
+
width: 4px;
|
|
8926
|
+
background: var(--muted);
|
|
8927
|
+
transform: translateX(-50%);
|
|
8928
|
+
z-index: 0;
|
|
8929
|
+
border-radius: var(--radius-full);
|
|
8930
|
+
}
|
|
8931
|
+
|
|
8932
|
+
.dndev-roadmap-timeline-vertical-progress {
|
|
8933
|
+
position: absolute;
|
|
8934
|
+
top: 0;
|
|
8935
|
+
inset-inline-start: 0;
|
|
8936
|
+
width: 100%;
|
|
8937
|
+
background: linear-gradient(
|
|
8938
|
+
to bottom,
|
|
8939
|
+
var(--primary),
|
|
8940
|
+
var(--accent),
|
|
8941
|
+
var(--primary)
|
|
8942
|
+
);
|
|
8943
|
+
border-radius: var(--radius-full);
|
|
8944
|
+
transition: height var(--dur-slow) var(--ease-in-out);
|
|
8945
|
+
}
|
|
8946
|
+
|
|
8947
|
+
/* Step container - flex column to stack Node -> Card */
|
|
8948
|
+
|
|
8949
|
+
.dndev-roadmap-step-mobile {
|
|
8950
|
+
position: relative;
|
|
8951
|
+
display: flex;
|
|
8952
|
+
flex-direction: column;
|
|
8953
|
+
align-items: center;
|
|
8954
|
+
width: 100%;
|
|
8955
|
+
}
|
|
8956
|
+
|
|
8957
|
+
.dndev-roadmap-step-mobile:last-child {
|
|
8958
|
+
margin-bottom: 0;
|
|
8959
|
+
}
|
|
8960
|
+
|
|
8961
|
+
/* Mobile node - relative positioning, centered, with top margin from previous card */
|
|
8962
|
+
|
|
8963
|
+
.dndev-roadmap-node-mobile {
|
|
8964
|
+
position: relative;
|
|
8965
|
+
inset-inline-start: auto;
|
|
8966
|
+
top: auto;
|
|
8967
|
+
margin-top: var(--gap-md); /* Space from previous card's bottom */
|
|
8968
|
+
margin-bottom: var(--gap-md); /* Space before current card */
|
|
8969
|
+
width: var(--touch-target);
|
|
8970
|
+
height: var(--touch-target);
|
|
8971
|
+
border-radius: var(--radius-full);
|
|
8972
|
+
border: var(--border-huge) solid var(--muted);
|
|
8973
|
+
background: var(--background);
|
|
8974
|
+
display: flex;
|
|
8975
|
+
align-items: center;
|
|
8976
|
+
justify-content: center;
|
|
8977
|
+
transition: all var(--dur-normal) var(--ease-in-out);
|
|
8978
|
+
z-index: 1;
|
|
8979
|
+
}
|
|
8980
|
+
|
|
8981
|
+
/* First step's icon has no top margin */
|
|
8982
|
+
|
|
8983
|
+
.dndev-roadmap-step-mobile:first-child .dndev-roadmap-node-mobile {
|
|
8984
|
+
margin-top: 0;
|
|
8985
|
+
}
|
|
8986
|
+
|
|
8987
|
+
.dndev-roadmap-node-mobile[data-active='true'] {
|
|
8988
|
+
border-color: var(--accent);
|
|
8989
|
+
box-shadow: 0 0 15px color-mix(in oklab, var(--accent) 30%, transparent);
|
|
8990
|
+
}
|
|
8991
|
+
|
|
8992
|
+
.dndev-roadmap-node-mobile svg {
|
|
8993
|
+
width: var(--icon-md);
|
|
8994
|
+
height: var(--icon-md);
|
|
8995
|
+
color: var(--muted-foreground);
|
|
8996
|
+
}
|
|
8997
|
+
|
|
8998
|
+
.dndev-roadmap-node-mobile[data-active='true'] svg {
|
|
8999
|
+
color: var(--accent);
|
|
9000
|
+
}
|
|
9001
|
+
|
|
9002
|
+
/* Mobile card - full width, with active state */
|
|
9003
|
+
|
|
9004
|
+
.dndev-roadmap-card-mobile {
|
|
9005
|
+
position: relative;
|
|
9006
|
+
width: 100%;
|
|
9007
|
+
padding-top: calc(var(--gap-lg) + var(--gap-sm)) !important;
|
|
9008
|
+
align-content: space-between;
|
|
9009
|
+
background: var(--card);
|
|
9010
|
+
z-index: 1;
|
|
9011
|
+
transition: all var(--dur-normal) var(--ease-in-out);
|
|
9012
|
+
}
|
|
9013
|
+
|
|
9014
|
+
.dndev-roadmap-card-mobile[data-active='true'] {
|
|
9015
|
+
border-color: color-mix(in oklab, var(--accent) 50%, var(--border));
|
|
9016
|
+
box-shadow: var(--shadow-lg);
|
|
9017
|
+
}
|
|
9018
|
+
|
|
9019
|
+
/* Only apply hover on devices that support it */
|
|
9020
|
+
|
|
9021
|
+
@media (hover: hover) {
|
|
9022
|
+
.dndev-roadmap-card-mobile:hover {
|
|
9023
|
+
border-color: color-mix(in oklab, var(--accent) 30%, var(--border));
|
|
9024
|
+
}
|
|
9025
|
+
}
|
|
9026
|
+
|
|
9027
|
+
/* packages/components/src/advanced/StackedCards/StackedCards.css */
|
|
9028
|
+
|
|
9029
|
+
/* Container */
|
|
9030
|
+
|
|
9031
|
+
.dndev-stacked-cards-container {
|
|
9032
|
+
display: flex;
|
|
9033
|
+
flex-direction: column;
|
|
9034
|
+
width: 100%;
|
|
9035
|
+
max-width: min(100%, var(--content-width, 60rem));
|
|
9036
|
+
margin-inline: auto;
|
|
9037
|
+
position: relative;
|
|
9038
|
+
}
|
|
9039
|
+
|
|
9040
|
+
/* Each stack item */
|
|
9041
|
+
|
|
9042
|
+
.dndev-stack-item {
|
|
9043
|
+
width: 100%;
|
|
9044
|
+
position: relative;
|
|
9045
|
+
transition: max-height var(--dur-heavy) var(--ease-heavy);
|
|
9046
|
+
overflow: hidden;
|
|
9047
|
+
|
|
9048
|
+
/* Active card - full height */
|
|
9049
|
+
}
|
|
9050
|
+
|
|
9051
|
+
.dndev-stack-item[data-stacked='false'] {
|
|
9052
|
+
max-height: none;
|
|
9053
|
+
}
|
|
9054
|
+
|
|
9055
|
+
/* Stacked card - only bottom edge visible */
|
|
9056
|
+
|
|
9057
|
+
.dndev-stack-item[data-stacked='true'] {
|
|
9058
|
+
max-height: 3.5rem;
|
|
9059
|
+
}
|
|
9060
|
+
|
|
9061
|
+
@media (prefers-reduced-motion: reduce) {
|
|
9062
|
+
|
|
9063
|
+
.dndev-stack-item {
|
|
9064
|
+
transition: none;
|
|
9065
|
+
}
|
|
9066
|
+
}
|
|
9067
|
+
|
|
9068
|
+
/* Card content - hidden when stacked */
|
|
9069
|
+
|
|
9070
|
+
.dndev-stack-item[data-stacked='true'] .dndev-stack-content {
|
|
9071
|
+
opacity: 0;
|
|
9072
|
+
pointer-events: none;
|
|
9073
|
+
}
|
|
9074
|
+
|
|
9075
|
+
/* Stack content wrapper */
|
|
9076
|
+
|
|
9077
|
+
.dndev-stack-content {
|
|
9078
|
+
display: flex;
|
|
9079
|
+
flex-direction: column;
|
|
9080
|
+
gap: var(--gap-sm);
|
|
9081
|
+
padding-bottom: 3.5rem; /* Space for number bar */
|
|
9082
|
+
transition: opacity var(--dur-normal) var(--ease-in-out);
|
|
9083
|
+
}
|
|
9084
|
+
|
|
9085
|
+
/* Number bar - always visible at bottom */
|
|
9086
|
+
|
|
9087
|
+
.dndev-stack-number {
|
|
9088
|
+
position: absolute;
|
|
9089
|
+
inset-inline-start: var(--gap-lg);
|
|
9090
|
+
bottom: 0;
|
|
9091
|
+
height: 3.5rem;
|
|
9092
|
+
display: flex;
|
|
9093
|
+
align-items: center;
|
|
9094
|
+
font-size: var(--font-size-sm);
|
|
9095
|
+
font-weight: var(--font-weight-medium);
|
|
9096
|
+
color: var(--muted-foreground);
|
|
9097
|
+
z-index: 10;
|
|
9098
|
+
}
|
|
9099
|
+
|
|
9100
|
+
/* Body layout */
|
|
9101
|
+
|
|
9102
|
+
.dndev-stacked-cards-body {
|
|
9103
|
+
display: flex;
|
|
9104
|
+
flex-direction: column;
|
|
9105
|
+
gap: var(--gap-sm);
|
|
9106
|
+
width: 100%;
|
|
9107
|
+
align-items: start;
|
|
9108
|
+
}
|
|
9109
|
+
|
|
9110
|
+
@media (width >= 1024px) {
|
|
9111
|
+
|
|
9112
|
+
.dndev-stacked-cards-body {
|
|
9113
|
+
display: grid;
|
|
9114
|
+
grid-template-columns: 1fr auto 1fr;
|
|
9115
|
+
width: 100%;
|
|
9116
|
+
align-items: center;
|
|
9117
|
+
}
|
|
9118
|
+
}
|
|
9119
|
+
|
|
9120
|
+
.dndev-stacked-cards-left {
|
|
9121
|
+
display: flex;
|
|
9122
|
+
flex-direction: column;
|
|
9123
|
+
gap: var(--gap-md);
|
|
9124
|
+
text-align: start;
|
|
9125
|
+
}
|
|
9126
|
+
|
|
9127
|
+
.dndev-stacked-cards-left .dndev-card-header + p {
|
|
9128
|
+
margin-top: 0;
|
|
9129
|
+
}
|
|
9130
|
+
|
|
9131
|
+
.dndev-stacked-cards-separator {
|
|
9132
|
+
display: block;
|
|
9133
|
+
}
|
|
9134
|
+
|
|
9135
|
+
@media (width < 1024px) {
|
|
9136
|
+
|
|
9137
|
+
.dndev-stacked-cards-separator {
|
|
9138
|
+
width: 80% !important;
|
|
9139
|
+
height: 2px !important;
|
|
9140
|
+
margin-inline: auto;
|
|
9141
|
+
margin-block: var(--gap-sm);
|
|
9142
|
+
align-self: center;
|
|
9143
|
+
}
|
|
9144
|
+
}
|
|
9145
|
+
|
|
9146
|
+
@media (width >= 1024px) {
|
|
9147
|
+
|
|
9148
|
+
.dndev-stacked-cards-separator {
|
|
9149
|
+
width: 1px !important;
|
|
9150
|
+
height: 100% !important;
|
|
9151
|
+
align-self: stretch;
|
|
9152
|
+
}
|
|
9153
|
+
}
|
|
9154
|
+
|
|
9155
|
+
.dndev-stacked-cards-right {
|
|
9156
|
+
display: flex;
|
|
9157
|
+
flex-direction: column;
|
|
9158
|
+
justify-content: center;
|
|
9159
|
+
gap: var(--gap-sm);
|
|
9160
|
+
text-align: start;
|
|
9161
|
+
}
|
|
9162
|
+
|
|
9163
|
+
.dndev-stacked-cards-cta {
|
|
9164
|
+
padding-top: var(--gap-sm);
|
|
9165
|
+
}
|
|
9166
|
+
|
|
9167
|
+
/* 6. Animation keyframes */
|
|
9168
|
+
|
|
9169
|
+
/* packages/components/src/styles/animations.css */
|
|
9170
|
+
|
|
9171
|
+
/* ========== UNIVERSAL ANIMATIONS ========== */
|
|
9172
|
+
|
|
9173
|
+
@keyframes universal-float {
|
|
9174
|
+
0%,
|
|
9175
|
+
100% {
|
|
9176
|
+
opacity: var(--opacity-start, 0.3);
|
|
9177
|
+
transform: var(--transform-start, translateY(0) scale(1) rotate(0deg));
|
|
9178
|
+
}
|
|
9179
|
+
|
|
9180
|
+
50% {
|
|
9181
|
+
opacity: var(--opacity-mid, 0.8);
|
|
9182
|
+
transform: var(
|
|
9183
|
+
--transform-mid,
|
|
9184
|
+
translateY(-10px) scale(1.1) rotate(180deg)
|
|
9185
|
+
);
|
|
9186
|
+
}
|
|
9187
|
+
}
|
|
9188
|
+
|
|
9189
|
+
@keyframes universal-slide {
|
|
9190
|
+
0% {
|
|
9191
|
+
opacity: var(--opacity-start, 0);
|
|
9192
|
+
transform: var(--transform-start, translateY(2rem));
|
|
9193
|
+
}
|
|
9194
|
+
|
|
9195
|
+
100% {
|
|
9196
|
+
opacity: var(--opacity-end, 1);
|
|
9197
|
+
transform: var(--transform-end, translateY(0));
|
|
9198
|
+
}
|
|
9199
|
+
}
|
|
9200
|
+
|
|
9201
|
+
@keyframes universal-marquee {
|
|
9202
|
+
from {
|
|
9203
|
+
transform: var(--transform-start, translateX(0));
|
|
9204
|
+
}
|
|
9205
|
+
|
|
9206
|
+
to {
|
|
9207
|
+
transform: var(--transform-end, translateX(-50%));
|
|
9208
|
+
}
|
|
9209
|
+
}
|
|
9210
|
+
|
|
9211
|
+
@keyframes spin {
|
|
9212
|
+
from {
|
|
9213
|
+
transform: rotate(0deg);
|
|
9214
|
+
}
|
|
9215
|
+
to {
|
|
9216
|
+
transform: rotate(360deg);
|
|
9217
|
+
}
|
|
9218
|
+
}
|
|
9219
|
+
|
|
9220
|
+
@keyframes pulse {
|
|
9221
|
+
0%,
|
|
9222
|
+
100% {
|
|
9223
|
+
opacity: 1;
|
|
9224
|
+
}
|
|
9225
|
+
50% {
|
|
9226
|
+
opacity: var(--opacity-muted);
|
|
9227
|
+
}
|
|
9228
|
+
}
|
|
9229
|
+
|
|
9230
|
+
@keyframes bounce {
|
|
9231
|
+
0%,
|
|
9232
|
+
100% {
|
|
9233
|
+
transform: translateY(0);
|
|
9234
|
+
}
|
|
9235
|
+
50% {
|
|
9236
|
+
transform: translateY(-25%);
|
|
9237
|
+
}
|
|
9238
|
+
}
|
|
9239
|
+
|
|
9240
|
+
@keyframes fade-in {
|
|
9241
|
+
from {
|
|
9242
|
+
opacity: 0;
|
|
9243
|
+
}
|
|
9244
|
+
to {
|
|
9245
|
+
opacity: 1;
|
|
9246
|
+
}
|
|
9247
|
+
}
|
|
9248
|
+
|
|
9249
|
+
@keyframes slide-in {
|
|
9250
|
+
from {
|
|
9251
|
+
transform: translateX(-100%);
|
|
9252
|
+
}
|
|
9253
|
+
to {
|
|
9254
|
+
transform: translateX(0);
|
|
9255
|
+
}
|
|
9256
|
+
}
|
|
9257
|
+
|
|
9258
|
+
@keyframes scale-in {
|
|
9259
|
+
from {
|
|
9260
|
+
transform: scale(0.95);
|
|
9261
|
+
opacity: 0;
|
|
9262
|
+
}
|
|
9263
|
+
to {
|
|
9264
|
+
transform: scale(1);
|
|
9265
|
+
opacity: 1;
|
|
9266
|
+
}
|
|
9267
|
+
}
|
|
9268
|
+
|
|
9269
|
+
/* ========== ROUTING ANIMATIONS ========== */
|
|
9270
|
+
|
|
9271
|
+
/* Fade transition (default) */
|
|
8207
9272
|
|
|
8208
9273
|
@keyframes routing-fade-in {
|
|
8209
9274
|
from {
|
|
@@ -9012,28 +10077,262 @@ h4[data-variant='code'] {
|
|
|
9012
10077
|
=========================== */
|
|
9013
10078
|
|
|
9014
10079
|
.prose {
|
|
10080
|
+
color: var(--color-fg);
|
|
9015
10081
|
text-align: start;
|
|
10082
|
+
max-width: 65ch;
|
|
10083
|
+
line-height: 1.75;
|
|
10084
|
+
|
|
10085
|
+
/* ── Headings (typography standards) ──
|
|
10086
|
+
Global heading sizes are for page-level use; .prose scales them down for article context. */
|
|
9016
10087
|
}
|
|
9017
10088
|
|
|
9018
|
-
.prose h1
|
|
9019
|
-
|
|
10089
|
+
.prose h1 {
|
|
10090
|
+
font-size: 2.25rem;
|
|
10091
|
+
font-weight: 800;
|
|
10092
|
+
line-height: 1.111;
|
|
10093
|
+
margin-block-start: 0;
|
|
10094
|
+
margin-block-end: 0.889rem;
|
|
10095
|
+
}
|
|
10096
|
+
|
|
10097
|
+
.prose h2 {
|
|
10098
|
+
font-size: 1.5rem;
|
|
10099
|
+
font-weight: 700;
|
|
10100
|
+
line-height: 1.333;
|
|
10101
|
+
margin-block-start: 2rem;
|
|
10102
|
+
margin-block-end: 1rem;
|
|
10103
|
+
}
|
|
10104
|
+
|
|
10105
|
+
.prose h3 {
|
|
10106
|
+
font-size: 1.25rem;
|
|
10107
|
+
font-weight: 600;
|
|
10108
|
+
line-height: 1.6;
|
|
10109
|
+
margin-block-start: 1.6rem;
|
|
10110
|
+
margin-block-end: 0.6rem;
|
|
10111
|
+
}
|
|
10112
|
+
|
|
10113
|
+
.prose h4,.prose h5,.prose h6 {
|
|
10114
|
+
font-size: 1rem;
|
|
10115
|
+
font-weight: 600;
|
|
10116
|
+
line-height: 1.5;
|
|
10117
|
+
margin-block-start: 1.5rem;
|
|
10118
|
+
margin-block-end: 0.5rem;
|
|
9020
10119
|
}
|
|
9021
10120
|
|
|
10121
|
+
/* ── Block elements ── */
|
|
10122
|
+
|
|
9022
10123
|
.prose p {
|
|
9023
|
-
margin-block:
|
|
10124
|
+
margin-block: 1.25rem;
|
|
10125
|
+
}
|
|
10126
|
+
|
|
10127
|
+
.prose blockquote {
|
|
10128
|
+
font-weight: 500;
|
|
10129
|
+
font-style: italic;
|
|
10130
|
+
color: var(--color-fg-muted, var(--color-fg));
|
|
10131
|
+
border-inline-start: 0.25rem solid var(--color-border);
|
|
10132
|
+
padding-inline-start: 1rem;
|
|
10133
|
+
margin-block: 1.6rem;
|
|
10134
|
+
margin-inline: 0;
|
|
10135
|
+
}
|
|
10136
|
+
|
|
10137
|
+
.prose blockquote p:first-of-type::before {
|
|
10138
|
+
content: open-quote;
|
|
9024
10139
|
}
|
|
9025
10140
|
|
|
10141
|
+
.prose blockquote p:last-of-type::after {
|
|
10142
|
+
content: close-quote;
|
|
10143
|
+
}
|
|
10144
|
+
|
|
10145
|
+
.prose hr {
|
|
10146
|
+
border: none;
|
|
10147
|
+
border-top: 1px solid var(--color-border);
|
|
10148
|
+
margin-block: 3rem;
|
|
10149
|
+
}
|
|
10150
|
+
|
|
10151
|
+
/* ── Lists ── */
|
|
10152
|
+
|
|
9026
10153
|
.prose ul,.prose ol {
|
|
9027
|
-
padding-inline-start:
|
|
9028
|
-
margin-block:
|
|
10154
|
+
padding-inline-start: 1.625rem;
|
|
10155
|
+
margin-block: 1.25rem;
|
|
10156
|
+
}
|
|
10157
|
+
|
|
10158
|
+
.prose ol {
|
|
10159
|
+
list-style-type: decimal;
|
|
10160
|
+
}
|
|
10161
|
+
|
|
10162
|
+
.prose ul {
|
|
10163
|
+
list-style-type: disc;
|
|
9029
10164
|
}
|
|
9030
10165
|
|
|
9031
10166
|
.prose li {
|
|
9032
|
-
margin-block:
|
|
9033
|
-
padding-inline-start:
|
|
10167
|
+
margin-block: 0.5rem;
|
|
10168
|
+
padding-inline-start: 0.375rem;
|
|
10169
|
+
}
|
|
10170
|
+
|
|
10171
|
+
/* Nested lists: tighter spacing */
|
|
10172
|
+
|
|
10173
|
+
.prose li > ul,.prose li > ol {
|
|
10174
|
+
margin-block: 0.5rem;
|
|
10175
|
+
}
|
|
10176
|
+
|
|
10177
|
+
/* ── Links ── */
|
|
10178
|
+
|
|
10179
|
+
.prose a {
|
|
10180
|
+
color: var(--color-accent, var(--color-fg));
|
|
10181
|
+
text-decoration: underline;
|
|
10182
|
+
font-weight: 500;
|
|
10183
|
+
text-underline-offset: 2px;
|
|
10184
|
+
}
|
|
10185
|
+
|
|
10186
|
+
/* ── Inline elements ── */
|
|
10187
|
+
|
|
10188
|
+
.prose strong {
|
|
10189
|
+
font-weight: 600;
|
|
10190
|
+
}
|
|
10191
|
+
|
|
10192
|
+
/* Inline code (not inside pre) */
|
|
10193
|
+
|
|
10194
|
+
.prose :not(pre) > code {
|
|
10195
|
+
font-size: 0.875em;
|
|
10196
|
+
font-weight: 600;
|
|
10197
|
+
background: var(
|
|
10198
|
+
--color-surface-raised,
|
|
10199
|
+
var(--color-bg-muted, rgba(0, 0, 0, 0.05))
|
|
10200
|
+
);
|
|
10201
|
+
padding: 0.2em 0.4em;
|
|
10202
|
+
border-radius: 0.25rem;
|
|
10203
|
+
}
|
|
10204
|
+
|
|
10205
|
+
/* Code blocks */
|
|
10206
|
+
|
|
10207
|
+
.prose pre {
|
|
10208
|
+
overflow-x: auto;
|
|
10209
|
+
font-weight: 400;
|
|
10210
|
+
font-size: 0.875rem;
|
|
10211
|
+
line-height: 1.714;
|
|
10212
|
+
margin-block: 1.714rem;
|
|
10213
|
+
border-radius: var(--radius-md, 0.375rem);
|
|
10214
|
+
}
|
|
10215
|
+
|
|
10216
|
+
.prose pre code {
|
|
10217
|
+
background: transparent;
|
|
10218
|
+
border: none;
|
|
10219
|
+
padding: 0;
|
|
10220
|
+
font-weight: inherit;
|
|
10221
|
+
font-size: inherit;
|
|
10222
|
+
}
|
|
10223
|
+
|
|
10224
|
+
/* ── Tables (typography standards) ── */
|
|
10225
|
+
|
|
10226
|
+
.prose table {
|
|
10227
|
+
width: 100%;
|
|
10228
|
+
font-size: 0.875rem;
|
|
10229
|
+
line-height: 1.714;
|
|
10230
|
+
margin-block: 2rem;
|
|
10231
|
+
text-indent: 0;
|
|
10232
|
+
border-collapse: collapse;
|
|
10233
|
+
}
|
|
10234
|
+
|
|
10235
|
+
.prose thead {
|
|
10236
|
+
border-bottom: 1px solid var(--color-border);
|
|
10237
|
+
}
|
|
10238
|
+
|
|
10239
|
+
.prose thead th {
|
|
10240
|
+
color: var(--color-fg);
|
|
10241
|
+
font-weight: 600;
|
|
10242
|
+
vertical-align: bottom;
|
|
10243
|
+
text-align: start;
|
|
10244
|
+
padding: 0 0.571rem 0.571rem;
|
|
10245
|
+
}
|
|
10246
|
+
|
|
10247
|
+
.prose thead th:first-child {
|
|
10248
|
+
padding-inline-start: 0;
|
|
10249
|
+
}
|
|
10250
|
+
|
|
10251
|
+
.prose thead th:last-child {
|
|
10252
|
+
padding-inline-end: 0;
|
|
10253
|
+
}
|
|
10254
|
+
|
|
10255
|
+
.prose tbody tr {
|
|
10256
|
+
border-bottom: 1px solid var(--color-border-muted, var(--color-border));
|
|
10257
|
+
}
|
|
10258
|
+
|
|
10259
|
+
.prose tbody tr:last-child {
|
|
10260
|
+
border-bottom: none;
|
|
10261
|
+
}
|
|
10262
|
+
|
|
10263
|
+
.prose tbody td {
|
|
10264
|
+
vertical-align: baseline;
|
|
10265
|
+
text-align: start;
|
|
10266
|
+
padding: 0.571rem;
|
|
10267
|
+
}
|
|
10268
|
+
|
|
10269
|
+
.prose tbody td:first-child {
|
|
10270
|
+
padding-inline-start: 0;
|
|
10271
|
+
}
|
|
10272
|
+
|
|
10273
|
+
.prose tbody td:last-child {
|
|
10274
|
+
padding-inline-end: 0;
|
|
10275
|
+
}
|
|
10276
|
+
|
|
10277
|
+
/* ── Media ── */
|
|
10278
|
+
|
|
10279
|
+
.prose img,.prose video {
|
|
10280
|
+
max-width: 100%;
|
|
10281
|
+
height: auto;
|
|
10282
|
+
margin-block: 2rem;
|
|
10283
|
+
}
|
|
10284
|
+
|
|
10285
|
+
.prose figure {
|
|
10286
|
+
margin-block: 2rem;
|
|
10287
|
+
margin-inline: 0;
|
|
10288
|
+
}
|
|
10289
|
+
|
|
10290
|
+
.prose figure > img,.prose figure > video {
|
|
10291
|
+
margin-block: 0;
|
|
10292
|
+
}
|
|
10293
|
+
|
|
10294
|
+
.prose figcaption {
|
|
10295
|
+
color: var(--color-fg-muted, var(--color-fg));
|
|
10296
|
+
font-size: 0.875rem;
|
|
10297
|
+
line-height: 1.4;
|
|
10298
|
+
margin-block-start: 0.857rem;
|
|
10299
|
+
}
|
|
10300
|
+
|
|
10301
|
+
/* ── Keyboard ── */
|
|
10302
|
+
|
|
10303
|
+
.prose kbd {
|
|
10304
|
+
font-weight: 500;
|
|
10305
|
+
font-family: inherit;
|
|
10306
|
+
font-size: 0.875em;
|
|
10307
|
+
color: var(--color-fg);
|
|
10308
|
+
background: var(
|
|
10309
|
+
--color-surface-raised,
|
|
10310
|
+
var(--color-bg-muted, rgba(0, 0, 0, 0.05))
|
|
10311
|
+
);
|
|
10312
|
+
padding: 0.2em 0.4em;
|
|
10313
|
+
border-radius: 0.25rem;
|
|
10314
|
+
box-shadow:
|
|
10315
|
+
0 0 0 1px var(--color-border),
|
|
10316
|
+
0 2px 0 var(--color-border);
|
|
10317
|
+
}
|
|
10318
|
+
|
|
10319
|
+
/* ── Definition lists ── */
|
|
10320
|
+
|
|
10321
|
+
.prose dl {
|
|
10322
|
+
margin-block: 1.25rem;
|
|
9034
10323
|
}
|
|
9035
10324
|
|
|
9036
|
-
|
|
10325
|
+
.prose dt {
|
|
10326
|
+
font-weight: 600;
|
|
10327
|
+
margin-block-start: 1.25rem;
|
|
10328
|
+
}
|
|
10329
|
+
|
|
10330
|
+
.prose dd {
|
|
10331
|
+
margin-inline-start: 1.625rem;
|
|
10332
|
+
margin-block-start: 0.5rem;
|
|
10333
|
+
}
|
|
10334
|
+
|
|
10335
|
+
/* ── Edge cleanup ── */
|
|
9037
10336
|
|
|
9038
10337
|
.prose > :first-child {
|
|
9039
10338
|
margin-block-start: 0;
|
|
@@ -9511,10 +10810,9 @@ main[role='main'][data-routing-animation='none'] {
|
|
|
9511
10810
|
max-height: none;
|
|
9512
10811
|
overflow-y: visible;
|
|
9513
10812
|
overflow-x: hidden;
|
|
9514
|
-
grid-template-rows:
|
|
9515
|
-
|
|
9516
|
-
|
|
9517
|
-
) auto;
|
|
10813
|
+
grid-template-rows:
|
|
10814
|
+
var(--header-height) minmax(calc(100dvh - var(--header-height)), auto)
|
|
10815
|
+
auto;
|
|
9518
10816
|
}
|
|
9519
10817
|
|
|
9520
10818
|
.dndev-layout[data-footer-mode='scroll'] header[role='banner'] {
|
|
@@ -9555,10 +10853,9 @@ main[role='main'][data-routing-animation='none'] {
|
|
|
9555
10853
|
max-height: none;
|
|
9556
10854
|
overflow-y: visible;
|
|
9557
10855
|
overflow-x: hidden;
|
|
9558
|
-
grid-template-rows:
|
|
9559
|
-
|
|
9560
|
-
|
|
9561
|
-
) auto;
|
|
10856
|
+
grid-template-rows:
|
|
10857
|
+
var(--header-height) minmax(calc(100dvh - var(--header-height)), auto)
|
|
10858
|
+
auto;
|
|
9562
10859
|
}
|
|
9563
10860
|
|
|
9564
10861
|
.dndev-layout header[role='banner'] {
|
|
@@ -10352,7 +11649,7 @@ footer[role='contentinfo'] a:not(.dndev-interactive):hover {
|
|
|
10352
11649
|
|
|
10353
11650
|
.breadcrumb-label {
|
|
10354
11651
|
color: var(--foreground);
|
|
10355
|
-
font-weight:
|
|
11652
|
+
font-weight: var(--font-weight-medium);
|
|
10356
11653
|
}
|
|
10357
11654
|
|
|
10358
11655
|
/* ===========================
|
|
@@ -10698,7 +11995,7 @@ footer[role='contentinfo'] a:not(.dndev-interactive):hover {
|
|
|
10698
11995
|
|
|
10699
11996
|
.app-branding-title {
|
|
10700
11997
|
font-size: var(--font-size-xl);
|
|
10701
|
-
font-weight:
|
|
11998
|
+
font-weight: var(--font-weight-bold);
|
|
10702
11999
|
overflow: hidden;
|
|
10703
12000
|
text-overflow: ellipsis;
|
|
10704
12001
|
white-space: nowrap;
|