vanilla-jui 1.7.10 → 1.7.12

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 (63) hide show
  1. package/dist/index.js +1 -1
  2. package/dist/index.umd.js +1 -1
  3. package/dist/style.css +1 -1
  4. package/package.json +1 -1
  5. package/src/components/accordion.ts +1 -1
  6. package/src/components/flow.ts +1 -1
  7. package/src/components/form.ts +1 -1
  8. package/src/components/modal.ts +1 -1
  9. package/src/css/index.css +1 -2
  10. package/src/css/layout.css +156 -63
  11. package/src/css/status.css +0 -1
  12. package/src/css/themes/default/accordion.css +37 -1
  13. package/src/css/themes/default/avatar.css +23 -1
  14. package/src/css/themes/default/badge.css +20 -3
  15. package/src/css/themes/default/breadcrumb.css +65 -1
  16. package/src/css/themes/default/button.css +64 -11
  17. package/src/css/themes/default/drop.css +19 -1
  18. package/src/css/themes/default/editor.css +781 -7
  19. package/src/css/themes/default/form.css +650 -2
  20. package/src/css/themes/default/index.css +17 -14
  21. package/src/css/themes/default/loading.css +144 -2
  22. package/src/css/themes/default/menu.css +113 -125
  23. package/src/css/themes/default/modal.css +26 -4
  24. package/src/css/themes/default/offcanvas.css +19 -1
  25. package/src/css/themes/default/pagination.css +13 -1
  26. package/src/css/themes/default/swiper.css +99 -1
  27. package/src/css/themes/default/tabs.css +50 -1
  28. package/src/css/themes/default/theme-palette.css +24 -1
  29. package/src/css/themes/default/tip.css +36 -1
  30. package/src/css/themes/default/toast.css +42 -1
  31. package/src/css/themes/default/toc.css +1 -1
  32. package/src/css/themes/default/toolbar.css +29 -1
  33. package/src/css/themes/default/tooltip.css +8 -2
  34. package/src/css/themes/default/tree.css +40 -3
  35. package/src/css/accordion.css +0 -47
  36. package/src/css/avatar.css +0 -27
  37. package/src/css/badge.css +0 -8
  38. package/src/css/breadcrumb.css +0 -71
  39. package/src/css/button.css +0 -32
  40. package/src/css/components.css +0 -28
  41. package/src/css/divider.css +0 -9
  42. package/src/css/drop.css +0 -21
  43. package/src/css/editor.css +0 -794
  44. package/src/css/form.css +0 -657
  45. package/src/css/loading.css +0 -150
  46. package/src/css/menu.css +0 -74
  47. package/src/css/modal.css +0 -33
  48. package/src/css/offcanvas.css +0 -23
  49. package/src/css/pagination.css +0 -15
  50. package/src/css/popup.css +0 -66
  51. package/src/css/skeleton.css +0 -72
  52. package/src/css/swiper.css +0 -107
  53. package/src/css/tabs.css +0 -58
  54. package/src/css/tag.css +0 -36
  55. package/src/css/theme-palette.css +0 -28
  56. package/src/css/themes/default/popup.css +0 -7
  57. package/src/css/themes/default/tag.css +0 -85
  58. package/src/css/tip.css +0 -40
  59. package/src/css/toast.css +0 -54
  60. package/src/css/toolbar.css +0 -34
  61. package/src/css/tooltip.css +0 -12
  62. package/src/css/tree.css +0 -51
  63. /package/src/css/{flow.css → themes/default/flow.css} +0 -0
