@deepgram/styles 0.0.8 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/design-system.yaml +2591 -0
- package/dist/deepgram.css +1 -1
- package/dist/deepgram.expanded.css +450 -644
- package/lib/deepgram.css +391 -503
- package/package.json +7 -3
- package/tailwind.config.js +78 -109
package/lib/deepgram.css
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* - BEM methodology with Tailwind utilities
|
|
11
11
|
* - Consistent spacing and typography
|
|
12
12
|
*
|
|
13
|
-
* @version
|
|
13
|
+
* @version 1.0
|
|
14
14
|
* @author Deepgram Starter UIs Team
|
|
15
15
|
*/
|
|
16
16
|
|
|
@@ -24,38 +24,29 @@
|
|
|
24
24
|
========================================================================== */
|
|
25
25
|
|
|
26
26
|
@layer components {
|
|
27
|
-
/* Button
|
|
27
|
+
/* Primary Button */
|
|
28
|
+
|
|
28
29
|
.dg-btn {
|
|
29
|
-
@apply inline-flex items-center justify-center;
|
|
30
|
-
@apply
|
|
31
|
-
@apply
|
|
32
|
-
@apply rounded capitalize whitespace-nowrap;
|
|
33
|
-
@apply cursor-pointer select-none;
|
|
34
|
-
@apply outline-none w-fit;
|
|
35
|
-
@apply disabled:opacity-50 disabled:cursor-not-allowed;
|
|
30
|
+
@apply inline-flex items-center justify-center px-5 py-1.5 leading-[2];
|
|
31
|
+
@apply font-dg-sans font-semibold text-base rounded capitalize whitespace-nowrap;
|
|
32
|
+
@apply cursor-pointer select-none outline-none w-fit disabled:opacity-50 disabled:cursor-not-allowed;
|
|
36
33
|
gap: 0.5rem;
|
|
37
34
|
height: 3rem;
|
|
38
35
|
}
|
|
39
36
|
|
|
40
|
-
/* Button Modifier: Small */
|
|
41
37
|
.dg-btn--sm {
|
|
42
|
-
@apply px-5 py-2;
|
|
43
|
-
@apply font-bold text-sm;
|
|
38
|
+
@apply px-5 py-2 font-bold text-sm;
|
|
44
39
|
height: 2.25rem;
|
|
45
40
|
}
|
|
46
41
|
|
|
47
|
-
/* Button Modifier: Primary - Gradient border with glow effect */
|
|
48
42
|
.dg-btn--primary {
|
|
49
|
-
@apply border border-transparent relative dg-text-white;
|
|
50
|
-
@apply dg-gradient-border dg-glow-cyan-green;
|
|
43
|
+
@apply border border-transparent relative dg-text-white dg-gradient-border dg-glow-cyan-green;
|
|
51
44
|
}
|
|
52
45
|
|
|
53
46
|
.dg-btn--primary:hover {
|
|
54
|
-
@apply border-transparent text-black;
|
|
55
|
-
@apply dg-bg-reset bg-white dg-shadow-subtle;
|
|
47
|
+
@apply border-transparent text-black dg-bg-reset bg-white dg-shadow-subtle;
|
|
56
48
|
}
|
|
57
49
|
|
|
58
|
-
/* Button Modifier: Secondary - White background with black text */
|
|
59
50
|
.dg-btn--secondary {
|
|
60
51
|
@apply border border-transparent bg-white text-black;
|
|
61
52
|
}
|
|
@@ -64,17 +55,14 @@
|
|
|
64
55
|
@apply border border-white bg-black dg-text-white;
|
|
65
56
|
}
|
|
66
57
|
|
|
67
|
-
/* Button Modifier: Ghost - Transparent with grey border */
|
|
68
58
|
.dg-btn--ghost {
|
|
69
59
|
@apply border border-dg-slate bg-transparent dg-text-white;
|
|
70
60
|
}
|
|
71
61
|
|
|
72
62
|
.dg-btn--ghost:hover {
|
|
73
|
-
@apply border-transparent text-black;
|
|
74
|
-
@apply dg-bg-reset bg-white dg-shadow-subtle;
|
|
63
|
+
@apply border-transparent text-black dg-bg-reset bg-white dg-shadow-subtle;
|
|
75
64
|
}
|
|
76
65
|
|
|
77
|
-
/* Button Modifier: Danger Ghost - For destructive actions */
|
|
78
66
|
.dg-btn--danger-ghost {
|
|
79
67
|
@apply border border-dg-danger bg-transparent dg-text-white;
|
|
80
68
|
}
|
|
@@ -83,7 +71,6 @@
|
|
|
83
71
|
@apply border-transparent bg-dg-danger dg-text-white;
|
|
84
72
|
}
|
|
85
73
|
|
|
86
|
-
/* Button Modifier: Icon Only */
|
|
87
74
|
.dg-btn--icon-only {
|
|
88
75
|
@apply px-2 size-12;
|
|
89
76
|
}
|
|
@@ -92,7 +79,6 @@
|
|
|
92
79
|
@apply size-6;
|
|
93
80
|
}
|
|
94
81
|
|
|
95
|
-
/* Button Modifier: Collapse - Responsive mobile-adaptive */
|
|
96
82
|
.dg-btn--collapse {
|
|
97
83
|
@apply inline-flex;
|
|
98
84
|
}
|
|
@@ -103,17 +89,40 @@
|
|
|
103
89
|
}
|
|
104
90
|
}
|
|
105
91
|
|
|
106
|
-
|
|
107
|
-
.dg-btn i,
|
|
108
|
-
.dg-btn svg {
|
|
92
|
+
.dg-btn i, .dg-btn svg {
|
|
109
93
|
flex-shrink: 0;
|
|
110
94
|
}
|
|
111
95
|
|
|
112
|
-
/*
|
|
113
|
-
|
|
114
|
-
|
|
96
|
+
/* Secondary Button */
|
|
97
|
+
|
|
98
|
+
/* Ghost Button */
|
|
99
|
+
|
|
100
|
+
/* Danger Ghost Button */
|
|
101
|
+
|
|
102
|
+
/* Icon Button */
|
|
103
|
+
|
|
104
|
+
/* Small Button */
|
|
105
|
+
|
|
106
|
+
/* Collapse Button */
|
|
107
|
+
|
|
108
|
+
/* Button Group */
|
|
109
|
+
|
|
110
|
+
.dg-action-group {
|
|
111
|
+
@apply flex flex-wrap justify-center gap-4;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
@media (max-width: 640px) {
|
|
115
|
+
.dg-action-group {
|
|
116
|
+
@apply flex-col items-stretch;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.dg-action-group .dg-btn {
|
|
120
|
+
@apply w-full;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/* Section */
|
|
115
125
|
|
|
116
|
-
/* Section Component - Reusable content section */
|
|
117
126
|
.dg-section {
|
|
118
127
|
@apply w-full;
|
|
119
128
|
padding: 0.75rem;
|
|
@@ -166,18 +175,11 @@
|
|
|
166
175
|
@apply rounded-lg border border-dg-pebble bg-dg-charcoal shadow-dg-md;
|
|
167
176
|
}
|
|
168
177
|
|
|
169
|
-
/* Fieldset-style section with legend title */
|
|
170
178
|
.dg-section--fieldset {
|
|
171
179
|
@apply rounded-lg border border-dg-pebble relative;
|
|
172
180
|
padding-top: 2rem;
|
|
173
181
|
}
|
|
174
182
|
|
|
175
|
-
@media (min-width: 640px) {
|
|
176
|
-
.dg-section--fieldset {
|
|
177
|
-
padding-top: 2.5rem;
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
|
|
181
183
|
.dg-section--fieldset .dg-section-heading {
|
|
182
184
|
@apply absolute bg-dg-background dg-text-muted uppercase tracking-wide font-semibold;
|
|
183
185
|
@apply text-base px-2 m-0;
|
|
@@ -186,15 +188,24 @@
|
|
|
186
188
|
}
|
|
187
189
|
|
|
188
190
|
@media (min-width: 640px) {
|
|
191
|
+
.dg-section--fieldset {
|
|
192
|
+
padding-top: 2.5rem;
|
|
193
|
+
}
|
|
194
|
+
|
|
189
195
|
.dg-section--fieldset .dg-section-heading {
|
|
190
196
|
font-size: 1.125rem;
|
|
191
197
|
}
|
|
192
198
|
}
|
|
193
199
|
|
|
194
|
-
/* Card
|
|
200
|
+
/* Card */
|
|
201
|
+
|
|
195
202
|
.dg-card {
|
|
196
|
-
@apply w-full rounded-lg border border-dg-pebble bg-dg-charcoal flex
|
|
197
|
-
@apply p-3 mb-3 shadow-dg-sm transition-shadow duration-200;
|
|
203
|
+
@apply w-full rounded-lg border border-dg-pebble bg-dg-charcoal flex;
|
|
204
|
+
@apply flex-col p-3 mb-3 shadow-dg-sm transition-shadow duration-200;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.dg-card:hover {
|
|
208
|
+
@apply shadow-dg-md;
|
|
198
209
|
}
|
|
199
210
|
|
|
200
211
|
@media (min-width: 640px) {
|
|
@@ -209,11 +220,6 @@
|
|
|
209
220
|
}
|
|
210
221
|
}
|
|
211
222
|
|
|
212
|
-
.dg-card:hover {
|
|
213
|
-
@apply shadow-dg-md;
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
/* Card Modifiers */
|
|
217
223
|
.dg-card--compact {
|
|
218
224
|
@apply p-2;
|
|
219
225
|
}
|
|
@@ -244,15 +250,12 @@
|
|
|
244
250
|
@apply border-2 border-dg-slate;
|
|
245
251
|
}
|
|
246
252
|
|
|
247
|
-
/* Card with structured layout (image, header, body, footer) */
|
|
248
253
|
.dg-card--structured {
|
|
249
254
|
@apply p-0 justify-between;
|
|
250
255
|
}
|
|
251
256
|
|
|
252
|
-
/* Selectable Card */
|
|
253
257
|
.dg-card--selectable {
|
|
254
|
-
@apply cursor-pointer transition-all duration-200;
|
|
255
|
-
@apply border-2 border-dg-pebble;
|
|
258
|
+
@apply cursor-pointer transition-all duration-200 border-2 border-dg-pebble;
|
|
256
259
|
padding: 1.25rem;
|
|
257
260
|
}
|
|
258
261
|
|
|
@@ -265,7 +268,6 @@
|
|
|
265
268
|
background: rgba(19, 239, 149, 0.05);
|
|
266
269
|
}
|
|
267
270
|
|
|
268
|
-
/* Screen reader only utility */
|
|
269
271
|
.dg-sr-only {
|
|
270
272
|
@apply sr-only;
|
|
271
273
|
}
|
|
@@ -287,36 +289,26 @@
|
|
|
287
289
|
@apply flex-1 flex flex-col gap-1;
|
|
288
290
|
}
|
|
289
291
|
|
|
290
|
-
@media (max-width: 767px) {
|
|
291
|
-
.dg-card--selectable__content {
|
|
292
|
-
@apply flex-row items-center gap-3;
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
|
|
296
292
|
.dg-card--selectable .dg-item-title {
|
|
297
293
|
@apply text-base font-semibold dg-text-white;
|
|
298
294
|
display: flex;
|
|
299
295
|
align-items: center;
|
|
300
296
|
}
|
|
301
297
|
|
|
298
|
+
.dg-card--selectable .dg-prose {
|
|
299
|
+
@apply text-sm dg-text-muted;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
302
|
@media (max-width: 767px) {
|
|
303
|
-
.dg-card--
|
|
304
|
-
|
|
305
|
-
flex-shrink: 0;
|
|
303
|
+
.dg-card--selectable__content {
|
|
304
|
+
@apply flex-row items-center gap-3;
|
|
306
305
|
}
|
|
307
|
-
}
|
|
308
306
|
|
|
309
|
-
@media (min-width: 768px) {
|
|
310
307
|
.dg-card--selectable .dg-item-title {
|
|
311
|
-
margin-bottom: 0
|
|
308
|
+
margin-bottom: 0;
|
|
309
|
+
flex-shrink: 0;
|
|
312
310
|
}
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
.dg-card--selectable .dg-prose {
|
|
316
|
-
@apply text-sm dg-text-muted;
|
|
317
|
-
}
|
|
318
311
|
|
|
319
|
-
@media (max-width: 767px) {
|
|
320
312
|
.dg-card--selectable .dg-prose {
|
|
321
313
|
flex: 1;
|
|
322
314
|
white-space: nowrap;
|
|
@@ -325,10 +317,14 @@
|
|
|
325
317
|
}
|
|
326
318
|
}
|
|
327
319
|
|
|
328
|
-
|
|
320
|
+
@media (min-width: 768px) {
|
|
321
|
+
.dg-card--selectable .dg-item-title {
|
|
322
|
+
margin-bottom: 0.25rem;
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
|
|
329
326
|
.dg-card--file-upload {
|
|
330
|
-
@apply cursor-pointer transition-all duration-200;
|
|
331
|
-
@apply border-2 border-dashed border-dg-pebble;
|
|
327
|
+
@apply cursor-pointer transition-all duration-200 border-2 border-dashed border-dg-pebble;
|
|
332
328
|
padding: 1.25rem;
|
|
333
329
|
}
|
|
334
330
|
|
|
@@ -341,8 +337,7 @@
|
|
|
341
337
|
background: rgba(19, 239, 149, 0.05);
|
|
342
338
|
}
|
|
343
339
|
|
|
344
|
-
.dg-card--file-upload input[type="file"],
|
|
345
|
-
.dg-card--file-upload input[type="checkbox"] {
|
|
340
|
+
.dg-card--file-upload input[type="file"], .dg-card--file-upload input[type="checkbox"] {
|
|
346
341
|
@apply sr-only;
|
|
347
342
|
}
|
|
348
343
|
|
|
@@ -355,36 +350,26 @@
|
|
|
355
350
|
@apply flex-1 flex flex-col gap-1;
|
|
356
351
|
}
|
|
357
352
|
|
|
358
|
-
@media (max-width: 767px) {
|
|
359
|
-
.dg-card--file-upload__content {
|
|
360
|
-
@apply flex-row items-center gap-3;
|
|
361
|
-
}
|
|
362
|
-
}
|
|
363
|
-
|
|
364
353
|
.dg-card--file-upload .dg-item-title {
|
|
365
354
|
@apply text-base font-semibold dg-text-white;
|
|
366
355
|
display: flex;
|
|
367
356
|
align-items: center;
|
|
368
357
|
}
|
|
369
358
|
|
|
359
|
+
.dg-card--file-upload .dg-prose {
|
|
360
|
+
@apply text-sm dg-text-muted;
|
|
361
|
+
}
|
|
362
|
+
|
|
370
363
|
@media (max-width: 767px) {
|
|
371
|
-
.dg-card--file-
|
|
372
|
-
|
|
373
|
-
flex-shrink: 0;
|
|
364
|
+
.dg-card--file-upload__content {
|
|
365
|
+
@apply flex-row items-center gap-3;
|
|
374
366
|
}
|
|
375
|
-
}
|
|
376
367
|
|
|
377
|
-
@media (min-width: 768px) {
|
|
378
368
|
.dg-card--file-upload .dg-item-title {
|
|
379
|
-
margin-bottom: 0
|
|
369
|
+
margin-bottom: 0;
|
|
370
|
+
flex-shrink: 0;
|
|
380
371
|
}
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
.dg-card--file-upload .dg-prose {
|
|
384
|
-
@apply text-sm dg-text-muted;
|
|
385
|
-
}
|
|
386
372
|
|
|
387
|
-
@media (max-width: 767px) {
|
|
388
373
|
.dg-card--file-upload .dg-prose {
|
|
389
374
|
flex: 1;
|
|
390
375
|
white-space: nowrap;
|
|
@@ -393,17 +378,21 @@
|
|
|
393
378
|
}
|
|
394
379
|
}
|
|
395
380
|
|
|
396
|
-
|
|
381
|
+
@media (min-width: 768px) {
|
|
382
|
+
.dg-card--file-upload .dg-item-title {
|
|
383
|
+
margin-bottom: 0.25rem;
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
|
|
397
387
|
.dg-card__image {
|
|
398
388
|
@apply w-full overflow-hidden flex-shrink-0;
|
|
399
|
-
border-radius: 0.5rem 0.5rem 0 0;
|
|
389
|
+
border-radius: 0.5rem 0.5rem 0 0;
|
|
400
390
|
}
|
|
401
391
|
|
|
402
392
|
.dg-card__image img {
|
|
403
393
|
@apply w-full h-full object-cover block;
|
|
404
394
|
}
|
|
405
395
|
|
|
406
|
-
/* Card Image Size Modifiers */
|
|
407
396
|
.dg-card__image--small {
|
|
408
397
|
@apply h-[7.5rem];
|
|
409
398
|
}
|
|
@@ -420,29 +409,14 @@
|
|
|
420
409
|
@apply aspect-[4/3] h-auto;
|
|
421
410
|
}
|
|
422
411
|
|
|
423
|
-
/* Card Icon */
|
|
424
412
|
.dg-card__icon {
|
|
425
413
|
@apply flex items-center p-3 pt-6;
|
|
426
414
|
}
|
|
427
415
|
|
|
428
|
-
|
|
429
|
-
.dg-card__icon {
|
|
430
|
-
@apply p-4 pt-8;
|
|
431
|
-
}
|
|
432
|
-
}
|
|
433
|
-
|
|
434
|
-
@media (min-width: 1024px) {
|
|
435
|
-
.dg-card__icon {
|
|
436
|
-
@apply px-6 pb-6 pt-10;
|
|
437
|
-
}
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
.dg-card__icon i,
|
|
441
|
-
.dg-card__icon svg {
|
|
416
|
+
.dg-card__icon i, .dg-card__icon svg {
|
|
442
417
|
@apply text-5xl dg-text-primary;
|
|
443
418
|
}
|
|
444
419
|
|
|
445
|
-
/* Card Icon Alignment Modifiers */
|
|
446
420
|
.dg-card__icon--left {
|
|
447
421
|
@apply justify-start;
|
|
448
422
|
}
|
|
@@ -455,7 +429,18 @@
|
|
|
455
429
|
@apply justify-end;
|
|
456
430
|
}
|
|
457
431
|
|
|
458
|
-
|
|
432
|
+
@media (min-width: 640px) {
|
|
433
|
+
.dg-card__icon {
|
|
434
|
+
@apply p-4 pt-8;
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
@media (min-width: 1024px) {
|
|
439
|
+
.dg-card__icon {
|
|
440
|
+
@apply px-6 pb-6 pt-10;
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
|
|
459
444
|
.dg-card__header {
|
|
460
445
|
@apply flex flex-col gap-2 p-3;
|
|
461
446
|
}
|
|
@@ -472,7 +457,6 @@
|
|
|
472
457
|
}
|
|
473
458
|
}
|
|
474
459
|
|
|
475
|
-
/* Card Body */
|
|
476
460
|
.dg-card__body {
|
|
477
461
|
@apply flex flex-col gap-3 p-3 flex-1;
|
|
478
462
|
}
|
|
@@ -489,9 +473,13 @@
|
|
|
489
473
|
}
|
|
490
474
|
}
|
|
491
475
|
|
|
492
|
-
/* Card Footer */
|
|
493
476
|
.dg-card__footer {
|
|
494
|
-
@apply flex items-center gap-3 p-3 border-t border-transparent
|
|
477
|
+
@apply flex items-center gap-3 p-3 border-t border-transparent;
|
|
478
|
+
@apply mt-auto;
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
.dg-card__footer--bordered {
|
|
482
|
+
@apply border-t-dg-pebble;
|
|
495
483
|
}
|
|
496
484
|
|
|
497
485
|
@media (min-width: 640px) {
|
|
@@ -506,22 +494,28 @@
|
|
|
506
494
|
}
|
|
507
495
|
}
|
|
508
496
|
|
|
509
|
-
/*
|
|
510
|
-
.dg-card__footer--bordered {
|
|
511
|
-
@apply border-t-dg-pebble;
|
|
512
|
-
}
|
|
497
|
+
/* Code Block */
|
|
513
498
|
|
|
514
|
-
/* Code Block Component */
|
|
515
499
|
.dg-code-block {
|
|
516
500
|
@apply w-full rounded-lg border border-dg-pebble bg-dg-charcoal overflow-auto;
|
|
517
501
|
@apply p-2 my-3 max-h-[12.5rem];
|
|
518
502
|
-webkit-overflow-scrolling: touch;
|
|
519
503
|
}
|
|
520
504
|
|
|
505
|
+
.dg-code-block pre {
|
|
506
|
+
@apply m-0 p-0 font-dg-mono text-xs dg-text-fog whitespace-pre-wrap;
|
|
507
|
+
@apply break-words;
|
|
508
|
+
line-height: 1.3;
|
|
509
|
+
}
|
|
510
|
+
|
|
521
511
|
@media (min-width: 640px) {
|
|
522
512
|
.dg-code-block {
|
|
523
513
|
@apply p-3 my-4 max-h-[15.625rem];
|
|
524
514
|
}
|
|
515
|
+
|
|
516
|
+
.dg-code-block pre {
|
|
517
|
+
@apply text-sm;
|
|
518
|
+
}
|
|
525
519
|
}
|
|
526
520
|
|
|
527
521
|
@media (min-width: 1024px) {
|
|
@@ -530,17 +524,6 @@
|
|
|
530
524
|
}
|
|
531
525
|
}
|
|
532
526
|
|
|
533
|
-
.dg-code-block pre {
|
|
534
|
-
@apply m-0 p-0 font-dg-mono text-xs dg-text-fog whitespace-pre-wrap break-words;
|
|
535
|
-
line-height: 1.3;
|
|
536
|
-
}
|
|
537
|
-
|
|
538
|
-
@media (min-width: 640px) {
|
|
539
|
-
.dg-code-block pre {
|
|
540
|
-
@apply text-sm;
|
|
541
|
-
}
|
|
542
|
-
}
|
|
543
|
-
|
|
544
527
|
.dg-code-block--compact {
|
|
545
528
|
@apply max-h-[7.5rem] p-1;
|
|
546
529
|
}
|
|
@@ -571,11 +554,8 @@
|
|
|
571
554
|
@apply overflow-visible max-h-none;
|
|
572
555
|
}
|
|
573
556
|
|
|
574
|
-
/*
|
|
575
|
-
TYPOGRAPHY COMPONENTS
|
|
576
|
-
========================================================================== */
|
|
557
|
+
/* Hero Section */
|
|
577
558
|
|
|
578
|
-
/* Hero Title */
|
|
579
559
|
.dg-hero-title {
|
|
580
560
|
@apply text-center font-bold font-dg-noto text-5xl leading-tight mb-6;
|
|
581
561
|
@apply bg-gradient-to-r from-dg-secondary to-dg-primary bg-clip-text;
|
|
@@ -585,57 +565,18 @@
|
|
|
585
565
|
font-kerning: normal;
|
|
586
566
|
}
|
|
587
567
|
|
|
588
|
-
@media (max-width: 1024px) {
|
|
589
|
-
.dg-hero-title {
|
|
590
|
-
@apply text-4xl;
|
|
591
|
-
}
|
|
592
|
-
}
|
|
593
|
-
|
|
594
|
-
@media (max-width: 768px) {
|
|
595
|
-
.dg-hero-title {
|
|
596
|
-
@apply text-3xl;
|
|
597
|
-
}
|
|
598
|
-
}
|
|
599
|
-
|
|
600
|
-
@media (max-width: 640px) {
|
|
601
|
-
.dg-hero-title {
|
|
602
|
-
@apply text-2xl;
|
|
603
|
-
}
|
|
604
|
-
}
|
|
605
|
-
|
|
606
|
-
/* Hero Section Container */
|
|
607
568
|
.dg-hero {
|
|
608
569
|
@apply w-full text-center py-16 px-4;
|
|
609
570
|
}
|
|
610
571
|
|
|
611
|
-
@media (max-width: 768px) {
|
|
612
|
-
.dg-hero {
|
|
613
|
-
@apply py-12 px-4;
|
|
614
|
-
}
|
|
615
|
-
}
|
|
616
|
-
|
|
617
|
-
@media (max-width: 640px) {
|
|
618
|
-
.dg-hero {
|
|
619
|
-
@apply py-8 px-4;
|
|
620
|
-
}
|
|
621
|
-
}
|
|
622
|
-
|
|
623
|
-
/* Hero Content Container */
|
|
624
572
|
.dg-hero__content {
|
|
625
573
|
@apply flex flex-col gap-6 mx-auto max-w-[53.125rem];
|
|
626
574
|
}
|
|
627
575
|
|
|
628
|
-
@media (max-width: 768px) {
|
|
629
|
-
.dg-hero__content {
|
|
630
|
-
@apply gap-5;
|
|
631
|
-
}
|
|
632
|
-
}
|
|
633
|
-
|
|
634
|
-
/* Hero Announcement Banner */
|
|
635
576
|
.dg-hero__announcement {
|
|
636
|
-
@apply inline-flex items-center justify-center rounded-full border;
|
|
637
|
-
@apply
|
|
638
|
-
@apply
|
|
577
|
+
@apply inline-flex items-center justify-center rounded-full border bg-dg-translucent;
|
|
578
|
+
@apply border-dg-slate/30 py-2 px-5 mx-auto mb-2 no-underline;
|
|
579
|
+
@apply cursor-pointer w-fit gap-3 transition-all duration-200;
|
|
639
580
|
}
|
|
640
581
|
|
|
641
582
|
.dg-hero__announcement:hover {
|
|
@@ -648,49 +589,69 @@
|
|
|
648
589
|
@apply dg-text-white text-sm font-normal whitespace-nowrap;
|
|
649
590
|
}
|
|
650
591
|
|
|
651
|
-
@media (max-width: 640px) {
|
|
652
|
-
.dg-hero__announcement-text {
|
|
653
|
-
@apply text-xs whitespace-normal;
|
|
654
|
-
}
|
|
655
|
-
}
|
|
656
|
-
|
|
657
592
|
.dg-hero__announcement-cta {
|
|
658
|
-
@apply inline-flex items-center dg-text-secondary text-sm font-semibold gap-2
|
|
593
|
+
@apply inline-flex items-center dg-text-secondary text-sm font-semibold gap-2;
|
|
594
|
+
@apply transition-[gap] duration-200;
|
|
659
595
|
}
|
|
660
596
|
|
|
661
597
|
.dg-hero__announcement:hover .dg-hero__announcement-cta {
|
|
662
598
|
@apply gap-3;
|
|
663
599
|
}
|
|
664
600
|
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
}
|
|
601
|
+
.dg-hero__body {
|
|
602
|
+
@apply text-center dg-text-fog text-lg leading-7 font-normal mx-auto;
|
|
603
|
+
@apply max-w-[53.125rem];
|
|
669
604
|
}
|
|
670
605
|
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
606
|
+
.dg-hero__actions {
|
|
607
|
+
@apply flex items-center justify-center flex-wrap gap-4 mt-2;
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
@media (max-width: 1024px) {
|
|
611
|
+
.dg-hero-title {
|
|
612
|
+
@apply text-4xl;
|
|
613
|
+
}
|
|
674
614
|
}
|
|
675
615
|
|
|
676
616
|
@media (max-width: 768px) {
|
|
617
|
+
.dg-hero-title {
|
|
618
|
+
@apply text-3xl;
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
.dg-hero {
|
|
622
|
+
@apply py-12 px-4;
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
.dg-hero__content {
|
|
626
|
+
@apply gap-5;
|
|
627
|
+
}
|
|
628
|
+
|
|
677
629
|
.dg-hero__body {
|
|
678
630
|
@apply text-base leading-relaxed;
|
|
679
631
|
}
|
|
680
632
|
}
|
|
681
633
|
|
|
682
634
|
@media (max-width: 640px) {
|
|
635
|
+
.dg-hero-title {
|
|
636
|
+
@apply text-2xl;
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
.dg-hero {
|
|
640
|
+
@apply py-8 px-4;
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
.dg-hero__announcement-text {
|
|
644
|
+
@apply text-xs whitespace-normal;
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
.dg-hero__announcement-cta {
|
|
648
|
+
@apply text-xs;
|
|
649
|
+
}
|
|
650
|
+
|
|
683
651
|
.dg-hero__body {
|
|
684
652
|
@apply text-[0.9375rem] leading-normal;
|
|
685
653
|
}
|
|
686
|
-
}
|
|
687
|
-
|
|
688
|
-
/* Hero Actions */
|
|
689
|
-
.dg-hero__actions {
|
|
690
|
-
@apply flex items-center justify-center flex-wrap gap-4 mt-2;
|
|
691
|
-
}
|
|
692
654
|
|
|
693
|
-
@media (max-width: 640px) {
|
|
694
655
|
.dg-hero__actions {
|
|
695
656
|
@apply flex-col w-full;
|
|
696
657
|
}
|
|
@@ -700,109 +661,103 @@
|
|
|
700
661
|
}
|
|
701
662
|
}
|
|
702
663
|
|
|
703
|
-
/* Section
|
|
704
|
-
.dg-section-heading {
|
|
705
|
-
@apply font-semibold font-dg-noto text-2xl dg-text-white mb-6;
|
|
706
|
-
@apply flex flex-wrap items-baseline gap-2;
|
|
707
|
-
}
|
|
664
|
+
/* Section Header */
|
|
708
665
|
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
}
|
|
666
|
+
.dg-section-heading {
|
|
667
|
+
@apply font-semibold font-dg-noto text-2xl dg-text-white mb-6 flex;
|
|
668
|
+
@apply flex-wrap items-baseline gap-2;
|
|
713
669
|
}
|
|
714
670
|
|
|
715
|
-
/* Small text within section heading */
|
|
716
671
|
.dg-section-heading small {
|
|
717
672
|
@apply font-normal text-base dg-text-muted;
|
|
718
673
|
}
|
|
719
674
|
|
|
720
675
|
@media (max-width: 640px) {
|
|
676
|
+
.dg-section-heading {
|
|
677
|
+
@apply text-xl mb-3 gap-1.5;
|
|
678
|
+
}
|
|
679
|
+
|
|
721
680
|
.dg-section-heading small {
|
|
722
681
|
@apply text-sm;
|
|
723
682
|
}
|
|
724
683
|
}
|
|
725
684
|
|
|
726
685
|
/* Page Heading */
|
|
686
|
+
|
|
727
687
|
.dg-page-heading {
|
|
728
688
|
@apply mb-8;
|
|
729
689
|
}
|
|
730
690
|
|
|
731
|
-
@media (max-width: 640px) {
|
|
732
|
-
.dg-page-heading {
|
|
733
|
-
@apply mb-6;
|
|
734
|
-
}
|
|
735
|
-
}
|
|
736
|
-
|
|
737
691
|
.dg-page-heading__title {
|
|
738
692
|
@apply font-semibold font-dg-noto text-4xl dg-text-white mb-2 leading-tight;
|
|
739
693
|
}
|
|
740
694
|
|
|
741
|
-
@media (max-width: 768px) {
|
|
742
|
-
.dg-page-heading__title {
|
|
743
|
-
@apply text-3xl;
|
|
744
|
-
}
|
|
745
|
-
}
|
|
746
|
-
|
|
747
|
-
@media (max-width: 640px) {
|
|
748
|
-
.dg-page-heading__title {
|
|
749
|
-
@apply text-2xl;
|
|
750
|
-
}
|
|
751
|
-
}
|
|
752
|
-
|
|
753
695
|
.dg-page-heading__description {
|
|
754
696
|
@apply dg-text-muted text-lg leading-relaxed m-0 max-w-[65ch];
|
|
755
697
|
}
|
|
756
698
|
|
|
757
699
|
@media (max-width: 768px) {
|
|
700
|
+
.dg-page-heading__title {
|
|
701
|
+
@apply text-3xl;
|
|
702
|
+
}
|
|
703
|
+
|
|
758
704
|
.dg-page-heading__description {
|
|
759
705
|
@apply text-base;
|
|
760
706
|
}
|
|
761
707
|
}
|
|
762
708
|
|
|
763
709
|
@media (max-width: 640px) {
|
|
710
|
+
.dg-page-heading {
|
|
711
|
+
@apply mb-6;
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
.dg-page-heading__title {
|
|
715
|
+
@apply text-2xl;
|
|
716
|
+
}
|
|
717
|
+
|
|
764
718
|
.dg-page-heading__description {
|
|
765
719
|
@apply text-[0.9375rem];
|
|
766
720
|
}
|
|
767
721
|
}
|
|
768
722
|
|
|
769
723
|
/* Card Heading */
|
|
724
|
+
|
|
770
725
|
.dg-card-heading {
|
|
771
|
-
@apply font-medium font-dg-noto text-xl dg-text-white mb-3;
|
|
772
|
-
@apply flex
|
|
726
|
+
@apply font-medium font-dg-noto text-xl dg-text-white mb-3 flex;
|
|
727
|
+
@apply flex-wrap items-baseline gap-1.5;
|
|
773
728
|
}
|
|
774
729
|
|
|
775
|
-
/* Small text within card heading */
|
|
776
730
|
.dg-card-heading small {
|
|
777
731
|
@apply font-normal text-sm dg-text-muted;
|
|
778
732
|
}
|
|
779
733
|
|
|
780
734
|
/* Item Title */
|
|
735
|
+
|
|
781
736
|
.dg-item-title {
|
|
782
|
-
@apply font-medium font-dg-noto text-base dg-text-white mb-1;
|
|
783
|
-
@apply flex
|
|
737
|
+
@apply font-medium font-dg-noto text-base dg-text-white mb-1 flex;
|
|
738
|
+
@apply flex-wrap items-baseline gap-1;
|
|
784
739
|
}
|
|
785
740
|
|
|
786
|
-
/* Small text within item title */
|
|
787
741
|
.dg-item-title small {
|
|
788
742
|
@apply font-normal text-xs dg-text-muted;
|
|
789
743
|
}
|
|
790
744
|
|
|
791
|
-
/* Prose
|
|
745
|
+
/* Prose */
|
|
746
|
+
|
|
792
747
|
.dg-prose {
|
|
793
748
|
@apply w-full dg-text-fog text-sm leading-snug mb-3;
|
|
794
749
|
}
|
|
795
750
|
|
|
751
|
+
.dg-prose.dg-prose--block {
|
|
752
|
+
@apply max-w-none w-full;
|
|
753
|
+
}
|
|
754
|
+
|
|
796
755
|
@media (min-width: 640px) {
|
|
797
756
|
.dg-prose {
|
|
798
757
|
@apply text-base mb-4 max-w-[65ch];
|
|
799
758
|
}
|
|
800
759
|
}
|
|
801
760
|
|
|
802
|
-
.dg-prose.dg-prose--block {
|
|
803
|
-
@apply max-w-none w-full;
|
|
804
|
-
}
|
|
805
|
-
|
|
806
761
|
.dg-prose--large {
|
|
807
762
|
@apply text-base;
|
|
808
763
|
}
|
|
@@ -829,16 +784,12 @@
|
|
|
829
784
|
}
|
|
830
785
|
}
|
|
831
786
|
|
|
832
|
-
/*
|
|
833
|
-
FORM COMPONENTS
|
|
834
|
-
========================================================================== */
|
|
787
|
+
/* Input Group */
|
|
835
788
|
|
|
836
|
-
/* Form Input Base Styles */
|
|
837
789
|
.dg-input {
|
|
838
|
-
@apply w-full px-4 py-3 rounded border border-dg-pebble
|
|
839
|
-
@apply dg-text-white font-dg-sans text-sm;
|
|
840
|
-
@apply
|
|
841
|
-
@apply shadow-dg-sm;
|
|
790
|
+
@apply w-full px-4 py-3 rounded border border-dg-pebble;
|
|
791
|
+
@apply bg-dg-charcoal dg-text-white font-dg-sans text-sm outline-none transition-all;
|
|
792
|
+
@apply duration-300 shadow-dg-sm;
|
|
842
793
|
height: 2.75rem;
|
|
843
794
|
}
|
|
844
795
|
|
|
@@ -848,7 +799,7 @@
|
|
|
848
799
|
|
|
849
800
|
.dg-input:focus {
|
|
850
801
|
@apply border-dg-primary;
|
|
851
|
-
box-shadow: 0 0 0 0.0625rem theme(
|
|
802
|
+
box-shadow: 0 0 0 0.0625rem theme(colors.dg-primary);
|
|
852
803
|
}
|
|
853
804
|
|
|
854
805
|
.dg-input:disabled {
|
|
@@ -863,9 +814,7 @@
|
|
|
863
814
|
@apply max-w-none;
|
|
864
815
|
}
|
|
865
816
|
|
|
866
|
-
|
|
867
|
-
.dg-input[type="select"],
|
|
868
|
-
select.dg-input {
|
|
817
|
+
.dg-input[type="select"], select.dg-input {
|
|
869
818
|
@apply appearance-none;
|
|
870
819
|
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='rgb(255,255,255)' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
|
|
871
820
|
background-position: right 0.75rem center;
|
|
@@ -875,6 +824,7 @@
|
|
|
875
824
|
}
|
|
876
825
|
|
|
877
826
|
/* Textarea */
|
|
827
|
+
|
|
878
828
|
.dg-textarea {
|
|
879
829
|
@apply dg-input;
|
|
880
830
|
min-height: 6.25rem;
|
|
@@ -883,10 +833,10 @@
|
|
|
883
833
|
}
|
|
884
834
|
|
|
885
835
|
/* Checkbox */
|
|
836
|
+
|
|
886
837
|
.dg-checkbox {
|
|
887
|
-
@apply appearance-none w-5 h-5 rounded border border-dg-pebble
|
|
888
|
-
@apply cursor-pointer transition-all duration-200;
|
|
889
|
-
@apply flex-shrink-0;
|
|
838
|
+
@apply appearance-none w-5 h-5 rounded border border-dg-pebble;
|
|
839
|
+
@apply bg-dg-charcoal cursor-pointer transition-all duration-200 flex-shrink-0;
|
|
890
840
|
position: relative;
|
|
891
841
|
}
|
|
892
842
|
|
|
@@ -908,10 +858,9 @@
|
|
|
908
858
|
|
|
909
859
|
.dg-checkbox:focus {
|
|
910
860
|
@apply outline-none;
|
|
911
|
-
box-shadow: 0 0 0 0.125rem theme(
|
|
861
|
+
box-shadow: 0 0 0 0.125rem theme(colors.dg-primary/50);
|
|
912
862
|
}
|
|
913
863
|
|
|
914
|
-
/* Checkbox Label */
|
|
915
864
|
.dg-checkbox-label {
|
|
916
865
|
@apply flex items-start gap-2 cursor-pointer text-sm dg-text-fog;
|
|
917
866
|
}
|
|
@@ -920,34 +869,25 @@
|
|
|
920
869
|
@apply border-dg-slate;
|
|
921
870
|
}
|
|
922
871
|
|
|
923
|
-
/* Checkbox Description Container */
|
|
924
872
|
.dg-checkbox-description {
|
|
925
873
|
@apply flex flex-col gap-2;
|
|
926
874
|
}
|
|
927
875
|
|
|
928
|
-
/* Checkbox Group Container */
|
|
929
876
|
.dg-checkbox-group {
|
|
930
877
|
@apply flex flex-col gap-3;
|
|
931
878
|
}
|
|
932
879
|
|
|
933
|
-
/* Form
|
|
880
|
+
/* Form Section */
|
|
881
|
+
|
|
934
882
|
.dg-form-field {
|
|
935
883
|
@apply flex flex-col gap-3 mb-4 w-full;
|
|
936
884
|
}
|
|
937
885
|
|
|
938
|
-
@media (min-width: 640px) {
|
|
939
|
-
.dg-form-field {
|
|
940
|
-
@apply max-w-md;
|
|
941
|
-
}
|
|
942
|
-
}
|
|
943
|
-
|
|
944
886
|
.dg-form-field--full {
|
|
945
887
|
@apply max-w-none;
|
|
946
888
|
}
|
|
947
889
|
|
|
948
|
-
|
|
949
|
-
.dg-form-field--error .dg-input,
|
|
950
|
-
.dg-form-field--error .dg-textarea {
|
|
890
|
+
.dg-form-field--error .dg-input, .dg-form-field--error .dg-textarea {
|
|
951
891
|
@apply border-dg-danger;
|
|
952
892
|
}
|
|
953
893
|
|
|
@@ -955,9 +895,7 @@
|
|
|
955
895
|
@apply dg-text-danger;
|
|
956
896
|
}
|
|
957
897
|
|
|
958
|
-
|
|
959
|
-
.dg-form-field--success .dg-input,
|
|
960
|
-
.dg-form-field--success .dg-textarea {
|
|
898
|
+
.dg-form-field--success .dg-input, .dg-form-field--success .dg-textarea {
|
|
961
899
|
@apply border-dg-success;
|
|
962
900
|
}
|
|
963
901
|
|
|
@@ -965,29 +903,32 @@
|
|
|
965
903
|
@apply dg-text-success;
|
|
966
904
|
}
|
|
967
905
|
|
|
968
|
-
/* Form Label */
|
|
969
906
|
.dg-form-label {
|
|
970
907
|
@apply text-sm font-medium dg-text-white;
|
|
971
908
|
}
|
|
972
909
|
|
|
973
|
-
/* Form Error Message (deprecated - use dg-form-helper with dg-form-field--error) */
|
|
974
910
|
.dg-form-error {
|
|
975
911
|
@apply text-xs dg-text-danger block;
|
|
976
912
|
margin: 0;
|
|
977
913
|
}
|
|
978
914
|
|
|
979
|
-
/* Form Helper Text */
|
|
980
915
|
.dg-form-helper {
|
|
981
916
|
@apply text-xs dg-text-muted block;
|
|
982
917
|
margin: 0;
|
|
983
918
|
}
|
|
984
919
|
|
|
985
|
-
|
|
920
|
+
@media (min-width: 640px) {
|
|
921
|
+
.dg-form-field {
|
|
922
|
+
@apply max-w-md;
|
|
923
|
+
}
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
/* File Upload Zone */
|
|
927
|
+
|
|
986
928
|
.dg-drag-drop-zone {
|
|
987
|
-
@apply relative border-2 border-dashed border-dg-pebble rounded-lg;
|
|
988
|
-
@apply
|
|
989
|
-
@apply
|
|
990
|
-
@apply cursor-pointer;
|
|
929
|
+
@apply relative border-2 border-dashed border-dg-pebble rounded-lg bg-dg-charcoal;
|
|
930
|
+
@apply transition-all duration-200 flex flex-col items-center justify-center;
|
|
931
|
+
@apply gap-3 cursor-pointer;
|
|
991
932
|
padding: 3rem 2rem;
|
|
992
933
|
min-height: 12.5rem;
|
|
993
934
|
}
|
|
@@ -1020,13 +961,11 @@
|
|
|
1020
961
|
@apply text-sm dg-text-muted;
|
|
1021
962
|
}
|
|
1022
963
|
|
|
1023
|
-
/* ==========================================================================
|
|
1024
|
-
STATUS & FEEDBACK COMPONENTS
|
|
1025
|
-
========================================================================== */
|
|
1026
|
-
|
|
1027
964
|
/* Status Banner */
|
|
965
|
+
|
|
1028
966
|
.dg-status {
|
|
1029
|
-
@apply w-full italic dg-text-fog text-sm leading-snug py-1
|
|
967
|
+
@apply w-full italic dg-text-fog text-sm leading-snug py-1;
|
|
968
|
+
@apply my-2;
|
|
1030
969
|
}
|
|
1031
970
|
|
|
1032
971
|
@media (min-width: 640px) {
|
|
@@ -1078,32 +1017,24 @@
|
|
|
1078
1017
|
}
|
|
1079
1018
|
|
|
1080
1019
|
/* Spinner */
|
|
1081
|
-
.dg-spinner {
|
|
1082
|
-
@apply rounded-full size-10 border-[3px] border-dg-pebble border-t-dg-primary;
|
|
1083
|
-
@apply mx-auto mb-3 animate-spin;
|
|
1084
|
-
}
|
|
1085
1020
|
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
}
|
|
1090
|
-
100% {
|
|
1091
|
-
transform: rotate(360deg);
|
|
1092
|
-
}
|
|
1021
|
+
.dg-spinner {
|
|
1022
|
+
@apply rounded-full size-10 border-[3px] border-dg-pebble border-t-dg-primary mx-auto;
|
|
1023
|
+
@apply mb-3 animate-spin;
|
|
1093
1024
|
}
|
|
1094
1025
|
|
|
1095
|
-
/* Processing Title */
|
|
1096
1026
|
.dg-processing-title {
|
|
1097
1027
|
@apply font-medium font-dg-noto text-xl dg-text-white mb-1;
|
|
1098
1028
|
}
|
|
1099
1029
|
|
|
1100
|
-
/* Modal
|
|
1030
|
+
/* Modal */
|
|
1031
|
+
|
|
1101
1032
|
.dg-modal-overlay {
|
|
1102
|
-
@apply hidden fixed inset-0 items-center justify-center bg-black/80
|
|
1033
|
+
@apply hidden fixed inset-0 items-center justify-center bg-black/80;
|
|
1034
|
+
@apply z-50;
|
|
1103
1035
|
}
|
|
1104
1036
|
|
|
1105
|
-
.dg-modal-overlay.visible,
|
|
1106
|
-
.dg-modal-overlay--visible {
|
|
1037
|
+
.dg-modal-overlay.visible, .dg-modal-overlay--visible {
|
|
1107
1038
|
@apply flex;
|
|
1108
1039
|
}
|
|
1109
1040
|
|
|
@@ -1111,60 +1042,154 @@
|
|
|
1111
1042
|
@apply text-center max-w-[25rem] m-3;
|
|
1112
1043
|
}
|
|
1113
1044
|
|
|
1114
|
-
/*
|
|
1115
|
-
UTILITY COMPONENTS
|
|
1116
|
-
========================================================================== */
|
|
1045
|
+
/* Constrained Container */
|
|
1117
1046
|
|
|
1118
|
-
/* Constrained Width Container */
|
|
1119
1047
|
.dg-constrain-width {
|
|
1120
1048
|
@apply w-full;
|
|
1121
1049
|
}
|
|
1122
1050
|
|
|
1051
|
+
.dg-center-h {
|
|
1052
|
+
@apply mx-auto;
|
|
1053
|
+
}
|
|
1054
|
+
|
|
1123
1055
|
@media (min-width: 640px) {
|
|
1124
1056
|
.dg-constrain-width {
|
|
1125
1057
|
@apply max-w-[70rem] mx-auto;
|
|
1126
1058
|
}
|
|
1127
1059
|
}
|
|
1128
1060
|
|
|
1129
|
-
/* Center Horizontally - Complements dg-constrain-width */
|
|
1130
|
-
.dg-center-h {
|
|
1131
|
-
@apply mx-auto;
|
|
1132
|
-
}
|
|
1133
|
-
|
|
1134
1061
|
/* Responsive Grid */
|
|
1062
|
+
|
|
1135
1063
|
.dg-grid-mobile-stack {
|
|
1136
1064
|
@apply flex flex-col gap-4;
|
|
1137
1065
|
}
|
|
1138
1066
|
|
|
1067
|
+
.dg-grid-mobile-stack > * {
|
|
1068
|
+
@apply flex-1;
|
|
1069
|
+
}
|
|
1070
|
+
|
|
1139
1071
|
@media (min-width: 640px) {
|
|
1140
1072
|
.dg-grid-mobile-stack {
|
|
1141
1073
|
@apply flex-row gap-4;
|
|
1142
1074
|
}
|
|
1143
1075
|
}
|
|
1144
1076
|
|
|
1145
|
-
|
|
1077
|
+
/* Three-Column Layout */
|
|
1078
|
+
|
|
1079
|
+
.dg-columns {
|
|
1080
|
+
@apply flex flex-col w-full;
|
|
1081
|
+
}
|
|
1082
|
+
|
|
1083
|
+
.dg-columns__wrapper {
|
|
1084
|
+
@apply flex flex-col flex-1 min-w-0;
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
.dg-column {
|
|
1088
|
+
@apply px-4 py-6 min-w-0;
|
|
1089
|
+
}
|
|
1090
|
+
|
|
1091
|
+
.dg-column--main {
|
|
1146
1092
|
@apply flex-1;
|
|
1147
1093
|
}
|
|
1148
1094
|
|
|
1149
|
-
|
|
1150
|
-
.dg-action-group {
|
|
1151
|
-
@apply flex flex-wrap justify-center gap-4;
|
|
1095
|
+
.dg-column--sidebar-left {
|
|
1152
1096
|
}
|
|
1153
1097
|
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1098
|
+
.dg-column--sidebar-right {
|
|
1099
|
+
position: relative;
|
|
1100
|
+
}
|
|
1101
|
+
|
|
1102
|
+
@media (min-width: 640px) {
|
|
1103
|
+
.dg-column {
|
|
1104
|
+
@apply px-6;
|
|
1157
1105
|
}
|
|
1106
|
+
}
|
|
1158
1107
|
|
|
1159
|
-
|
|
1160
|
-
|
|
1108
|
+
@media (min-width: 768px) {
|
|
1109
|
+
.dg-columns {
|
|
1110
|
+
@apply flex-row;
|
|
1111
|
+
}
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1114
|
+
@media (min-width: 768px) and (max-width: 1279px) {
|
|
1115
|
+
.dg-column--sidebar-right {
|
|
1116
|
+
position: fixed;
|
|
1117
|
+
top: 65px;
|
|
1118
|
+
right: 0;
|
|
1119
|
+
height: calc(100vh - 65px);
|
|
1120
|
+
width: 16rem;
|
|
1121
|
+
flex-shrink: 0;
|
|
1122
|
+
transition: transform 300ms ease;
|
|
1123
|
+
z-index: 20;
|
|
1124
|
+
box-shadow: -4px 0 16px rgba(0, 0, 0, 0.5);
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1127
|
+
.dg-column--sidebar-right.dg-column--sm {
|
|
1128
|
+
width: 20rem;
|
|
1129
|
+
}
|
|
1130
|
+
|
|
1131
|
+
.dg-column--sidebar-right.dg-column--lg {
|
|
1132
|
+
width: 24rem;
|
|
1133
|
+
}
|
|
1134
|
+
|
|
1135
|
+
.dg-column--sidebar-right.dg-column--xl {
|
|
1136
|
+
width: 32rem;
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1139
|
+
.dg-column--sidebar-right.collapsed {
|
|
1140
|
+
transform: translateX(calc(100% - 2rem));
|
|
1141
|
+
}
|
|
1142
|
+
}
|
|
1143
|
+
|
|
1144
|
+
@media (min-width: 1024px) {
|
|
1145
|
+
.dg-columns__wrapper {
|
|
1146
|
+
@apply flex-row;
|
|
1147
|
+
}
|
|
1148
|
+
|
|
1149
|
+
.dg-column--sidebar-left {
|
|
1150
|
+
@apply w-48 flex-shrink-0;
|
|
1151
|
+
}
|
|
1152
|
+
|
|
1153
|
+
.dg-column--sidebar-left.dg-column--sm {
|
|
1154
|
+
@apply w-64 flex-shrink-0;
|
|
1155
|
+
}
|
|
1156
|
+
|
|
1157
|
+
.dg-column--sidebar-left.dg-column--lg {
|
|
1158
|
+
@apply w-96 flex-shrink-0;
|
|
1159
|
+
}
|
|
1160
|
+
|
|
1161
|
+
.dg-column--sidebar-left.dg-column--xl {
|
|
1162
|
+
@apply w-128 flex-shrink-0;
|
|
1163
|
+
}
|
|
1164
|
+
}
|
|
1165
|
+
|
|
1166
|
+
@media (min-width: 1280px) {
|
|
1167
|
+
.dg-column--sidebar-right {
|
|
1168
|
+
width: 16rem;
|
|
1169
|
+
flex-shrink: 0;
|
|
1170
|
+
}
|
|
1171
|
+
|
|
1172
|
+
.dg-column--sidebar-right.dg-column--sm {
|
|
1173
|
+
width: 20rem;
|
|
1174
|
+
flex-shrink: 0;
|
|
1175
|
+
}
|
|
1176
|
+
|
|
1177
|
+
.dg-column--sidebar-right.dg-column--lg {
|
|
1178
|
+
width: 24rem;
|
|
1179
|
+
flex-shrink: 0;
|
|
1180
|
+
}
|
|
1181
|
+
|
|
1182
|
+
.dg-column--sidebar-right.dg-column--xl {
|
|
1183
|
+
width: 32rem;
|
|
1184
|
+
flex-shrink: 0;
|
|
1161
1185
|
}
|
|
1162
1186
|
}
|
|
1163
1187
|
|
|
1164
1188
|
/* Header */
|
|
1189
|
+
|
|
1165
1190
|
.dg-header {
|
|
1166
1191
|
@apply w-full;
|
|
1167
|
-
background: #050506;
|
|
1192
|
+
background: #050506;
|
|
1168
1193
|
padding: 1rem 1.5rem;
|
|
1169
1194
|
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
|
1170
1195
|
}
|
|
@@ -1208,16 +1233,35 @@
|
|
|
1208
1233
|
}
|
|
1209
1234
|
|
|
1210
1235
|
/* Footer */
|
|
1236
|
+
|
|
1211
1237
|
.dg-footer {
|
|
1212
1238
|
@apply text-center border-t border-dg-pebble mt-16;
|
|
1213
1239
|
}
|
|
1214
1240
|
|
|
1215
|
-
/*
|
|
1241
|
+
/* Link */
|
|
1242
|
+
|
|
1243
|
+
.dg-link {
|
|
1244
|
+
@apply dg-text-primary transition-opacity duration-200;
|
|
1245
|
+
}
|
|
1246
|
+
|
|
1247
|
+
.dg-link:hover {
|
|
1248
|
+
@apply opacity-80;
|
|
1249
|
+
}
|
|
1250
|
+
|
|
1251
|
+
.dg-social-link {
|
|
1252
|
+
@apply dg-text-fog transition-colors duration-200 text-xl;
|
|
1253
|
+
}
|
|
1254
|
+
|
|
1255
|
+
.dg-social-link:hover {
|
|
1256
|
+
@apply dg-text-primary;
|
|
1257
|
+
}
|
|
1258
|
+
|
|
1259
|
+
/* Text Utilities */
|
|
1260
|
+
|
|
1216
1261
|
.dg-text-center {
|
|
1217
1262
|
@apply text-center;
|
|
1218
1263
|
}
|
|
1219
1264
|
|
|
1220
|
-
/* Text Color Utilities */
|
|
1221
1265
|
.dg-text-danger {
|
|
1222
1266
|
@apply text-dg-danger;
|
|
1223
1267
|
}
|
|
@@ -1250,7 +1294,28 @@
|
|
|
1250
1294
|
@apply text-white;
|
|
1251
1295
|
}
|
|
1252
1296
|
|
|
1253
|
-
|
|
1297
|
+
.dg-text-tagline {
|
|
1298
|
+
@apply text-center dg-text-fog text-sm;
|
|
1299
|
+
}
|
|
1300
|
+
|
|
1301
|
+
.dg-text-subtitle {
|
|
1302
|
+
@apply dg-text-fog text-sm;
|
|
1303
|
+
}
|
|
1304
|
+
|
|
1305
|
+
.dg-text-heading {
|
|
1306
|
+
@apply dg-text-white text-base font-medium;
|
|
1307
|
+
}
|
|
1308
|
+
|
|
1309
|
+
.dg-text-heading--with-margin {
|
|
1310
|
+
@apply dg-text-white text-base font-medium mb-1;
|
|
1311
|
+
}
|
|
1312
|
+
|
|
1313
|
+
.dg-text-legal {
|
|
1314
|
+
@apply text-xs dg-text-muted text-center;
|
|
1315
|
+
}
|
|
1316
|
+
|
|
1317
|
+
/* Newsletter Signup */
|
|
1318
|
+
|
|
1254
1319
|
.dg-newsletter-container {
|
|
1255
1320
|
@apply flex flex-col gap-4;
|
|
1256
1321
|
}
|
|
@@ -1271,22 +1336,10 @@
|
|
|
1271
1336
|
@apply flex gap-2 w-full;
|
|
1272
1337
|
}
|
|
1273
1338
|
|
|
1274
|
-
@media (min-width: 640px) {
|
|
1275
|
-
.dg-newsletter-form--inline {
|
|
1276
|
-
@apply w-auto;
|
|
1277
|
-
}
|
|
1278
|
-
}
|
|
1279
|
-
|
|
1280
1339
|
.dg-newsletter-header {
|
|
1281
1340
|
@apply flex flex-col gap-3 items-start;
|
|
1282
1341
|
}
|
|
1283
1342
|
|
|
1284
|
-
@media (min-width: 640px) {
|
|
1285
|
-
.dg-newsletter-header {
|
|
1286
|
-
@apply flex-row items-center;
|
|
1287
|
-
}
|
|
1288
|
-
}
|
|
1289
|
-
|
|
1290
1343
|
.dg-newsletter-header__content {
|
|
1291
1344
|
@apply flex-1;
|
|
1292
1345
|
}
|
|
@@ -1295,13 +1348,6 @@
|
|
|
1295
1348
|
@apply w-full;
|
|
1296
1349
|
}
|
|
1297
1350
|
|
|
1298
|
-
@media (min-width: 640px) {
|
|
1299
|
-
.dg-newsletter-header__actions {
|
|
1300
|
-
@apply w-auto;
|
|
1301
|
-
}
|
|
1302
|
-
}
|
|
1303
|
-
|
|
1304
|
-
/* Logo Container */
|
|
1305
1351
|
.dg-logo-container {
|
|
1306
1352
|
@apply flex justify-center;
|
|
1307
1353
|
}
|
|
@@ -1310,179 +1356,21 @@
|
|
|
1310
1356
|
@apply h-8 w-auto;
|
|
1311
1357
|
}
|
|
1312
1358
|
|
|
1313
|
-
/* Social Links Container */
|
|
1314
1359
|
.dg-social-links {
|
|
1315
1360
|
@apply flex justify-center gap-4;
|
|
1316
1361
|
}
|
|
1317
1362
|
|
|
1318
|
-
/* Typography Utilities */
|
|
1319
|
-
.dg-text-tagline {
|
|
1320
|
-
@apply text-center dg-text-fog text-sm;
|
|
1321
|
-
}
|
|
1322
|
-
|
|
1323
|
-
.dg-text-subtitle {
|
|
1324
|
-
@apply dg-text-fog text-sm;
|
|
1325
|
-
}
|
|
1326
|
-
|
|
1327
|
-
.dg-text-heading {
|
|
1328
|
-
@apply dg-text-white text-base font-medium;
|
|
1329
|
-
}
|
|
1330
|
-
|
|
1331
|
-
.dg-text-heading--with-margin {
|
|
1332
|
-
@apply dg-text-white text-base font-medium mb-1;
|
|
1333
|
-
}
|
|
1334
|
-
|
|
1335
|
-
.dg-text-legal {
|
|
1336
|
-
@apply text-xs dg-text-muted text-center;
|
|
1337
|
-
}
|
|
1338
|
-
|
|
1339
|
-
/* ==========================================================================
|
|
1340
|
-
MULTI-COLUMN LAYOUT COMPONENTS
|
|
1341
|
-
|
|
1342
|
-
Responsive collapse pattern:
|
|
1343
|
-
- Mobile (< 768px): All columns stacked vertically
|
|
1344
|
-
- Tablet (768px+): Right sidebar moves to side, left stacked on top
|
|
1345
|
-
- Desktop (1024px+): All three columns side-by-side
|
|
1346
|
-
========================================================================== */
|
|
1347
|
-
|
|
1348
|
-
/* Column Container - parent wrapper for all columns */
|
|
1349
|
-
.dg-columns {
|
|
1350
|
-
@apply flex flex-col w-full;
|
|
1351
|
-
}
|
|
1352
|
-
|
|
1353
|
-
/* At tablet: show right sidebar on the side */
|
|
1354
|
-
@media (min-width: 768px) {
|
|
1355
|
-
.dg-columns {
|
|
1356
|
-
@apply flex-row;
|
|
1357
|
-
}
|
|
1358
|
-
}
|
|
1359
|
-
|
|
1360
|
-
/* Column Wrapper - groups left sidebar and main content together */
|
|
1361
|
-
.dg-columns__wrapper {
|
|
1362
|
-
@apply flex flex-col flex-1 min-w-0;
|
|
1363
|
-
}
|
|
1364
|
-
|
|
1365
|
-
/* At desktop: show left sidebar on the side */
|
|
1366
|
-
@media (min-width: 1024px) {
|
|
1367
|
-
.dg-columns__wrapper {
|
|
1368
|
-
@apply flex-row;
|
|
1369
|
-
}
|
|
1370
|
-
}
|
|
1371
|
-
|
|
1372
|
-
/* Base Column - padding for all columns */
|
|
1373
|
-
.dg-column {
|
|
1374
|
-
@apply px-4 py-6 min-w-0;
|
|
1375
|
-
}
|
|
1376
|
-
|
|
1377
1363
|
@media (min-width: 640px) {
|
|
1378
|
-
.dg-
|
|
1379
|
-
@apply
|
|
1380
|
-
}
|
|
1381
|
-
}
|
|
1382
|
-
|
|
1383
|
-
/* Main Content Column - always fills available space */
|
|
1384
|
-
.dg-column--main {
|
|
1385
|
-
@apply flex-1;
|
|
1386
|
-
}
|
|
1387
|
-
|
|
1388
|
-
/* Left Sidebar - fixed width on desktop, full width on mobile/tablet */
|
|
1389
|
-
.dg-column--sidebar-left {
|
|
1390
|
-
/* Layout only - no colors */
|
|
1391
|
-
}
|
|
1392
|
-
|
|
1393
|
-
@media (min-width: 1024px) {
|
|
1394
|
-
.dg-column--sidebar-left {
|
|
1395
|
-
@apply w-48 flex-shrink-0;
|
|
1396
|
-
}
|
|
1397
|
-
|
|
1398
|
-
.dg-column--sidebar-left.dg-column--sm {
|
|
1399
|
-
@apply w-64 flex-shrink-0;
|
|
1400
|
-
}
|
|
1401
|
-
|
|
1402
|
-
.dg-column--sidebar-left.dg-column--lg {
|
|
1403
|
-
@apply w-96 flex-shrink-0;
|
|
1404
|
-
}
|
|
1405
|
-
|
|
1406
|
-
.dg-column--sidebar-left.dg-column--xl {
|
|
1407
|
-
@apply w-128 flex-shrink-0;
|
|
1408
|
-
}
|
|
1409
|
-
}
|
|
1410
|
-
|
|
1411
|
-
/* Right Sidebar - fixed width on tablet+, full width on mobile */
|
|
1412
|
-
.dg-column--sidebar-right {
|
|
1413
|
-
/* Layout only - no colors */
|
|
1414
|
-
position: relative;
|
|
1415
|
-
}
|
|
1416
|
-
|
|
1417
|
-
/* Between 768px and 1280px: Floating sidebar with toggle */
|
|
1418
|
-
@media (min-width: 768px) and (max-width: 1279px) {
|
|
1419
|
-
.dg-column--sidebar-right {
|
|
1420
|
-
position: fixed;
|
|
1421
|
-
top: 65px; /* Account for header height */
|
|
1422
|
-
right: 0;
|
|
1423
|
-
height: calc(100vh - 65px);
|
|
1424
|
-
@apply w-64 flex-shrink-0;
|
|
1425
|
-
transition: transform 300ms ease;
|
|
1426
|
-
z-index: 20;
|
|
1427
|
-
box-shadow: -4px 0 16px rgba(0, 0, 0, 0.5);
|
|
1428
|
-
}
|
|
1429
|
-
|
|
1430
|
-
.dg-column--sidebar-right.dg-column--sm {
|
|
1431
|
-
@apply w-80;
|
|
1432
|
-
}
|
|
1433
|
-
|
|
1434
|
-
.dg-column--sidebar-right.dg-column--lg {
|
|
1435
|
-
@apply w-96;
|
|
1436
|
-
}
|
|
1437
|
-
|
|
1438
|
-
.dg-column--sidebar-right.dg-column--xl {
|
|
1439
|
-
@apply w-128;
|
|
1440
|
-
}
|
|
1441
|
-
|
|
1442
|
-
/* Collapsed state - slide mostly off screen but leave button visible */
|
|
1443
|
-
.dg-column--sidebar-right.collapsed {
|
|
1444
|
-
transform: translateX(calc(100% - 2rem));
|
|
1445
|
-
}
|
|
1446
|
-
}
|
|
1447
|
-
|
|
1448
|
-
/* Above 1280px: Normal sidebar behavior */
|
|
1449
|
-
@media (min-width: 1280px) {
|
|
1450
|
-
.dg-column--sidebar-right {
|
|
1451
|
-
@apply w-64 flex-shrink-0;
|
|
1452
|
-
}
|
|
1453
|
-
|
|
1454
|
-
.dg-column--sidebar-right.dg-column--sm {
|
|
1455
|
-
@apply w-80 flex-shrink-0;
|
|
1364
|
+
.dg-newsletter-form--inline {
|
|
1365
|
+
@apply w-auto;
|
|
1456
1366
|
}
|
|
1457
1367
|
|
|
1458
|
-
.dg-
|
|
1459
|
-
@apply
|
|
1368
|
+
.dg-newsletter-header {
|
|
1369
|
+
@apply flex-row items-center;
|
|
1460
1370
|
}
|
|
1461
1371
|
|
|
1462
|
-
.dg-
|
|
1463
|
-
@apply w-
|
|
1372
|
+
.dg-newsletter-header__actions {
|
|
1373
|
+
@apply w-auto;
|
|
1464
1374
|
}
|
|
1465
1375
|
}
|
|
1466
|
-
|
|
1467
|
-
/* ==========================================================================
|
|
1468
|
-
LINK COMPONENTS
|
|
1469
|
-
========================================================================== */
|
|
1470
|
-
|
|
1471
|
-
/* Primary Link with hover effect */
|
|
1472
|
-
.dg-link {
|
|
1473
|
-
@apply dg-text-primary transition-opacity duration-200;
|
|
1474
|
-
}
|
|
1475
|
-
|
|
1476
|
-
.dg-link:hover {
|
|
1477
|
-
@apply opacity-80;
|
|
1478
|
-
}
|
|
1479
|
-
|
|
1480
|
-
/* Social Icon Link */
|
|
1481
|
-
.dg-social-link {
|
|
1482
|
-
@apply dg-text-fog transition-colors duration-200 text-xl;
|
|
1483
|
-
}
|
|
1484
|
-
|
|
1485
|
-
.dg-social-link:hover {
|
|
1486
|
-
@apply dg-text-primary;
|
|
1487
|
-
}
|
|
1488
1376
|
}
|