@howssatoshi/quantumcss 1.10.1 → 1.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/README.md +11 -10
  2. package/dist/quantum.min.css +2 -2
  3. package/examples/admin-panel.html +303 -608
  4. package/examples/analytics-dashboard.html +128 -288
  5. package/examples/blog.css +297 -0
  6. package/examples/blog.html +216 -0
  7. package/examples/chat-messaging.html +11 -27
  8. package/examples/email-client.css +582 -0
  9. package/examples/email-client.html +432 -0
  10. package/examples/gaming-portal.css +352 -0
  11. package/examples/gaming-portal.html +239 -0
  12. package/examples/index.html +342 -232
  13. package/examples/kitchen-sink.html +284 -94
  14. package/examples/music-streaming.html +32 -91
  15. package/examples/{news-template.html → news.html} +35 -11
  16. package/examples/{portfolio-resume.html → portfolio.html} +72 -26
  17. package/examples/shopping.html +812 -0
  18. package/examples/starlight.html +7 -6
  19. package/examples/task.md +12 -0
  20. package/examples/travel.html +514 -0
  21. package/examples/video-streaming.html +1025 -546
  22. package/package.json +9 -3
  23. package/src/cli.js +5 -5
  24. package/src/defaults.js +18 -16
  25. package/src/starlight.js +20 -15
  26. package/src/styles/quantum-base.css +4 -0
  27. package/src/styles/quantum-components.css +1882 -136
  28. package/src/styles/quantum-icons.css +345 -0
  29. package/src/styles/starlight.css +2606 -1186
  30. package/dist/quantum.css +0 -2374
  31. package/examples/blog-template.html +0 -288
  32. package/examples/email-template.html +0 -712
  33. package/examples/gaming-template.html +0 -471
  34. package/examples/gradient-test.html +0 -129
  35. package/examples/shopping/images/headset.jpg +0 -0
  36. package/examples/shopping/images/sneakers.jpg +0 -0
  37. package/examples/shopping/images/windbreaker.jpg +0 -0
  38. package/examples/shopping/index.html +0 -525
  39. package/examples/theme-test.html +0 -159
  40. package/examples/travel/index.html +0 -432
  41. package/examples/verify_fixes.html +0 -52
  42. package/examples/verify_presets.html +0 -32
  43. /package/examples/{shopping/nova-shop.css → nova-shop.css} +0 -0