package/src/css/form.css DELETED
@@ -1,657 +0,0 @@
1
- @layer components {
2
- .j-form,
3
- .j-form .form-field,
4
- .j-form .form-field .field-legend {
5
- display: flex;
6
- }
7
-
8
- .j-form {
9
- flex-direction: column;
10
- gap: var(--s3);
11
- }
12
-
13
- .j-form .form-field {
14
- gap: var(--space);
15
- margin: 0;
16
- }
17
-
18
- .j-form fieldset.form-field {
19
- border: 0;
20
- padding: 0;
21
- }
22
-
23
- .j-form .form-field {
24
- flex-direction: column;
25
- }
26
-
27
- .j-form .form-field .field-legend {
28
- color: var(--ui-fg-muted);
29
- font-size: var(--font-size-sm);
30
- gap: var(--space);
31
- }
32
-
33
- .j-form .field-legend.is-required::after {
34
- content: '*';
35
- color: var(--state-danger);
36
- }
37
-
38
- .j-form .form-field .field-control .help-block {
39
- font-size: var(--font-size-sm);
40
- color: var(--ui-fg-soft);
41
- margin: 0;
42
- }
43
-
44
- .j-form .form-field .field-control .help-block[data-valid='false'] {
45
- color: var(--state-danger);
46
- }
47
-
48
- .j-form .form-buttons {
49
- display: flex;
50
- gap: var(--s2);
51
- margin-top: var(--s2);
52
- }
53
-
54
- .j-form [data-field-buttons] button {
55
- position: relative;
56
- }
57
-
58
- /* input */
59
- .j-input {
60
- font-size: var(--input-font-size);
61
- background-color: var(--input-bg);
62
- color: var(--input-fg);
63
- }
64
-
65
- .j-input:not([type='checkbox']) {
66
- border-width: 1px;
67
- border-style: solid;
68
- border-color: var(--ui-border);
69
- border-radius: var(--radius-md);
70
- padding: var(--input-padding);
71
- height: var(--input-height);
72
- line-height: var(--input-line-height);
73
- letter-spacing: 0.5px;
74
- }
75
-
76
- /* type file */
77
- .j-input[type='file'] {
78
- appearance: none;
79
- background-clip: padding-box;
80
- overflow: hidden;
81
- cursor: pointer;
82
- background-color: var(--ui-surface-subtle);
83
- }
84
-
85
- .j-input[type='file']::file-selector-button {
86
- color: var(--ui-fg-muted);
87
- appearance: none;
88
- border-width: 0;
89
- border-inline-end-width: 1px;
90
- border-radius: 0;
91
- border-color: var(--ui-border);
92
- background-color: transparent;
93
- margin: calc(var(--space) * -2);
94
- font-size: var(--input-font-size);
95
- }
96
-
97
- .j-input[type='file']::file-selector-button,
98
- html.j-font-sm .j-input[type='file']::file-selector-button {
99
- margin-inline-end: var(--s2);
100
- padding: var(--s2);
101
- }
102
-
103
- html.j-font-md .j-input[type='file']::file-selector-button {
104
- margin-inline-end: calc(var(--space) * 2.75);
105
- padding: calc(var(--space) * 2.75);
106
- }
107
-
108
- /* input style */
109
- .j-input.is-line:not([type='checkbox']) {
110
- border-top-color: transparent;
111
- border-left-color: transparent;
112
- border-right-color: transparent;
113
- padding-left: 0;
114
- padding-right: 0;
115
- border-radius: 0;
116
- }
117
-
118
- .j-input.is-ghost:not([type='checkbox']) {
119
- border-color: transparent;
120
- background-color: var(--tone-subtle);
121
- }
122
-
123
- .j-input.is-blank:not([type='checkbox']) {
124
- border-color: transparent;
125
- padding-left: 0;
126
- padding-right: 0;
127
- }
128
-
129
- .j-input[data-valid='false'],
130
- .j-select[data-valid='false'],
131
- .j-textarea[data-valid='false'] {
132
- border-color: var(--state-danger);
133
- /* background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23d63939' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cline x1='18' y1='6' x2='6' y2='18'%3e%3c/line%3e%3cline x1='6' y1='6' x2='18' y2='18'%3e%3c/line%3e%3c/svg%3e"); */
134
- }
135
-
136
- /* type radio */
137
- .j-radio {
138
- display: flex;
139
- flex-wrap: wrap;
140
- }
141
-
142
- .j-radio.is-vertical {
143
- flex-direction: column;
144
- }
145
-
146
- .j-radio,
147
- .j-radio.is-horizontal {
148
- flex-direction: row;
149
- }
150
-
151
- .j-radio label {
152
- display: flex;
153
- align-items: center;
154
- gap: calc(var(--space)*1.5);
155
- font-size: var(--font-size-md);
156
- padding: calc(var(--space)*2);
157
- border-radius: var(--radius-md);
158
- }
159
-
160
- .j-radio label:not(:has(input[type='radio']:disabled)):hover {
161
- background-color: var(--ui-surface-hover);
162
- }
163
-
164
- .j-radio label input[type='radio'] {
165
- appearance: none;
166
- width: 1rem;
167
- height: 1rem;
168
- border-radius: 50%;
169
- border-width: 1px;
170
- border-style: solid;
171
- border-color: var(--ui-border);
172
- background-color: var(--ui-bg);
173
- cursor: pointer;
174
- position: relative;
175
- margin: 0;
176
- }
177
-
178
- .j-radio label input[type='radio']:checked {
179
- border-color: var(--tone-solid);
180
- background-color: var(--tone-solid);
181
- }
182
-
183
- .j-radio label input[type='radio']:focus-visible {
184
- outline: 2px solid var(--tone-ring);
185
- outline-offset: 1px;
186
- }
187
-
188
- .j-radio label input[type='radio']:before {
189
- content: '';
190
- position: absolute;
191
- width: 6px;
192
- height: 6px;
193
- border-radius: 50%;
194
- background-color: var(--ui-bg);
195
- top: 50%;
196
- left: 50%;
197
- transform: translate(-50%, -50%) scale(0);
198
- transition: transform 0.1s cubic-bezier(0.165, 0.84, 0.44, 1);
199
- }
200
-
201
- .j-radio label input[type='radio']:checked::before {
202
- transform: translate(-50%, -50%) scale(1);
203
- }
204
-
205
- .j-radio label:has(input[type='radio']:disabled) {
206
- cursor: not-allowed;
207
- color: var(--ui-disabled-fg);
208
- }
209
-
210
- .j-radio label input[type='radio']:disabled {
211
- background-color: var(--ui-disabled-bg);
212
- border-color: var(--ui-border);
213
- cursor: not-allowed;
214
- }
215
-
216
- .j-radio.is-group {
217
- gap: 0;
218
- flex-wrap: nowrap;
219
- }
220
-
221
- /* radio group */
222
- .j-radio.is-group input[type='radio'] {
223
- clip: rect(0 0 0 0);
224
- clip-path: inset(100%);
225
- height: 1px;
226
- overflow: hidden;
227
- position: absolute;
228
- white-space: nowrap;
229
- width: 1px;
230
- }
231
-
232
- .j-radio.is-group label span.radio-text {
233
- color: var(--ui-fg);
234
- background-color: var(--ui-bg);
235
- padding: var(--radio-group-padding, calc(var(--space) * 1.5) var(--s3));
236
- height: var(--el-height-md);
237
- line-height: var(--line-height);
238
- box-shadow: 0 0 0 1px var(--ui-input-border);
239
- cursor: pointer;
240
- position: relative;
241
- display: flex;
242
- justify-content: center;
243
- align-items: center;
244
- text-align: center;
245
- user-select: none;
246
- letter-spacing: 0.5px;
247
- }
248
-
249
- .j-radio.is-group label:not(:first-child) span.radio-text {
250
- margin-left: 1px;
251
- }
252
-
253
- .j-radio.is-group input[type='radio']:checked + span.radio-text {
254
- box-shadow: 0 0 0 1px var(--tone-solid);
255
- background-color: var(--tone-solid);
256
- z-index: 1;
257
- color: var(--tone-fg);
258
- }
259
-
260
- .j-radio.is-group label:first-child span {
261
- border-radius: var(--radius-md) 0 0 var(--radius-md);
262
- }
263
-
264
- .j-radio.is-group label:last-child span {
265
- border-radius: 0 var(--radius-md) var(--radius-md) 0;
266
- }
267
-
268
- .j-radio.is-group label {
269
- padding: 0;
270
- }
271
-
272
- .j-radio.is-group.is-sm label {
273
- font-size: var(--font-size-sm);
274
- }
275
-
276
- .j-radio.is-group.is-sm label span.radio-text {
277
- --radio-group-padding: var(--space) calc(var(--space) * 2.5);
278
- height: var(--el-height-sm);
279
- }
280
-
281
- .j-radio.is-group.is-lg label {
282
- font-size: var(--font-size-lg);
283
- }
284
-
285
- .j-radio.is-group.is-lg label span.radio-text {
286
- --radio-group-padding: var(--s3) calc(var(--space) * 3.5);
287
- height: var(--el-height-lg);
288
- }
289
-
290
- /* type checkbox */
291
- .j-checkbox {
292
- display: flex;
293
- flex-wrap: wrap;
294
- margin: 0;
295
- }
296
-
297
- .j-checkbox.is-vertical {
298
- flex-direction: column;
299
- }
300
-
301
- .j-checkbox,
302
- .j-checkbox.is-horizontal {
303
- flex-direction: row;
304
- }
305
-
306
- .j-checkbox label {
307
- display: flex;
308
- align-items: center;
309
- gap: var(--checkbox-label-gap, var(--s2));
310
- font-size: var(--checkbox-label-font-size, var(--font-size-md));
311
- height: var(--el-height-md);
312
- padding: calc(var(--space)*2);
313
- border-radius: var(--checkbox-label-border-radius, var(--radius-md));
314
- }
315
-
316
- .j-radio label,
317
- .j-checkbox label {
318
- width: fit-content;
319
- }
320
-
321
- .j-checkbox label:not(:has(input[type='checkbox']:disabled)):hover {
322
- background-color: var(--checkbox-hover-bg-color, var(--ui-surface-hover));
323
- }
324
-
325
- .j-checkbox input[type='checkbox'] {
326
- appearance: none;
327
- width: 1rem;
328
- height: 1rem;
329
- aspect-ratio: 1/1;
330
- border-width: 1px;
331
- border-style: solid;
332
- border-color: var(--ui-border);
333
- border-radius: var(--radius-md);
334
- cursor: pointer;
335
- position: relative;
336
- margin: 0;
337
- }
338
-
339
- .j-checkbox input[type='checkbox']:checked {
340
- border-color: transparent;
341
- border-radius: var(--radius-md);
342
- background-color: var(--tone-solid);
343
- background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' width='16' height='16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8.5l2.5 2.5l5.5 -5.5'/%3e%3c/svg%3e");
344
- background-repeat: no-repeat;
345
- background-position: center;
346
- background-size: contain;
347
- print-color-adjust: exact;
348
- }
349
-
350
- .dark .j-checkbox input[type='checkbox']:checked {
351
- background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' width='16' height='16'%3e%3cpath fill='none' stroke='%23000000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8.5l2.5 2.5l5.5 -5.5'/%3e%3c/svg%3e");
352
- }
353
-
354
- /* switch checkbox */
355
- .j-switch {
356
- display: inline-block;
357
- position: relative;
358
- }
359
-
360
- .j-switch.is-sm {
361
- width: 1.75rem;
362
- height: var(--switch-height-sm, calc(var(--space, 0 0.25rem) * 4));
363
- }
364
-
365
- .j-switch.is-md {
366
- width: 2.625rem;
367
- height: var(--switch-height-md, calc(var(--space, 0 0.25rem) * 6));
368
- }
369
-
370
- .j-switch.is-lg {
371
- width: 3.5rem;
372
- height: var(--switch-height-lg, calc(var(--space, 0 0.25rem) * 8));
373
- }
374
-
375
- .j-switch input[type='checkbox'] {
376
- width: 0;
377
- height: 0;
378
- opacity: 0;
379
- }
380
-
381
- .j-switch .switch-slider {
382
- position: absolute;
383
- cursor: pointer;
384
- inset: 0;
385
- border-radius: 50px;
386
- background-color: var(--ui-border);
387
- transition: all 0.3s ease;
388
- }
389
-
390
- .j-switch .switch-slider:after {
391
- content: '';
392
- position: absolute;
393
- border-radius: 50%;
394
- background-color: #fff;
395
- transition: all 0.3s ease;
396
- }
397
-
398
- .j-switch.is-sm .switch-slider:after {
399
- left: 0.125rem;
400
- bottom: 0.125rem;
401
- width: 0.75rem;
402
- height: 0.75rem;
403
- }
404
-
405
- .j-switch.is-md .switch-slider:after {
406
- left: 0.1875rem;
407
- bottom: 0.1875rem;
408
- width: 1.125rem;
409
- height: 1.125rem;
410
- }
411
-
412
- .j-switch.is-lg .switch-slider:after {
413
- left: 0.25rem;
414
- bottom: 0.25rem;
415
- width: 1.5rem;
416
- height: 1.5rem;
417
- }
418
-
419
- .j-switch input[type='checkbox']:checked + .switch-slider {
420
- background-color: var(--tone-solid);
421
- }
422
-
423
- .j-switch.is-sm input[type='checkbox']:checked + .switch-slider:after {
424
- transform: translateX(0.75rem);
425
- }
426
-
427
- .j-switch.is-md input[type='checkbox']:checked + .switch-slider:after {
428
- transform: translateX(1.125rem);
429
- }
430
-
431
- .j-switch.is-lg input[type='checkbox']:checked + .switch-slider:after {
432
- transform: translateX(1.5rem);
433
- }
434
-
435
- .j-theme-gray
436
- .j-switch
437
- input[type='checkbox']:checked
438
- + .switch-slider:after {
439
- background-color: var(--ui-bg);
440
- }
441
-
442
- .j-theme-olive
443
- .j-switch
444
- input[type='checkbox']:checked
445
- + .switch-slider:after {
446
- background-color: var(--ui-bg);
447
- }
448
-
449
- .j-switch .switch-slider:hover {
450
- opacity: var(--opacity-hover, 0.9);
451
- }
452
-
453
- /* select */
454
- select.j-select {
455
- padding: var(--input-padding);
456
- border-width: 1px;
457
- border-style: solid;
458
- border-color: var(--ui-border);
459
- border-radius: var(--radius-md);
460
- height: var(--input-height);
461
- line-height: var(--input-line-height, var(--line-height));
462
- background-color: var(--input-background-color, inherit);
463
- font-size: var(--input-font-size);
464
- letter-spacing: 0.5px;
465
- }
466
-
467
- /* textarea */
468
- textarea.j-textarea {
469
- min-height: var(--textarea-min-height, calc(var(--space) * 18));
470
- border-width: 1px;
471
- border-style: solid;
472
- border-color: var(--ui-border);
473
- border-radius: var(--radius-md);
474
- background-color: var(--input-background-color, var(--ui-bg));
475
- color: var(--input-color, var(--ui-input-color));
476
- resize: vertical;
477
- padding: var(--space) var(--s2);
478
- font-family: inherit;
479
- font-size: var(--textarea-font-size, var(--font-size-md));
480
- line-height: var(--textarea-line-height, var(--line-height));
481
- }
482
-
483
- textarea.j-textarea:disabled {
484
- background-color: var(--ui-disabled-bg);
485
- color: var(--ui-disabled-fg);
486
- cursor: not-allowed;
487
- }
488
-
489
- .j-form input.j-input:not([type='checkbox']):not([type='radio']),
490
- .j-form select.j-select,
491
- .j-form textarea.j-textarea {
492
- width: 100%;
493
- }
494
-
495
- /* input group */
496
- .input-group {
497
- /* display: flex; */
498
- align-items: stretch;
499
- }
500
-
501
- .input-group input.j-input,
502
- .input-group select.j-select {
503
- position: relative;
504
- flex: 1 1 auto;
505
- min-width: 0;
506
- }
507
-
508
- .input-group .el-addon .is-text {
509
- border-width: 1px;
510
- border-style: solid;
511
- }
512
-
513
- /* input inner group */
514
- .input-group,
515
- .input-inner-group {
516
- position: relative;
517
- width: 100%;
518
- display: flex;
519
- flex-wrap: nowrap;
520
- }
521
-
522
- .input-inner-group {
523
- border: 1px solid var(--ui-border);
524
- border-radius: var(--radius-md);
525
- }
526
-
527
- .input-inner-group input.j-input,
528
- .input-inner-group select.j-select {
529
- width: 100%;
530
- letter-spacing: 0.4px;
531
- }
532
-
533
- .input-inner-group .el-addon {
534
- display: flex;
535
- align-items: center;
536
- justify-content: center;
537
- }
538
-
539
- .input-inner-group .el-addon svg {
540
- width: var(--font-size-xl);
541
- height: var(--font-size-xl);
542
- }
543
-
544
- .input-group .el-addon .is-text,
545
- .input-inner-group .el-addon.is-text {
546
- display: flex;
547
- align-items: center;
548
- padding-inline: var(--s2);
549
- user-select: none;
550
- }
551
-
552
- .input-inner-group .el-addon.inner-wrap {
553
- gap: var(--space);
554
- padding-inline: var(--space);
555
- }
556
-
557
- /* status active */
558
- .input-group .j-button:not(:disabled):active,
559
- .inner-group .j-input:focus,
560
- .input-group .j-input:focus-within,
561
- .inner-group .j-input:focus-visible,
562
- .input-group select.j-select:focus {
563
- z-index: 1;
564
- }
565
-
566
- /* status focus */
567
- .j-input:focus,
568
- .j-input:focus-within,
569
- .j-input:focus-visible,
570
- .j-textarea:focus,
571
- .j-textarea:focus-within,
572
- .j-textarea:focus-visible,
573
- select.j-select:focus,
574
- select.j-select:focus-within,
575
- select.j-select:focus-visible,
576
- .j-input[data-valid='false']:focus-within,
577
- .j-select[data-valid='false']:focus-within,
578
- .input-group .j-button:not(:disabled):active {
579
- outline: 0;
580
- border-color: var(--tone-solid);
581
- box-shadow: 0 0 0 4px var(--tone-ring);
582
- }
583
-
584
- .j-radio label input[type='radio']:focus-within {
585
- border-color: transparent;
586
- outline-offset: 1px;
587
- }
588
-
589
- .j-checkbox input[type='checkbox']:focus-within {
590
- border-color: var(--tone-solid);
591
- outline-offset: 1px;
592
- }
593
-
594
- .input-inner-group input.j-input,
595
- .input-inner-group select.j-select {
596
- border: 0;
597
- box-shadow: none;
598
- }
599
-
600
- /* status readonly */
601
- .j-input:not([type='file']):not(.is-line):not(.is-blank)[readonly],
602
- .j-textarea[readonly] {
603
- background-color: var(--ui-surface-active);
604
- }
605
-
606
- /* status disabled */
607
- .j-input:disabled:not(.is-line):not(.is-ghost):not(.is-blank),
608
- .j-textarea[disabled] {
609
- background-color: var(--ui-disabled-bg);
610
- }
611
-
612
- /* radio disabled */
613
- .j-radio label:has(input[type='radio']:disabled) {
614
- cursor: not-allowed;
615
- opacity: var(--opacity-disabled);
616
- color: var(--ui-disabled-fg);
617
- }
618
-
619
- .j-radio label input[type='radio']:disabled {
620
- background-color: var(--ui-disabled-bg);
621
- border-color: var(--ui-border);
622
- }
623
-
624
- .j-radio.is-group label input[type='radio']:disabled + .radio-text {
625
- cursor: not-allowed;
626
- background-color: var(--ui-disabled-bg);
627
- color: var(--ui-disabled-fg);
628
- }
629
-
630
- /* checkbox disabled */
631
- .j-checkbox label:has(input[type='checkbox']:disabled) {
632
- cursor: not-allowed;
633
- color: var(--ui-disabled-fg);
634
- }
635
-
636
- .j-checkbox label input[type='checkbox']:disabled {
637
- background-color: var(--ui-disabled-bg);
638
- border-color: var(--ui-border);
639
- }
640
-
641
- /* switch disabled */
642
- .j-switch:has(input[type='checkbox']:disabled),
643
- .j-switch.is-line:has(input[type='checkbox']:disabled) {
644
- opacity: var(--opacity-disabled);
645
- cursor: not-allowed;
646
- }
647
-
648
- .j-switch:has(input[type='checkbox']:disabled) .switch-slider,
649
- .j-switch.is-line:has(input[type='checkbox']:disabled) .switch-slider {
650
- cursor: not-allowed;
651
- }
652
-
653
- .j-switch:has(input[type='checkbox']:disabled) .switch-slider:before,
654
- .j-switch.is-line:has(input[type='checkbox']:disabled) .switch-slider:before {
655
- background-color: var(--ui-border);
656
- }
657
- }