@lytjs/ui 6.0.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.
package/dist/index.css ADDED
@@ -0,0 +1,1804 @@
1
+ /* src/styles/index.css */
2
+ :root {
3
+ --lyt-color-primary: #409eff;
4
+ --lyt-color-success: #67c23a;
5
+ --lyt-color-warning: #e6a23c;
6
+ --lyt-color-danger: #f56c6c;
7
+ --lyt-color-info: #909399;
8
+ --lyt-color-default: #606266;
9
+ --lyt-text-color-primary: #303133;
10
+ --lyt-text-color-regular: #606266;
11
+ --lyt-text-color-secondary: #909399;
12
+ --lyt-text-color-placeholder: #c0c4cc;
13
+ --lyt-border-color: #dcdfe6;
14
+ --lyt-border-color-light: #e4e7ed;
15
+ --lyt-border-color-lighter: #ebeef5;
16
+ --lyt-bg-color: #ffffff;
17
+ --lyt-bg-color-page: #f2f3f5;
18
+ --lyt-bg-color-overlay: rgba(0, 0, 0, 0.5);
19
+ --lyt-border-radius-base: 4px;
20
+ --lyt-border-radius-small: 2px;
21
+ --lyt-border-radius-round: 20px;
22
+ --lyt-border-radius-circle: 50%;
23
+ --lyt-size-small: 24px;
24
+ --lyt-size-medium: 32px;
25
+ --lyt-size-large: 40px;
26
+ --lyt-transition-duration: 0.3s;
27
+ }
28
+ .lyt-button {
29
+ display: inline-flex;
30
+ align-items: center;
31
+ justify-content: center;
32
+ gap: 6px;
33
+ padding: 8px 16px;
34
+ font-size: 14px;
35
+ font-weight: 500;
36
+ line-height: 1;
37
+ border: 1px solid var(--lyt-border-color);
38
+ border-radius: var(--lyt-border-radius-base);
39
+ cursor: pointer;
40
+ transition: all var(--lyt-transition-duration);
41
+ background-color: var(--lyt-bg-color);
42
+ color: var(--lyt-text-color-regular);
43
+ }
44
+ .lyt-button--primary {
45
+ background-color: var(--lyt-color-primary);
46
+ border-color: var(--lyt-color-primary);
47
+ color: #ffffff;
48
+ }
49
+ .lyt-button--success {
50
+ background-color: var(--lyt-color-success);
51
+ border-color: var(--lyt-color-success);
52
+ color: #ffffff;
53
+ }
54
+ .lyt-button--warning {
55
+ background-color: var(--lyt-color-warning);
56
+ border-color: var(--lyt-color-warning);
57
+ color: #ffffff;
58
+ }
59
+ .lyt-button--danger {
60
+ background-color: var(--lyt-color-danger);
61
+ border-color: var(--lyt-color-danger);
62
+ color: #ffffff;
63
+ }
64
+ .lyt-button--info {
65
+ background-color: var(--lyt-color-info);
66
+ border-color: var(--lyt-color-info);
67
+ color: #ffffff;
68
+ }
69
+ .lyt-button--plain {
70
+ background-color: transparent;
71
+ }
72
+ .lyt-button--round {
73
+ border-radius: var(--lyt-border-radius-round);
74
+ }
75
+ .lyt-button--circle {
76
+ border-radius: var(--lyt-border-radius-circle);
77
+ padding: 8px;
78
+ }
79
+ .lyt-button--small {
80
+ padding: 6px 12px;
81
+ font-size: 12px;
82
+ }
83
+ .lyt-button--large {
84
+ padding: 10px 20px;
85
+ font-size: 16px;
86
+ }
87
+ .lyt-button--disabled {
88
+ cursor: not-allowed;
89
+ opacity: 0.5;
90
+ }
91
+ .lyt-button--loading {
92
+ cursor: wait;
93
+ pointer-events: none;
94
+ }
95
+ .lyt-input {
96
+ display: inline-flex;
97
+ width: 100%;
98
+ position: relative;
99
+ }
100
+ .lyt-input__wrapper {
101
+ display: flex;
102
+ align-items: center;
103
+ width: 100%;
104
+ padding: 4px 11px;
105
+ background-color: var(--lyt-bg-color);
106
+ border: 1px solid var(--lyt-border-color);
107
+ border-radius: var(--lyt-border-radius-base);
108
+ }
109
+ .lyt-input__inner {
110
+ flex: 1;
111
+ width: 100%;
112
+ padding: 0;
113
+ font-size: 14px;
114
+ line-height: 22px;
115
+ color: var(--lyt-text-color-primary);
116
+ background: transparent;
117
+ border: none;
118
+ outline: none;
119
+ }
120
+ .lyt-dialog {
121
+ position: fixed;
122
+ top: 0;
123
+ left: 0;
124
+ right: 0;
125
+ bottom: 0;
126
+ z-index: 2000;
127
+ display: flex;
128
+ align-items: center;
129
+ justify-content: center;
130
+ }
131
+ .lyt-dialog__overlay {
132
+ position: absolute;
133
+ top: 0;
134
+ left: 0;
135
+ right: 0;
136
+ bottom: 0;
137
+ background-color: var(--lyt-bg-color-overlay);
138
+ }
139
+ .lyt-dialog__content {
140
+ display: flex;
141
+ flex-direction: column;
142
+ background-color: var(--lyt-bg-color);
143
+ border-radius: var(--lyt-border-radius-base);
144
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
145
+ }
146
+ .lyt-select {
147
+ position: relative;
148
+ display: inline-block;
149
+ width: 100%;
150
+ }
151
+ .lyt-select__trigger {
152
+ display: flex;
153
+ align-items: center;
154
+ justify-content: space-between;
155
+ padding: 8px 12px;
156
+ background-color: var(--lyt-bg-color);
157
+ border: 1px solid var(--lyt-border-color);
158
+ border-radius: var(--lyt-border-radius-base);
159
+ cursor: pointer;
160
+ }
161
+ .lyt-select__dropdown {
162
+ position: absolute;
163
+ top: 100%;
164
+ left: 0;
165
+ right: 0;
166
+ margin-top: 4px;
167
+ background-color: var(--lyt-bg-color);
168
+ border: 1px solid var(--lyt-border-color-light);
169
+ border-radius: var(--lyt-border-radius-base);
170
+ box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
171
+ z-index: 1000;
172
+ }
173
+ .lyt-select__option {
174
+ padding: 8px 12px;
175
+ cursor: pointer;
176
+ }
177
+ .lyt-select__option:hover {
178
+ background-color: var(--lyt-bg-color-page);
179
+ }
180
+ .lyt-select__option--selected {
181
+ color: var(--lyt-color-primary);
182
+ }
183
+ .lyt-tabs__header {
184
+ display: flex;
185
+ border-bottom: 1px solid var(--lyt-border-color-light);
186
+ }
187
+ .lyt-tabs__item {
188
+ padding: 12px 20px;
189
+ cursor: pointer;
190
+ color: var(--lyt-text-color-regular);
191
+ border-bottom: 2px solid transparent;
192
+ }
193
+ .lyt-tabs__item--active {
194
+ color: var(--lyt-color-primary);
195
+ border-bottom-color: var(--lyt-color-primary);
196
+ }
197
+ .lyt-tabs__content {
198
+ padding: 16px 0;
199
+ }
200
+ .lyt-table__wrapper {
201
+ width: 100%;
202
+ overflow: auto;
203
+ }
204
+ .lyt-table {
205
+ width: 100%;
206
+ border-collapse: collapse;
207
+ font-size: 14px;
208
+ }
209
+ .lyt-table__cell {
210
+ padding: 12px 16px;
211
+ text-align: left;
212
+ border-bottom: 1px solid var(--lyt-border-color-lighter);
213
+ }
214
+ .lyt-table__header-cell {
215
+ font-weight: 600;
216
+ color: var(--lyt-text-color-primary);
217
+ background-color: var(--lyt-bg-color-page);
218
+ }
219
+ .lyt-table__empty {
220
+ padding: 40px;
221
+ text-align: center;
222
+ color: var(--lyt-text-color-secondary);
223
+ }
224
+ .lyt-form {
225
+ display: flex;
226
+ flex-direction: column;
227
+ gap: 18px;
228
+ }
229
+ .lyt-form-item {
230
+ display: flex;
231
+ margin-bottom: 0;
232
+ }
233
+ .lyt-form-item__label {
234
+ display: inline-flex;
235
+ align-items: center;
236
+ padding-right: 12px;
237
+ font-size: 14px;
238
+ color: var(--lyt-text-color-regular);
239
+ flex-shrink: 0;
240
+ }
241
+ .lyt-form-item__label--required::before {
242
+ content: "*";
243
+ color: var(--lyt-color-danger);
244
+ margin-right: 4px;
245
+ }
246
+ .lyt-form-item__content {
247
+ flex: 1;
248
+ position: relative;
249
+ }
250
+ .fade-transition {
251
+ transition: opacity 0.3s ease;
252
+ }
253
+ .slide-transition {
254
+ transition: transform 0.3s ease, opacity 0.3s ease;
255
+ }
256
+ .zoom-transition {
257
+ transition: transform 0.3s ease, opacity 0.3s ease;
258
+ }
259
+ .lyt-transition-group {
260
+ display: flex;
261
+ flex-direction: column;
262
+ }
263
+ .lyt-datepicker {
264
+ position: relative;
265
+ display: inline-block;
266
+ width: 100%;
267
+ }
268
+ .lyt-datepicker__trigger {
269
+ display: flex;
270
+ align-items: center;
271
+ justify-content: space-between;
272
+ padding: 8px 12px;
273
+ background-color: var(--lyt-bg-color);
274
+ border: 1px solid var(--lyt-border-color);
275
+ border-radius: var(--lyt-border-radius-base);
276
+ cursor: pointer;
277
+ }
278
+ .lyt-datepicker__panel {
279
+ position: absolute;
280
+ top: 100%;
281
+ left: 0;
282
+ margin-top: 4px;
283
+ padding: 12px;
284
+ background-color: var(--lyt-bg-color);
285
+ border: 1px solid var(--lyt-border-color-light);
286
+ border-radius: var(--lyt-border-radius-base);
287
+ box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
288
+ z-index: 1000;
289
+ width: 280px;
290
+ }
291
+ .lyt-datepicker__header {
292
+ display: flex;
293
+ align-items: center;
294
+ justify-content: space-between;
295
+ margin-bottom: 12px;
296
+ }
297
+ .lyt-datepicker__week {
298
+ display: grid;
299
+ grid-template-columns: repeat(7, 1fr);
300
+ gap: 4px;
301
+ margin-bottom: 8px;
302
+ }
303
+ .lyt-datepicker__days {
304
+ display: grid;
305
+ grid-template-columns: repeat(7, 1fr);
306
+ gap: 4px;
307
+ }
308
+ .lyt-datepicker__day {
309
+ text-align: center;
310
+ padding: 8px 4px;
311
+ cursor: pointer;
312
+ border-radius: var(--lyt-border-radius-small);
313
+ font-size: 14px;
314
+ }
315
+ .lyt-datepicker__day:hover {
316
+ background-color: var(--lyt-bg-color-page);
317
+ }
318
+ .lyt-datepicker__day--selected {
319
+ background-color: var(--lyt-color-primary);
320
+ color: #ffffff;
321
+ }
322
+ .lyt-tree {
323
+ font-size: 14px;
324
+ }
325
+ .lyt-tree__node {
326
+ user-select: none;
327
+ }
328
+ .lyt-tree__node-content {
329
+ display: flex;
330
+ align-items: center;
331
+ padding: 4px 0;
332
+ cursor: pointer;
333
+ }
334
+ .lyt-tree__node-content:hover {
335
+ background-color: var(--lyt-bg-color-page);
336
+ }
337
+ .lyt-tree__expand-icon {
338
+ width: 20px;
339
+ color: var(--lyt-text-color-secondary);
340
+ cursor: pointer;
341
+ font-size: 10px;
342
+ }
343
+ .lyt-tree__expand-icon--expanded {
344
+ transform: rotate(90deg);
345
+ }
346
+ .lyt-tree__label {
347
+ flex: 1;
348
+ padding: 2px 4px;
349
+ border-radius: var(--lyt-border-radius-small);
350
+ }
351
+ .lyt-tree__label--selected {
352
+ background-color: var(--lyt-color-primary);
353
+ color: #ffffff;
354
+ }
355
+ .lyt-tree__checkbox {
356
+ margin-right: 8px;
357
+ color: var(--lyt-text-color-regular);
358
+ cursor: pointer;
359
+ }
360
+ .lyt-tree__checkbox--checked {
361
+ color: var(--lyt-color-primary);
362
+ }
363
+ .lyt-icon {
364
+ display: inline-flex;
365
+ align-items: center;
366
+ justify-content: center;
367
+ font-style: normal;
368
+ line-height: 1;
369
+ vertical-align: middle;
370
+ speak: none;
371
+ -webkit-font-smoothing: antialiased;
372
+ }
373
+ .lyt-icon--spin {
374
+ animation: lyt-icon-spin 1s linear infinite;
375
+ }
376
+ @keyframes lyt-icon-spin {
377
+ from {
378
+ transform: rotate(0deg);
379
+ }
380
+ to {
381
+ transform: rotate(360deg);
382
+ }
383
+ }
384
+ .lyt-badge {
385
+ position: relative;
386
+ display: inline-flex;
387
+ vertical-align: middle;
388
+ }
389
+ .lyt-badge__count {
390
+ position: absolute;
391
+ top: -8px;
392
+ right: -8px;
393
+ display: inline-flex;
394
+ align-items: center;
395
+ justify-content: center;
396
+ min-width: 18px;
397
+ height: 18px;
398
+ padding: 0 6px;
399
+ font-size: 11px;
400
+ line-height: 18px;
401
+ color: #fff;
402
+ background-color: var(--lyt-color-danger);
403
+ border-radius: 9px;
404
+ transform: translateX(50%);
405
+ white-space: nowrap;
406
+ box-sizing: border-box;
407
+ z-index: 1;
408
+ }
409
+ .lyt-badge__count--dot {
410
+ min-width: 8px;
411
+ width: 8px;
412
+ height: 8px;
413
+ padding: 0;
414
+ border-radius: 50%;
415
+ top: -4px;
416
+ right: -4px;
417
+ }
418
+ .lyt-badge__count--primary {
419
+ background-color: var(--lyt-color-primary);
420
+ }
421
+ .lyt-badge__count--success {
422
+ background-color: var(--lyt-color-success);
423
+ }
424
+ .lyt-badge__count--warning {
425
+ background-color: var(--lyt-color-warning);
426
+ }
427
+ .lyt-badge__count--danger {
428
+ background-color: var(--lyt-color-danger);
429
+ }
430
+ .lyt-badge__count--info {
431
+ background-color: var(--lyt-color-info);
432
+ }
433
+ .lyt-badge__count--default {
434
+ background-color: var(--lyt-color-info);
435
+ }
436
+ .lyt-tag {
437
+ display: inline-flex;
438
+ align-items: center;
439
+ gap: 4px;
440
+ padding: 4px 10px;
441
+ font-size: 14px;
442
+ line-height: 1;
443
+ border: 1px solid var(--lyt-border-color);
444
+ border-radius: 4px;
445
+ background-color: var(--lyt-bg-color);
446
+ color: var(--lyt-color-primary);
447
+ box-sizing: border-box;
448
+ white-space: nowrap;
449
+ transition: all 0.3s;
450
+ }
451
+ .lyt-tag--small {
452
+ padding: 2px 6px;
453
+ font-size: 12px;
454
+ }
455
+ .lyt-tag--large {
456
+ padding: 6px 14px;
457
+ font-size: 16px;
458
+ }
459
+ .lyt-tag--default {
460
+ background-color: var(--lyt-bg-color);
461
+ border-color: var(--lyt-border-color);
462
+ color: var(--lyt-color-info);
463
+ }
464
+ .lyt-tag--primary {
465
+ background-color: var(--lyt-bg-color);
466
+ border-color: var(--lyt-border-color);
467
+ color: var(--lyt-color-primary);
468
+ }
469
+ .lyt-tag--success {
470
+ background-color: var(--lyt-bg-color);
471
+ border-color: var(--lyt-border-color);
472
+ color: var(--lyt-color-success);
473
+ }
474
+ .lyt-tag--warning {
475
+ background-color: var(--lyt-bg-color);
476
+ border-color: var(--lyt-border-color);
477
+ color: var(--lyt-color-warning);
478
+ }
479
+ .lyt-tag--danger {
480
+ background-color: var(--lyt-bg-color);
481
+ border-color: var(--lyt-border-color);
482
+ color: var(--lyt-color-danger);
483
+ }
484
+ .lyt-tag--info {
485
+ background-color: var(--lyt-bg-color);
486
+ border-color: var(--lyt-border-color);
487
+ color: var(--lyt-color-info);
488
+ }
489
+ .lyt-tag--custom {
490
+ border-color: transparent;
491
+ }
492
+ .lyt-tag__close {
493
+ cursor: pointer;
494
+ font-size: 14px;
495
+ color: inherit;
496
+ opacity: 0.6;
497
+ border-radius: 50%;
498
+ transition: all 0.3s;
499
+ display: inline-flex;
500
+ align-items: center;
501
+ justify-content: center;
502
+ }
503
+ .lyt-tag__close:hover {
504
+ opacity: 1;
505
+ background-color: rgba(0, 0, 0, 0.1);
506
+ }
507
+ .lyt-spin {
508
+ display: inline-block;
509
+ position: relative;
510
+ }
511
+ .lyt-spin__loading {
512
+ display: flex;
513
+ flex-direction: column;
514
+ align-items: center;
515
+ justify-content: center;
516
+ position: absolute;
517
+ top: 0;
518
+ left: 0;
519
+ width: 100%;
520
+ height: 100%;
521
+ z-index: 1;
522
+ background-color: rgba(255, 255, 255, 0.7);
523
+ }
524
+ .lyt-spin__icon {
525
+ display: inline-flex;
526
+ align-items: center;
527
+ justify-content: center;
528
+ }
529
+ .lyt-spin__icon--small {
530
+ width: 20px;
531
+ height: 20px;
532
+ }
533
+ .lyt-spin__icon--default {
534
+ width: 32px;
535
+ height: 32px;
536
+ }
537
+ .lyt-spin__icon--large {
538
+ width: 48px;
539
+ height: 48px;
540
+ }
541
+ .lyt-spin__svg {
542
+ width: 100%;
543
+ height: 100%;
544
+ animation: lyt-spin-rotate 1s linear infinite;
545
+ color: var(--lyt-color-primary);
546
+ }
547
+ @keyframes lyt-spin-rotate {
548
+ from {
549
+ transform: rotate(0deg);
550
+ }
551
+ to {
552
+ transform: rotate(360deg);
553
+ }
554
+ }
555
+ .lyt-spin__tip {
556
+ margin-top: 8px;
557
+ font-size: 14px;
558
+ color: var(--lyt-text-color-secondary);
559
+ }
560
+ .lyt-spin__content {
561
+ transition: opacity 0.3s;
562
+ }
563
+ .lyt-spin__content--hidden {
564
+ opacity: 0.5;
565
+ user-select: none;
566
+ }
567
+ .lyt-empty {
568
+ display: flex;
569
+ flex-direction: column;
570
+ align-items: center;
571
+ justify-content: center;
572
+ padding: 40px 0;
573
+ color: var(--lyt-text-color-secondary);
574
+ }
575
+ .lyt-empty__image {
576
+ margin-bottom: 16px;
577
+ }
578
+ .lyt-empty__svg {
579
+ opacity: 0.6;
580
+ }
581
+ .lyt-empty__description {
582
+ font-size: 14px;
583
+ margin-bottom: 16px;
584
+ }
585
+ .lyt-empty__bottom {
586
+ margin-top: 8px;
587
+ }
588
+ .lyt-link {
589
+ display: inline-flex;
590
+ align-items: center;
591
+ gap: 4px;
592
+ font-size: 14px;
593
+ line-height: 1;
594
+ color: var(--lyt-color-primary);
595
+ cursor: pointer;
596
+ transition: all 0.3s;
597
+ text-decoration: none;
598
+ }
599
+ .lyt-link:hover {
600
+ opacity: 0.8;
601
+ }
602
+ .lyt-link--default {
603
+ color: var(--lyt-text-color-regular);
604
+ }
605
+ .lyt-link--primary {
606
+ color: var(--lyt-color-primary);
607
+ }
608
+ .lyt-link--success {
609
+ color: var(--lyt-color-success);
610
+ }
611
+ .lyt-link--warning {
612
+ color: var(--lyt-color-warning);
613
+ }
614
+ .lyt-link--danger {
615
+ color: var(--lyt-color-danger);
616
+ }
617
+ .lyt-link--info {
618
+ color: var(--lyt-color-info);
619
+ }
620
+ .lyt-link--underline {
621
+ text-decoration: underline;
622
+ }
623
+ .lyt-link--disabled {
624
+ cursor: not-allowed;
625
+ opacity: 0.5;
626
+ }
627
+ .lyt-container {
628
+ width: 100%;
629
+ max-width: 1200px;
630
+ margin: 0 auto;
631
+ padding: 0 20px;
632
+ box-sizing: border-box;
633
+ }
634
+ .lyt-container--fluid {
635
+ max-width: 100%;
636
+ padding: 0;
637
+ }
638
+ .lyt-divider {
639
+ display: flex;
640
+ align-items: center;
641
+ margin: 24px 0;
642
+ color: var(--lyt-text-color-secondary);
643
+ font-size: 14px;
644
+ }
645
+ .lyt-divider::before,
646
+ .lyt-divider::after {
647
+ content: "";
648
+ flex: 1;
649
+ height: 1px;
650
+ background-color: var(--lyt-border-color-lighter);
651
+ }
652
+ .lyt-divider__text {
653
+ padding: 0 16px;
654
+ color: var(--lyt-text-color-regular);
655
+ }
656
+ .lyt-divider--vertical {
657
+ display: inline-block;
658
+ width: 1px;
659
+ height: 1em;
660
+ margin: 0 8px;
661
+ background-color: var(--lyt-border-color-lighter);
662
+ }
663
+ .lyt-toast {
664
+ display: inline-flex;
665
+ align-items: center;
666
+ gap: 8px;
667
+ padding: 12px 20px;
668
+ border-radius: var(--lyt-border-radius-base);
669
+ background-color: var(--lyt-bg-color);
670
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
671
+ font-size: 14px;
672
+ color: var(--lyt-text-color-primary);
673
+ }
674
+ .lyt-toast--info {
675
+ background-color: #f4f4f5;
676
+ color: #909399;
677
+ }
678
+ .lyt-toast--success {
679
+ background-color: #f0f9eb;
680
+ color: #67c23a;
681
+ }
682
+ .lyt-toast--warning {
683
+ background-color: #fdf6ec;
684
+ color: #e6a23c;
685
+ }
686
+ .lyt-toast--danger {
687
+ background-color: #fef0f0;
688
+ color: #f56c6c;
689
+ }
690
+ .lyt-toast--top {
691
+ position: fixed;
692
+ top: 20px;
693
+ left: 50%;
694
+ transform: translateX(-50%);
695
+ z-index: 3000;
696
+ }
697
+ .lyt-toast--bottom {
698
+ position: fixed;
699
+ bottom: 20px;
700
+ left: 50%;
701
+ transform: translateX(-50%);
702
+ z-index: 3000;
703
+ }
704
+ .lyt-toast__icon {
705
+ font-size: 16px;
706
+ }
707
+ .lyt-toast__message {
708
+ flex: 1;
709
+ }
710
+ .lyt-toast__close {
711
+ cursor: pointer;
712
+ opacity: 0.6;
713
+ }
714
+ .lyt-toast__close:hover {
715
+ opacity: 1;
716
+ }
717
+ .lyt-alert {
718
+ display: flex;
719
+ align-items: flex-start;
720
+ gap: 12px;
721
+ padding: 12px 16px;
722
+ border-radius: var(--lyt-border-radius-base);
723
+ font-size: 14px;
724
+ }
725
+ .lyt-alert--center {
726
+ justify-content: center;
727
+ text-align: center;
728
+ }
729
+ .lyt-alert--success {
730
+ background-color: #f0f9eb;
731
+ border: 1px solid #e1f3d8;
732
+ color: #67c23a;
733
+ }
734
+ .lyt-alert--warning {
735
+ background-color: #fdf6ec;
736
+ border: 1px solid #faecd8;
737
+ color: #e6a23c;
738
+ }
739
+ .lyt-alert--danger {
740
+ background-color: #fef0f0;
741
+ border: 1px solid #fde2e2;
742
+ color: #f56c6c;
743
+ }
744
+ .lyt-alert--info {
745
+ background-color: #f4f4f5;
746
+ border: 1px solid #e9e9eb;
747
+ color: #909399;
748
+ }
749
+ .lyt-alert--dark {
750
+ .lyt-alert--success {
751
+ background-color: #67c23a;
752
+ color: #fff;
753
+ border: none;
754
+ }
755
+ .lyt-alert--warning {
756
+ background-color: #e6a23c;
757
+ color: #fff;
758
+ border: none;
759
+ }
760
+ .lyt-alert--danger {
761
+ background-color: #f56c6c;
762
+ color: #fff;
763
+ border: none;
764
+ }
765
+ .lyt-alert--info {
766
+ background-color: #909399;
767
+ color: #fff;
768
+ border: none;
769
+ }
770
+ }
771
+ .lyt-alert__icon {
772
+ font-size: 16px;
773
+ flex-shrink: 0;
774
+ }
775
+ .lyt-alert__content {
776
+ flex: 1;
777
+ min-width: 0;
778
+ }
779
+ .lyt-alert__title {
780
+ font-weight: 500;
781
+ margin-bottom: 4px;
782
+ }
783
+ .lyt-alert__description {
784
+ font-size: 13px;
785
+ opacity: 0.8;
786
+ }
787
+ .lyt-alert__close {
788
+ cursor: pointer;
789
+ opacity: 0.6;
790
+ flex-shrink: 0;
791
+ }
792
+ .lyt-alert__close:hover {
793
+ opacity: 1;
794
+ }
795
+ .lyt-tooltip-wrapper {
796
+ position: relative;
797
+ display: inline-block;
798
+ }
799
+ .lyt-tooltip {
800
+ position: absolute;
801
+ padding: 8px 12px;
802
+ background-color: #303133;
803
+ color: #fff;
804
+ font-size: 12px;
805
+ border-radius: 4px;
806
+ z-index: 2000;
807
+ max-width: 200px;
808
+ word-wrap: break-word;
809
+ }
810
+ .lyt-tooltip--top {
811
+ bottom: 100%;
812
+ left: 50%;
813
+ transform: translateX(-50%);
814
+ margin-bottom: 8px;
815
+ }
816
+ .lyt-tooltip--bottom {
817
+ top: 100%;
818
+ left: 50%;
819
+ transform: translateX(-50%);
820
+ margin-top: 8px;
821
+ }
822
+ .lyt-tooltip--left {
823
+ right: 100%;
824
+ top: 50%;
825
+ transform: translateY(-50%);
826
+ margin-right: 8px;
827
+ }
828
+ .lyt-tooltip--right {
829
+ left: 100%;
830
+ top: 50%;
831
+ transform: translateY(-50%);
832
+ margin-left: 8px;
833
+ }
834
+ .lyt-tooltip__arrow {
835
+ position: absolute;
836
+ width: 0;
837
+ height: 0;
838
+ border: 6px solid transparent;
839
+ }
840
+ .lyt-tooltip--top .lyt-tooltip__arrow {
841
+ bottom: -12px;
842
+ left: 50%;
843
+ transform: translateX(-50%);
844
+ border-top-color: #303133;
845
+ }
846
+ .lyt-tooltip--bottom .lyt-tooltip__arrow {
847
+ top: -12px;
848
+ left: 50%;
849
+ transform: translateX(-50%);
850
+ border-bottom-color: #303133;
851
+ }
852
+ .lyt-tooltip--left .lyt-tooltip__arrow {
853
+ right: -12px;
854
+ top: 50%;
855
+ transform: translateY(-50%);
856
+ border-left-color: #303133;
857
+ }
858
+ .lyt-tooltip--right .lyt-tooltip__arrow {
859
+ left: -12px;
860
+ top: 50%;
861
+ transform: translateY(-50%);
862
+ border-right-color: #303133;
863
+ }
864
+ .lyt-tooltip__content {
865
+ line-height: 1.5;
866
+ }
867
+ .lyt-checkbox {
868
+ display: inline-flex;
869
+ align-items: center;
870
+ cursor: pointer;
871
+ font-size: 14px;
872
+ color: var(--lyt-text-color-regular);
873
+ user-select: none;
874
+ }
875
+ .lyt-checkbox--disabled {
876
+ cursor: not-allowed;
877
+ opacity: 0.5;
878
+ }
879
+ .lyt-checkbox--focus .lyt-checkbox__inner {
880
+ box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.2);
881
+ }
882
+ .lyt-checkbox__input {
883
+ position: absolute;
884
+ opacity: 0;
885
+ width: 0;
886
+ height: 0;
887
+ }
888
+ .lyt-checkbox__inner {
889
+ display: inline-flex;
890
+ align-items: center;
891
+ justify-content: center;
892
+ width: 16px;
893
+ height: 16px;
894
+ border: 1px solid var(--lyt-border-color);
895
+ border-radius: 2px;
896
+ background-color: var(--lyt-bg-color);
897
+ transition: all 0.3s;
898
+ margin-right: 8px;
899
+ flex-shrink: 0;
900
+ }
901
+ .lyt-checkbox--checked .lyt-checkbox__inner {
902
+ background-color: var(--lyt-color-primary);
903
+ border-color: var(--lyt-color-primary);
904
+ }
905
+ .lyt-checkbox--checked .lyt-checkbox__inner::after {
906
+ content: "";
907
+ width: 4px;
908
+ height: 8px;
909
+ border: 2px solid #fff;
910
+ border-top: 0;
911
+ border-left: 0;
912
+ transform: rotate(45deg);
913
+ }
914
+ .lyt-checkbox--indeterminate .lyt-checkbox__inner {
915
+ background-color: var(--lyt-color-primary);
916
+ border-color: var(--lyt-color-primary);
917
+ }
918
+ .lyt-checkbox--indeterminate .lyt-checkbox__inner::after {
919
+ content: "";
920
+ width: 8px;
921
+ height: 2px;
922
+ background-color: #fff;
923
+ }
924
+ .lyt-checkbox__label {
925
+ line-height: 1;
926
+ }
927
+ .lyt-radio {
928
+ display: inline-flex;
929
+ align-items: center;
930
+ cursor: pointer;
931
+ font-size: 14px;
932
+ color: var(--lyt-text-color-regular);
933
+ user-select: none;
934
+ }
935
+ .lyt-radio--disabled {
936
+ cursor: not-allowed;
937
+ opacity: 0.5;
938
+ }
939
+ .lyt-radio--focus .lyt-radio__inner {
940
+ box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.2);
941
+ }
942
+ .lyt-radio__input {
943
+ position: absolute;
944
+ opacity: 0;
945
+ width: 0;
946
+ height: 0;
947
+ }
948
+ .lyt-radio__inner {
949
+ display: inline-flex;
950
+ align-items: center;
951
+ justify-content: center;
952
+ width: 16px;
953
+ height: 16px;
954
+ border: 1px solid var(--lyt-border-color);
955
+ border-radius: 50%;
956
+ background-color: var(--lyt-bg-color);
957
+ transition: all 0.3s;
958
+ margin-right: 8px;
959
+ flex-shrink: 0;
960
+ }
961
+ .lyt-radio--checked .lyt-radio__inner {
962
+ border-color: var(--lyt-color-primary);
963
+ }
964
+ .lyt-radio--checked .lyt-radio__inner::after {
965
+ content: "";
966
+ width: 6px;
967
+ height: 6px;
968
+ background-color: var(--lyt-color-primary);
969
+ border-radius: 50%;
970
+ }
971
+ .lyt-radio__label {
972
+ line-height: 1;
973
+ }
974
+ .lyt-switch {
975
+ display: inline-flex;
976
+ align-items: center;
977
+ cursor: pointer;
978
+ font-size: 14px;
979
+ user-select: none;
980
+ }
981
+ .lyt-switch--disabled {
982
+ cursor: not-allowed;
983
+ opacity: 0.5;
984
+ }
985
+ .lyt-switch--loading {
986
+ cursor: wait;
987
+ }
988
+ .lyt-switch--small .lyt-switch__wrapper {
989
+ width: 40px;
990
+ height: 20px;
991
+ }
992
+ .lyt-switch--small .lyt-switch__button {
993
+ width: 16px;
994
+ height: 16px;
995
+ }
996
+ .lyt-switch--large .lyt-switch__wrapper {
997
+ width: 60px;
998
+ height: 30px;
999
+ }
1000
+ .lyt-switch--large .lyt-switch__button {
1001
+ width: 26px;
1002
+ height: 26px;
1003
+ }
1004
+ .lyt-switch--focus {
1005
+ box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.2);
1006
+ border-radius: 20px;
1007
+ }
1008
+ .lyt-switch__wrapper {
1009
+ position: relative;
1010
+ display: inline-flex;
1011
+ align-items: center;
1012
+ width: 50px;
1013
+ height: 24px;
1014
+ background-color: #dcdfe6;
1015
+ border-radius: 12px;
1016
+ transition: all 0.3s;
1017
+ margin: 0 8px;
1018
+ }
1019
+ .lyt-switch--checked .lyt-switch__wrapper {
1020
+ background-color: var(--lyt-color-primary);
1021
+ }
1022
+ .lyt-switch__core {
1023
+ position: relative;
1024
+ width: 100%;
1025
+ height: 100%;
1026
+ display: flex;
1027
+ align-items: center;
1028
+ justify-content: space-between;
1029
+ padding: 0 4px;
1030
+ }
1031
+ .lyt-switch__button {
1032
+ position: absolute;
1033
+ top: 2px;
1034
+ left: 2px;
1035
+ width: 20px;
1036
+ height: 20px;
1037
+ background-color: #fff;
1038
+ border-radius: 50%;
1039
+ transition: all 0.3s;
1040
+ display: flex;
1041
+ align-items: center;
1042
+ justify-content: center;
1043
+ }
1044
+ .lyt-switch--checked .lyt-switch__button {
1045
+ left: calc(100% - 22px);
1046
+ }
1047
+ .lyt-switch__label {
1048
+ font-size: 12px;
1049
+ color: #fff;
1050
+ font-weight: 500;
1051
+ }
1052
+ .lyt-switch--checked .lyt-switch__label--left {
1053
+ display: none;
1054
+ }
1055
+ .lyt-switch:not(.lyt-switch--checked) .lyt-switch__label--right {
1056
+ display: none;
1057
+ }
1058
+ .lyt-input-number {
1059
+ position: relative;
1060
+ display: inline-flex;
1061
+ align-items: stretch;
1062
+ width: 180px;
1063
+ }
1064
+ .lyt-input-number--small {
1065
+ width: 140px;
1066
+ }
1067
+ .lyt-input-number--large {
1068
+ width: 220px;
1069
+ }
1070
+ .lyt-input-number--disabled {
1071
+ opacity: 0.5;
1072
+ }
1073
+ .lyt-input-number--focus .lyt-input-number__input {
1074
+ box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.2);
1075
+ }
1076
+ .lyt-input-number__decrease,
1077
+ .lyt-input-number__increase {
1078
+ display: inline-flex;
1079
+ align-items: center;
1080
+ justify-content: center;
1081
+ width: 36px;
1082
+ background-color: var(--lyt-bg-color-page);
1083
+ border: 1px solid var(--lyt-border-color);
1084
+ cursor: pointer;
1085
+ font-size: 16px;
1086
+ color: var(--lyt-text-color-regular);
1087
+ transition: all 0.3s;
1088
+ user-select: none;
1089
+ }
1090
+ .lyt-input-number__decrease:hover,
1091
+ .lyt-input-number__increase:hover {
1092
+ background-color: var(--lyt-border-color-light);
1093
+ }
1094
+ .lyt-input-number__decrease.is-disabled,
1095
+ .lyt-input-number__increase.is-disabled {
1096
+ cursor: not-allowed;
1097
+ opacity: 0.5;
1098
+ }
1099
+ .lyt-input-number__decrease {
1100
+ border-right: none;
1101
+ border-radius: var(--lyt-border-radius-base) 0 0 var(--lyt-border-radius-base);
1102
+ }
1103
+ .lyt-input-number__increase {
1104
+ border-left: none;
1105
+ border-radius: 0 var(--lyt-border-radius-base) var(--lyt-border-radius-base) 0;
1106
+ }
1107
+ .lyt-input-number__input {
1108
+ flex: 1;
1109
+ padding: 0 12px;
1110
+ font-size: 14px;
1111
+ line-height: 1;
1112
+ border: 1px solid var(--lyt-border-color);
1113
+ background-color: var(--lyt-bg-color);
1114
+ color: var(--lyt-text-color-primary);
1115
+ text-align: center;
1116
+ outline: none;
1117
+ transition: all 0.3s;
1118
+ }
1119
+ .lyt-input-number--small .lyt-input-number__decrease,
1120
+ .lyt-input-number--small .lyt-input-number__increase,
1121
+ .lyt-input-number--small .lyt-input-number__input {
1122
+ font-size: 12px;
1123
+ }
1124
+ .lyt-input-number--large .lyt-input-number__decrease,
1125
+ .lyt-input-number--large .lyt-input-number__increase,
1126
+ .lyt-input-number--large .lyt-input-number__input {
1127
+ font-size: 16px;
1128
+ }
1129
+ .lyt-checkbox-group {
1130
+ display: inline-flex;
1131
+ flex-wrap: wrap;
1132
+ gap: 16px;
1133
+ }
1134
+ .lyt-checkbox-group--vertical {
1135
+ flex-direction: column;
1136
+ gap: 8px;
1137
+ }
1138
+ .lyt-radio-group {
1139
+ display: inline-flex;
1140
+ flex-wrap: wrap;
1141
+ gap: 16px;
1142
+ }
1143
+ .lyt-radio-group--vertical {
1144
+ flex-direction: column;
1145
+ gap: 8px;
1146
+ }
1147
+ .lyt-progress {
1148
+ display: inline-flex;
1149
+ flex-direction: column;
1150
+ align-items: flex-start;
1151
+ gap: 4px;
1152
+ width: 100%;
1153
+ }
1154
+ .lyt-progress--line {
1155
+ flex-direction: row;
1156
+ align-items: center;
1157
+ gap: 8px;
1158
+ }
1159
+ .lyt-progress--circle,
1160
+ .lyt-progress--dashboard {
1161
+ flex-direction: column;
1162
+ align-items: center;
1163
+ }
1164
+ .lyt-progress__outer {
1165
+ position: relative;
1166
+ display: inline-flex;
1167
+ align-items: center;
1168
+ width: 100%;
1169
+ height: 6px;
1170
+ background-color: #ebeef5;
1171
+ border-radius: 3px;
1172
+ overflow: hidden;
1173
+ }
1174
+ .lyt-progress--text-inside .lyt-progress__outer {
1175
+ height: 18px;
1176
+ }
1177
+ .lyt-progress__inner {
1178
+ position: relative;
1179
+ height: 100%;
1180
+ background-color: var(--lyt-color-primary);
1181
+ border-radius: 3px;
1182
+ transition: width 0.3s;
1183
+ }
1184
+ .lyt-progress--success .lyt-progress__inner {
1185
+ background-color: var(--lyt-color-success);
1186
+ }
1187
+ .lyt-progress--warning .lyt-progress__inner {
1188
+ background-color: var(--lyt-color-warning);
1189
+ }
1190
+ .lyt-progress--exception .lyt-progress__inner {
1191
+ background-color: var(--lyt-color-danger);
1192
+ }
1193
+ .lyt-progress__inner-text {
1194
+ position: absolute;
1195
+ right: 4px;
1196
+ top: 50%;
1197
+ transform: translateY(-50%);
1198
+ font-size: 12px;
1199
+ color: #fff;
1200
+ line-height: 1;
1201
+ }
1202
+ .lyt-progress__text {
1203
+ font-size: 14px;
1204
+ color: var(--lyt-text-color-regular);
1205
+ min-width: 2.5em;
1206
+ margin-left: 8px;
1207
+ }
1208
+ .lyt-progress--circle .lyt-progress__text,
1209
+ .lyt-progress--dashboard .lyt-progress__text {
1210
+ position: absolute;
1211
+ top: 50%;
1212
+ left: 50%;
1213
+ transform: translate(-50%, -50%);
1214
+ font-size: 16px;
1215
+ margin-left: 0;
1216
+ text-align: center;
1217
+ }
1218
+ .lyt-progress__circle {
1219
+ position: relative;
1220
+ }
1221
+ .lyt-slider {
1222
+ position: relative;
1223
+ display: inline-flex;
1224
+ align-items: center;
1225
+ width: 100%;
1226
+ padding: 12px 0;
1227
+ }
1228
+ .lyt-slider--vertical {
1229
+ flex-direction: column;
1230
+ height: 200px;
1231
+ padding: 0 12px;
1232
+ width: auto;
1233
+ }
1234
+ .lyt-slider__runway {
1235
+ position: relative;
1236
+ width: 100%;
1237
+ height: 6px;
1238
+ background-color: #e4e7ed;
1239
+ border-radius: 3px;
1240
+ cursor: pointer;
1241
+ }
1242
+ .lyt-slider--vertical .lyt-slider__runway {
1243
+ width: 6px;
1244
+ height: 100%;
1245
+ }
1246
+ .lyt-slider__bar {
1247
+ position: absolute;
1248
+ height: 100%;
1249
+ background-color: var(--lyt-color-primary);
1250
+ border-radius: 3px;
1251
+ }
1252
+ .lyt-slider--vertical .lyt-slider__bar {
1253
+ width: 100%;
1254
+ height: auto;
1255
+ bottom: 0;
1256
+ }
1257
+ .lyt-slider__button {
1258
+ position: absolute;
1259
+ width: 16px;
1260
+ height: 16px;
1261
+ background-color: #fff;
1262
+ border: 2px solid var(--lyt-color-primary);
1263
+ border-radius: 50%;
1264
+ cursor: pointer;
1265
+ transform: translateX(-50%);
1266
+ transition: transform 0.2s;
1267
+ top: 50%;
1268
+ margin-top: -8px;
1269
+ }
1270
+ .lyt-slider--vertical .lyt-slider__button {
1271
+ transform: translateY(50%);
1272
+ left: 50%;
1273
+ margin-left: -8px;
1274
+ top: auto;
1275
+ }
1276
+ .lyt-slider__button:hover {
1277
+ transform: translateX(-50%) scale(1.2);
1278
+ }
1279
+ .lyt-slider--vertical .lyt-slider__button:hover {
1280
+ transform: translateY(50%) scale(1.2);
1281
+ }
1282
+ .lyt-slider__tooltip {
1283
+ position: absolute;
1284
+ bottom: 100%;
1285
+ left: 50%;
1286
+ transform: translateX(-50%);
1287
+ margin-bottom: 8px;
1288
+ padding: 6px 10px;
1289
+ background-color: #303133;
1290
+ color: #fff;
1291
+ font-size: 12px;
1292
+ border-radius: 4px;
1293
+ white-space: nowrap;
1294
+ }
1295
+ .lyt-slider--vertical .lyt-slider__tooltip {
1296
+ bottom: auto;
1297
+ left: 100%;
1298
+ top: 50%;
1299
+ transform: translateY(-50%);
1300
+ margin-bottom: 0;
1301
+ margin-left: 8px;
1302
+ }
1303
+ .lyt-slider__stop {
1304
+ position: absolute;
1305
+ width: 4px;
1306
+ height: 4px;
1307
+ background-color: #fff;
1308
+ border: 2px solid #e4e7ed;
1309
+ border-radius: 50%;
1310
+ top: 50%;
1311
+ margin-top: -4px;
1312
+ transform: translateX(-50%);
1313
+ }
1314
+ .lyt-slider--vertical .lyt-slider__stop {
1315
+ left: 50%;
1316
+ top: auto;
1317
+ margin-top: 0;
1318
+ margin-left: -4px;
1319
+ transform: translateY(50%);
1320
+ }
1321
+ .lyt-slider__input {
1322
+ margin-left: 16px;
1323
+ width: 120px;
1324
+ }
1325
+ .lyt-slider--vertical .lyt-slider__input {
1326
+ margin-left: 0;
1327
+ margin-top: 16px;
1328
+ width: auto;
1329
+ }
1330
+ .lyt-avatar {
1331
+ display: inline-flex;
1332
+ align-items: center;
1333
+ justify-content: center;
1334
+ overflow: hidden;
1335
+ color: #fff;
1336
+ background-color: #c0c4cc;
1337
+ white-space: nowrap;
1338
+ vertical-align: middle;
1339
+ }
1340
+ .lyt-avatar--circle {
1341
+ border-radius: 50%;
1342
+ }
1343
+ .lyt-avatar--square {
1344
+ border-radius: var(--lyt-border-radius-base);
1345
+ }
1346
+ .lyt-avatar--small {
1347
+ width: 24px;
1348
+ height: 24px;
1349
+ font-size: 12px;
1350
+ }
1351
+ .lyt-avatar--default {
1352
+ width: 32px;
1353
+ height: 32px;
1354
+ font-size: 14px;
1355
+ }
1356
+ .lyt-avatar--large {
1357
+ width: 40px;
1358
+ height: 40px;
1359
+ font-size: 18px;
1360
+ }
1361
+ .lyt-avatar__img {
1362
+ width: 100%;
1363
+ height: 100%;
1364
+ display: block;
1365
+ object-fit: cover;
1366
+ }
1367
+ .lyt-avatar__icon {
1368
+ font-size: inherit;
1369
+ }
1370
+ .lyt-card {
1371
+ border-radius: var(--lyt-border-radius-base);
1372
+ background-color: var(--lyt-bg-color);
1373
+ overflow: hidden;
1374
+ color: var(--lyt-text-color-primary);
1375
+ transition: all 0.3s;
1376
+ }
1377
+ .lyt-card--shadow-always {
1378
+ box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
1379
+ }
1380
+ .lyt-card--shadow-hover:hover {
1381
+ box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
1382
+ }
1383
+ .lyt-card__header {
1384
+ padding: 18px 20px;
1385
+ border-bottom: 1px solid var(--lyt-border-color-lighter);
1386
+ display: flex;
1387
+ align-items: center;
1388
+ justify-content: space-between;
1389
+ }
1390
+ .lyt-card__header-text {
1391
+ font-weight: 500;
1392
+ font-size: 16px;
1393
+ color: var(--lyt-text-color-primary);
1394
+ }
1395
+ .lyt-card__body {
1396
+ padding: 20px;
1397
+ }
1398
+ .lyt-timeline {
1399
+ position: relative;
1400
+ padding: 0 0 20px 0;
1401
+ list-style: none;
1402
+ }
1403
+ .lyt-timeline--reverse {
1404
+ flex-direction: column-reverse;
1405
+ }
1406
+ .lyt-timeline--right .lyt-timeline-item {
1407
+ justify-content: flex-end;
1408
+ }
1409
+ .lyt-timeline--alternate .lyt-timeline-item:nth-child(odd) {
1410
+ flex-direction: row-reverse;
1411
+ }
1412
+ .lyt-timeline-item {
1413
+ position: relative;
1414
+ display: flex;
1415
+ margin: 0;
1416
+ padding-bottom: 20px;
1417
+ }
1418
+ .lyt-timeline-item:last-child {
1419
+ padding-bottom: 0;
1420
+ }
1421
+ .lyt-timeline-item__tail {
1422
+ position: absolute;
1423
+ left: 5px;
1424
+ top: 20px;
1425
+ height: calc(100% - 20px);
1426
+ border-left: 2px solid #e4e7ed;
1427
+ }
1428
+ .lyt-timeline-item--top .lyt-timeline-item__tail {
1429
+ top: 0;
1430
+ }
1431
+ .lyt-timeline-item__dot {
1432
+ position: relative;
1433
+ flex-shrink: 0;
1434
+ margin-right: 16px;
1435
+ width: 12px;
1436
+ height: 12px;
1437
+ border-radius: 50%;
1438
+ background-color: var(--lyt-timeline-item-color, var(--lyt-color-primary));
1439
+ border: 2px solid var(--lyt-timeline-item-color, var(--lyt-color-primary));
1440
+ }
1441
+ .lyt-timeline-item--success .lyt-timeline-item__dot {
1442
+ background-color: var(--lyt-color-success);
1443
+ border-color: var(--lyt-color-success);
1444
+ }
1445
+ .lyt-timeline-item--warning .lyt-timeline-item__dot {
1446
+ background-color: var(--lyt-color-warning);
1447
+ border-color: var(--lyt-color-warning);
1448
+ }
1449
+ .lyt-timeline-item--danger .lyt-timeline-item__dot {
1450
+ background-color: var(--lyt-color-danger);
1451
+ border-color: var(--lyt-color-danger);
1452
+ }
1453
+ .lyt-timeline-item--info .lyt-timeline-item__dot {
1454
+ background-color: var(--lyt-color-info);
1455
+ border-color: var(--lyt-color-info);
1456
+ }
1457
+ .lyt-timeline-item--small .lyt-timeline-item__dot {
1458
+ width: 8px;
1459
+ height: 8px;
1460
+ }
1461
+ .lyt-timeline-item--large .lyt-timeline-item__dot {
1462
+ width: 16px;
1463
+ height: 16px;
1464
+ }
1465
+ .lyt-timeline-item__wrapper {
1466
+ flex: 1;
1467
+ padding-top: 3px;
1468
+ }
1469
+ .lyt-timeline-item__timestamp {
1470
+ font-size: 13px;
1471
+ color: #909399;
1472
+ line-height: 1;
1473
+ margin-bottom: 8px;
1474
+ }
1475
+ .lyt-timeline-item--top .lyt-timeline-item__timestamp {
1476
+ margin-bottom: 0;
1477
+ margin-top: 8px;
1478
+ }
1479
+ .lyt-timeline-item__content {
1480
+ font-size: 14px;
1481
+ color: #303133;
1482
+ line-height: 1.5;
1483
+ }
1484
+ .lyt-timeline-item--hide-timestamp .lyt-timeline-item__timestamp {
1485
+ display: none;
1486
+ }
1487
+ .lyt-steps {
1488
+ display: flex;
1489
+ flex-wrap: wrap;
1490
+ width: 100%;
1491
+ }
1492
+ .lyt-steps--vertical {
1493
+ flex-direction: column;
1494
+ }
1495
+ .lyt-steps--align-center .lyt-step {
1496
+ justify-content: center;
1497
+ }
1498
+ .lyt-steps--simple .lyt-step__icon {
1499
+ background-color: #f5f7fa;
1500
+ color: #909399;
1501
+ }
1502
+ .lyt-step {
1503
+ position: relative;
1504
+ display: flex;
1505
+ flex: 1;
1506
+ padding-bottom: 22px;
1507
+ }
1508
+ .lyt-step--wait .lyt-step__icon {
1509
+ background-color: #f5f7fa;
1510
+ color: #909399;
1511
+ }
1512
+ .lyt-step--process .lyt-step__icon {
1513
+ background-color: var(--lyt-color-primary);
1514
+ color: #fff;
1515
+ }
1516
+ .lyt-step--finish .lyt-step__icon {
1517
+ background-color: var(--lyt-color-success);
1518
+ color: #fff;
1519
+ }
1520
+ .lyt-step--error .lyt-step__icon {
1521
+ background-color: var(--lyt-color-danger);
1522
+ color: #fff;
1523
+ }
1524
+ .lyt-step--success .lyt-step__icon {
1525
+ background-color: var(--lyt-color-success);
1526
+ color: #fff;
1527
+ }
1528
+ .lyt-step__icon {
1529
+ position: relative;
1530
+ flex-shrink: 0;
1531
+ width: 24px;
1532
+ height: 24px;
1533
+ display: flex;
1534
+ align-items: center;
1535
+ justify-content: center;
1536
+ margin-right: 12px;
1537
+ border-radius: 50%;
1538
+ background-color: var(--lyt-color-primary);
1539
+ color: #fff;
1540
+ font-size: 14px;
1541
+ }
1542
+ .lyt-step__content {
1543
+ flex: 1;
1544
+ min-width: 0;
1545
+ }
1546
+ .lyt-step__title {
1547
+ font-size: 14px;
1548
+ font-weight: 500;
1549
+ color: #303133;
1550
+ line-height: 1;
1551
+ padding-right: 10%;
1552
+ }
1553
+ .lyt-step--wait .lyt-step__title {
1554
+ color: #909399;
1555
+ }
1556
+ .lyt-step__description {
1557
+ font-size: 12px;
1558
+ color: #909399;
1559
+ margin-top: 6px;
1560
+ line-height: 1.5;
1561
+ }
1562
+ .lyt-steps--vertical .lyt-step {
1563
+ flex-direction: row;
1564
+ align-items: flex-start;
1565
+ }
1566
+ .lyt-steps--vertical .lyt-step__icon {
1567
+ margin-right: 16px;
1568
+ }
1569
+ .lyt-carousel {
1570
+ position: relative;
1571
+ overflow: hidden;
1572
+ }
1573
+ .lyt-carousel__container {
1574
+ position: relative;
1575
+ width: 100%;
1576
+ height: 100%;
1577
+ }
1578
+ .lyt-carousel-item {
1579
+ width: 100%;
1580
+ height: 100%;
1581
+ flex-shrink: 0;
1582
+ }
1583
+ .lyt-popconfirm {
1584
+ display: inline-block;
1585
+ }
1586
+ .lyt-popconfirm__reference {
1587
+ display: inline-block;
1588
+ }
1589
+ .lyt-popconfirm__popup {
1590
+ position: absolute;
1591
+ min-width: 150px;
1592
+ padding: 12px 16px;
1593
+ background-color: var(--lyt-bg-color);
1594
+ border-radius: var(--lyt-border-radius-base);
1595
+ box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
1596
+ }
1597
+ .lyt-popconfirm__content {
1598
+ display: flex;
1599
+ align-items: flex-start;
1600
+ gap: 8px;
1601
+ margin-bottom: 12px;
1602
+ }
1603
+ .lyt-popconfirm__icon {
1604
+ color: var(--lyt-color-warning);
1605
+ font-size: 16px;
1606
+ flex-shrink: 0;
1607
+ }
1608
+ .lyt-popconfirm__title {
1609
+ font-size: 14px;
1610
+ color: var(--lyt-text-color-primary);
1611
+ line-height: 1.5;
1612
+ }
1613
+ .lyt-popconfirm__buttons {
1614
+ display: flex;
1615
+ justify-content: flex-end;
1616
+ gap: 8px;
1617
+ }
1618
+ .lyt-transfer {
1619
+ display: flex;
1620
+ align-items: center;
1621
+ gap: 8px;
1622
+ }
1623
+ .lyt-transfer-panel {
1624
+ flex: 1;
1625
+ border: 1px solid var(--lyt-border-color-lighter);
1626
+ border-radius: var(--lyt-border-radius-base);
1627
+ overflow: hidden;
1628
+ background-color: var(--lyt-bg-color);
1629
+ }
1630
+ .lyt-transfer-panel-header {
1631
+ padding: 8px 12px;
1632
+ background-color: var(--lyt-bg-color-page);
1633
+ border-bottom: 1px solid var(--lyt-border-color-lighter);
1634
+ font-weight: 500;
1635
+ color: var(--lyt-text-color-primary);
1636
+ }
1637
+ .lyt-transfer-panel-body {
1638
+ min-height: 200px;
1639
+ max-height: 300px;
1640
+ overflow-y: auto;
1641
+ padding: 4px;
1642
+ }
1643
+ .lyt-transfer-filter {
1644
+ width: 100%;
1645
+ padding: 6px 8px;
1646
+ margin-bottom: 4px;
1647
+ border: 1px solid var(--lyt-border-color-lighter);
1648
+ border-radius: var(--lyt-border-radius-base);
1649
+ font-size: 14px;
1650
+ box-sizing: border-box;
1651
+ }
1652
+ .lyt-transfer-filter:focus {
1653
+ outline: none;
1654
+ border-color: var(--lyt-color-primary);
1655
+ }
1656
+ .lyt-transfer-panel-item {
1657
+ padding: 6px 8px;
1658
+ cursor: pointer;
1659
+ border-radius: 4px;
1660
+ margin-bottom: 2px;
1661
+ transition: background-color 0.2s;
1662
+ }
1663
+ .lyt-transfer-panel-item:hover {
1664
+ background-color: var(--lyt-fill-color-light);
1665
+ }
1666
+ .lyt-transfer-panel-item.is-checked {
1667
+ background-color: var(--lyt-color-primary-light-9);
1668
+ color: var(--lyt-color-primary);
1669
+ }
1670
+ .lyt-transfer-panel-item.is-disabled {
1671
+ opacity: 0.5;
1672
+ cursor: not-allowed;
1673
+ }
1674
+ .lyt-transfer-panel-footer {
1675
+ padding: 8px 12px;
1676
+ border-top: 1px solid var(--lyt-border-color-lighter);
1677
+ }
1678
+ .lyt-transfer-buttons {
1679
+ display: flex;
1680
+ flex-direction: column;
1681
+ gap: 8px;
1682
+ }
1683
+ .lyt-tree-select {
1684
+ position: relative;
1685
+ display: inline-block;
1686
+ width: 240px;
1687
+ }
1688
+ .lyt-tree-select-trigger {
1689
+ display: flex;
1690
+ align-items: center;
1691
+ padding: 8px 12px;
1692
+ border: 1px solid var(--lyt-border-color-lighter);
1693
+ border-radius: var(--lyt-border-radius-base);
1694
+ cursor: pointer;
1695
+ background-color: var(--lyt-bg-color);
1696
+ transition: border-color 0.2s;
1697
+ }
1698
+ .lyt-tree-select-trigger:hover {
1699
+ border-color: var(--lyt-border-color);
1700
+ }
1701
+ .lyt-tree-select.is-visible .lyt-tree-select-trigger {
1702
+ border-color: var(--lyt-color-primary);
1703
+ }
1704
+ .lyt-tree-select-value {
1705
+ flex: 1;
1706
+ color: var(--lyt-text-color-primary);
1707
+ overflow: hidden;
1708
+ text-overflow: ellipsis;
1709
+ white-space: nowrap;
1710
+ }
1711
+ .lyt-tree-select-clear {
1712
+ margin-left: 8px;
1713
+ color: var(--lyt-text-color-placeholder);
1714
+ cursor: pointer;
1715
+ transition: color 0.2s;
1716
+ }
1717
+ .lyt-tree-select-clear:hover {
1718
+ color: var(--lyt-color-danger);
1719
+ }
1720
+ .lyt-tree-select-arrow {
1721
+ margin-left: 8px;
1722
+ color: var(--lyt-text-color-placeholder);
1723
+ transition: transform 0.2s;
1724
+ }
1725
+ .lyt-tree-select.is-visible .lyt-tree-select-arrow {
1726
+ transform: rotate(180deg);
1727
+ }
1728
+ .lyt-tree-select-dropdown {
1729
+ position: absolute;
1730
+ top: 100%;
1731
+ left: 0;
1732
+ right: 0;
1733
+ margin-top: 4px;
1734
+ border: 1px solid var(--lyt-border-color-lighter);
1735
+ border-radius: var(--lyt-border-radius-base);
1736
+ background-color: var(--lyt-bg-color);
1737
+ box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
1738
+ z-index: 1000;
1739
+ overflow: hidden;
1740
+ }
1741
+ .lyt-tree-select-search {
1742
+ padding: 8px;
1743
+ border-bottom: 1px solid var(--lyt-border-color-lighter);
1744
+ }
1745
+ .lyt-tree-select-search input {
1746
+ width: 100%;
1747
+ padding: 6px 8px;
1748
+ border: 1px solid var(--lyt-border-color-lighter);
1749
+ border-radius: var(--lyt-border-radius-base);
1750
+ font-size: 14px;
1751
+ box-sizing: border-box;
1752
+ }
1753
+ .lyt-tree-select-search input:focus {
1754
+ outline: none;
1755
+ border-color: var(--lyt-color-primary);
1756
+ }
1757
+ .lyt-tree-select-tree {
1758
+ max-height: 300px;
1759
+ overflow-y: auto;
1760
+ padding: 4px;
1761
+ }
1762
+ .lyt-tree-node {
1763
+ display: flex;
1764
+ align-items: center;
1765
+ padding: 4px 8px;
1766
+ cursor: pointer;
1767
+ border-radius: 4px;
1768
+ transition: background-color 0.2s;
1769
+ }
1770
+ .lyt-tree-node:hover {
1771
+ background-color: var(--lyt-fill-color-light);
1772
+ }
1773
+ .lyt-tree-node.is-selected {
1774
+ background-color: var(--lyt-color-primary-light-9);
1775
+ color: var(--lyt-color-primary);
1776
+ }
1777
+ .lyt-tree-node.is-disabled {
1778
+ opacity: 0.5;
1779
+ cursor: not-allowed;
1780
+ }
1781
+ .lyt-tree-node-expand-icon {
1782
+ width: 20px;
1783
+ height: 20px;
1784
+ display: flex;
1785
+ align-items: center;
1786
+ justify-content: center;
1787
+ font-size: 12px;
1788
+ color: var(--lyt-text-color-secondary);
1789
+ cursor: pointer;
1790
+ transition: transform 0.2s;
1791
+ }
1792
+ .lyt-tree-node-expand-icon.is-expanded {
1793
+ transform: rotate(90deg);
1794
+ }
1795
+ .lyt-tree-node-label {
1796
+ flex: 1;
1797
+ color: var(--lyt-text-color-primary);
1798
+ }
1799
+ .lyt-tree-select-empty {
1800
+ padding: 20px;
1801
+ text-align: center;
1802
+ color: var(--lyt-text-color-placeholder);
1803
+ }
1804
+ /*# sourceMappingURL=index.css.map */