@@ -0,0 +1,582 @@
1
+ :root {
2
+ --header-height: 72px;
3
+ --sub-header-height: 72px;
4
+ --sidebar-width: 280px;
5
+ --list-width: 380px;
6
+ --color-starlight: #00d4ff;
7
+ --side-padding: 1.5rem;
8
+ }
9
+
10
+ *,
11
+ *::before,
12
+ *::after {
13
+ box-sizing: border-box;
14
+ }
15
+
16
+ /* ==========================================================================
17
+ EMAIL APPLICATION LAYOUT
18
+ ========================================================================== */
19
+
20
+ body.email-client { background-color: #08081a; color: #f1f5f9; margin: 0; }
21
+ html[data-theme="light"] body.email-client {
22
+ background-color: #f8fafc;
23
+ color: #1e293b;
24
+ }
25
+
26
+ .email-client {
27
+ display: grid;
28
+ grid-template-columns: var(--sidebar-width) 1fr;
29
+ height: 100vh;
30
+ overflow: hidden;
31
+ width: 100%;
32
+ }
33
+
34
+ .email-main {
35
+ display: grid;
36
+ grid-template-columns: var(--list-width) 1fr;
37
+ height: 100vh;
38
+ overflow: hidden;
39
+ width: 100%;
40
+ }
41
+
42
+ /* Sidebar */
43
+ email-sidebar {
44
+ background: linear-gradient(
45
+ 180deg,
46
+ rgba(8, 8, 26, 0.98) 0%,
47
+ rgba(15, 23, 42, 0.98) 100%
48
+ );
49
+ border-right: 1px solid rgba(255, 255, 255, 0.1);
50
+ display: flex;
51
+ flex-direction: column;
52
+ height: 100vh;
53
+ }
54
+ html[data-theme="light"] email-sidebar {
55
+ background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
56
+ border-right-color: #e2e8f0;
57
+ }
58
+
59
+ logo-section {
60
+ height: var(--header-height);
61
+ display: flex;
62
+ align-items: center;
63
+ gap: 0.75rem;
64
+ padding: 0 var(--side-padding);
65
+ flex-shrink: 0;
66
+ }
67
+ logo-section logo {
68
+ width: 2.5rem;
69
+ height: 2.5rem;
70
+ border-radius: 0.75rem;
71
+ background: linear-gradient(135deg, #00d4ff 0%, #3b82f6 100%);
72
+ display: flex;
73
+ align-items: center;
74
+ justify-content: center;
75
+ }
76
+ logo-section brand {
77
+ font-size: 1.25rem;
78
+ font-weight: 700;
79
+ background: linear-gradient(
80
+ to right,
81
+ var(--q-color-starlight-peach, #f59e0b),
82
+ var(--q-color-starlight-blue, #00d4ff)
83
+ );
84
+ -webkit-background-clip: text;
85
+ -webkit-text-fill-color: transparent;
86
+ background-clip: text;
87
+ }
88
+ html[data-theme="light"] logo-section brand {
89
+ background: linear-gradient(135deg, #f59e0b 0%, #3b82f6 100%);
90
+ -webkit-background-clip: text;
91
+ background-clip: text;
92
+ }
93
+
94
+ compose-section {
95
+ height: var(--sub-header-height);
96
+ display: flex;
97
+ align-items: center;
98
+ padding: 0 var(--side-padding);
99
+ flex-shrink: 0;
100
+ }
101
+ .compose-btn {
102
+ background: linear-gradient(135deg, #00d4ff 0%, #3b82f6 100%);
103
+ color: white !important;
104
+ border: none;
105
+ height: 3rem;
106
+ width: 100%;
107
+ border-radius: 0.75rem;
108
+ font-weight: 600;
109
+ cursor: pointer;
110
+ display: flex;
111
+ align-items: center;
112
+ justify-content: center;
113
+ gap: 0.5rem;
114
+ box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
115
+ }
116
+
117
+ sidebar-scrollable {
118
+ flex: 1;
119
+ overflow-y: auto;
120
+ padding: 0 var(--side-padding);
121
+ }
122
+ email-sidebar nav {
123
+ display: flex;
124
+ flex-direction: column;
125
+ gap: 2px;
126
+ margin-bottom: 1.5rem;
127
+ }
128
+ email-sidebar nav button {
129
+ display: flex !important;
130
+ align-items: center !important;
131
+ justify-content: flex-start !important;
132
+ gap: 1rem;
133
+ padding: 0.625rem 1rem;
134
+ width: 100%;
135
+ background: transparent !important;
136
+ border: none;
137
+ border-radius: 0.5rem;
138
+ color: #94a3b8;
139
+ font-size: 0.875rem;
140
+ font-weight: 500;
141
+ cursor: pointer;
142
+ }
143
+ email-sidebar nav button.active {
144
+ background: rgba(0, 212, 255, 0.15) !important;
145
+ color: #00d4ff;
146
+ }
147
+ html[data-theme="light"] email-sidebar nav button {
148
+ color: #64748b;
149
+ }
150
+ html[data-theme="light"] email-sidebar nav button.active {
151
+ background: rgba(59, 130, 246, 0.1) !important;
152
+ color: #3b82f6;
153
+ }
154
+
155
+ email-sidebar .divider {
156
+ height: 1px;
157
+ background: rgba(255, 255, 255, 0.1);
158
+ margin: 1rem 0;
159
+ }
160
+ html[data-theme="light"] email-sidebar .divider {
161
+ background: #e2e8f0;
162
+ }
163
+
164
+ email-sidebar h3 {
165
+ font-size: 0.75rem;
166
+ text-transform: uppercase;
167
+ color: #64748b;
168
+ margin-bottom: 1rem;
169
+ padding-left: 1rem;
170
+ }
171
+ html[data-theme="light"] email-sidebar h3 {
172
+ color: #0f172a;
173
+ }
174
+
175
+ email-sidebar .user-profile-section {
176
+ padding: 1rem var(--side-padding);
177
+ background: rgba(255, 255, 255, 0.03);
178
+ border-top: 1px solid rgba(255, 255, 255, 0.05);
179
+ display: flex;
180
+ align-items: center;
181
+ gap: 0.75rem;
182
+ margin-top: auto;
183
+ }
184
+ html[data-theme="light"] email-sidebar .user-profile-section {
185
+ background: #f8fafc;
186
+ border-top-color: #e2e8f0;
187
+ }
188
+
189
+ /* ==========================================================================
190
+ EMAIL APP COMPONENTS
191
+ ========================================================================== */
192
+
193
+ /* Email List Pane */
194
+ email-list {
195
+ border-right: 1px solid rgba(255, 255, 255, 0.1);
196
+ display: flex;
197
+ flex-direction: column;
198
+ height: 100vh;
199
+ width: 100%;
200
+ }
201
+ html[data-theme="light"] email-list {
202
+ background: #ffffff;
203
+ border-right-color: #e2e8f0;
204
+ }
205
+
206
+ email-list .top-bar {
207
+ height: var(--header-height);
208
+ display: flex;
209
+ justify-content: space-between;
210
+ align-items: center;
211
+ padding: 0 var(--side-padding);
212
+ background: rgba(8, 8, 26, 0.5);
213
+ flex-shrink: 0;
214
+ }
215
+ html[data-theme="light"] email-list .top-bar {
216
+ background: #ffffff;
217
+ }
218
+
219
+ .search-container {
220
+ height: var(--sub-header-height);
221
+ display: flex;
222
+ align-items: center;
223
+ padding: 0 var(--side-padding);
224
+ flex-shrink: 0;
225
+ }
226
+
227
+ email-items {
228
+ flex: 1;
229
+ overflow-y: auto;
230
+ width: 100%;
231
+ }
232
+
233
+ email-item {
234
+ display: block;
235
+ padding: 1rem var(--side-padding);
236
+ border-bottom: 1px solid rgba(255, 255, 255, 0.05);
237
+ cursor: pointer;
238
+ width: 100%;
239
+ transition: background 0.2s;
240
+ }
241
+ email-item:hover {
242
+ background: rgba(255, 255, 255, 0.03);
243
+ }
244
+ email-item.active {
245
+ background: rgba(0, 212, 255, 0.08);
246
+ border-left: 3px solid #00d4ff;
247
+ }
248
+ html[data-theme="light"] email-item {
249
+ border-bottom-color: #f1f5f9;
250
+ }
251
+ html[data-theme="light"] email-item:hover {
252
+ background: #f8fafc;
253
+ }
254
+ html[data-theme="light"] email-item.active {
255
+ background: rgba(59, 130, 246, 0.05);
256
+ }
257
+
258
+ email-meta {
259
+ display: flex;
260
+ justify-content: space-between;
261
+ margin-bottom: 0.25rem;
262
+ width: 100%;
263
+ }
264
+ email-sender {
265
+ font-size: 0.875rem;
266
+ color: #f1f5f9;
267
+ }
268
+ email-time {
269
+ font-size: 0.75rem;
270
+ color: #64748b;
271
+ }
272
+ email-subject {
273
+ font-size: 0.875rem;
274
+ color: #f1f5f9;
275
+ margin-bottom: 0.25rem;
276
+ display: block;
277
+ }
278
+ email-preview {
279
+ font-size: 0.8125rem;
280
+ color: #94a3b8;
281
+ white-space: nowrap;
282
+ overflow: hidden;
283
+ text-overflow: ellipsis;
284
+ display: block;
285
+ }
286
+ html[data-theme="light"] email-sender,
287
+ html[data-theme="light"] email-subject {
288
+ color: #0f172a;
289
+ }
290
+
291
+ email-labels {
292
+ display: flex;
293
+ gap: 0.5rem;
294
+ margin-top: 0.5rem;
295
+ }
296
+
297
+ /* Email Content Pane */
298
+ email-content {
299
+ display: flex;
300
+ flex-direction: column;
301
+ height: 100vh;
302
+ }
303
+ html[data-theme="light"] email-content {
304
+ background: #f8fafc;
305
+ }
306
+
307
+ content-top-bar {
308
+ height: var(--header-height);
309
+ display: flex;
310
+ align-items: center;
311
+ padding: 0 var(--side-padding);
312
+ flex-shrink: 0;
313
+ background: rgba(8, 8, 26, 0.3);
314
+ }
315
+ html[data-theme="light"] content-top-bar {
316
+ background: #ffffff;
317
+ }
318
+ content-top-bar .spacer {
319
+ flex: 1;
320
+ }
321
+ content-top-bar .mobile-back {
322
+ display: none;
323
+ align-items: center;
324
+ gap: 0.5rem;
325
+ color: var(--color-starlight);
326
+ font-weight: 700;
327
+ background: none;
328
+ border: none;
329
+ cursor: pointer;
330
+ }
331
+
332
+ email-header {
333
+ height: var(--sub-header-height);
334
+ display: flex;
335
+ align-items: center;
336
+ padding: 0 var(--side-padding);
337
+ flex-shrink: 0;
338
+ }
339
+ html[data-theme="light"] email-header {
340
+ background: #f8fafc;
341
+ }
342
+ email-header .spacer {
343
+ flex: 1;
344
+ }
345
+ email-header .email-subject {
346
+ font-size: 1.25rem;
347
+ font-weight: 700;
348
+ color: #f1f5f9;
349
+ margin: 0;
350
+ }
351
+ html[data-theme="light"] email-header .email-subject {
352
+ color: #0f172a;
353
+ }
354
+
355
+ email-view {
356
+ flex: 1;
357
+ overflow-y: auto;
358
+ padding: 2rem var(--side-padding);
359
+ }
360
+
361
+ sender-details h3 {
362
+ font-size: 0.875rem;
363
+ font-weight: 600;
364
+ color: #f1f5f9;
365
+ margin: 0;
366
+ }
367
+ sender-details p {
368
+ font-size: 0.75rem;
369
+ color: #64748b;
370
+ margin: 0;
371
+ }
372
+ html[data-theme="light"] sender-details h3 {
373
+ color: #0f172a;
374
+ }
375
+
376
+ email-time-full {
377
+ font-size: 0.875rem;
378
+ color: #94a3b8;
379
+ }
380
+
381
+ /* Email Body Typography */
382
+ email-body {
383
+ display: block;
384
+ line-height: 1.8;
385
+ color: #cbd5e1;
386
+ font-size: 0.9375rem;
387
+ }
388
+ email-body p {
389
+ margin-bottom: 1.25rem;
390
+ }
391
+ email-body ul {
392
+ margin: 1.25rem 0;
393
+ padding-left: 1.5rem;
394
+ list-style-type: disc;
395
+ }
396
+ email-body li {
397
+ margin-bottom: 0.625rem;
398
+ }
399
+ email-body strong {
400
+ color: #f1f5f9;
401
+ font-weight: 600;
402
+ }
403
+ email-body .starlight-brand {
404
+ color: var(--color-starlight);
405
+ font-weight: 600;
406
+ }
407
+ html[data-theme="light"] email-body {
408
+ color: #475569;
409
+ }
410
+ html[data-theme="light"] email-body strong {
411
+ color: #1e293b;
412
+ }
413
+ html[data-theme="light"] .starlight-brand {
414
+ color: #3b82f6;
415
+ }
416
+
417
+ /* Attachments Layout */
418
+ attachments {
419
+ display: block;
420
+ margin-top: 2rem;
421
+ padding-top: 1.5rem;
422
+ border-top: 1px solid rgba(255, 255, 255, 0.1);
423
+ }
424
+ html[data-theme="light"] attachments {
425
+ border-top-color: #e2e8f0;
426
+ }
427
+ attachments h3 {
428
+ font-size: 0.875rem;
429
+ font-weight: 600;
430
+ color: #94a3b8;
431
+ margin-bottom: 1rem;
432
+ }
433
+ .attachments-list {
434
+ display: flex;
435
+ gap: 1rem;
436
+ flex-wrap: wrap;
437
+ }
438
+
439
+ actions.content-footer {
440
+ margin-top: 3rem;
441
+ flex-wrap: wrap;
442
+ gap: 0.75rem;
443
+ }
444
+
445
+ actions {
446
+ display: flex;
447
+ align-items: center;
448
+ gap: 0.25rem;
449
+ }
450
+
451
+ /* ==========================================================================
452
+ SIDEBAR TOGGLE & OFF-CANVAS
453
+ ========================================================================== */
454
+
455
+ #sidebar-toggle {
456
+ display: none !important;
457
+ }
458
+
459
+ .nav-toggle {
460
+ display: none;
461
+ align-items: center;
462
+ justify-content: center;
463
+ cursor: pointer;
464
+ flex-shrink: 0;
465
+ }
466
+
467
+ .nav-toggle i {
468
+ display: inline-block;
469
+ width: 1.25rem;
470
+ height: 1.25rem;
471
+ background-color: #94a3b8;
472
+ transition: background-color 0.2s;
473
+ }
474
+
475
+ .nav-toggle:hover i {
476
+ background-color: var(--color-starlight);
477
+ }
478
+
479
+ html[data-theme="light"] .nav-toggle i {
480
+ background-color: #64748b;
481
+ }
482
+
483
+ .sidebar-overlay {
484
+ position: fixed;
485
+ top: 0;
486
+ left: 0;
487
+ right: 0;
488
+ bottom: 0;
489
+ background: rgba(0, 0, 0, 0.6);
490
+ backdrop-filter: blur(4px);
491
+ z-index: 998;
492
+ display: none;
493
+ cursor: pointer;
494
+ }
495
+
496
+ @media (max-width: 1024px) {
497
+ .email-client {
498
+ grid-template-columns: 1fr !important;
499
+ }
500
+
501
+ email-sidebar {
502
+ position: fixed;
503
+ left: 0;
504
+ top: 0;
505
+ bottom: 0;
506
+ z-index: 1000;
507
+ width: var(--sidebar-width);
508
+ transform: translateX(-100%);
509
+ transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
510
+ display: flex !important;
511
+ }
512
+
513
+ html[data-theme="light"] email-sidebar {
514
+ background: #ffffff !important;
515
+ }
516
+
517
+ #sidebar-toggle:checked ~ email-sidebar {
518
+ transform: translateX(0);
519
+ }
520
+
521
+ #sidebar-toggle:checked ~ .sidebar-overlay {
522
+ display: block;
523
+ }
524
+
525
+ .list-toggle {
526
+ display: flex;
527
+ }
528
+ }
529
+
530
+ @media (max-width: 768px) {
531
+ .content-toggle {
532
+ display: flex;
533
+ }
534
+ }
535
+
536
+ /* ==========================================================================
537
+ RESPONSIVE DESIGN
538
+ ========================================================================== */
539
+
540
+ @media (max-width: 768px) {
541
+ .email-client {
542
+ width: 100vw;
543
+ }
544
+ .email-main {
545
+ grid-template-columns: 1fr;
546
+ width: 100vw;
547
+ }
548
+
549
+ email-list {
550
+ width: 100vw;
551
+ }
552
+ email-items {
553
+ width: 100vw;
554
+ }
555
+ email-item {
556
+ width: 100%;
557
+ }
558
+
559
+ email-content {
560
+ position: fixed;
561
+ top: 0;
562
+ left: 0;
563
+ right: 0;
564
+ bottom: 0;
565
+ z-index: 100;
566
+ background: #08081a;
567
+ transform: translateX(100%);
568
+ transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
569
+ width: 100vw;
570
+ }
571
+
572
+ html[data-theme="light"] email-content {
573
+ background: #ffffff !important;
574
+ }
575
+
576
+ email-content.mobile-visible {
577
+ transform: translateX(0);
578
+ }
579
+ content-top-bar .mobile-back {
580
+ display: flex;
581
+ }
582
+ }