@svadmin/lite 0.15.2 → 0.15.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/dist/lite.css +142 -143
- package/package.json +2 -2
package/dist/lite.css
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @svadmin/lite — lightweight server-rendered admin CSS
|
|
3
3
|
*
|
|
4
4
|
* Baseline: modern evergreen browsers with a conservative flexbox layout.
|
|
5
|
-
* Color system:
|
|
5
|
+
* Color system: Stripe action accent and corporate-clean neutral surfaces.
|
|
6
6
|
*
|
|
7
7
|
* RULES:
|
|
8
8
|
* - No CSS variables (var(--x))
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* - No flexbox `gap` (use margins)
|
|
12
12
|
* - No backdrop-filter, appearance
|
|
13
13
|
* - No oklch() / hsl() — hardcoded hex only
|
|
14
|
-
* -
|
|
14
|
+
* - Literal colors mirror @svadmin/ui; keep the legacy-browser boundary.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
/* ─── Reset & Base ─────────────────────────────────────────── */
|
|
@@ -25,19 +25,19 @@ html, body {
|
|
|
25
25
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
26
26
|
font-size: 14px;
|
|
27
27
|
line-height: 1.5;
|
|
28
|
-
color: #
|
|
29
|
-
background: #
|
|
28
|
+
color: #0a2540; /* --foreground */
|
|
29
|
+
background: #f6f9fc; /* --background */
|
|
30
30
|
-webkit-font-smoothing: antialiased;
|
|
31
31
|
-moz-osx-font-smoothing: grayscale;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
a {
|
|
35
|
-
color: #
|
|
35
|
+
color: #5147d9; /* readable action text on the work canvas */
|
|
36
36
|
text-decoration: none;
|
|
37
|
-
transition: color 0.15s ease;
|
|
37
|
+
transition: color 0.15s ease-out;
|
|
38
38
|
}
|
|
39
39
|
a:hover {
|
|
40
|
-
color: #
|
|
40
|
+
color: #5147d9;
|
|
41
41
|
text-decoration: underline;
|
|
42
42
|
}
|
|
43
43
|
|
|
@@ -50,16 +50,16 @@ a:hover {
|
|
|
50
50
|
.lite-sidebar {
|
|
51
51
|
width: 230px;
|
|
52
52
|
background: #ffffff;
|
|
53
|
-
color: #
|
|
53
|
+
color: #0a2540;
|
|
54
54
|
padding: 16px 0;
|
|
55
55
|
flex-shrink: 0;
|
|
56
|
-
border-right: 1px solid #
|
|
56
|
+
border-right: 1px solid #e6ebf1;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
.lite-mobile-nav {
|
|
60
60
|
display: none;
|
|
61
61
|
background: #fff;
|
|
62
|
-
border-bottom: 1px solid #
|
|
62
|
+
border-bottom: 1px solid #e6ebf1;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
.lite-mobile-nav-brand {
|
|
@@ -75,11 +75,11 @@ a:hover {
|
|
|
75
75
|
.lite-mobile-nav-links > a {
|
|
76
76
|
display: block;
|
|
77
77
|
padding: 9px 0;
|
|
78
|
-
border-top: 1px solid #
|
|
78
|
+
border-top: 1px solid #f1f4f8;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
.lite-mobile-nav-links > a.active {
|
|
82
|
-
color: #
|
|
82
|
+
color: #0a2540;
|
|
83
83
|
font-weight: 600;
|
|
84
84
|
}
|
|
85
85
|
|
|
@@ -88,7 +88,7 @@ a:hover {
|
|
|
88
88
|
align-items: center;
|
|
89
89
|
justify-content: space-between;
|
|
90
90
|
padding-top: 12px;
|
|
91
|
-
border-top: 1px solid #
|
|
91
|
+
border-top: 1px solid #e6ebf1;
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
.lite-mobile-user form {
|
|
@@ -100,9 +100,9 @@ a:hover {
|
|
|
100
100
|
padding: 0 16px 16px;
|
|
101
101
|
font-size: 16px;
|
|
102
102
|
font-weight: 700;
|
|
103
|
-
color: #
|
|
104
|
-
letter-spacing:
|
|
105
|
-
border-bottom: 1px solid #
|
|
103
|
+
color: #0a2540;
|
|
104
|
+
letter-spacing: 0;
|
|
105
|
+
border-bottom: 1px solid #f1f4f8;
|
|
106
106
|
margin-bottom: 8px;
|
|
107
107
|
}
|
|
108
108
|
|
|
@@ -110,19 +110,19 @@ a:hover {
|
|
|
110
110
|
display: block;
|
|
111
111
|
position: relative;
|
|
112
112
|
padding: 8px 16px;
|
|
113
|
-
color: #
|
|
113
|
+
color: #425466;
|
|
114
114
|
font-size: 13px;
|
|
115
115
|
font-weight: 500;
|
|
116
|
-
transition: background 0.15s ease, color 0.15s ease;
|
|
116
|
+
transition: background 0.15s ease-out, color 0.15s ease-out;
|
|
117
117
|
}
|
|
118
118
|
.lite-sidebar a:hover {
|
|
119
|
-
background: #
|
|
120
|
-
color: #
|
|
119
|
+
background: #f6f9fc;
|
|
120
|
+
color: #0a2540;
|
|
121
121
|
text-decoration: none;
|
|
122
122
|
}
|
|
123
123
|
.lite-sidebar a.active {
|
|
124
|
-
background: #
|
|
125
|
-
color: #
|
|
124
|
+
background: #f6f9fc;
|
|
125
|
+
color: #0a2540;
|
|
126
126
|
text-decoration: none;
|
|
127
127
|
}
|
|
128
128
|
.lite-sidebar a.active::before {
|
|
@@ -134,7 +134,7 @@ a:hover {
|
|
|
134
134
|
width: 3px;
|
|
135
135
|
height: 60%;
|
|
136
136
|
border-radius: 0 3px 3px 0;
|
|
137
|
-
background: #
|
|
137
|
+
background: #635bff;
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
/* ─── Multi-Level Menu ───────────────────────────────────── */
|
|
@@ -149,11 +149,11 @@ a:hover {
|
|
|
149
149
|
.lite-menu-parent {
|
|
150
150
|
display: block;
|
|
151
151
|
padding: 8px 16px;
|
|
152
|
-
color: #
|
|
152
|
+
color: #425466;
|
|
153
153
|
font-size: 11px;
|
|
154
154
|
font-weight: 700;
|
|
155
155
|
text-transform: uppercase;
|
|
156
|
-
letter-spacing: 0
|
|
156
|
+
letter-spacing: 0;
|
|
157
157
|
}
|
|
158
158
|
.lite-menu-parent::after {
|
|
159
159
|
content: " \25BE";
|
|
@@ -171,7 +171,7 @@ a:hover {
|
|
|
171
171
|
flex: 1;
|
|
172
172
|
padding: 28px 32px;
|
|
173
173
|
min-width: 0;
|
|
174
|
-
background: #
|
|
174
|
+
background: #f6f9fc;
|
|
175
175
|
}
|
|
176
176
|
|
|
177
177
|
.lite-page-header {
|
|
@@ -186,7 +186,7 @@ a:hover {
|
|
|
186
186
|
font-size: 24px;
|
|
187
187
|
line-height: 1.25;
|
|
188
188
|
font-weight: 600;
|
|
189
|
-
color: #
|
|
189
|
+
color: #0a2540;
|
|
190
190
|
}
|
|
191
191
|
|
|
192
192
|
.lite-header {
|
|
@@ -200,8 +200,8 @@ a:hover {
|
|
|
200
200
|
font-size: 22px;
|
|
201
201
|
font-weight: 600;
|
|
202
202
|
margin: 0;
|
|
203
|
-
color: #
|
|
204
|
-
letter-spacing:
|
|
203
|
+
color: #0a2540;
|
|
204
|
+
letter-spacing: 0;
|
|
205
205
|
}
|
|
206
206
|
|
|
207
207
|
|
|
@@ -221,16 +221,16 @@ a:hover {
|
|
|
221
221
|
display: flex;
|
|
222
222
|
align-items: center;
|
|
223
223
|
font-size: 13px;
|
|
224
|
-
color: #
|
|
224
|
+
color: #425466;
|
|
225
225
|
}
|
|
226
226
|
.lite-breadcrumbs a {
|
|
227
|
-
color: #
|
|
227
|
+
color: #425466;
|
|
228
228
|
}
|
|
229
229
|
.lite-breadcrumbs a:hover {
|
|
230
|
-
color: #
|
|
230
|
+
color: #0a2540;
|
|
231
231
|
}
|
|
232
232
|
.lite-breadcrumbs .current {
|
|
233
|
-
color: #
|
|
233
|
+
color: #0a2540;
|
|
234
234
|
font-weight: 500;
|
|
235
235
|
}
|
|
236
236
|
.lite-breadcrumb-sep {
|
|
@@ -241,16 +241,15 @@ a:hover {
|
|
|
241
241
|
/* ─── Cards ────────────────────────────────────────────────── */
|
|
242
242
|
.lite-card {
|
|
243
243
|
background: #fff;
|
|
244
|
-
border: 1px solid #
|
|
244
|
+
border: 1px solid #e6ebf1;
|
|
245
245
|
border-radius: 8px;
|
|
246
246
|
padding: 24px;
|
|
247
247
|
margin-bottom: 16px;
|
|
248
248
|
box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.05), 0 4px 16px -4px rgba(0, 0, 0, 0.02);
|
|
249
|
-
transition: box-shadow 0.2s ease
|
|
249
|
+
transition: box-shadow 0.2s ease-out;
|
|
250
250
|
}
|
|
251
|
-
.lite-card:hover {
|
|
251
|
+
.lite-card[data-interactive="true"]:hover {
|
|
252
252
|
box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.08), 0 8px 24px -6px rgba(0, 0, 0, 0.04);
|
|
253
|
-
transform: translateY(-1px);
|
|
254
253
|
}
|
|
255
254
|
|
|
256
255
|
/* ─── Table ────────────────────────────────────────────────── */
|
|
@@ -258,7 +257,7 @@ a:hover {
|
|
|
258
257
|
width: 100%;
|
|
259
258
|
border-collapse: collapse;
|
|
260
259
|
background: #fff;
|
|
261
|
-
border: 1px solid #
|
|
260
|
+
border: 1px solid #e6ebf1;
|
|
262
261
|
border-radius: 8px;
|
|
263
262
|
}
|
|
264
263
|
|
|
@@ -268,18 +267,18 @@ a:hover {
|
|
|
268
267
|
font-weight: 600;
|
|
269
268
|
font-size: 11px;
|
|
270
269
|
text-transform: uppercase;
|
|
271
|
-
letter-spacing: 0
|
|
272
|
-
color: #
|
|
273
|
-
background: #
|
|
274
|
-
border-bottom: 1px solid #
|
|
270
|
+
letter-spacing: 0;
|
|
271
|
+
color: #425466; /* --muted-foreground */
|
|
272
|
+
background: #f6f9fc;
|
|
273
|
+
border-bottom: 1px solid #e6ebf1;
|
|
275
274
|
}
|
|
276
275
|
|
|
277
276
|
.lite-table th a {
|
|
278
|
-
color: #
|
|
279
|
-
transition: color 0.15s ease;
|
|
277
|
+
color: #425466;
|
|
278
|
+
transition: color 0.15s ease-out;
|
|
280
279
|
}
|
|
281
280
|
.lite-table th a:hover {
|
|
282
|
-
color: #
|
|
281
|
+
color: #0a2540;
|
|
283
282
|
text-decoration: none;
|
|
284
283
|
}
|
|
285
284
|
.lite-table th .sort-indicator {
|
|
@@ -289,10 +288,10 @@ a:hover {
|
|
|
289
288
|
|
|
290
289
|
.lite-table td {
|
|
291
290
|
padding: 10px 14px;
|
|
292
|
-
border-bottom: 1px solid #
|
|
291
|
+
border-bottom: 1px solid #f1f4f8; /* slate-100 — softer row divider */
|
|
293
292
|
color: #334155; /* slate-700 */
|
|
294
293
|
font-size: 13px;
|
|
295
|
-
transition: background 0.12s ease;
|
|
294
|
+
transition: background 0.12s ease-out;
|
|
296
295
|
}
|
|
297
296
|
|
|
298
297
|
.lite-table tr:hover td {
|
|
@@ -310,7 +309,7 @@ a:hover {
|
|
|
310
309
|
padding: 7px 16px;
|
|
311
310
|
font-size: 13px;
|
|
312
311
|
font-weight: 500;
|
|
313
|
-
border: 1px solid #
|
|
312
|
+
border: 1px solid #e6ebf1;
|
|
314
313
|
border-radius: 6px;
|
|
315
314
|
background: #fff;
|
|
316
315
|
color: #334155;
|
|
@@ -318,32 +317,32 @@ a:hover {
|
|
|
318
317
|
text-decoration: none;
|
|
319
318
|
vertical-align: middle;
|
|
320
319
|
line-height: 1.5;
|
|
321
|
-
transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease, transform 0.1s cubic-bezier(0.16, 1, 0.3, 1);
|
|
320
|
+
transition: background 0.15s ease-out, border-color 0.15s ease-out, box-shadow 0.15s ease-out, color 0.15s ease-out, transform 0.1s cubic-bezier(0.16, 1, 0.3, 1);
|
|
322
321
|
}
|
|
323
322
|
.lite-btn:hover {
|
|
324
|
-
background: #
|
|
323
|
+
background: #f6f9fc;
|
|
325
324
|
border-color: #cbd5e1;
|
|
326
325
|
text-decoration: none;
|
|
327
326
|
}
|
|
328
327
|
.lite-btn:focus {
|
|
329
328
|
outline: none;
|
|
330
|
-
box-shadow: 0 0 0 3px rgba(
|
|
329
|
+
box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.15);
|
|
331
330
|
}
|
|
332
331
|
.lite-btn:active:not(:disabled) {
|
|
333
332
|
transform: scale(0.97);
|
|
334
333
|
}
|
|
335
334
|
|
|
336
335
|
.lite-btn-primary {
|
|
337
|
-
background: #
|
|
338
|
-
border-color: #
|
|
336
|
+
background: #635bff; /* indigo-600 */
|
|
337
|
+
border-color: #635bff;
|
|
339
338
|
color: #fff;
|
|
340
339
|
}
|
|
341
340
|
.lite-btn-primary:hover {
|
|
342
|
-
background: #
|
|
343
|
-
border-color: #
|
|
341
|
+
background: #5147d9; /* indigo-700 */
|
|
342
|
+
border-color: #5147d9;
|
|
344
343
|
}
|
|
345
344
|
.lite-btn-primary:focus {
|
|
346
|
-
box-shadow: 0 0 0 3px rgba(
|
|
345
|
+
box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.3);
|
|
347
346
|
}
|
|
348
347
|
|
|
349
348
|
.lite-btn-danger {
|
|
@@ -371,7 +370,7 @@ a:hover {
|
|
|
371
370
|
}
|
|
372
371
|
|
|
373
372
|
.lite-array-field {
|
|
374
|
-
border: 2px dashed #
|
|
373
|
+
border: 2px dashed #e6ebf1;
|
|
375
374
|
border-radius: 8px;
|
|
376
375
|
padding: 16px;
|
|
377
376
|
margin: 0;
|
|
@@ -384,11 +383,11 @@ a:hover {
|
|
|
384
383
|
}
|
|
385
384
|
|
|
386
385
|
.lite-array-item {
|
|
387
|
-
border: 1px solid #
|
|
386
|
+
border: 1px solid #e6ebf1;
|
|
388
387
|
border-radius: 6px;
|
|
389
388
|
padding: 12px;
|
|
390
389
|
margin-bottom: 8px;
|
|
391
|
-
background: #
|
|
390
|
+
background: #f6f9fc;
|
|
392
391
|
}
|
|
393
392
|
|
|
394
393
|
.lite-array-item-header {
|
|
@@ -455,13 +454,13 @@ a:hover {
|
|
|
455
454
|
border: 1px solid #cbd5e1; /* slate-300 — slightly more visible */
|
|
456
455
|
border-radius: 6px;
|
|
457
456
|
background: #fff;
|
|
458
|
-
color: #
|
|
459
|
-
transition: border-color 0.15s ease, box-shadow 0.15s ease;
|
|
457
|
+
color: #0a2540;
|
|
458
|
+
transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out;
|
|
460
459
|
}
|
|
461
460
|
.lite-input:focus {
|
|
462
461
|
outline: none;
|
|
463
|
-
border-color: #
|
|
464
|
-
box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgba(
|
|
462
|
+
border-color: #635bff;
|
|
463
|
+
box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgba(99, 91, 255, 0.3);
|
|
465
464
|
}
|
|
466
465
|
|
|
467
466
|
.lite-input-error {
|
|
@@ -479,7 +478,7 @@ a:hover {
|
|
|
479
478
|
align-items: center;
|
|
480
479
|
min-width: 0;
|
|
481
480
|
min-height: 38px;
|
|
482
|
-
color: #
|
|
481
|
+
color: #425466;
|
|
483
482
|
vertical-align: middle;
|
|
484
483
|
}
|
|
485
484
|
|
|
@@ -531,7 +530,7 @@ a:hover {
|
|
|
531
530
|
border: 1px solid #cbd5e1;
|
|
532
531
|
border-radius: 4px;
|
|
533
532
|
padding: 0 10px;
|
|
534
|
-
background: #
|
|
533
|
+
background: #f6f9fc;
|
|
535
534
|
color: #334155;
|
|
536
535
|
font-size: 12px;
|
|
537
536
|
white-space: nowrap;
|
|
@@ -553,8 +552,8 @@ a:hover {
|
|
|
553
552
|
}
|
|
554
553
|
|
|
555
554
|
.lite-file-picker__native:focus + .lite-file-picker__visual {
|
|
556
|
-
border-color: #
|
|
557
|
-
box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgba(
|
|
555
|
+
border-color: #635bff;
|
|
556
|
+
box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgba(99, 91, 255, 0.3);
|
|
558
557
|
}
|
|
559
558
|
|
|
560
559
|
.lite-error-text {
|
|
@@ -578,9 +577,9 @@ textarea.lite-input {
|
|
|
578
577
|
border: 1px solid #cbd5e1;
|
|
579
578
|
border-radius: 6px;
|
|
580
579
|
background: #fff;
|
|
581
|
-
color: #
|
|
580
|
+
color: #0a2540;
|
|
582
581
|
cursor: pointer;
|
|
583
|
-
transition: border-color 0.15s ease, box-shadow 0.15s ease;
|
|
582
|
+
transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out;
|
|
584
583
|
/* Custom dropdown arrow via base64 SVG chevron */
|
|
585
584
|
background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
|
|
586
585
|
background-repeat: no-repeat;
|
|
@@ -593,8 +592,8 @@ textarea.lite-input {
|
|
|
593
592
|
}
|
|
594
593
|
.lite-select:focus {
|
|
595
594
|
outline: none;
|
|
596
|
-
border-color: #
|
|
597
|
-
box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgba(
|
|
595
|
+
border-color: #635bff;
|
|
596
|
+
box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgba(99, 91, 255, 0.3);
|
|
598
597
|
}
|
|
599
598
|
|
|
600
599
|
/* ─── Forms — Custom Checkbox ─────────────────────────────── */
|
|
@@ -636,7 +635,7 @@ textarea.lite-input {
|
|
|
636
635
|
border: 2px solid #cbd5e1;
|
|
637
636
|
border-radius: 4px;
|
|
638
637
|
background: #fff;
|
|
639
|
-
transition: background 0.15s ease, border-color 0.15s ease;
|
|
638
|
+
transition: background 0.15s ease-out, border-color 0.15s ease-out;
|
|
640
639
|
}
|
|
641
640
|
/* Checkmark (hidden by default) */
|
|
642
641
|
.lite-checkbox-group label::after {
|
|
@@ -650,19 +649,19 @@ textarea.lite-input {
|
|
|
650
649
|
border-width: 0 2px 2px 0;
|
|
651
650
|
transform: rotate(45deg);
|
|
652
651
|
opacity: 0;
|
|
653
|
-
transition: opacity 0.1s ease;
|
|
652
|
+
transition: opacity 0.1s ease-out;
|
|
654
653
|
}
|
|
655
654
|
/* Checked state */
|
|
656
655
|
.lite-checkbox-group input[type="checkbox"]:checked + label::before {
|
|
657
|
-
background: #
|
|
658
|
-
border-color: #
|
|
656
|
+
background: #635bff;
|
|
657
|
+
border-color: #635bff;
|
|
659
658
|
}
|
|
660
659
|
.lite-checkbox-group input[type="checkbox"]:checked + label::after {
|
|
661
660
|
opacity: 1;
|
|
662
661
|
}
|
|
663
662
|
/* Focus ring on keyboard navigation */
|
|
664
663
|
.lite-checkbox-group input[type="checkbox"]:focus + label::before {
|
|
665
|
-
box-shadow: 0 0 0 3px rgba(
|
|
664
|
+
box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.15);
|
|
666
665
|
}
|
|
667
666
|
|
|
668
667
|
/* ─── Forms — Custom Radio ────────────────────────────────── */
|
|
@@ -703,7 +702,7 @@ textarea.lite-input {
|
|
|
703
702
|
border: 2px solid #cbd5e1;
|
|
704
703
|
border-radius: 50%;
|
|
705
704
|
background: #fff;
|
|
706
|
-
transition: border-color 0.15s ease;
|
|
705
|
+
transition: border-color 0.15s ease-out;
|
|
707
706
|
}
|
|
708
707
|
/* Inner dot (hidden by default) */
|
|
709
708
|
.lite-radio-group label::after {
|
|
@@ -714,20 +713,20 @@ textarea.lite-input {
|
|
|
714
713
|
width: 8px;
|
|
715
714
|
height: 8px;
|
|
716
715
|
border-radius: 50%;
|
|
717
|
-
background: #
|
|
716
|
+
background: #635bff;
|
|
718
717
|
opacity: 0;
|
|
719
|
-
transition: opacity 0.1s ease;
|
|
718
|
+
transition: opacity 0.1s ease-out;
|
|
720
719
|
}
|
|
721
720
|
/* Checked state */
|
|
722
721
|
.lite-radio-group input[type="radio"]:checked + label::before {
|
|
723
|
-
border-color: #
|
|
722
|
+
border-color: #635bff;
|
|
724
723
|
}
|
|
725
724
|
.lite-radio-group input[type="radio"]:checked + label::after {
|
|
726
725
|
opacity: 1;
|
|
727
726
|
}
|
|
728
727
|
/* Focus ring */
|
|
729
728
|
.lite-radio-group input[type="radio"]:focus + label::before {
|
|
730
|
-
box-shadow: 0 0 0 3px rgba(
|
|
729
|
+
box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.15);
|
|
731
730
|
}
|
|
732
731
|
|
|
733
732
|
/* ─── Pagination ───────────────────────────────────────────── */
|
|
@@ -742,32 +741,32 @@ textarea.lite-input {
|
|
|
742
741
|
display: inline-block;
|
|
743
742
|
padding: 6px 12px;
|
|
744
743
|
margin-right: 4px;
|
|
745
|
-
border: 1px solid #
|
|
744
|
+
border: 1px solid #e6ebf1;
|
|
746
745
|
border-radius: 6px;
|
|
747
746
|
font-size: 13px;
|
|
748
747
|
color: #334155;
|
|
749
|
-
transition: background 0.15s ease, border-color 0.15s ease;
|
|
748
|
+
transition: background 0.15s ease-out, border-color 0.15s ease-out;
|
|
750
749
|
}
|
|
751
750
|
.lite-pagination a:hover {
|
|
752
|
-
background: #
|
|
751
|
+
background: #f1f4f8;
|
|
753
752
|
border-color: #cbd5e1;
|
|
754
753
|
text-decoration: none;
|
|
755
754
|
}
|
|
756
755
|
.lite-pagination span.active {
|
|
757
|
-
background: #
|
|
758
|
-
border-color: #
|
|
756
|
+
background: #635bff;
|
|
757
|
+
border-color: #635bff;
|
|
759
758
|
color: #fff;
|
|
760
759
|
}
|
|
761
760
|
.lite-pagination span.disabled {
|
|
762
761
|
color: #94a3b8;
|
|
763
762
|
cursor: default;
|
|
764
|
-
background: #
|
|
763
|
+
background: #f6f9fc;
|
|
765
764
|
}
|
|
766
765
|
|
|
767
766
|
.lite-pagination-info {
|
|
768
767
|
margin-left: auto;
|
|
769
768
|
font-size: 13px;
|
|
770
|
-
color: #
|
|
769
|
+
color: #425466;
|
|
771
770
|
}
|
|
772
771
|
|
|
773
772
|
/* ─── Search Bar ───────────────────────────────────────────── */
|
|
@@ -810,7 +809,7 @@ textarea.lite-input {
|
|
|
810
809
|
top: 100%;
|
|
811
810
|
z-index: 10;
|
|
812
811
|
background: #fff;
|
|
813
|
-
border: 1px solid #
|
|
812
|
+
border: 1px solid #e6ebf1;
|
|
814
813
|
border-radius: 8px;
|
|
815
814
|
padding: 14px;
|
|
816
815
|
box-shadow:
|
|
@@ -884,7 +883,7 @@ textarea.lite-input {
|
|
|
884
883
|
|
|
885
884
|
/* ─── Compatibility Fallbacks ─────────────────────────────── */
|
|
886
885
|
.lite-compatibility {
|
|
887
|
-
border: 1px solid #
|
|
886
|
+
border: 1px solid #e6ebf1;
|
|
888
887
|
border-radius: 8px;
|
|
889
888
|
background: #fff;
|
|
890
889
|
margin-bottom: 16px;
|
|
@@ -900,7 +899,7 @@ textarea.lite-input {
|
|
|
900
899
|
|
|
901
900
|
.lite-compatibility-header {
|
|
902
901
|
padding: 14px 16px;
|
|
903
|
-
border-bottom: 1px solid #
|
|
902
|
+
border-bottom: 1px solid #e6ebf1;
|
|
904
903
|
}
|
|
905
904
|
|
|
906
905
|
.lite-compatibility-header h2,
|
|
@@ -909,13 +908,13 @@ textarea.lite-input {
|
|
|
909
908
|
margin: 0;
|
|
910
909
|
font-size: 15px;
|
|
911
910
|
font-weight: 600;
|
|
912
|
-
color: #
|
|
911
|
+
color: #0a2540;
|
|
913
912
|
}
|
|
914
913
|
|
|
915
914
|
.lite-compatibility-header p,
|
|
916
915
|
.lite-section-header p {
|
|
917
916
|
margin: 4px 0 0;
|
|
918
|
-
color: #
|
|
917
|
+
color: #425466;
|
|
919
918
|
font-size: 12px;
|
|
920
919
|
}
|
|
921
920
|
|
|
@@ -929,12 +928,12 @@ textarea.lite-input {
|
|
|
929
928
|
|
|
930
929
|
.lite-visual-fallback .lite-section-header {
|
|
931
930
|
padding: 14px 16px;
|
|
932
|
-
border-bottom: 1px solid #
|
|
931
|
+
border-bottom: 1px solid #e6ebf1;
|
|
933
932
|
}
|
|
934
933
|
|
|
935
934
|
.lite-visual-snapshot {
|
|
936
935
|
padding: 16px;
|
|
937
|
-
border-bottom: 1px solid #
|
|
936
|
+
border-bottom: 1px solid #e6ebf1;
|
|
938
937
|
text-align: center;
|
|
939
938
|
}
|
|
940
939
|
|
|
@@ -957,22 +956,22 @@ textarea.lite-input {
|
|
|
957
956
|
.lite-table th.lite-table-sticky-left,
|
|
958
957
|
.lite-table th.lite-table-sticky-right {
|
|
959
958
|
z-index: 3;
|
|
960
|
-
background: #
|
|
959
|
+
background: #f6f9fc;
|
|
961
960
|
}
|
|
962
|
-
.lite-table .lite-table-sticky-left { left: 0; box-shadow: 1px 0 0 #
|
|
963
|
-
.lite-table .lite-table-sticky-right { right: 0; box-shadow: -1px 0 0 #
|
|
961
|
+
.lite-table .lite-table-sticky-left { left: 0; box-shadow: 1px 0 0 #e6ebf1; }
|
|
962
|
+
.lite-table .lite-table-sticky-right { right: 0; box-shadow: -1px 0 0 #e6ebf1; }
|
|
964
963
|
.lite-table tr:hover .lite-table-sticky-left,
|
|
965
964
|
.lite-table tr:hover .lite-table-sticky-right { background: #f8f7fd; }
|
|
966
965
|
|
|
967
966
|
.lite-muted {
|
|
968
|
-
color: #
|
|
967
|
+
color: #425466;
|
|
969
968
|
font-size: 12px;
|
|
970
969
|
}
|
|
971
970
|
|
|
972
971
|
.lite-realtime-status {
|
|
973
972
|
align-items: center;
|
|
974
973
|
padding: 10px 12px;
|
|
975
|
-
border: 1px solid #
|
|
974
|
+
border: 1px solid #e6ebf1;
|
|
976
975
|
border-radius: 6px;
|
|
977
976
|
background: #fff;
|
|
978
977
|
}
|
|
@@ -982,7 +981,7 @@ textarea.lite-input {
|
|
|
982
981
|
}
|
|
983
982
|
|
|
984
983
|
.lite-directory-upload {
|
|
985
|
-
border: 1px solid #
|
|
984
|
+
border: 1px solid #e6ebf1;
|
|
986
985
|
border-radius: 8px;
|
|
987
986
|
padding: 16px;
|
|
988
987
|
background: #fff;
|
|
@@ -1005,7 +1004,7 @@ textarea.lite-input {
|
|
|
1005
1004
|
|
|
1006
1005
|
.lite-ordered-list li {
|
|
1007
1006
|
padding: 10px 0 10px 4px;
|
|
1008
|
-
border-bottom: 1px solid #
|
|
1007
|
+
border-bottom: 1px solid #f1f4f8;
|
|
1009
1008
|
}
|
|
1010
1009
|
|
|
1011
1010
|
.lite-ordered-list li > div:first-child {
|
|
@@ -1015,7 +1014,7 @@ textarea.lite-input {
|
|
|
1015
1014
|
.lite-ordered-list li span {
|
|
1016
1015
|
display: block;
|
|
1017
1016
|
margin-top: 2px;
|
|
1018
|
-
color: #
|
|
1017
|
+
color: #425466;
|
|
1019
1018
|
font-size: 12px;
|
|
1020
1019
|
}
|
|
1021
1020
|
|
|
@@ -1072,7 +1071,7 @@ textarea.lite-input {
|
|
|
1072
1071
|
align-items: center;
|
|
1073
1072
|
justify-content: center;
|
|
1074
1073
|
min-height: 100vh;
|
|
1075
|
-
background: #
|
|
1074
|
+
background: #f1f4f8;
|
|
1076
1075
|
}
|
|
1077
1076
|
|
|
1078
1077
|
.lite-login-card {
|
|
@@ -1092,9 +1091,9 @@ textarea.lite-input {
|
|
|
1092
1091
|
font-size: 11px;
|
|
1093
1092
|
font-weight: 600;
|
|
1094
1093
|
border-radius: 12px;
|
|
1095
|
-
background: #
|
|
1094
|
+
background: #f1f4f8;
|
|
1096
1095
|
color: #475569;
|
|
1097
|
-
border: 1px solid #
|
|
1096
|
+
border: 1px solid #e6ebf1;
|
|
1098
1097
|
margin-right: 4px;
|
|
1099
1098
|
}
|
|
1100
1099
|
|
|
@@ -1118,7 +1117,7 @@ textarea.lite-input {
|
|
|
1118
1117
|
|
|
1119
1118
|
.lite-badge-indigo {
|
|
1120
1119
|
background: #eef2ff;
|
|
1121
|
-
color: #
|
|
1120
|
+
color: #5147d9;
|
|
1122
1121
|
border-color: #c7d2fe;
|
|
1123
1122
|
}
|
|
1124
1123
|
|
|
@@ -1136,8 +1135,8 @@ textarea.lite-input {
|
|
|
1136
1135
|
align-items: center;
|
|
1137
1136
|
justify-content: space-between;
|
|
1138
1137
|
padding: 10px 16px;
|
|
1139
|
-
background: #
|
|
1140
|
-
border-top: 1px solid #
|
|
1138
|
+
background: #f6f9fc;
|
|
1139
|
+
border-top: 1px solid #e6ebf1;
|
|
1141
1140
|
}
|
|
1142
1141
|
|
|
1143
1142
|
.lite-badge-warning {
|
|
@@ -1148,61 +1147,61 @@ textarea.lite-input {
|
|
|
1148
1147
|
|
|
1149
1148
|
.lite-badge-subtle {
|
|
1150
1149
|
background: #eef2ff;
|
|
1151
|
-
color: #
|
|
1150
|
+
color: #5147d9;
|
|
1152
1151
|
border-color: #c7d2fe;
|
|
1153
1152
|
}
|
|
1154
|
-
.lite-badge-default { background: #
|
|
1155
|
-
.lite-badge-secondary { background: #
|
|
1153
|
+
.lite-badge-default { background: #635bff; color: #fff; border-color: #635bff; }
|
|
1154
|
+
.lite-badge-secondary { background: #f1f4f8; color: #334155; border-color: #e6ebf1; }
|
|
1156
1155
|
.lite-badge-destructive,
|
|
1157
1156
|
.lite-badge-subtle-destructive { background: #fef2f2; color: #dc2626; border-color: #fecaca; }
|
|
1158
1157
|
.lite-badge-subtle-success { background: #f0fdf4; color: #166534; border-color: #bbf7d0; }
|
|
1159
1158
|
.lite-badge-subtle-warning { background: #fffbeb; color: #92400e; border-color: #fde68a; }
|
|
1160
1159
|
.lite-badge-subtle-pill {
|
|
1161
1160
|
border-radius: 999px;
|
|
1162
|
-
background: #
|
|
1161
|
+
background: #f6f9fc;
|
|
1163
1162
|
color: #475569;
|
|
1164
1163
|
font-weight: 500;
|
|
1165
1164
|
}
|
|
1166
|
-
.lite-badge-outline { background: transparent; color: #
|
|
1165
|
+
.lite-badge-outline { background: transparent; color: #0a2540; }
|
|
1167
1166
|
.lite-badge-ghost { background: transparent; border-color: transparent; color: #475569; }
|
|
1168
|
-
.lite-badge-link { padding-left: 0; padding-right: 0; background: transparent; border-color: transparent; color: #
|
|
1167
|
+
.lite-badge-link { padding-left: 0; padding-right: 0; background: transparent; border-color: transparent; color: #5147d9; text-decoration: underline; }
|
|
1169
1168
|
|
|
1170
1169
|
/* ─── Metric strip ────────────────────────────────────────── */
|
|
1171
1170
|
.lite-metric-strip {
|
|
1172
1171
|
display: flex;
|
|
1173
1172
|
flex-wrap: wrap;
|
|
1174
1173
|
overflow: hidden;
|
|
1175
|
-
border: 1px solid #
|
|
1174
|
+
border: 1px solid #e6ebf1;
|
|
1176
1175
|
border-radius: 8px;
|
|
1177
|
-
background: #
|
|
1176
|
+
background: #e6ebf1;
|
|
1178
1177
|
}
|
|
1179
1178
|
.lite-metric-item {
|
|
1180
1179
|
flex: 1 1 160px;
|
|
1181
1180
|
min-width: 0;
|
|
1182
1181
|
padding: 14px 16px;
|
|
1183
1182
|
background: #fff;
|
|
1184
|
-
color: #
|
|
1183
|
+
color: #0a2540;
|
|
1185
1184
|
text-decoration: none;
|
|
1186
|
-
border-right: 1px solid #
|
|
1187
|
-
border-bottom: 1px solid #
|
|
1185
|
+
border-right: 1px solid #e6ebf1;
|
|
1186
|
+
border-bottom: 1px solid #e6ebf1;
|
|
1188
1187
|
}
|
|
1189
|
-
.lite-metric-item-link:hover { background: #
|
|
1188
|
+
.lite-metric-item-link:hover { background: #f6f9fc; text-decoration: none; }
|
|
1190
1189
|
.lite-metric-label,
|
|
1191
1190
|
.lite-metric-value-row { display: flex; align-items: center; justify-content: space-between; }
|
|
1192
|
-
.lite-metric-label { color: #
|
|
1191
|
+
.lite-metric-label { color: #425466; font-size: 12px; font-weight: 600; }
|
|
1193
1192
|
.lite-metric-icon { margin-left: 8px; color: #94a3b8; }
|
|
1194
1193
|
.lite-metric-icon-svg { width: 14px; height: 14px; }
|
|
1195
|
-
.lite-metric-value { margin-top: 4px; font-size: 23px; line-height: 1.2; color: #
|
|
1196
|
-
.lite-metric-value-primary { color: #
|
|
1194
|
+
.lite-metric-value { margin-top: 4px; font-size: 23px; line-height: 1.2; color: #0a2540; }
|
|
1195
|
+
.lite-metric-value-primary { color: #5147d9; }
|
|
1197
1196
|
.lite-metric-value-success { color: #16a34a; }
|
|
1198
1197
|
.lite-metric-value-warning { color: #d97706; }
|
|
1199
1198
|
.lite-metric-value-danger { color: #dc2626; }
|
|
1200
1199
|
.lite-metric-value-info { color: #2563eb; }
|
|
1201
|
-
.lite-metric-loading { display: block; width: 64px; height: 24px; margin-top: 6px; background: #
|
|
1200
|
+
.lite-metric-loading { display: block; width: 64px; height: 24px; margin-top: 6px; background: #e6ebf1; border-radius: 4px; }
|
|
1202
1201
|
.lite-metric-trend { margin-left: 8px; font-size: 12px; font-weight: 600; white-space: nowrap; }
|
|
1203
1202
|
.lite-metric-trend-up { color: #16a34a; }
|
|
1204
1203
|
.lite-metric-trend-down { color: #dc2626; }
|
|
1205
|
-
.lite-metric-trend-label { margin-left: 4px; color: #
|
|
1204
|
+
.lite-metric-trend-label { margin-left: 4px; color: #425466; font-weight: 400; }
|
|
1206
1205
|
.lite-metric-strip-2 .lite-metric-item { flex-basis: 45%; }
|
|
1207
1206
|
.lite-metric-strip-3 .lite-metric-item { flex-basis: 30%; }
|
|
1208
1207
|
.lite-metric-strip-4 .lite-metric-item { flex-basis: 22%; }
|
|
@@ -1224,7 +1223,7 @@ textarea.lite-input {
|
|
|
1224
1223
|
|
|
1225
1224
|
/* ─── Utility classes ──────────────────────────────────────── */
|
|
1226
1225
|
.lite-text-muted {
|
|
1227
|
-
color: #
|
|
1226
|
+
color: #425466;
|
|
1228
1227
|
}
|
|
1229
1228
|
.lite-text-sm {
|
|
1230
1229
|
font-size: 12px;
|
|
@@ -1247,8 +1246,8 @@ textarea.lite-input {
|
|
|
1247
1246
|
display: inline-flex;
|
|
1248
1247
|
align-items: center;
|
|
1249
1248
|
justify-content: center;
|
|
1250
|
-
background: #
|
|
1251
|
-
color: #
|
|
1249
|
+
background: #f1f4f8;
|
|
1250
|
+
color: #425466;
|
|
1252
1251
|
font-weight: 500;
|
|
1253
1252
|
overflow: hidden;
|
|
1254
1253
|
vertical-align: middle;
|
|
@@ -1293,28 +1292,28 @@ textarea.lite-input {
|
|
|
1293
1292
|
.lite-avatar-name {
|
|
1294
1293
|
font-size: 13px;
|
|
1295
1294
|
font-weight: 500;
|
|
1296
|
-
color: #
|
|
1295
|
+
color: #0a2540;
|
|
1297
1296
|
line-height: 1.2;
|
|
1298
1297
|
}
|
|
1299
1298
|
.lite-avatar-subtitle {
|
|
1300
1299
|
font-size: 11px;
|
|
1301
|
-
color: #
|
|
1300
|
+
color: #425466;
|
|
1302
1301
|
line-height: 1.2;
|
|
1303
1302
|
margin-top: 2px;
|
|
1304
1303
|
}
|
|
1305
1304
|
|
|
1306
1305
|
/* ─── Code Block ───────────────────────────────────────────── */
|
|
1307
1306
|
.lite-code-block {
|
|
1308
|
-
border: 1px solid #
|
|
1307
|
+
border: 1px solid #e6ebf1;
|
|
1309
1308
|
border-radius: 6px;
|
|
1310
|
-
background: #
|
|
1309
|
+
background: #f6f9fc;
|
|
1311
1310
|
overflow: hidden;
|
|
1312
1311
|
margin: 4px 0;
|
|
1313
1312
|
}
|
|
1314
1313
|
.lite-code-header {
|
|
1315
1314
|
padding: 4px 10px;
|
|
1316
|
-
background: #
|
|
1317
|
-
border-bottom: 1px solid #
|
|
1315
|
+
background: #f1f4f8;
|
|
1316
|
+
border-bottom: 1px solid #e6ebf1;
|
|
1318
1317
|
font-size: 11px;
|
|
1319
1318
|
}
|
|
1320
1319
|
.lite-code-pre {
|
|
@@ -1325,7 +1324,7 @@ textarea.lite-input {
|
|
|
1325
1324
|
line-height: 1.5;
|
|
1326
1325
|
overflow-x: auto;
|
|
1327
1326
|
overflow-y: auto;
|
|
1328
|
-
color: #
|
|
1327
|
+
color: #0a2540;
|
|
1329
1328
|
}
|
|
1330
1329
|
|
|
1331
1330
|
/* ─── Copy Field ───────────────────────────────────────────── */
|
|
@@ -1335,7 +1334,7 @@ textarea.lite-input {
|
|
|
1335
1334
|
}
|
|
1336
1335
|
.lite-copy-text {
|
|
1337
1336
|
font-size: 13px;
|
|
1338
|
-
color: #
|
|
1337
|
+
color: #0a2540;
|
|
1339
1338
|
}
|
|
1340
1339
|
|
|
1341
1340
|
/* ─── Currency & Numbers ───────────────────────────────────── */
|
|
@@ -1361,7 +1360,7 @@ textarea.lite-input {
|
|
|
1361
1360
|
display: inline-block;
|
|
1362
1361
|
width: 64px;
|
|
1363
1362
|
height: 6px;
|
|
1364
|
-
background: #
|
|
1363
|
+
background: #e6ebf1;
|
|
1365
1364
|
border-radius: 3px;
|
|
1366
1365
|
overflow: hidden;
|
|
1367
1366
|
margin-left: 8px;
|
|
@@ -1370,7 +1369,7 @@ textarea.lite-input {
|
|
|
1370
1369
|
.lite-progress-fill {
|
|
1371
1370
|
display: block;
|
|
1372
1371
|
height: 100%;
|
|
1373
|
-
background: #
|
|
1372
|
+
background: #635bff;
|
|
1374
1373
|
border-radius: 3px;
|
|
1375
1374
|
}
|
|
1376
1375
|
.lite-progress-success { background: #22c55e; }
|
|
@@ -1389,7 +1388,7 @@ textarea.lite-input {
|
|
|
1389
1388
|
font-size: 12px;
|
|
1390
1389
|
}
|
|
1391
1390
|
.lite-phone-link {
|
|
1392
|
-
color: #
|
|
1391
|
+
color: #5147d9;
|
|
1393
1392
|
font-weight: 500;
|
|
1394
1393
|
text-decoration: none;
|
|
1395
1394
|
}
|
|
@@ -1423,7 +1422,7 @@ textarea.lite-input {
|
|
|
1423
1422
|
.lite-rating-value {
|
|
1424
1423
|
margin-left: 6px;
|
|
1425
1424
|
font-size: 13px;
|
|
1426
|
-
color: #
|
|
1425
|
+
color: #0a2540;
|
|
1427
1426
|
font-weight: 500;
|
|
1428
1427
|
}
|
|
1429
1428
|
|
|
@@ -1435,7 +1434,7 @@ textarea.lite-input {
|
|
|
1435
1434
|
.lite-text-warning { color: #d97706; font-weight: 500; }
|
|
1436
1435
|
.lite-text-danger { color: #dc2626; font-weight: 500; }
|
|
1437
1436
|
.lite-text-info { color: #2563eb; font-weight: 500; }
|
|
1438
|
-
.lite-text-primary { color: #
|
|
1437
|
+
.lite-text-primary { color: #5147d9; font-weight: 500; }
|
|
1439
1438
|
|
|
1440
1439
|
/* ─── Responsive ───────────────────────────────────────────── */
|
|
1441
1440
|
@media (max-width: 768px) {
|
|
@@ -1451,7 +1450,7 @@ textarea.lite-input {
|
|
|
1451
1450
|
.lite-mobile-nav-links {
|
|
1452
1451
|
max-height: 240px;
|
|
1453
1452
|
overflow-y: auto;
|
|
1454
|
-
border-top: 1px solid #
|
|
1453
|
+
border-top: 1px solid #f1f4f8;
|
|
1455
1454
|
}
|
|
1456
1455
|
.lite-main {
|
|
1457
1456
|
padding: 16px;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@svadmin/lite",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.3",
|
|
4
4
|
"description": "SSR-first lightweight admin UI for @svadmin with optional progressive enhancement",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
51
|
"svelte": "^5.56.10",
|
|
52
|
-
"@svadmin/core": ">=0.34.2 <0.
|
|
52
|
+
"@svadmin/core": ">=0.34.2 <0.59.0",
|
|
53
53
|
"@sveltejs/kit": "^2.70.3"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|