@howssatoshi/quantumcss 1.11.2 → 1.11.4
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 +27 -6
- package/dist/quantum.min.css +2 -2
- package/examples/admin-panel.html +18 -6
- package/examples/analytics-dashboard.html +15 -9
- package/examples/chat-messaging.html +40 -3
- package/examples/email-client.css +62 -1
- package/examples/index.html +17 -1
- package/examples/kitchen-sink.html +8 -2
- package/examples/music-streaming.html +67 -6
- package/examples/news.html +29 -3
- package/examples/nova-shop.css +1 -0
- package/examples/portfolio.html +16 -0
- package/examples/shopping.html +1 -1
- package/examples/travel.html +29 -2
- package/examples/video-streaming.html +85 -13
- package/package.json +1 -1
- package/src/cli.js +102 -10
- package/src/defaults.js +409 -18
- package/src/generator.js +1 -1
- package/src/styles/quantum-animations.css +2 -2
- package/src/styles/quantum-base.css +36 -5
- package/src/styles/quantum-components.css +80 -9
- package/src/styles/starlight.css +224 -35
|
@@ -71,6 +71,24 @@
|
|
|
71
71
|
display: none;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
+
.top-nav-actions {
|
|
75
|
+
gap: 0.5rem;
|
|
76
|
+
flex-wrap: wrap;
|
|
77
|
+
justify-content: flex-end;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.top-nav {
|
|
81
|
+
flex-wrap: wrap;
|
|
82
|
+
gap: 0.5rem;
|
|
83
|
+
}
|
|
84
|
+
.top-nav > div:first-child {
|
|
85
|
+
flex: 1 1 100%;
|
|
86
|
+
min-width: 0;
|
|
87
|
+
}
|
|
88
|
+
.breadcrumb {
|
|
89
|
+
flex-wrap: wrap;
|
|
90
|
+
}
|
|
91
|
+
|
|
74
92
|
.app-layout {
|
|
75
93
|
grid-template-columns: 1fr;
|
|
76
94
|
}
|
|
@@ -82,12 +100,6 @@
|
|
|
82
100
|
table {
|
|
83
101
|
min-width: 800px;
|
|
84
102
|
}
|
|
85
|
-
|
|
86
|
-
.page-header {
|
|
87
|
-
flex-direction: column;
|
|
88
|
-
align-items: flex-start;
|
|
89
|
-
gap: 1rem;
|
|
90
|
-
}
|
|
91
103
|
}
|
|
92
104
|
|
|
93
105
|
/* Animations */
|
|
@@ -324,9 +324,15 @@
|
|
|
324
324
|
}
|
|
325
325
|
|
|
326
326
|
.page-header {
|
|
327
|
-
flex-
|
|
328
|
-
align-items:
|
|
329
|
-
gap:
|
|
327
|
+
flex-wrap: wrap;
|
|
328
|
+
align-items: flex-start;
|
|
329
|
+
gap: 1rem;
|
|
330
|
+
}
|
|
331
|
+
.page-header > div:first-child {
|
|
332
|
+
flex: 1 1 100%;
|
|
333
|
+
}
|
|
334
|
+
.page-actions {
|
|
335
|
+
justify-content: flex-start;
|
|
330
336
|
}
|
|
331
337
|
}
|
|
332
338
|
|
|
@@ -401,17 +407,17 @@
|
|
|
401
407
|
</nav>
|
|
402
408
|
|
|
403
409
|
<div class="aside-nav-footer">
|
|
404
|
-
<div class="aside-nav-user"
|
|
410
|
+
<div class="aside-nav-user">
|
|
405
411
|
<div class="aside-nav-user-avatar">JD</div>
|
|
406
412
|
<div class="aside-nav-user-info">
|
|
407
413
|
<strong>John Doe</strong>
|
|
408
414
|
<span>Admin Profile</span>
|
|
409
415
|
</div>
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
416
|
+
</div>
|
|
417
|
+
<div class="aside-nav-user-action" onclick="toggleTheme()" style="cursor: pointer;" title="Click to Toggle Theme">
|
|
418
|
+
<i class="q-icon-display opacity-50"></i>
|
|
419
|
+
<i class="q-icon-sun sun-icon hidden opacity-50"></i>
|
|
420
|
+
<i class="q-icon-moon moon-icon hidden opacity-50"></i>
|
|
415
421
|
</div>
|
|
416
422
|
</div>
|
|
417
423
|
</aside>
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
height: 100vh;
|
|
14
14
|
background: var(--q-color-bg, #08081a);
|
|
15
15
|
overflow: hidden;
|
|
16
|
+
position: relative;
|
|
16
17
|
}
|
|
17
18
|
.chat-sidebar {
|
|
18
19
|
background: linear-gradient(180deg, color-mix(in srgb, var(--q-color-bg), white 2%) 0%, var(--q-color-bg) 100%);
|
|
@@ -67,13 +68,49 @@
|
|
|
67
68
|
.theme-btn { width: 100%; display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem; background: var(--q-color-surface); border: 1px solid var(--q-color-border); border-radius: 0.75rem; color: var(--q-text-primary, #f1f5f9); cursor: pointer; transition: all 0.2s ease; }
|
|
68
69
|
.theme-btn:hover { background: var(--q-highlight-bg); }
|
|
69
70
|
.theme-label { font-size: 0.875rem; font-weight: 500; }
|
|
71
|
+
.chat-sidebar-toggle { display: none; }
|
|
70
72
|
html[data-theme="light"] { --bg-primary: var(--q-light-bg); --text-primary: var(--q-light-text); --text-secondary: var(--q-light-text-muted); --text-muted: var(--q-light-text-muted); }
|
|
71
73
|
html[data-theme="light"] .message.received .message-bubble { background: #fff; border: 1px solid #e2e8f0; color: #0f172a; }
|
|
72
74
|
html[data-theme="light"] .message.sent .message-bubble { background: var(--q-color-primary); color: #fff; }
|
|
73
|
-
@media (max-width: 768px) {
|
|
75
|
+
@media (max-width: 768px) {
|
|
76
|
+
.chat-app { grid-template-columns: 1fr; }
|
|
77
|
+
.chat-sidebar {
|
|
78
|
+
position: fixed;
|
|
79
|
+
left: 0;
|
|
80
|
+
top: 0;
|
|
81
|
+
bottom: 0;
|
|
82
|
+
width: 300px;
|
|
83
|
+
transform: translateX(-100%);
|
|
84
|
+
z-index: 200;
|
|
85
|
+
transition: transform 0.3s ease;
|
|
86
|
+
}
|
|
87
|
+
.chat-sidebar-toggle {
|
|
88
|
+
display: flex;
|
|
89
|
+
cursor: pointer;
|
|
90
|
+
padding: 0.5rem;
|
|
91
|
+
z-index: 10;
|
|
92
|
+
}
|
|
93
|
+
.sidebar-header {
|
|
94
|
+
padding: 1.25rem;
|
|
95
|
+
border-bottom: 1px solid var(--q-color-border);
|
|
96
|
+
display: flex;
|
|
97
|
+
flex-direction: column;
|
|
98
|
+
gap: 1rem;
|
|
99
|
+
}
|
|
100
|
+
.sidebar-header-top {
|
|
101
|
+
display: flex;
|
|
102
|
+
align-items: center;
|
|
103
|
+
justify-content: space-between;
|
|
104
|
+
}
|
|
105
|
+
#chat-sidebar-toggle:checked ~ .chat-app .chat-sidebar {
|
|
106
|
+
transform: translateX(0);
|
|
107
|
+
}
|
|
108
|
+
.message { max-width: 85%; }
|
|
109
|
+
}
|
|
74
110
|
</style>
|
|
75
111
|
</head>
|
|
76
112
|
<body>
|
|
113
|
+
<input type="checkbox" id="chat-sidebar-toggle" class="hidden">
|
|
77
114
|
<div class="chat-app">
|
|
78
115
|
<aside class="chat-sidebar">
|
|
79
116
|
<div class="sidebar-header">
|
|
@@ -175,9 +212,9 @@
|
|
|
175
212
|
<button class="icon-btn icon-btn-circle">
|
|
176
213
|
<i class="q-icon-video"></i>
|
|
177
214
|
</button>
|
|
178
|
-
<
|
|
215
|
+
<label for="chat-sidebar-toggle" class="icon-btn icon-btn-circle" style="cursor: pointer;">
|
|
179
216
|
<i class="q-icon-more-vertical"></i>
|
|
180
|
-
</
|
|
217
|
+
</label>
|
|
181
218
|
</div>
|
|
182
219
|
</div>
|
|
183
220
|
<div class="messages-container">
|
|
@@ -335,23 +335,36 @@ email-header {
|
|
|
335
335
|
align-items: center;
|
|
336
336
|
padding: 0 var(--side-padding);
|
|
337
337
|
flex-shrink: 0;
|
|
338
|
+
gap: 1rem;
|
|
338
339
|
}
|
|
339
340
|
html[data-theme="light"] email-header {
|
|
340
341
|
background: #f8fafc;
|
|
341
342
|
}
|
|
342
343
|
email-header .spacer {
|
|
343
|
-
flex:
|
|
344
|
+
flex: 0;
|
|
344
345
|
}
|
|
345
346
|
email-header .email-subject {
|
|
346
347
|
font-size: 1.25rem;
|
|
347
348
|
font-weight: 700;
|
|
348
349
|
color: #f1f5f9;
|
|
349
350
|
margin: 0;
|
|
351
|
+
flex: 1;
|
|
352
|
+
min-width: 0;
|
|
353
|
+
align-self: center;
|
|
354
|
+
line-height: 1.2;
|
|
350
355
|
}
|
|
351
356
|
html[data-theme="light"] email-header .email-subject {
|
|
352
357
|
color: #0f172a;
|
|
353
358
|
}
|
|
354
359
|
|
|
360
|
+
email-header actions {
|
|
361
|
+
display: flex;
|
|
362
|
+
align-items: center;
|
|
363
|
+
gap: 0.25rem;
|
|
364
|
+
flex-shrink: 0;
|
|
365
|
+
margin-left: auto;
|
|
366
|
+
}
|
|
367
|
+
|
|
355
368
|
email-view {
|
|
356
369
|
flex: 1;
|
|
357
370
|
overflow-y: auto;
|
|
@@ -567,6 +580,8 @@ html[data-theme="light"] .nav-toggle i {
|
|
|
567
580
|
transform: translateX(100%);
|
|
568
581
|
transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
|
569
582
|
width: 100vw;
|
|
583
|
+
display: flex;
|
|
584
|
+
flex-direction: column;
|
|
570
585
|
}
|
|
571
586
|
|
|
572
587
|
html[data-theme="light"] email-content {
|
|
@@ -579,4 +594,50 @@ html[data-theme="light"] .nav-toggle i {
|
|
|
579
594
|
content-top-bar .mobile-back {
|
|
580
595
|
display: flex;
|
|
581
596
|
}
|
|
597
|
+
|
|
598
|
+
content-top-bar {
|
|
599
|
+
flex-wrap: wrap;
|
|
600
|
+
gap: 0.5rem;
|
|
601
|
+
padding: 0.5rem 0.75rem;
|
|
602
|
+
min-height: 60px;
|
|
603
|
+
max-height: none;
|
|
604
|
+
height: auto;
|
|
605
|
+
}
|
|
606
|
+
content-top-bar .mobile-back {
|
|
607
|
+
width: 100%;
|
|
608
|
+
flex-basis: 100%;
|
|
609
|
+
margin-bottom: 0.25rem;
|
|
610
|
+
}
|
|
611
|
+
content-top-bar user-cell {
|
|
612
|
+
flex: 1 1 calc(100% - 80px);
|
|
613
|
+
min-width: 150px;
|
|
614
|
+
}
|
|
615
|
+
content-top-bar email-time-full {
|
|
616
|
+
flex: 0 0 auto;
|
|
617
|
+
font-size: 0.75rem;
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
email-header {
|
|
621
|
+
flex-wrap: wrap;
|
|
622
|
+
padding: 0.5rem 0.75rem;
|
|
623
|
+
min-height: 44px;
|
|
624
|
+
height: auto;
|
|
625
|
+
gap: 0.5rem;
|
|
626
|
+
}
|
|
627
|
+
email-header .email-subject {
|
|
628
|
+
font-size: 1rem;
|
|
629
|
+
order: 1;
|
|
630
|
+
flex: 1 1 100%;
|
|
631
|
+
width: 100%;
|
|
632
|
+
align-self: center;
|
|
633
|
+
}
|
|
634
|
+
email-header .spacer {
|
|
635
|
+
display: none;
|
|
636
|
+
}
|
|
637
|
+
email-header actions {
|
|
638
|
+
order: 2;
|
|
639
|
+
display: flex;
|
|
640
|
+
gap: 0.25rem;
|
|
641
|
+
margin-left: auto;
|
|
642
|
+
}
|
|
582
643
|
}
|
package/examples/index.html
CHANGED
|
@@ -12,6 +12,22 @@
|
|
|
12
12
|
background: transparent !important;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
+
@media (max-width: 640px) {
|
|
16
|
+
.hero .flex {
|
|
17
|
+
flex-direction: column;
|
|
18
|
+
gap: 0.75rem !important;
|
|
19
|
+
align-items: stretch;
|
|
20
|
+
}
|
|
21
|
+
.hero .flex button,
|
|
22
|
+
.hero .flex a {
|
|
23
|
+
width: 100%;
|
|
24
|
+
justify-content: center;
|
|
25
|
+
}
|
|
26
|
+
header.hero .pt-8 { padding-top: 2rem; }
|
|
27
|
+
header.hero h1 { font-size: 2.5rem; }
|
|
28
|
+
header.hero .pb-12 { padding-bottom: 2rem; }
|
|
29
|
+
}
|
|
30
|
+
|
|
15
31
|
/* Theme Toggle specific local style */
|
|
16
32
|
.theme-toggle {
|
|
17
33
|
position: fixed;
|
|
@@ -169,7 +185,7 @@
|
|
|
169
185
|
<div class="pt-8 pb-12 text-center">
|
|
170
186
|
<span
|
|
171
187
|
class="text-[10px] font-black tracking-[0.3em] text-accent uppercase mb-6 block"
|
|
172
|
-
>QuantumCSS v1.11.
|
|
188
|
+
>QuantumCSS v1.11.4</span
|
|
173
189
|
>
|
|
174
190
|
<h1
|
|
175
191
|
class="text-7xl md:text-8xl text-gradient font-black uppercase italic tracking-tighter mb-8"
|
|
@@ -45,6 +45,8 @@
|
|
|
45
45
|
display: flex; justify-content: space-between; align-items: center;
|
|
46
46
|
margin-bottom: 1.5rem; cursor: pointer;
|
|
47
47
|
}
|
|
48
|
+
.designer-header i { transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
|
|
49
|
+
.designer-panel.minimized .designer-header i { transform: rotate(180deg); }
|
|
48
50
|
.designer-title { font-weight: 900; font-size: 0.75rem; text-transform: uppercase; tracking-widest; opacity: 0.8; }
|
|
49
51
|
.control-group { margin-bottom: 1.25rem; }
|
|
50
52
|
.control-label { display: flex; justify-content: space-between; font-size: 0.7rem; text-transform: uppercase; font-weight: 700; margin-bottom: 0.5rem; opacity: 0.6; }
|
|
@@ -1067,7 +1069,11 @@
|
|
|
1067
1069
|
<!-- Vertical Navigation -->
|
|
1068
1070
|
<div class="starlight-card p-0">
|
|
1069
1071
|
<div class="p-4 border-b border-white_5 bg-white_5 text-[10px] uppercase font-bold tracking-widest opacity-50">Vertical Sidebar (.aside-nav)</div>
|
|
1070
|
-
<div class="flex h-[400px] overflow-hidden">
|
|
1072
|
+
<div class="flex h-[400px] overflow-hidden relative">
|
|
1073
|
+
<input type="checkbox" id="sidebar-toggle-mobile" class="hidden">
|
|
1074
|
+
<label for="sidebar-toggle-mobile" class="aside-nav-trigger">
|
|
1075
|
+
<span class="aside-nav-trigger-icon"><span></span><span></span><span></span></span>
|
|
1076
|
+
</label>
|
|
1071
1077
|
<aside class="aside-nav" aria-label="Sidebar navigation">
|
|
1072
1078
|
<div class="aside-nav-header">
|
|
1073
1079
|
<a href="/" class="nav-logo" aria-label="Starlight OS">
|
|
@@ -1382,7 +1388,7 @@
|
|
|
1382
1388
|
<div class="p-4 border-b border-white_5 bg-white_5 text-[10px] uppercase font-bold tracking-widest opacity-50">Tab Interface (.tab-list)</div>
|
|
1383
1389
|
<div class="p-8">
|
|
1384
1390
|
<div class="max-w-2xl mx-auto">
|
|
1385
|
-
<div class="tab-list mb-4">
|
|
1391
|
+
<div class="tab-list mb-4 touch-slide">
|
|
1386
1392
|
<button class="tab-button active" data-tab="tab-overview">Overview</button>
|
|
1387
1393
|
<button class="tab-button" data-tab="tab-specs">Specifications</button>
|
|
1388
1394
|
<button class="tab-button" data-tab="tab-logs">System Logs</button>
|
|
@@ -26,6 +26,60 @@
|
|
|
26
26
|
display: flex;
|
|
27
27
|
flex-direction: column;
|
|
28
28
|
overflow-y: auto;
|
|
29
|
+
position: relative;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.sidebar-overlay {
|
|
33
|
+
display: none;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@media (max-width: 768px) {
|
|
37
|
+
.music-sidebar {
|
|
38
|
+
position: fixed;
|
|
39
|
+
left: 0;
|
|
40
|
+
top: 0;
|
|
41
|
+
bottom: 0;
|
|
42
|
+
width: 260px;
|
|
43
|
+
transform: translateX(-100%);
|
|
44
|
+
z-index: 200;
|
|
45
|
+
transition: transform 0.3s ease;
|
|
46
|
+
}
|
|
47
|
+
#music-sidebar-toggle:checked ~ .music-app .music-sidebar {
|
|
48
|
+
transform: translateX(0);
|
|
49
|
+
}
|
|
50
|
+
.sidebar-overlay {
|
|
51
|
+
display: block;
|
|
52
|
+
position: fixed;
|
|
53
|
+
inset: 0;
|
|
54
|
+
background: rgba(0, 0, 0, 0.5);
|
|
55
|
+
z-index: 199;
|
|
56
|
+
opacity: 0;
|
|
57
|
+
pointer-events: none;
|
|
58
|
+
transition: opacity 0.3s ease;
|
|
59
|
+
}
|
|
60
|
+
#music-sidebar-toggle:checked ~ .music-app .sidebar-overlay {
|
|
61
|
+
opacity: 1;
|
|
62
|
+
pointer-events: auto;
|
|
63
|
+
}
|
|
64
|
+
.sidebar-toggle {
|
|
65
|
+
display: flex;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.music-sidebar .music-logo span,
|
|
69
|
+
.music-sidebar .nav-title,
|
|
70
|
+
.music-sidebar .nav-item span,
|
|
71
|
+
.music-sidebar .create-playlist-btn span {
|
|
72
|
+
display: inline;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.music-sidebar .nav-item {
|
|
76
|
+
justify-content: flex-start !important;
|
|
77
|
+
padding: 0.75rem 1rem;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.music-sidebar .music-logo {
|
|
81
|
+
justify-content: flex-start;
|
|
82
|
+
}
|
|
29
83
|
}
|
|
30
84
|
|
|
31
85
|
.music-logo {
|
|
@@ -470,6 +524,9 @@
|
|
|
470
524
|
font-weight: 600;
|
|
471
525
|
color: var(--text-primary, #f1f5f9);
|
|
472
526
|
margin-bottom: 0.25rem;
|
|
527
|
+
white-space: nowrap;
|
|
528
|
+
overflow: hidden;
|
|
529
|
+
text-overflow: ellipsis;
|
|
473
530
|
}
|
|
474
531
|
|
|
475
532
|
.now-playing-artist {
|
|
@@ -730,6 +787,12 @@
|
|
|
730
787
|
.player-bar {
|
|
731
788
|
grid-template-columns: 200px 1fr 200px;
|
|
732
789
|
}
|
|
790
|
+
|
|
791
|
+
.now-playing-title {
|
|
792
|
+
white-space: nowrap;
|
|
793
|
+
overflow: hidden;
|
|
794
|
+
text-overflow: ellipsis;
|
|
795
|
+
}
|
|
733
796
|
}
|
|
734
797
|
|
|
735
798
|
@media (max-width: 768px) {
|
|
@@ -738,10 +801,6 @@
|
|
|
738
801
|
grid-template-rows: 1fr auto 80px;
|
|
739
802
|
}
|
|
740
803
|
|
|
741
|
-
.music-sidebar {
|
|
742
|
-
display: none;
|
|
743
|
-
}
|
|
744
|
-
|
|
745
804
|
.main-content {
|
|
746
805
|
padding: 1rem;
|
|
747
806
|
}
|
|
@@ -800,7 +859,9 @@
|
|
|
800
859
|
</style>
|
|
801
860
|
</head>
|
|
802
861
|
<body>
|
|
862
|
+
<input type="checkbox" id="music-sidebar-toggle" class="hidden">
|
|
803
863
|
<div class="music-app">
|
|
864
|
+
<label for="music-sidebar-toggle" class="sidebar-overlay"></label>
|
|
804
865
|
<!-- Sidebar -->
|
|
805
866
|
<aside class="music-sidebar">
|
|
806
867
|
<div class="music-logo">
|
|
@@ -917,9 +978,9 @@
|
|
|
917
978
|
<button class="action-icon liked">
|
|
918
979
|
<i class="q-icon-heart-fill w-8 h-8"></i>
|
|
919
980
|
</button>
|
|
920
|
-
<
|
|
981
|
+
<label for="music-sidebar-toggle" class="action-icon sidebar-toggle" style="cursor: pointer;">
|
|
921
982
|
<i class="q-icon-more-horizontal-fill w-7 h-7"></i>
|
|
922
|
-
</
|
|
983
|
+
</label>
|
|
923
984
|
</div>
|
|
924
985
|
|
|
925
986
|
<!-- Track List -->
|
package/examples/news.html
CHANGED
|
@@ -66,23 +66,49 @@
|
|
|
66
66
|
@media (min-width: 768px) {
|
|
67
67
|
.nav-header .btn-secondary { display: block; }
|
|
68
68
|
}
|
|
69
|
+
|
|
70
|
+
/* Responsive Nav Tweak for Medium Screens */
|
|
71
|
+
@media (min-width: 640px) and (max-width: 1024px) {
|
|
72
|
+
.nav-header .nav-links a {
|
|
73
|
+
font-size: 0.75rem;
|
|
74
|
+
padding: 0.4rem 0.3rem;
|
|
75
|
+
letter-spacing: -0.02em;
|
|
76
|
+
}
|
|
77
|
+
.nav-header .nav-links {
|
|
78
|
+
gap: 0;
|
|
79
|
+
}
|
|
80
|
+
.nav-header .text-2xl, .nav-header .sm\:text-4xl {
|
|
81
|
+
font-size: 1.5rem !important; /* Scale logo down for md range */
|
|
82
|
+
}
|
|
83
|
+
.nav-header .px-6 {
|
|
84
|
+
padding-left: 1rem !important;
|
|
85
|
+
padding-right: 1rem !important;
|
|
86
|
+
}
|
|
87
|
+
.nav-header .gap-4 {
|
|
88
|
+
gap: 0.5rem !important;
|
|
89
|
+
}
|
|
90
|
+
.nav-header .btn-secondary {
|
|
91
|
+
padding-left: 1rem !important;
|
|
92
|
+
padding-right: 1rem !important;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
69
95
|
</style>
|
|
70
96
|
</head>
|
|
71
97
|
<body class="bg-surface">
|
|
72
98
|
<!-- Navigation -->
|
|
73
99
|
<input type="checkbox" id="nav-toggle" class="nav-toggle" />
|
|
74
100
|
<header class="nav-header">
|
|
75
|
-
<div class="
|
|
101
|
+
<div class="mx-auto px-6 flex items-center justify-between w-full h-full">
|
|
76
102
|
<div class="text-2xl sm:text-4xl font-bold tracking-tighter uppercase italic text-primary shrink-0">QUANTUM<span class="text-blue-600">NEWS</span></div>
|
|
77
103
|
|
|
78
|
-
<nav class="nav-links
|
|
104
|
+
<nav class="nav-links flex-1 justify-center">
|
|
79
105
|
<a href="#" class="transition-colors">Neural Mesh</a>
|
|
80
106
|
<a href="#" class="transition-colors">Bio-Tech</a>
|
|
81
107
|
<a href="#" class="transition-colors">Space-X</a>
|
|
82
108
|
<a href="#" class="transition-colors">Quantum Compute</a>
|
|
83
109
|
</nav>
|
|
84
110
|
|
|
85
|
-
<div class="flex items-center gap-
|
|
111
|
+
<div class="flex items-center gap-4">
|
|
86
112
|
<div id="theme-btn" class="theme-toggle" onclick="toggleTheme()" title="Toggle Theme">
|
|
87
113
|
<i class="q-icon-display"></i>
|
|
88
114
|
<i class="q-icon-sun sun-icon"></i>
|
package/examples/nova-shop.css
CHANGED
|
@@ -977,6 +977,7 @@ html[data-theme="light"] .search-bar-input {
|
|
|
977
977
|
|
|
978
978
|
/* ── Responsive ── */
|
|
979
979
|
@media (max-width: 768px) {
|
|
980
|
+
.hero h1 { font-size: 2rem; }
|
|
980
981
|
.hero-stats { gap: 1.5rem; flex-wrap: wrap; }
|
|
981
982
|
.product-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
|
|
982
983
|
.footer-grid { grid-template-columns: 1fr; gap: 2rem; }
|
package/examples/portfolio.html
CHANGED
|
@@ -146,6 +146,22 @@
|
|
|
146
146
|
<h2 class="text-5xl font-black uppercase italic mb-12">Release History</h2>
|
|
147
147
|
|
|
148
148
|
<div class="starlight-timeline">
|
|
149
|
+
<div class="timeline-item">
|
|
150
|
+
<div class="timeline-dot"></div>
|
|
151
|
+
<div class="timeline-content">
|
|
152
|
+
<span class="timeline-date">March 2026</span>
|
|
153
|
+
<h3 class="text-xl font-bold mb-2">v1.11.4: Navigation & UI Refinement</h3>
|
|
154
|
+
<p class="opacity-70 text-sm">Polished nav-header scaling for medium displays, fixed flex-1 overflow in travel/news templates, improved icon visibility in light mode, and refined icon-only sidebar layouts.</p>
|
|
155
|
+
</div>
|
|
156
|
+
</div>
|
|
157
|
+
<div class="timeline-item">
|
|
158
|
+
<div class="timeline-dot"></div>
|
|
159
|
+
<div class="timeline-content">
|
|
160
|
+
<span class="timeline-date">March 2026</span>
|
|
161
|
+
<h3 class="text-xl font-bold mb-2">v1.11.3: Touch Slide Navigation</h3>
|
|
162
|
+
<p class="opacity-70 text-sm">Added touch-slide class for mobile horizontal swipe navigation in shopping template navbar actions and kitchen-sink.html tab-list.</p>
|
|
163
|
+
</div>
|
|
164
|
+
</div>
|
|
149
165
|
<div class="timeline-item">
|
|
150
166
|
<div class="timeline-dot"></div>
|
|
151
167
|
<div class="timeline-content">
|
package/examples/shopping.html
CHANGED
package/examples/travel.html
CHANGED
|
@@ -40,6 +40,12 @@
|
|
|
40
40
|
z-index: -1;
|
|
41
41
|
transition: opacity 0.5s ease;
|
|
42
42
|
}
|
|
43
|
+
@media (max-width: 768px) {
|
|
44
|
+
.hero-glow {
|
|
45
|
+
width: 100%;
|
|
46
|
+
right: -50%;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
43
49
|
html[data-theme="light"] .hero-glow { opacity: 0; }
|
|
44
50
|
|
|
45
51
|
/* Theme Toggle Styling */
|
|
@@ -84,6 +90,22 @@
|
|
|
84
90
|
@media (min-width: 768px) {
|
|
85
91
|
.nav-header .btn-starlight { display: block; }
|
|
86
92
|
}
|
|
93
|
+
|
|
94
|
+
@media (max-width: 900px) {
|
|
95
|
+
.nav-header .nav-links {
|
|
96
|
+
gap: 0.75rem !important;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
@media (max-width: 768px) {
|
|
101
|
+
.starlight-hero h1 { font-size: 2.5rem; }
|
|
102
|
+
.starlight-hero p { font-size: 1rem; padding: 0 1rem; }
|
|
103
|
+
.starlight-hero form { padding: 1.5rem; }
|
|
104
|
+
.starlight-hero form input { font-size: 1rem !important; }
|
|
105
|
+
.starlight-hero form button { width: 100%; }
|
|
106
|
+
.container { padding-left: 1rem; padding-right: 1rem; }
|
|
107
|
+
.starlight-footer .container > div { grid-template-columns: 1fr; }
|
|
108
|
+
}
|
|
87
109
|
html[data-theme="light"] .nav-header a { color: var(--q-light-text-muted) !important; }
|
|
88
110
|
html[data-theme="light"] .nav-header a:hover { color: var(--q-color-primary) !important; }
|
|
89
111
|
html[data-theme="light"] .text-gradient {
|
|
@@ -192,6 +214,11 @@
|
|
|
192
214
|
background: var(--q-color-primary);
|
|
193
215
|
color: white;
|
|
194
216
|
}
|
|
217
|
+
html[data-theme="light"] .date-picker-input,
|
|
218
|
+
html[data-theme="light"] input[placeholder="Where to?"] {
|
|
219
|
+
background: white;
|
|
220
|
+
color: #1e293b;
|
|
221
|
+
}
|
|
195
222
|
</style>
|
|
196
223
|
</head>
|
|
197
224
|
<body class="text-primary">
|
|
@@ -203,7 +230,7 @@
|
|
|
203
230
|
<div class="container mx-auto px-6 flex items-center justify-between w-full">
|
|
204
231
|
<h1 class="text-3xl font-black tracking-tighter text-gradient uppercase">NEBULA</h1>
|
|
205
232
|
|
|
206
|
-
<nav class="nav-links
|
|
233
|
+
<nav class="nav-links flex-1 uppercase justify-center">
|
|
207
234
|
<a href="#" class="hover:text-starlight-blue transition-colors">Destinations</a>
|
|
208
235
|
<a href="#" class="hover:text-starlight-blue transition-colors">Cruises</a>
|
|
209
236
|
<a href="#" class="hover:text-starlight-blue transition-colors">Excursions</a>
|
|
@@ -216,7 +243,7 @@
|
|
|
216
243
|
<i class="q-icon-sun sun-icon"></i>
|
|
217
244
|
<i class="q-icon-moon moon-icon"></i>
|
|
218
245
|
</button>
|
|
219
|
-
<button class="btn-starlight px-8 h-12 text-[10px] font-black uppercase tracking-widest">Book Now</button>
|
|
246
|
+
<button class="btn-starlight px-8 h-12 text-[10px] font-black uppercase tracking-widest" style="white-space: nowrap;">Book Now</button>
|
|
220
247
|
<label for="nav-toggle" class="nav-hamburger" aria-label="Toggle menu">
|
|
221
248
|
<span class="nav-hamburger-icon"><span></span><span></span><span></span></span>
|
|
222
249
|
</label>
|