@howssatoshi/quantumcss 1.7.2 → 1.7.3
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/dist/quantum.min.css +94 -63
- package/examples/chat-messaging.html +5 -5
- package/examples/index.html +25 -4
- package/package.json +1 -1
- package/src/defaults.js +4 -4
- package/src/styles/quantum-base.css +4 -2
- package/src/styles/starlight.css +31 -18
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Quantum CSS - Next-Generation Utility Framework
|
|
2
2
|
|
|
3
|
-

|
|
4
4
|

|
|
5
5
|
-brightgreen)
|
|
6
6
|
|
package/dist/quantum.min.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* QuantumCSS + Starlight UI v1.7.
|
|
2
|
+
* QuantumCSS + Starlight UI v1.7.3 - Advanced Utility-First CSS Framework
|
|
3
3
|
* https://github.com/macroadster/quantumcss
|
|
4
4
|
* Copyright (c) 2026 Eric Yang
|
|
5
5
|
* License: MIT
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/*!
|
|
9
9
|
* QuantumCSS + Starlight UI
|
|
10
10
|
* Advanced utility-first framework with ethereal cosmic aesthetics
|
|
11
|
-
* Version: 1.7.
|
|
11
|
+
* Version: 1.7.3
|
|
12
12
|
* Features: Modern CSS, JIT Engine, Starlight Components, Dark Mode
|
|
13
13
|
*/
|
|
14
14
|
|
|
@@ -190,10 +190,12 @@ body {
|
|
|
190
190
|
input, textarea, select, button {
|
|
191
191
|
font-family: inherit;
|
|
192
192
|
font-size: inherit;
|
|
193
|
-
line-height:
|
|
193
|
+
line-height: normal;
|
|
194
194
|
color: inherit;
|
|
195
195
|
border: none;
|
|
196
196
|
outline: 0;
|
|
197
|
+
padding: 0;
|
|
198
|
+
margin: 0;
|
|
197
199
|
background: transparent;
|
|
198
200
|
}
|
|
199
201
|
|
|
@@ -3335,8 +3337,9 @@ html[data-theme="light"] .star {
|
|
|
3335
3337
|
.dialog-overlay {
|
|
3336
3338
|
position: fixed;
|
|
3337
3339
|
inset: 0;
|
|
3338
|
-
background:
|
|
3339
|
-
backdrop-filter: blur(
|
|
3340
|
+
background: rgba(0, 0, 0, 0.6);
|
|
3341
|
+
backdrop-filter: blur(16px);
|
|
3342
|
+
-webkit-backdrop-filter: blur(16px);
|
|
3340
3343
|
display: flex;
|
|
3341
3344
|
align-items: center;
|
|
3342
3345
|
justify-content: center;
|
|
@@ -3456,21 +3459,22 @@ html[data-theme="light"] .dialog-content {
|
|
|
3456
3459
|
position: absolute;
|
|
3457
3460
|
top: 100%;
|
|
3458
3461
|
left: 0;
|
|
3459
|
-
background:
|
|
3460
|
-
backdrop-filter: blur(
|
|
3461
|
-
-webkit-backdrop-filter: blur(
|
|
3462
|
-
border: 1px solid
|
|
3462
|
+
background-color: rgba(8, 8, 26, 0.8);
|
|
3463
|
+
backdrop-filter: blur(16px);
|
|
3464
|
+
-webkit-backdrop-filter: blur(16px);
|
|
3465
|
+
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
3463
3466
|
border-radius: 0.75rem;
|
|
3464
3467
|
padding: 0.5rem;
|
|
3465
3468
|
margin-top: 0.5rem;
|
|
3466
3469
|
min-width: 200px;
|
|
3467
3470
|
z-index: 600;
|
|
3468
|
-
box-shadow: 0 20px 40px
|
|
3471
|
+
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
|
|
3469
3472
|
opacity: 0;
|
|
3470
3473
|
visibility: hidden;
|
|
3471
3474
|
transform: translateY(10px);
|
|
3472
3475
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
3473
3476
|
pointer-events: none;
|
|
3477
|
+
will-change: backdrop-filter, transform, opacity;
|
|
3474
3478
|
}
|
|
3475
3479
|
|
|
3476
3480
|
.dropdown:hover .dropdown-menu,
|
|
@@ -3479,6 +3483,8 @@ html[data-theme="light"] .dialog-content {
|
|
|
3479
3483
|
visibility: visible;
|
|
3480
3484
|
transform: translateY(0);
|
|
3481
3485
|
pointer-events: auto;
|
|
3486
|
+
backdrop-filter: blur(16px) !important;
|
|
3487
|
+
-webkit-backdrop-filter: blur(16px) !important;
|
|
3482
3488
|
}
|
|
3483
3489
|
|
|
3484
3490
|
.dropdown-item {
|
|
@@ -3486,7 +3492,7 @@ html[data-theme="light"] .dialog-content {
|
|
|
3486
3492
|
width: 100%;
|
|
3487
3493
|
padding: 0.625rem 1rem;
|
|
3488
3494
|
border-radius: 0.5rem;
|
|
3489
|
-
color: var(--q-text-primary,
|
|
3495
|
+
color: var(--q-text-primary, rgba(255, 255, 255, 0.7));
|
|
3490
3496
|
transition: all 0.2s ease;
|
|
3491
3497
|
text-align: left;
|
|
3492
3498
|
background: transparent;
|
|
@@ -3495,14 +3501,16 @@ html[data-theme="light"] .dialog-content {
|
|
|
3495
3501
|
}
|
|
3496
3502
|
|
|
3497
3503
|
.dropdown-item:hover {
|
|
3498
|
-
background-color:
|
|
3504
|
+
background-color: rgba(0, 212, 255, 0.8);
|
|
3499
3505
|
color: black;
|
|
3500
3506
|
}
|
|
3501
3507
|
|
|
3502
3508
|
html[data-theme="light"] .dropdown-menu {
|
|
3503
|
-
background:
|
|
3504
|
-
|
|
3505
|
-
|
|
3509
|
+
background-color: rgba(255, 255, 255, 0.95) !important;
|
|
3510
|
+
backdrop-filter: blur(16px) !important;
|
|
3511
|
+
-webkit-backdrop-filter: blur(16px) !important;
|
|
3512
|
+
border-color: rgba(0, 0, 0, 0.08);
|
|
3513
|
+
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
|
|
3506
3514
|
}
|
|
3507
3515
|
|
|
3508
3516
|
html[data-theme="light"] .dropdown-item {
|
|
@@ -3517,12 +3525,13 @@ html[data-theme="light"] .dropdown-item:hover {
|
|
|
3517
3525
|
/* 7. Input & Glass Fixes */
|
|
3518
3526
|
.input-starlight, .textarea-starlight {
|
|
3519
3527
|
height: auto;
|
|
3520
|
-
padding: 1rem;
|
|
3528
|
+
padding: 0.75rem 1rem;
|
|
3521
3529
|
background-color: rgb(255 255 255 / 4%);
|
|
3522
3530
|
border: 1px solid rgb(255 255 255 / 15%);
|
|
3523
3531
|
border-radius: 0.75rem;
|
|
3524
3532
|
color: inherit;
|
|
3525
3533
|
width: 100%;
|
|
3534
|
+
line-height: normal;
|
|
3526
3535
|
}
|
|
3527
3536
|
|
|
3528
3537
|
textarea.input-starlight, .textarea-starlight {
|
|
@@ -3807,12 +3816,13 @@ html[data-theme="light"] .stat-value {
|
|
|
3807
3816
|
.stat-trend.up { color: var(--q-color-success); }
|
|
3808
3817
|
.stat-trend.down { color: var(--q-color-error); }
|
|
3809
3818
|
|
|
3810
|
-
/*
|
|
3819
|
+
/* 9. Glass Navigation */
|
|
3811
3820
|
.nav-glass {
|
|
3812
|
-
background:
|
|
3813
|
-
backdrop-filter: blur(
|
|
3814
|
-
-webkit-backdrop-filter: blur(
|
|
3815
|
-
border-bottom: 1px solid
|
|
3821
|
+
background: rgba(255, 255, 255, 0.08);
|
|
3822
|
+
backdrop-filter: blur(16px);
|
|
3823
|
+
-webkit-backdrop-filter: blur(16px);
|
|
3824
|
+
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
|
3825
|
+
background-clip: border-box;
|
|
3816
3826
|
display: flex;
|
|
3817
3827
|
flex-direction: column;
|
|
3818
3828
|
position: sticky;
|
|
@@ -3823,6 +3833,8 @@ html[data-theme="light"] .stat-value {
|
|
|
3823
3833
|
|
|
3824
3834
|
html[data-theme="light"] .nav-glass {
|
|
3825
3835
|
background: rgb(255 255 255 / 95%);
|
|
3836
|
+
backdrop-filter: blur(16px);
|
|
3837
|
+
-webkit-backdrop-filter: blur(16px);
|
|
3826
3838
|
border-bottom-color: rgb(0 0 0 / 8%);
|
|
3827
3839
|
box-shadow: 0 4px 12px rgb(0 0 0 / 3%);
|
|
3828
3840
|
}
|
|
@@ -4043,6 +4055,9 @@ html[data-theme="light"] .starlight-nav.vertical {
|
|
|
4043
4055
|
/* 15. More Form Controls */
|
|
4044
4056
|
.select-starlight {
|
|
4045
4057
|
appearance: none;
|
|
4058
|
+
line-height: normal;
|
|
4059
|
+
padding-top: 0.5rem !important;
|
|
4060
|
+
padding-bottom: 0.5rem !important;
|
|
4046
4061
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
|
|
4047
4062
|
background-repeat: no-repeat;
|
|
4048
4063
|
background-position: right 1rem center;
|
|
@@ -4635,8 +4650,8 @@ html[data-theme="light"] * {
|
|
|
4635
4650
|
transition: all 0.3s ease;
|
|
4636
4651
|
position: relative;
|
|
4637
4652
|
background-color: rgba(255, 255, 255, 0.05);
|
|
4638
|
-
backdrop-filter: blur(
|
|
4639
|
-
-webkit-backdrop-filter: blur(
|
|
4653
|
+
backdrop-filter: blur(16px);
|
|
4654
|
+
-webkit-backdrop-filter: blur(16px);
|
|
4640
4655
|
border-color: rgba(255, 255, 255, 0.1);
|
|
4641
4656
|
border-width: 1px;
|
|
4642
4657
|
}
|
|
@@ -4668,9 +4683,10 @@ html[data-theme="light"] * {
|
|
|
4668
4683
|
transition: all 0.2s ease;
|
|
4669
4684
|
border-radius: var(--q-radius-md);
|
|
4670
4685
|
border: none;
|
|
4686
|
+
line-height: normal;
|
|
4671
4687
|
background-color: rgba(255, 255, 255, 0.05);
|
|
4672
|
-
backdrop-filter: blur(
|
|
4673
|
-
-webkit-backdrop-filter: blur(
|
|
4688
|
+
backdrop-filter: blur(16px);
|
|
4689
|
+
-webkit-backdrop-filter: blur(16px);
|
|
4674
4690
|
border-color: rgba(255, 255, 255, 0.1);
|
|
4675
4691
|
border-width: 1px;
|
|
4676
4692
|
height: 3rem;
|
|
@@ -4686,9 +4702,10 @@ html[data-theme="light"] * {
|
|
|
4686
4702
|
transition: all 0.2s ease;
|
|
4687
4703
|
border-radius: var(--q-radius-md);
|
|
4688
4704
|
border: none;
|
|
4705
|
+
line-height: normal;
|
|
4689
4706
|
background-color: rgba(255, 255, 255, 0.05);
|
|
4690
|
-
backdrop-filter: blur(
|
|
4691
|
-
-webkit-backdrop-filter: blur(
|
|
4707
|
+
backdrop-filter: blur(16px);
|
|
4708
|
+
-webkit-backdrop-filter: blur(16px);
|
|
4692
4709
|
border-color: rgba(255, 255, 255, 0.1);
|
|
4693
4710
|
border-width: 1px;
|
|
4694
4711
|
padding: 1rem;
|
|
@@ -5299,6 +5316,7 @@ html[data-theme="light"] * {
|
|
|
5299
5316
|
transition: all 0.2s ease;
|
|
5300
5317
|
border-radius: var(--q-radius-md);
|
|
5301
5318
|
border: none;
|
|
5319
|
+
line-height: normal;
|
|
5302
5320
|
}
|
|
5303
5321
|
|
|
5304
5322
|
.border-white\/20 {
|
|
@@ -5322,12 +5340,10 @@ html[data-theme="light"] * {
|
|
|
5322
5340
|
top: 0;
|
|
5323
5341
|
z-index: 1000;
|
|
5324
5342
|
background-color: rgba(255, 255, 255, 0.05);
|
|
5325
|
-
backdrop-filter: blur(
|
|
5326
|
-
-webkit-backdrop-filter: blur(
|
|
5343
|
+
backdrop-filter: blur(16px);
|
|
5344
|
+
-webkit-backdrop-filter: blur(16px);
|
|
5327
5345
|
border-color: rgba(255, 255, 255, 0.1);
|
|
5328
5346
|
border-width: 1px;
|
|
5329
|
-
padding-left: 1rem;
|
|
5330
|
-
padding-right: 1rem;
|
|
5331
5347
|
}
|
|
5332
5348
|
|
|
5333
5349
|
html[data-theme="light"] .light\:bg-slate-300, body.light-mode .light\:bg-slate-300 {
|
|
@@ -5359,8 +5375,8 @@ html[data-theme="light"] .light\:bg-slate-300, body.light-mode .light\:bg-slate-
|
|
|
5359
5375
|
display: block;
|
|
5360
5376
|
width: 100%;
|
|
5361
5377
|
background-color: rgba(255, 255, 255, 0.05);
|
|
5362
|
-
backdrop-filter: blur(
|
|
5363
|
-
-webkit-backdrop-filter: blur(
|
|
5378
|
+
backdrop-filter: blur(16px);
|
|
5379
|
+
-webkit-backdrop-filter: blur(16px);
|
|
5364
5380
|
border-color: rgba(255, 255, 255, 0.1);
|
|
5365
5381
|
border-width: 1px;
|
|
5366
5382
|
border-radius: 0.75rem;
|
|
@@ -5422,8 +5438,8 @@ html[data-theme="light"] .light\:shadow-lg, body.light-mode .light\:shadow-lg {
|
|
|
5422
5438
|
transition: all 0.3s ease;
|
|
5423
5439
|
position: relative;
|
|
5424
5440
|
background-color: rgba(255, 255, 255, 0.05);
|
|
5425
|
-
backdrop-filter: blur(
|
|
5426
|
-
-webkit-backdrop-filter: blur(
|
|
5441
|
+
backdrop-filter: blur(16px);
|
|
5442
|
+
-webkit-backdrop-filter: blur(16px);
|
|
5427
5443
|
border-color: rgba(255, 255, 255, 0.1);
|
|
5428
5444
|
border-width: 1px;
|
|
5429
5445
|
display: grid;
|
|
@@ -5455,8 +5471,8 @@ html[data-theme="light"] .light\:shadow-lg, body.light-mode .light\:shadow-lg {
|
|
|
5455
5471
|
|
|
5456
5472
|
.theme-glass-dark {
|
|
5457
5473
|
background-color: rgba(255, 255, 255, 0.05);
|
|
5458
|
-
backdrop-filter: blur(
|
|
5459
|
-
-webkit-backdrop-filter: blur(
|
|
5474
|
+
backdrop-filter: blur(16px);
|
|
5475
|
+
-webkit-backdrop-filter: blur(16px);
|
|
5460
5476
|
border-color: rgba(255, 255, 255, 0.1);
|
|
5461
5477
|
border-width: 1px;
|
|
5462
5478
|
}
|
|
@@ -5493,8 +5509,8 @@ html[data-theme="light"] .light\:shadow-lg, body.light-mode .light\:shadow-lg {
|
|
|
5493
5509
|
max-height: 90vh;
|
|
5494
5510
|
z-index: 2000;
|
|
5495
5511
|
background-color: rgba(255, 255, 255, 0.05);
|
|
5496
|
-
backdrop-filter: blur(
|
|
5497
|
-
-webkit-backdrop-filter: blur(
|
|
5512
|
+
backdrop-filter: blur(16px);
|
|
5513
|
+
-webkit-backdrop-filter: blur(16px);
|
|
5498
5514
|
border-color: rgba(255, 255, 255, 0.1);
|
|
5499
5515
|
border-width: 1px;
|
|
5500
5516
|
}
|
|
@@ -5520,6 +5536,43 @@ html[data-theme="light"] .light\:shadow-lg, body.light-mode .light\:shadow-lg {
|
|
|
5520
5536
|
height: 3.5rem;
|
|
5521
5537
|
}
|
|
5522
5538
|
|
|
5539
|
+
.grid-cols-2 {
|
|
5540
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
5541
|
+
}
|
|
5542
|
+
|
|
5543
|
+
.gap-3 {
|
|
5544
|
+
gap: 0.75rem;
|
|
5545
|
+
}
|
|
5546
|
+
|
|
5547
|
+
.badge-base {
|
|
5548
|
+
display: inline-flex;
|
|
5549
|
+
align-items: center;
|
|
5550
|
+
justify-content: center;
|
|
5551
|
+
font-size: 0.75rem;
|
|
5552
|
+
font-weight: 600;
|
|
5553
|
+
text-transform: uppercase;
|
|
5554
|
+
letter-spacing: 0.05em;
|
|
5555
|
+
border-radius: var(--q-radius-sm);
|
|
5556
|
+
border: none;
|
|
5557
|
+
}
|
|
5558
|
+
|
|
5559
|
+
.bg-starlight-blue\/10 {
|
|
5560
|
+
background-color: rgba(0, 212, 255, 0.1);
|
|
5561
|
+
}
|
|
5562
|
+
|
|
5563
|
+
.text-starlight-blue {
|
|
5564
|
+
color: #00d4ff;
|
|
5565
|
+
}
|
|
5566
|
+
|
|
5567
|
+
.border-starlight-blue\/20 {
|
|
5568
|
+
border-color: rgba(0, 212, 255, 0.2);
|
|
5569
|
+
}
|
|
5570
|
+
|
|
5571
|
+
.px-4 {
|
|
5572
|
+
padding-left: 1rem;
|
|
5573
|
+
padding-right: 1rem;
|
|
5574
|
+
}
|
|
5575
|
+
|
|
5523
5576
|
.pb-12 {
|
|
5524
5577
|
padding-bottom: 3rem;
|
|
5525
5578
|
}
|
|
@@ -5619,10 +5672,6 @@ html[data-theme="light"] .light\:shadow-lg, body.light-mode .light\:shadow-lg {
|
|
|
5619
5672
|
--q-gradient-stops: var(--q-gradient-from), var(--q-gradient-to);
|
|
5620
5673
|
}
|
|
5621
5674
|
|
|
5622
|
-
.gap-3 {
|
|
5623
|
-
gap: 0.75rem;
|
|
5624
|
-
}
|
|
5625
|
-
|
|
5626
5675
|
.checkbox-starlight {
|
|
5627
5676
|
display: inline-flex;
|
|
5628
5677
|
align-items: center;
|
|
@@ -5633,8 +5682,8 @@ html[data-theme="light"] .light\:shadow-lg, body.light-mode .light\:shadow-lg {
|
|
|
5633
5682
|
border-radius: var(--q-radius-md);
|
|
5634
5683
|
border: none;
|
|
5635
5684
|
background-color: rgba(255, 255, 255, 0.05);
|
|
5636
|
-
backdrop-filter: blur(
|
|
5637
|
-
-webkit-backdrop-filter: blur(
|
|
5685
|
+
backdrop-filter: blur(16px);
|
|
5686
|
+
-webkit-backdrop-filter: blur(16px);
|
|
5638
5687
|
border-color: rgba(255, 255, 255, 0.1);
|
|
5639
5688
|
border-width: 1px;
|
|
5640
5689
|
width: 1.25rem;
|
|
@@ -5830,10 +5879,6 @@ html[data-theme="light"] .light\:shadow-lg, body.light-mode .light\:shadow-lg {
|
|
|
5830
5879
|
padding: 4rem;
|
|
5831
5880
|
}
|
|
5832
5881
|
|
|
5833
|
-
.grid-cols-2 {
|
|
5834
|
-
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
5835
|
-
}
|
|
5836
|
-
|
|
5837
5882
|
.mb-16 {
|
|
5838
5883
|
margin-bottom: 4rem;
|
|
5839
5884
|
}
|
|
@@ -5866,11 +5911,6 @@ html[data-theme="light"] .light\:shadow-lg, body.light-mode .light\:shadow-lg {
|
|
|
5866
5911
|
top: bar;
|
|
5867
5912
|
}
|
|
5868
5913
|
|
|
5869
|
-
.px-4 {
|
|
5870
|
-
padding-left: 1rem;
|
|
5871
|
-
padding-right: 1rem;
|
|
5872
|
-
}
|
|
5873
|
-
|
|
5874
5914
|
.mb-1 {
|
|
5875
5915
|
margin-bottom: 0.25rem;
|
|
5876
5916
|
}
|
|
@@ -6033,10 +6073,6 @@ html[data-theme="light"] .light\:shadow-lg, body.light-mode .light\:shadow-lg {
|
|
|
6033
6073
|
box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
|
|
6034
6074
|
}
|
|
6035
6075
|
|
|
6036
|
-
.text-starlight-blue {
|
|
6037
|
-
color: #00d4ff;
|
|
6038
|
-
}
|
|
6039
|
-
|
|
6040
6076
|
.mb-3 {
|
|
6041
6077
|
margin-bottom: 0.75rem;
|
|
6042
6078
|
}
|
|
@@ -6350,11 +6386,6 @@ html[data-theme="light"] .light\:shadow-lg, body.light-mode .light\:shadow-lg {
|
|
|
6350
6386
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
6351
6387
|
}
|
|
6352
6388
|
|
|
6353
|
-
.starlight-nav {
|
|
6354
|
-
padding-left: 2rem;
|
|
6355
|
-
padding-right: 2rem;
|
|
6356
|
-
}
|
|
6357
|
-
|
|
6358
6389
|
.md\:px-8 {
|
|
6359
6390
|
padding-left: 2rem;
|
|
6360
6391
|
padding-right: 2rem;
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
.conversation-message { font-size: 0.875rem; color: var(--text-secondary, #94a3b8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
42
42
|
.conversation-item.unread .conversation-message { color: var(--text-primary, #f1f5f9); font-weight: 500; }
|
|
43
43
|
.chat-main { display: flex; flex-direction: column; overflow: hidden; }
|
|
44
|
-
.chat-header { display: flex; align-items: center; justify-content: space-between; padding:
|
|
44
|
+
.chat-header { display: flex; align-items: center; justify-content: space-between; padding: 0 1.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.06); background: rgba(255, 255, 255, 0.02); height: 5rem; flex-shrink: 0; }
|
|
45
45
|
.chat-header-info { display: flex; align-items: center; gap: 0.875rem; }
|
|
46
46
|
.chat-header-avatar { position: relative; }
|
|
47
47
|
.chat-header-avatar img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
|
|
@@ -59,12 +59,12 @@
|
|
|
59
59
|
.message.sent .message-bubble { background: linear-gradient(135deg, var(--color-starlight, #00d4ff), #3b82f6); color: white; border-bottom-right-radius: 0.25rem; }
|
|
60
60
|
.message-time { font-size: 0.75rem; color: var(--text-muted, #64748b); align-self: flex-start; margin-left: 0.5rem; }
|
|
61
61
|
.message.sent .message-time { align-self: flex-end; margin-left: 0; margin-right: 0.5rem; }
|
|
62
|
-
.chat-input-container { padding: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.06); background: rgba(255, 255, 255, 0.02); }
|
|
63
|
-
.chat-input-wrapper { display: flex; align-items: flex-end; gap: 0.75rem; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 1.25rem; padding: 0.5rem 0.75rem; }
|
|
62
|
+
.chat-input-container { padding: 0 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.06); background: rgba(255, 255, 255, 0.02); height: 5rem; min-height: 5rem; display: flex; align-items: center; flex-shrink: 0; box-sizing: border-box; }
|
|
63
|
+
.chat-input-wrapper { display: flex; align-items: flex-end; gap: 0.75rem; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 1.25rem; padding: 0.5rem 0.75rem; width: 100%; }
|
|
64
64
|
.chat-input { flex: 1; background: transparent; border: none; color: var(--text-primary, #f1f5f9); font-size: 0.9375rem; resize: none; max-height: 120px; padding: 0.625rem 0; outline: none; }
|
|
65
65
|
.chat-input::placeholder { color: var(--text-muted, #64748b); }
|
|
66
|
-
.send-btn { width:
|
|
67
|
-
.theme-toggle-wrapper { padding: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.06); }
|
|
66
|
+
.send-btn { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--color-starlight, #00d4ff), #3b82f6); border: none; color: white; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; margin-bottom: 0.125rem; }
|
|
67
|
+
.theme-toggle-wrapper { padding: 0 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.06); height: 5rem; min-height: 5rem; display: flex; align-items: center; flex-shrink: 0; background: rgba(255, 255, 255, 0.02); box-sizing: border-box; }
|
|
68
68
|
.theme-btn { width: 100%; display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 0.75rem; color: var(--text-primary, #f1f5f9); cursor: pointer; transition: all 0.2s ease; }
|
|
69
69
|
.theme-btn:hover { background: rgba(255, 255, 255, 0.08); }
|
|
70
70
|
.theme-label { font-size: 0.875rem; font-weight: 500; }
|
package/examples/index.html
CHANGED
|
@@ -38,9 +38,12 @@
|
|
|
38
38
|
</button>
|
|
39
39
|
|
|
40
40
|
<div id="dialog" class="dialog-overlay" style="display: none;">
|
|
41
|
-
<div class="dialog
|
|
42
|
-
<
|
|
43
|
-
<
|
|
41
|
+
<div class="starlight-dialog">
|
|
42
|
+
<button class="dialog-close" onclick="closeDialog()">
|
|
43
|
+
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg>
|
|
44
|
+
</button>
|
|
45
|
+
<div class="p-4">
|
|
46
|
+
<h2 class="text-3xl font-black uppercase italic tracking-tighter mb-4 text-gradient-starlight">Advanced Deployment</h2>
|
|
44
47
|
<p class="text-base text-slate-400 font-medium mb-10">Configure your synchronization parameters below.</p>
|
|
45
48
|
|
|
46
49
|
<div class="mb-10">
|
|
@@ -48,9 +51,27 @@
|
|
|
48
51
|
<select class="input-starlight w-full h-14">
|
|
49
52
|
<option>Andromeda Prime</option>
|
|
50
53
|
<option>Nebula Secondary</option>
|
|
54
|
+
<option>Triangulum Core</option>
|
|
51
55
|
</select>
|
|
52
56
|
</div>
|
|
53
57
|
|
|
58
|
+
<div class="grid grid-cols-2 gap-8 mb-12">
|
|
59
|
+
<div>
|
|
60
|
+
<label class="text-[10px] font-black uppercase tracking-[0.3em] mb-4 block text-slate-500">Node Priority</label>
|
|
61
|
+
<div class="flex gap-3">
|
|
62
|
+
<span class="badge-base bg-starlight-blue/10 text-starlight-blue border-starlight-blue/20 px-4 py-2">Alpha</span>
|
|
63
|
+
<span class="badge-base bg-white/5 text-slate-500 border-white/10 px-4 py-2">Omega</span>
|
|
64
|
+
</div>
|
|
65
|
+
</div>
|
|
66
|
+
<div>
|
|
67
|
+
<label class="text-[10px] font-black uppercase tracking-[0.3em] mb-4 block text-slate-500">Sync Status</label>
|
|
68
|
+
<div class="flex items-center gap-3">
|
|
69
|
+
<div class="w-2 h-2 rounded-full bg-green-500 ani-pulse"></div>
|
|
70
|
+
<span class="text-xs font-bold uppercase tracking-widest text-slate-300">Ready</span>
|
|
71
|
+
</div>
|
|
72
|
+
</div>
|
|
73
|
+
</div>
|
|
74
|
+
|
|
54
75
|
<div class="flex gap-6 justify-end">
|
|
55
76
|
<button class="btn-secondary px-10 h-14 font-black uppercase tracking-widest text-[10px]" onclick="closeDialog()">Cancel</button>
|
|
56
77
|
<button class="btn-starlight px-10 h-14 font-black uppercase tracking-widest text-[10px]">Confirm Deploy</button>
|
|
@@ -61,7 +82,7 @@
|
|
|
61
82
|
|
|
62
83
|
<header class="hero container">
|
|
63
84
|
<div class="pt-8 pb-12 text-center">
|
|
64
|
-
<span class="text-[10px] font-black tracking-[0.3em] text-starlight uppercase mb-6 block">QuantumCSS v1.7.
|
|
85
|
+
<span class="text-[10px] font-black tracking-[0.3em] text-starlight uppercase mb-6 block">QuantumCSS v1.7.3</span>
|
|
65
86
|
<h1 class="text-7xl md:text-8xl text-gradient-starlight font-black uppercase italic tracking-tighter mb-8">Starlight Design</h1>
|
|
66
87
|
<p class="text-xl text-slate-400 max-w-3xl mx-auto mb-12 font-medium leading-relaxed">
|
|
67
88
|
A standardized, high-performance UI library.
|
package/package.json
CHANGED
package/src/defaults.js
CHANGED
|
@@ -121,8 +121,8 @@ const utilityMaps = {
|
|
|
121
121
|
value: ['inline-flex', 'center', 'center', 'pointer', 'all 0.2s ease', '600', 'var(--q-radius-md)', 'none']
|
|
122
122
|
},
|
|
123
123
|
'input-base': {
|
|
124
|
-
property: ['display', 'width', 'appearance', 'transition', 'border-radius', 'border'],
|
|
125
|
-
value: ['block', '100%', 'none', 'all 0.2s ease', 'var(--q-radius-md)', 'none']
|
|
124
|
+
property: ['display', 'width', 'appearance', 'transition', 'border-radius', 'border', 'line-height'],
|
|
125
|
+
value: ['block', '100%', 'none', 'all 0.2s ease', 'var(--q-radius-md)', 'none', 'normal']
|
|
126
126
|
},
|
|
127
127
|
'dialog-base': {
|
|
128
128
|
property: ['display', 'flex-direction', 'align-items', 'padding', 'overflow-y', 'border-radius', 'position'],
|
|
@@ -163,7 +163,7 @@ const utilityMaps = {
|
|
|
163
163
|
},
|
|
164
164
|
'theme-glass-dark': {
|
|
165
165
|
property: ['background-color', 'backdrop-filter', '-webkit-backdrop-filter', 'border-color', 'border-width'],
|
|
166
|
-
value: ['rgba(255, 255, 255, 0.05)', 'blur(
|
|
166
|
+
value: ['rgba(255, 255, 255, 0.05)', 'blur(16px)', 'blur(16px)', 'rgba(255, 255, 255, 0.1)', '1px']
|
|
167
167
|
},
|
|
168
168
|
'glow-blue': { property: 'box-shadow', value: '0 0 30px rgba(0, 212, 255, 0.25)' },
|
|
169
169
|
'glow-starlight': { property: 'box-shadow', value: '0 0 30px rgba(0, 212, 255, 0.25)' },
|
|
@@ -179,7 +179,7 @@ const utilityMaps = {
|
|
|
179
179
|
'search-icon': 'absolute left-4 top-1/2 -translate-y-1/2 pointer-events-none z-10 w-5 h-5',
|
|
180
180
|
'nav-glass': 'nav-base theme-glass-dark',
|
|
181
181
|
'starlight-card': 'card-base theme-glass-dark',
|
|
182
|
-
'starlight-nav': 'nav-base theme-glass-dark
|
|
182
|
+
'starlight-nav': 'nav-base theme-glass-dark w-full',
|
|
183
183
|
'starlight-search': 'search-container theme-glass-dark rounded-xl',
|
|
184
184
|
'starlight-dashboard': 'grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8',
|
|
185
185
|
'starlight-gallery': 'grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4',
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* QuantumCSS + Starlight UI
|
|
3
3
|
* Advanced utility-first framework with ethereal cosmic aesthetics
|
|
4
|
-
* Version: 1.7.
|
|
4
|
+
* Version: 1.7.3
|
|
5
5
|
* Features: Modern CSS, JIT Engine, Starlight Components, Dark Mode
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -183,10 +183,12 @@ body {
|
|
|
183
183
|
input, textarea, select, button {
|
|
184
184
|
font-family: inherit;
|
|
185
185
|
font-size: inherit;
|
|
186
|
-
line-height:
|
|
186
|
+
line-height: normal;
|
|
187
187
|
color: inherit;
|
|
188
188
|
border: none;
|
|
189
189
|
outline: 0;
|
|
190
|
+
padding: 0;
|
|
191
|
+
margin: 0;
|
|
190
192
|
background: transparent;
|
|
191
193
|
}
|
|
192
194
|
|
package/src/styles/starlight.css
CHANGED
|
@@ -154,8 +154,9 @@ html[data-theme="light"] .star {
|
|
|
154
154
|
.dialog-overlay {
|
|
155
155
|
position: fixed;
|
|
156
156
|
inset: 0;
|
|
157
|
-
background:
|
|
158
|
-
backdrop-filter: blur(
|
|
157
|
+
background: rgba(0, 0, 0, 0.6);
|
|
158
|
+
backdrop-filter: blur(16px);
|
|
159
|
+
-webkit-backdrop-filter: blur(16px);
|
|
159
160
|
display: flex;
|
|
160
161
|
align-items: center;
|
|
161
162
|
justify-content: center;
|
|
@@ -275,21 +276,22 @@ html[data-theme="light"] .dialog-content {
|
|
|
275
276
|
position: absolute;
|
|
276
277
|
top: 100%;
|
|
277
278
|
left: 0;
|
|
278
|
-
background:
|
|
279
|
-
backdrop-filter: blur(
|
|
280
|
-
-webkit-backdrop-filter: blur(
|
|
281
|
-
border: 1px solid
|
|
279
|
+
background-color: rgba(8, 8, 26, 0.8);
|
|
280
|
+
backdrop-filter: blur(16px);
|
|
281
|
+
-webkit-backdrop-filter: blur(16px);
|
|
282
|
+
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
282
283
|
border-radius: 0.75rem;
|
|
283
284
|
padding: 0.5rem;
|
|
284
285
|
margin-top: 0.5rem;
|
|
285
286
|
min-width: 200px;
|
|
286
287
|
z-index: 600;
|
|
287
|
-
box-shadow: 0 20px 40px
|
|
288
|
+
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
|
|
288
289
|
opacity: 0;
|
|
289
290
|
visibility: hidden;
|
|
290
291
|
transform: translateY(10px);
|
|
291
292
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
292
293
|
pointer-events: none;
|
|
294
|
+
will-change: backdrop-filter, transform, opacity;
|
|
293
295
|
}
|
|
294
296
|
|
|
295
297
|
.dropdown:hover .dropdown-menu,
|
|
@@ -298,6 +300,8 @@ html[data-theme="light"] .dialog-content {
|
|
|
298
300
|
visibility: visible;
|
|
299
301
|
transform: translateY(0);
|
|
300
302
|
pointer-events: auto;
|
|
303
|
+
backdrop-filter: blur(16px) !important;
|
|
304
|
+
-webkit-backdrop-filter: blur(16px) !important;
|
|
301
305
|
}
|
|
302
306
|
|
|
303
307
|
.dropdown-item {
|
|
@@ -305,7 +309,7 @@ html[data-theme="light"] .dialog-content {
|
|
|
305
309
|
width: 100%;
|
|
306
310
|
padding: 0.625rem 1rem;
|
|
307
311
|
border-radius: 0.5rem;
|
|
308
|
-
color: var(--q-text-primary,
|
|
312
|
+
color: var(--q-text-primary, rgba(255, 255, 255, 0.7));
|
|
309
313
|
transition: all 0.2s ease;
|
|
310
314
|
text-align: left;
|
|
311
315
|
background: transparent;
|
|
@@ -314,14 +318,16 @@ html[data-theme="light"] .dialog-content {
|
|
|
314
318
|
}
|
|
315
319
|
|
|
316
320
|
.dropdown-item:hover {
|
|
317
|
-
background-color:
|
|
321
|
+
background-color: rgba(0, 212, 255, 0.8);
|
|
318
322
|
color: black;
|
|
319
323
|
}
|
|
320
324
|
|
|
321
325
|
html[data-theme="light"] .dropdown-menu {
|
|
322
|
-
background:
|
|
323
|
-
|
|
324
|
-
|
|
326
|
+
background-color: rgba(255, 255, 255, 0.95) !important;
|
|
327
|
+
backdrop-filter: blur(16px) !important;
|
|
328
|
+
-webkit-backdrop-filter: blur(16px) !important;
|
|
329
|
+
border-color: rgba(0, 0, 0, 0.08);
|
|
330
|
+
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
|
|
325
331
|
}
|
|
326
332
|
|
|
327
333
|
html[data-theme="light"] .dropdown-item {
|
|
@@ -336,12 +342,13 @@ html[data-theme="light"] .dropdown-item:hover {
|
|
|
336
342
|
/* 7. Input & Glass Fixes */
|
|
337
343
|
.input-starlight, .textarea-starlight {
|
|
338
344
|
height: auto;
|
|
339
|
-
padding: 1rem;
|
|
345
|
+
padding: 0.75rem 1rem;
|
|
340
346
|
background-color: rgb(255 255 255 / 4%);
|
|
341
347
|
border: 1px solid rgb(255 255 255 / 15%);
|
|
342
348
|
border-radius: 0.75rem;
|
|
343
349
|
color: inherit;
|
|
344
350
|
width: 100%;
|
|
351
|
+
line-height: normal;
|
|
345
352
|
}
|
|
346
353
|
|
|
347
354
|
textarea.input-starlight, .textarea-starlight {
|
|
@@ -626,12 +633,13 @@ html[data-theme="light"] .stat-value {
|
|
|
626
633
|
.stat-trend.up { color: var(--q-color-success); }
|
|
627
634
|
.stat-trend.down { color: var(--q-color-error); }
|
|
628
635
|
|
|
629
|
-
/*
|
|
636
|
+
/* 9. Glass Navigation */
|
|
630
637
|
.nav-glass {
|
|
631
|
-
background:
|
|
632
|
-
backdrop-filter: blur(
|
|
633
|
-
-webkit-backdrop-filter: blur(
|
|
634
|
-
border-bottom: 1px solid
|
|
638
|
+
background: rgba(255, 255, 255, 0.08);
|
|
639
|
+
backdrop-filter: blur(16px);
|
|
640
|
+
-webkit-backdrop-filter: blur(16px);
|
|
641
|
+
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
|
642
|
+
background-clip: border-box;
|
|
635
643
|
display: flex;
|
|
636
644
|
flex-direction: column;
|
|
637
645
|
position: sticky;
|
|
@@ -642,6 +650,8 @@ html[data-theme="light"] .stat-value {
|
|
|
642
650
|
|
|
643
651
|
html[data-theme="light"] .nav-glass {
|
|
644
652
|
background: rgb(255 255 255 / 95%);
|
|
653
|
+
backdrop-filter: blur(16px);
|
|
654
|
+
-webkit-backdrop-filter: blur(16px);
|
|
645
655
|
border-bottom-color: rgb(0 0 0 / 8%);
|
|
646
656
|
box-shadow: 0 4px 12px rgb(0 0 0 / 3%);
|
|
647
657
|
}
|
|
@@ -862,6 +872,9 @@ html[data-theme="light"] .starlight-nav.vertical {
|
|
|
862
872
|
/* 15. More Form Controls */
|
|
863
873
|
.select-starlight {
|
|
864
874
|
appearance: none;
|
|
875
|
+
line-height: normal;
|
|
876
|
+
padding-top: 0.5rem !important;
|
|
877
|
+
padding-bottom: 0.5rem !important;
|
|
865
878
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
|
|
866
879
|
background-repeat: no-repeat;
|
|
867
880
|
background-position: right 1rem center;
|