@lbenicio/components 0.0.0-stage → 0.2.0

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 (64) hide show
  1. package/LICENSE.txt +595 -0
  2. package/README.md +151 -2
  3. package/dist/components/badge.d.ts +7 -0
  4. package/dist/components/badge.d.ts.map +1 -0
  5. package/dist/components/badge.js +6 -0
  6. package/dist/components/badge.js.map +1 -0
  7. package/dist/components/button.d.ts +9 -0
  8. package/dist/components/button.d.ts.map +1 -0
  9. package/dist/components/button.js +6 -0
  10. package/dist/components/button.js.map +1 -0
  11. package/dist/components/card.d.ts +3 -0
  12. package/dist/components/card.d.ts.map +1 -0
  13. package/dist/components/card.js +6 -0
  14. package/dist/components/card.js.map +1 -0
  15. package/dist/components/data-table.d.ts +17 -0
  16. package/dist/components/data-table.d.ts.map +1 -0
  17. package/dist/components/data-table.js +27 -0
  18. package/dist/components/data-table.js.map +1 -0
  19. package/dist/components/empty-state.d.ts +9 -0
  20. package/dist/components/empty-state.d.ts.map +1 -0
  21. package/dist/components/empty-state.js +5 -0
  22. package/dist/components/empty-state.js.map +1 -0
  23. package/dist/components/filter-bar.d.ts +8 -0
  24. package/dist/components/filter-bar.d.ts.map +1 -0
  25. package/dist/components/filter-bar.js +9 -0
  26. package/dist/components/filter-bar.js.map +1 -0
  27. package/dist/components/form-field.d.ts +13 -0
  28. package/dist/components/form-field.d.ts.map +1 -0
  29. package/dist/components/form-field.js +15 -0
  30. package/dist/components/form-field.js.map +1 -0
  31. package/dist/components/link.d.ts +16 -0
  32. package/dist/components/link.d.ts.map +1 -0
  33. package/dist/components/link.js +8 -0
  34. package/dist/components/link.js.map +1 -0
  35. package/dist/components/manager-shell.d.ts +33 -0
  36. package/dist/components/manager-shell.d.ts.map +1 -0
  37. package/dist/components/manager-shell.js +143 -0
  38. package/dist/components/manager-shell.js.map +1 -0
  39. package/dist/components/modal.d.ts +11 -0
  40. package/dist/components/modal.d.ts.map +1 -0
  41. package/dist/components/modal.js +33 -0
  42. package/dist/components/modal.js.map +1 -0
  43. package/dist/components/notice.d.ts +8 -0
  44. package/dist/components/notice.d.ts.map +1 -0
  45. package/dist/components/notice.js +6 -0
  46. package/dist/components/notice.js.map +1 -0
  47. package/dist/components/page-header.d.ts +9 -0
  48. package/dist/components/page-header.d.ts.map +1 -0
  49. package/dist/components/page-header.js +5 -0
  50. package/dist/components/page-header.js.map +1 -0
  51. package/dist/components/pagination.d.ts +12 -0
  52. package/dist/components/pagination.d.ts.map +1 -0
  53. package/dist/components/pagination.js +14 -0
  54. package/dist/components/pagination.js.map +1 -0
  55. package/dist/index.d.ts +15 -0
  56. package/dist/index.d.ts.map +1 -0
  57. package/dist/index.js +15 -0
  58. package/dist/index.js.map +1 -0
  59. package/dist/lib/class-names.d.ts +3 -0
  60. package/dist/lib/class-names.d.ts.map +1 -0
  61. package/dist/lib/class-names.js +4 -0
  62. package/dist/lib/class-names.js.map +1 -0
  63. package/dist/styles.css +950 -0
  64. package/package.json +46 -4
@@ -0,0 +1,950 @@
1
+ :root {
2
+ --lbc-ink: #172b3a;
3
+ --lbc-muted: #6c7c87;
4
+ --lbc-line: #e3e9ed;
5
+ --lbc-paper: #f6f8f9;
6
+ --lbc-surface: #fff;
7
+ --lbc-primary: #147d78;
8
+ --lbc-primary-strong: #0b5c58;
9
+ --lbc-primary-soft: #e4f4f2;
10
+ --lbc-danger: #aa4141;
11
+ --lbc-danger-soft: #fff0ee;
12
+ --lbc-warning: #986717;
13
+ --lbc-warning-soft: #fff5df;
14
+ --lbc-success: #246c47;
15
+ --lbc-success-soft: #e9f7ef;
16
+ --lbc-shadow: 0 12px 36px rgb(22 43 58 / 7%);
17
+ }
18
+
19
+ :root[data-theme="dark"] {
20
+ --lbc-ink: #e2ebef;
21
+ --lbc-muted: #a4b2b9;
22
+ --lbc-line: #34444b;
23
+ --lbc-paper: #101a20;
24
+ --lbc-surface: #1b272f;
25
+ --lbc-primary: #61c8bb;
26
+ --lbc-primary-strong: #91e2d8;
27
+ --lbc-primary-soft: #183c3b;
28
+ --lbc-danger: #f19898;
29
+ --lbc-danger-soft: #432b30;
30
+ --lbc-warning: #e8c071;
31
+ --lbc-warning-soft: #3d331f;
32
+ --lbc-success: #80d6a5;
33
+ --lbc-success-soft: #1d392b;
34
+ --lbc-shadow: 0 12px 36px rgb(0 0 0 / 20%);
35
+ }
36
+
37
+ .lbc-shell,
38
+ .lbc-shell *,
39
+ .lbc-card,
40
+ .lbc-card *,
41
+ .lbc-filter-bar,
42
+ .lbc-filter-bar *,
43
+ .lbc-table-container,
44
+ .lbc-table-container * {
45
+ box-sizing: border-box;
46
+ }
47
+
48
+ .lbc-shell {
49
+ background: var(--lbc-paper);
50
+ color: var(--lbc-ink);
51
+ color-scheme: light;
52
+ display: grid;
53
+ font-family:
54
+ Inter,
55
+ ui-sans-serif,
56
+ system-ui,
57
+ -apple-system,
58
+ BlinkMacSystemFont,
59
+ "Segoe UI",
60
+ sans-serif;
61
+ font-size: 14px;
62
+ grid-template-columns: var(--lbc-sidebar-width, 260px) minmax(0, 1fr);
63
+ line-height: 1.5;
64
+ min-height: 100vh;
65
+ position: relative;
66
+ }
67
+ .lbc-shell.is-collapsed {
68
+ grid-template-columns: 72px minmax(0, 1fr);
69
+ }
70
+ :root[data-theme="dark"] .lbc-shell {
71
+ color-scheme: dark;
72
+ }
73
+
74
+ .lbc-shell a {
75
+ color: inherit;
76
+ text-decoration: none;
77
+ }
78
+ .lbc-shell button,
79
+ .lbc-shell input,
80
+ .lbc-shell select,
81
+ .lbc-shell textarea {
82
+ font: inherit;
83
+ }
84
+ .lbc-sidebar {
85
+ background: #102b38;
86
+ color: #eaf5f5;
87
+ display: flex;
88
+ flex-direction: column;
89
+ min-height: 100vh;
90
+ padding: 25px 18px 18px;
91
+ position: sticky;
92
+ top: 0;
93
+ width: var(--lbc-sidebar-width, 260px);
94
+ }
95
+ .lbc-brand {
96
+ align-items: center;
97
+ display: flex;
98
+ gap: 11px;
99
+ min-width: 0;
100
+ }
101
+ .lbc-brand-mark {
102
+ align-items: center;
103
+ background: #46b7aa;
104
+ border-radius: 11px;
105
+ color: #092a31;
106
+ display: inline-flex;
107
+ flex: 0 0 40px;
108
+ font-family: Georgia, serif;
109
+ font-size: 22px;
110
+ font-weight: 700;
111
+ height: 40px;
112
+ justify-content: center;
113
+ width: 40px;
114
+ }
115
+ .lbc-brand strong,
116
+ .lbc-brand small {
117
+ display: block;
118
+ overflow: hidden;
119
+ text-overflow: ellipsis;
120
+ white-space: nowrap;
121
+ }
122
+ .lbc-brand strong {
123
+ font-size: 14px;
124
+ letter-spacing: -0.02em;
125
+ }
126
+ .lbc-brand small {
127
+ color: #a8c1c5;
128
+ font-size: 10px;
129
+ margin-top: 3px;
130
+ }
131
+ .lbc-side-navigation {
132
+ display: grid;
133
+ gap: 5px;
134
+ margin-top: 38px;
135
+ }
136
+ .lbc-nav-link {
137
+ align-items: center;
138
+ border-radius: 8px;
139
+ display: flex;
140
+ gap: 10px;
141
+ min-height: 38px;
142
+ padding: 9px 11px;
143
+ transition:
144
+ background-color 0.15s ease,
145
+ color 0.15s ease;
146
+ }
147
+ .lbc-nav-link--sidebar {
148
+ color: #b7c9cd;
149
+ font-size: 13px;
150
+ }
151
+ .lbc-nav-link--sidebar:hover,
152
+ .lbc-nav-link--sidebar.is-active {
153
+ background: #1c414b;
154
+ color: #fff;
155
+ }
156
+ .lbc-nav-icon {
157
+ align-items: center;
158
+ display: inline-flex;
159
+ flex: 0 0 18px;
160
+ font-size: 16px;
161
+ justify-content: center;
162
+ }
163
+ .lbc-sidebar-footer {
164
+ border-top: 1px solid #2c4a52;
165
+ display: flex;
166
+ justify-content: flex-start;
167
+ margin: auto 0 0;
168
+ padding: 14px 0 0;
169
+ }
170
+ .lbc-sidebar-toggle {
171
+ align-items: center;
172
+ background: transparent;
173
+ border: 1px solid #45616a;
174
+ border-radius: 8px;
175
+ color: #b7c9cd;
176
+ cursor: pointer;
177
+ display: inline-flex;
178
+ flex: 0 0 34px;
179
+ font-size: 18px;
180
+ height: 34px;
181
+ justify-content: center;
182
+ padding: 0;
183
+ width: 34px;
184
+ }
185
+ .lbc-sidebar-toggle:hover {
186
+ background: #1c414b;
187
+ color: #fff;
188
+ }
189
+ .lbc-sidebar-toggle:focus-visible,
190
+ .lbc-header-theme-option:focus-visible {
191
+ outline: 3px solid color-mix(in srgb, var(--lbc-primary) 42%, transparent);
192
+ outline-offset: 2px;
193
+ }
194
+ .lbc-sidebar-resizer {
195
+ cursor: col-resize;
196
+ inset: 0 -5px 0 auto;
197
+ position: absolute;
198
+ touch-action: none;
199
+ width: 10px;
200
+ z-index: 3;
201
+ }
202
+ .lbc-sidebar-resizer::after {
203
+ background: #46b7aa;
204
+ border-radius: 999px;
205
+ content: "";
206
+ inset: 0 auto 0 4px;
207
+ opacity: 0;
208
+ position: absolute;
209
+ transition: opacity 0.15s ease;
210
+ width: 2px;
211
+ }
212
+ .lbc-sidebar-resizer:hover::after,
213
+ .lbc-sidebar-resizer:focus-visible::after,
214
+ .lbc-sidebar-resizer.is-resizing::after {
215
+ opacity: 0.8;
216
+ }
217
+ .lbc-sidebar-resizer:focus-visible {
218
+ outline: none;
219
+ }
220
+ .lbc-shell.is-collapsed .lbc-sidebar {
221
+ padding-left: 12px;
222
+ padding-right: 12px;
223
+ width: 72px;
224
+ }
225
+ .lbc-shell.is-collapsed .lbc-brand {
226
+ justify-content: center;
227
+ }
228
+ .lbc-shell.is-collapsed .lbc-brand > span:last-child,
229
+ .lbc-shell.is-collapsed .lbc-nav-label,
230
+ .lbc-shell.is-collapsed .lbc-sidebar-resizer {
231
+ display: none;
232
+ }
233
+ .lbc-shell.is-collapsed .lbc-sidebar-footer {
234
+ justify-content: center;
235
+ }
236
+ .lbc-shell.is-collapsed .lbc-nav-link--sidebar {
237
+ justify-content: center;
238
+ padding-left: 8px;
239
+ padding-right: 8px;
240
+ }
241
+ .lbc-main {
242
+ display: flex;
243
+ flex-direction: column;
244
+ min-width: 0;
245
+ padding: 24px clamp(20px, 4vw, 52px) 16px;
246
+ }
247
+ .lbc-topbar {
248
+ align-items: center;
249
+ border-bottom: 1px solid var(--lbc-line);
250
+ display: flex;
251
+ gap: 16px;
252
+ justify-content: space-between;
253
+ margin-bottom: 29px;
254
+ min-height: 52px;
255
+ padding: 0 0 13px;
256
+ }
257
+ .lbc-header-navigation {
258
+ align-items: center;
259
+ display: flex;
260
+ flex: 1;
261
+ gap: 4px;
262
+ justify-content: center;
263
+ min-width: 0;
264
+ }
265
+ .lbc-user-controls {
266
+ align-items: center;
267
+ display: flex;
268
+ flex: 0 0 auto;
269
+ gap: 9px;
270
+ margin-left: auto;
271
+ min-width: 0;
272
+ }
273
+ .lbc-header-theme-picker {
274
+ align-items: center;
275
+ background: var(--lbc-surface);
276
+ border: 1px solid var(--lbc-line);
277
+ border-radius: 8px;
278
+ display: flex;
279
+ flex: 0 0 auto;
280
+ gap: 2px;
281
+ padding: 3px;
282
+ }
283
+ .lbc-header-theme-option {
284
+ align-items: center;
285
+ background: transparent;
286
+ border: 0;
287
+ border-radius: 6px;
288
+ color: var(--lbc-muted);
289
+ cursor: pointer;
290
+ display: inline-flex;
291
+ font-size: 15px;
292
+ height: 28px;
293
+ justify-content: center;
294
+ padding: 0;
295
+ width: 30px;
296
+ }
297
+ .lbc-header-theme-option:hover,
298
+ .lbc-header-theme-option[aria-pressed="true"] {
299
+ background: var(--lbc-primary-soft);
300
+ color: var(--lbc-primary-strong);
301
+ }
302
+ .lbc-nav-link--header {
303
+ border-radius: 7px;
304
+ color: var(--lbc-muted);
305
+ font-size: 11px;
306
+ font-weight: 650;
307
+ padding: 8px 10px;
308
+ white-space: nowrap;
309
+ }
310
+ .lbc-nav-link--header:hover,
311
+ .lbc-nav-link--header.is-active {
312
+ background: var(--lbc-primary-soft);
313
+ color: var(--lbc-primary-strong);
314
+ }
315
+ .lbc-account {
316
+ align-items: center;
317
+ background: var(--lbc-surface);
318
+ border: 1px solid var(--lbc-line);
319
+ border-radius: 999px;
320
+ display: flex;
321
+ gap: 9px;
322
+ max-width: min(370px, 45vw);
323
+ min-width: 0;
324
+ padding: 4px 12px 4px 5px;
325
+ }
326
+ .lbc-avatar {
327
+ align-items: center;
328
+ background: #d9eeeb;
329
+ border-radius: 50%;
330
+ color: #15524e;
331
+ display: inline-flex;
332
+ flex: 0 0 34px;
333
+ height: 34px;
334
+ justify-content: center;
335
+ overflow: hidden;
336
+ position: relative;
337
+ width: 34px;
338
+ }
339
+ .lbc-avatar-fallback {
340
+ font-size: 12px;
341
+ font-weight: 700;
342
+ }
343
+ .lbc-avatar-image {
344
+ height: 100%;
345
+ inset: 0;
346
+ object-fit: cover;
347
+ position: absolute;
348
+ width: 100%;
349
+ }
350
+ .lbc-account-details {
351
+ display: flex;
352
+ flex-direction: column;
353
+ min-width: 0;
354
+ }
355
+ .lbc-account-details strong,
356
+ .lbc-account-details small {
357
+ max-width: 280px;
358
+ overflow: hidden;
359
+ text-overflow: ellipsis;
360
+ white-space: nowrap;
361
+ }
362
+ .lbc-account-details strong {
363
+ font-size: 11px;
364
+ }
365
+ .lbc-account-details small {
366
+ color: var(--lbc-muted);
367
+ font-size: 9px;
368
+ }
369
+ .lbc-content {
370
+ flex: 1;
371
+ min-width: 0;
372
+ }
373
+ .lbc-footer {
374
+ align-items: center;
375
+ border-top: 1px solid var(--lbc-line);
376
+ color: var(--lbc-muted);
377
+ display: flex;
378
+ flex-wrap: wrap;
379
+ font-size: 10px;
380
+ gap: 7px 16px;
381
+ justify-content: space-between;
382
+ margin-top: 30px;
383
+ padding: 13px 2px 0;
384
+ }
385
+ :root[data-theme="dark"] .lbc-sidebar {
386
+ background: #0c222d;
387
+ }
388
+ :root[data-theme="dark"] .lbc-brand-mark {
389
+ background: #28665f;
390
+ color: #e1fffb;
391
+ }
392
+ :root[data-theme="dark"] .lbc-sidebar-toggle {
393
+ border-color: #2c4650;
394
+ }
395
+ :root[data-theme="dark"] .lbc-header-theme-picker {
396
+ border-color: var(--lbc-line);
397
+ }
398
+ :root[data-theme="dark"] .lbc-header-theme-option:hover,
399
+ :root[data-theme="dark"] .lbc-header-theme-option[aria-pressed="true"],
400
+ :root[data-theme="dark"] .lbc-nav-link--sidebar:hover,
401
+ :root[data-theme="dark"] .lbc-nav-link--sidebar.is-active {
402
+ background: #19404a;
403
+ color: #fff;
404
+ }
405
+
406
+ .lbc-button {
407
+ align-items: center;
408
+ border: 1px solid transparent;
409
+ border-radius: 8px;
410
+ cursor: pointer;
411
+ display: inline-flex;
412
+ font-size: 12px;
413
+ font-weight: 650;
414
+ gap: 7px;
415
+ justify-content: center;
416
+ line-height: 1.2;
417
+ min-height: 36px;
418
+ padding: 8px 13px;
419
+ text-decoration: none;
420
+ transition:
421
+ background-color 0.15s ease,
422
+ border-color 0.15s ease,
423
+ color 0.15s ease;
424
+ }
425
+ .lbc-button:disabled {
426
+ cursor: not-allowed;
427
+ opacity: 0.55;
428
+ }
429
+ .lbc-button:focus-visible,
430
+ .lbc-input:focus-visible,
431
+ .lbc-page-link:focus-visible,
432
+ .lbc-sort-link:focus-visible {
433
+ outline: 3px solid color-mix(in srgb, var(--lbc-primary) 42%, transparent);
434
+ outline-offset: 2px;
435
+ }
436
+ .lbc-button--small {
437
+ min-height: 30px;
438
+ padding: 6px 10px;
439
+ }
440
+ .lbc-button--medium {
441
+ min-height: 36px;
442
+ }
443
+ .lbc-button--primary {
444
+ background: var(--lbc-primary);
445
+ color: #fff;
446
+ }
447
+ :root[data-theme="dark"] .lbc-button--primary {
448
+ color: #102b2a;
449
+ }
450
+ .lbc-button--primary:hover:not(:disabled) {
451
+ filter: brightness(0.94);
452
+ }
453
+ .lbc-button--secondary {
454
+ background: var(--lbc-surface);
455
+ border-color: var(--lbc-line);
456
+ color: var(--lbc-ink);
457
+ }
458
+ .lbc-button--secondary:hover:not(:disabled) {
459
+ background: var(--lbc-paper);
460
+ }
461
+ .lbc-button--danger {
462
+ background: var(--lbc-danger-soft);
463
+ border-color: color-mix(in srgb, var(--lbc-danger) 25%, transparent);
464
+ color: var(--lbc-danger);
465
+ }
466
+ .lbc-button--ghost {
467
+ background: transparent;
468
+ color: var(--lbc-muted);
469
+ }
470
+ .lbc-button--ghost:hover:not(:disabled) {
471
+ background: var(--lbc-primary-soft);
472
+ color: var(--lbc-primary-strong);
473
+ }
474
+ .lbc-badge {
475
+ align-items: center;
476
+ background: #edf1f3;
477
+ border-radius: 999px;
478
+ color: #53636c;
479
+ display: inline-flex;
480
+ font-size: 10px;
481
+ font-weight: 700;
482
+ gap: 5px;
483
+ line-height: 1.2;
484
+ padding: 4px 8px;
485
+ white-space: nowrap;
486
+ }
487
+ .lbc-badge--info {
488
+ background: #e9f2ff;
489
+ color: #315b93;
490
+ }
491
+ .lbc-badge--success {
492
+ background: var(--lbc-success-soft);
493
+ color: var(--lbc-success);
494
+ }
495
+ .lbc-badge--warning {
496
+ background: var(--lbc-warning-soft);
497
+ color: var(--lbc-warning);
498
+ }
499
+ .lbc-badge--danger {
500
+ background: var(--lbc-danger-soft);
501
+ color: var(--lbc-danger);
502
+ }
503
+ :root[data-theme="dark"] .lbc-badge {
504
+ background: #26363e;
505
+ color: #c4d0d4;
506
+ }
507
+ :root[data-theme="dark"] .lbc-badge--info {
508
+ background: #24364b;
509
+ color: #a7caff;
510
+ }
511
+ .lbc-card {
512
+ background: var(--lbc-surface);
513
+ border: 1px solid var(--lbc-line);
514
+ border-radius: 13px;
515
+ box-shadow: var(--lbc-shadow);
516
+ color: var(--lbc-ink);
517
+ padding: 20px;
518
+ }
519
+ .lbc-page-header {
520
+ align-items: flex-end;
521
+ display: flex;
522
+ flex-wrap: wrap;
523
+ gap: 16px;
524
+ justify-content: space-between;
525
+ margin-bottom: 22px;
526
+ }
527
+ .lbc-page-header h1 {
528
+ font-size: clamp(24px, 3vw, 32px);
529
+ letter-spacing: -0.035em;
530
+ line-height: 1.2;
531
+ margin: 0;
532
+ }
533
+ .lbc-eyebrow {
534
+ color: var(--lbc-primary-strong);
535
+ font-size: 10px;
536
+ font-weight: 750;
537
+ letter-spacing: 0.09em;
538
+ margin: 0 0 7px;
539
+ text-transform: uppercase;
540
+ }
541
+ .lbc-page-description {
542
+ color: var(--lbc-muted);
543
+ font-size: 13px;
544
+ line-height: 1.6;
545
+ margin: 8px 0 0;
546
+ max-width: 70ch;
547
+ }
548
+ .lbc-page-actions {
549
+ align-items: center;
550
+ display: flex;
551
+ flex-wrap: wrap;
552
+ gap: 8px;
553
+ }
554
+ .lbc-notice {
555
+ border-radius: 8px;
556
+ font-size: 12px;
557
+ line-height: 1.55;
558
+ margin: 0 0 16px;
559
+ padding: 11px 13px;
560
+ }
561
+ .lbc-notice--info {
562
+ background: #e9f2ff;
563
+ color: #315b93;
564
+ }
565
+ .lbc-notice--success {
566
+ background: var(--lbc-success-soft);
567
+ color: var(--lbc-success);
568
+ }
569
+ .lbc-notice--warning {
570
+ background: var(--lbc-warning-soft);
571
+ color: var(--lbc-warning);
572
+ }
573
+ .lbc-notice--danger {
574
+ background: var(--lbc-danger-soft);
575
+ color: var(--lbc-danger);
576
+ }
577
+ :root[data-theme="dark"] .lbc-notice--info {
578
+ background: #24364b;
579
+ color: #a7caff;
580
+ }
581
+ .lbc-empty-state {
582
+ align-items: center;
583
+ background: var(--lbc-surface);
584
+ border: 1px dashed var(--lbc-line);
585
+ border-radius: 13px;
586
+ color: var(--lbc-ink);
587
+ display: flex;
588
+ flex-direction: column;
589
+ min-height: 230px;
590
+ justify-content: center;
591
+ padding: 30px;
592
+ text-align: center;
593
+ }
594
+ .lbc-empty-icon {
595
+ align-items: center;
596
+ background: var(--lbc-primary-soft);
597
+ border-radius: 50%;
598
+ color: var(--lbc-primary-strong);
599
+ display: flex;
600
+ font-size: 20px;
601
+ height: 46px;
602
+ justify-content: center;
603
+ margin-bottom: 13px;
604
+ width: 46px;
605
+ }
606
+ .lbc-empty-state h2 {
607
+ font-size: 17px;
608
+ margin: 0;
609
+ }
610
+ .lbc-empty-state p {
611
+ color: var(--lbc-muted);
612
+ font-size: 12px;
613
+ line-height: 1.6;
614
+ margin: 7px 0 0;
615
+ max-width: 52ch;
616
+ }
617
+ .lbc-empty-action {
618
+ margin-top: 15px;
619
+ }
620
+ .lbc-field {
621
+ display: grid;
622
+ gap: 6px;
623
+ min-width: 0;
624
+ }
625
+ .lbc-field-label {
626
+ color: var(--lbc-ink);
627
+ font-size: 11px;
628
+ font-weight: 700;
629
+ }
630
+ .lbc-field-description,
631
+ .lbc-field-error {
632
+ font-size: 10px;
633
+ line-height: 1.5;
634
+ margin: 0;
635
+ }
636
+ .lbc-field-description {
637
+ color: var(--lbc-muted);
638
+ }
639
+ .lbc-field-error {
640
+ color: var(--lbc-danger);
641
+ }
642
+ .lbc-input {
643
+ background: var(--lbc-surface);
644
+ border: 1px solid var(--lbc-line);
645
+ border-radius: 7px;
646
+ color: var(--lbc-ink);
647
+ min-height: 37px;
648
+ min-width: 0;
649
+ padding: 8px 10px;
650
+ width: 100%;
651
+ }
652
+ .lbc-input::placeholder {
653
+ color: var(--lbc-muted);
654
+ opacity: 0.8;
655
+ }
656
+ .lbc-field--invalid .lbc-input {
657
+ border-color: var(--lbc-danger);
658
+ }
659
+ .lbc-textarea {
660
+ min-height: 100px;
661
+ resize: vertical;
662
+ }
663
+ .lbc-filter-bar {
664
+ background: var(--lbc-surface);
665
+ border: 1px solid var(--lbc-line);
666
+ border-radius: 11px;
667
+ margin-bottom: 14px;
668
+ padding: 13px;
669
+ }
670
+ .lbc-filter-fields {
671
+ align-items: end;
672
+ display: flex;
673
+ flex-wrap: wrap;
674
+ gap: 10px;
675
+ }
676
+ .lbc-filter-fields > * {
677
+ flex: 1 1 155px;
678
+ }
679
+ .lbc-filter-actions {
680
+ align-items: center;
681
+ display: flex;
682
+ flex: 0 0 auto;
683
+ flex-wrap: wrap;
684
+ gap: 8px;
685
+ }
686
+ .lbc-filter-summary {
687
+ color: var(--lbc-muted);
688
+ font-size: 10px;
689
+ margin: 10px 0 0;
690
+ }
691
+ .lbc-table-container {
692
+ background: var(--lbc-surface);
693
+ border: 1px solid var(--lbc-line);
694
+ border-radius: 11px;
695
+ overflow: auto;
696
+ }
697
+ .lbc-table {
698
+ border-collapse: collapse;
699
+ min-width: 100%;
700
+ text-align: left;
701
+ width: 100%;
702
+ }
703
+ .lbc-table th {
704
+ background: var(--lbc-paper);
705
+ color: var(--lbc-muted);
706
+ font-size: 9px;
707
+ font-weight: 750;
708
+ letter-spacing: 0.065em;
709
+ padding: 11px 12px;
710
+ text-transform: uppercase;
711
+ white-space: nowrap;
712
+ }
713
+ .lbc-table td {
714
+ border-top: 1px solid var(--lbc-line);
715
+ font-size: 11px;
716
+ padding: 11px 12px;
717
+ vertical-align: middle;
718
+ }
719
+ .lbc-table tbody tr:hover {
720
+ background: color-mix(in srgb, var(--lbc-primary-soft) 35%, transparent);
721
+ }
722
+ .lbc-sort-link {
723
+ align-items: center;
724
+ color: inherit;
725
+ display: inline-flex;
726
+ gap: 6px;
727
+ }
728
+ .lbc-sort-indicator {
729
+ color: var(--lbc-primary-strong);
730
+ font-size: 12px;
731
+ }
732
+ .lbc-pagination {
733
+ align-items: center;
734
+ color: var(--lbc-muted);
735
+ display: flex;
736
+ flex-wrap: wrap;
737
+ font-size: 10px;
738
+ gap: 10px;
739
+ justify-content: space-between;
740
+ margin-top: 14px;
741
+ }
742
+ .lbc-pagination-controls {
743
+ align-items: center;
744
+ display: flex;
745
+ gap: 7px;
746
+ }
747
+ .lbc-page-link,
748
+ .lbc-page-current {
749
+ border: 1px solid var(--lbc-line);
750
+ border-radius: 7px;
751
+ padding: 6px 9px;
752
+ }
753
+ .lbc-page-link {
754
+ background: var(--lbc-surface);
755
+ color: var(--lbc-ink);
756
+ }
757
+ .lbc-page-link:hover:not(.is-disabled) {
758
+ background: var(--lbc-primary-soft);
759
+ border-color: var(--lbc-primary);
760
+ color: var(--lbc-primary-strong);
761
+ }
762
+ .lbc-page-link.is-disabled {
763
+ opacity: 0.5;
764
+ }
765
+ .lbc-page-current {
766
+ background: var(--lbc-paper);
767
+ }
768
+ .lbc-modal {
769
+ background: var(--lbc-surface);
770
+ border: 1px solid var(--lbc-line);
771
+ border-radius: 14px;
772
+ box-shadow: var(--lbc-shadow);
773
+ color: var(--lbc-ink);
774
+ margin: auto;
775
+ max-height: min(88vh, 900px);
776
+ max-width: min(640px, calc(100vw - 32px));
777
+ overflow: auto;
778
+ padding: 0;
779
+ width: 100%;
780
+ }
781
+ .lbc-modal::backdrop {
782
+ backdrop-filter: blur(2px);
783
+ background: rgb(8 20 27 / 60%);
784
+ }
785
+ .lbc-modal[open] {
786
+ display: flex;
787
+ flex-direction: column;
788
+ }
789
+ .lbc-modal-header {
790
+ align-items: flex-start;
791
+ border-bottom: 1px solid var(--lbc-line);
792
+ display: flex;
793
+ gap: 12px;
794
+ justify-content: space-between;
795
+ padding: 18px 20px;
796
+ }
797
+ .lbc-modal-header h2 {
798
+ font-size: 18px;
799
+ letter-spacing: -0.02em;
800
+ margin: 0;
801
+ }
802
+ .lbc-modal-header p {
803
+ color: var(--lbc-muted);
804
+ font-size: 12px;
805
+ line-height: 1.55;
806
+ margin: 6px 0 0;
807
+ }
808
+ .lbc-modal-close {
809
+ flex: 0 0 auto;
810
+ font-size: 20px;
811
+ min-height: 32px;
812
+ padding: 4px 8px;
813
+ }
814
+ .lbc-modal-content {
815
+ overflow: auto;
816
+ padding: 20px;
817
+ }
818
+
819
+ @media (max-width: 760px) {
820
+ .lbc-shell {
821
+ display: block;
822
+ }
823
+ .lbc-sidebar {
824
+ align-items: center;
825
+ flex-direction: row;
826
+ gap: 12px;
827
+ min-height: auto;
828
+ padding: 10px 14px;
829
+ position: sticky;
830
+ top: 0;
831
+ width: 100%;
832
+ z-index: 5;
833
+ }
834
+ .lbc-shell.is-collapsed .lbc-sidebar {
835
+ padding: 10px 14px;
836
+ width: 100%;
837
+ }
838
+ .lbc-brand {
839
+ flex: 0 1 190px;
840
+ }
841
+ .lbc-brand-mark {
842
+ flex-basis: 34px;
843
+ height: 34px;
844
+ width: 34px;
845
+ }
846
+ .lbc-side-navigation {
847
+ display: flex;
848
+ flex: 1;
849
+ gap: 3px;
850
+ margin: 0;
851
+ overflow-x: auto;
852
+ }
853
+ .lbc-nav-link--sidebar {
854
+ font-size: 10px;
855
+ min-height: 34px;
856
+ padding: 7px;
857
+ white-space: nowrap;
858
+ }
859
+ .lbc-shell.is-collapsed .lbc-brand > span:last-child,
860
+ .lbc-shell.is-collapsed .lbc-nav-label {
861
+ display: initial;
862
+ }
863
+ .lbc-shell.is-collapsed .lbc-brand {
864
+ justify-content: flex-start;
865
+ }
866
+ .lbc-shell.is-collapsed .lbc-nav-link--sidebar {
867
+ justify-content: flex-start;
868
+ padding-left: 7px;
869
+ padding-right: 7px;
870
+ }
871
+ .lbc-sidebar-resizer {
872
+ display: none;
873
+ }
874
+ .lbc-sidebar-footer {
875
+ border-top: 0;
876
+ margin: 0 0 0 auto;
877
+ padding: 0;
878
+ }
879
+ .lbc-main {
880
+ padding: 17px 17px 12px;
881
+ }
882
+ .lbc-topbar {
883
+ gap: 8px;
884
+ margin-bottom: 21px;
885
+ }
886
+ .lbc-header-navigation {
887
+ justify-content: flex-end;
888
+ }
889
+ .lbc-user-controls {
890
+ gap: 5px;
891
+ }
892
+ .lbc-nav-link--header {
893
+ font-size: 9px;
894
+ padding: 7px 6px;
895
+ }
896
+ .lbc-account {
897
+ gap: 0;
898
+ max-width: none;
899
+ padding: 3px;
900
+ }
901
+ .lbc-account-details {
902
+ display: none;
903
+ }
904
+ .lbc-header-theme-picker {
905
+ gap: 0;
906
+ padding: 2px;
907
+ }
908
+ .lbc-header-theme-option {
909
+ height: 27px;
910
+ width: 26px;
911
+ }
912
+ }
913
+
914
+ @media (max-width: 480px) {
915
+ .lbc-sidebar {
916
+ gap: 6px;
917
+ padding: 9px;
918
+ }
919
+ .lbc-brand {
920
+ flex-basis: 36px;
921
+ }
922
+ .lbc-brand > span:last-child {
923
+ display: none;
924
+ }
925
+ .lbc-shell.is-collapsed .lbc-brand > span:last-child {
926
+ display: none;
927
+ }
928
+ .lbc-side-navigation {
929
+ justify-content: center;
930
+ }
931
+ .lbc-nav-link--sidebar {
932
+ gap: 4px;
933
+ }
934
+ .lbc-main {
935
+ padding-left: 12px;
936
+ padding-right: 12px;
937
+ }
938
+ .lbc-footer {
939
+ align-items: flex-start;
940
+ flex-direction: column;
941
+ gap: 4px;
942
+ }
943
+ .lbc-filter-fields > * {
944
+ flex-basis: 100%;
945
+ }
946
+ .lbc-pagination {
947
+ align-items: flex-start;
948
+ flex-direction: column;
949
+ }
950
+ }