@clayui/css 3.73.0 → 3.75.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/lib/css/atlas.css +127 -58
- package/lib/css/atlas.css.map +1 -1
- package/lib/css/base.css +101 -57
- package/lib/css/base.css.map +1 -1
- package/lib/css/cadmin.css +52 -148
- package/lib/css/cadmin.css.map +1 -1
- package/lib/images/icons/icons.svg +1 -1
- package/lib/images/icons/mobile-device-rules.svg +5 -7
- package/lib/images/icons/mobile-devices.svg +10 -0
- package/lib/images/icons/mobile-landscape.svg +2 -1
- package/lib/images/icons/mobile-portrait.svg +2 -1
- package/package.json +2 -2
- package/src/images/icons/mobile-device-rules.svg +5 -7
- package/src/images/icons/mobile-devices.svg +10 -0
- package/src/images/icons/mobile-landscape.svg +2 -1
- package/src/images/icons/mobile-portrait.svg +2 -1
- package/src/scss/_license-text.scss +1 -1
- package/src/scss/atlas/variables/_custom-forms.scss +57 -1
- package/src/scss/cadmin/components/_tables.scss +0 -8
- package/src/scss/cadmin/variables/_custom-forms.scss +59 -2
- package/src/scss/components/_tables.scss +20 -12
- package/src/scss/functions/_global-functions.scss +21 -17
- package/src/scss/functions/_lx-icons-generated.scss +5 -3
- package/src/scss/mixins/_custom-forms.scss +246 -0
- package/src/scss/variables/_custom-forms.scss +35 -0
- package/src/scss/variables/_tables.scss +6 -0
|
@@ -562,11 +562,13 @@
|
|
|
562
562
|
|
|
563
563
|
'minus-circle': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline" d="M256.4 0c-340.8 0-342.8 512 0 512 338.8 0 342.8-512 0-512zm128.3 304H128.1c-64.2 0-63.2-96 0-96h256.6c64.1 0 66.1 96 0 96z" fill="#{$color}"/></svg>',
|
|
564
564
|
|
|
565
|
-
'mobile-device-rules': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline
|
|
565
|
+
'mobile-device-rules': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline" fill-rule="evenodd" clip-rule="evenodd" d="M256 96H64v320h192V96ZM64 32C28.654 32 0 60.654 0 96v320c0 35.346 28.654 64 64 64h192c35.346 0 64-28.654 64-64V96c0-35.346-28.654-64-64-64H64Z" fill="#{$color}"/><path class="lexicon-icon-outline" d="M112 352c0-8.837 7.163-16 16-16h64c8.837 0 16 7.163 16 16s-7.163 16-16 16h-64c-8.837 0-16-7.163-16-16Z" fill="#{$color}"/><rect class="lexicon-icon-outline" x="352" y="96" width="160" height="64" rx="32" fill="#{$color}"/><rect class="lexicon-icon-outline" x="352" y="224" width="160" height="64" rx="32" fill="#{$color}"/><rect class="lexicon-icon-outline" x="352" y="352" width="160" height="64" rx="32" fill="#{$color}"/></svg>',
|
|
566
566
|
|
|
567
|
-
'mobile-
|
|
567
|
+
'mobile-devices': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline lx-mobile-devices-tablet" d="M192 0h256c35.312 0 64 28.7 64 64v384c0 35.301-28.688 64-64 64H288v-96h160V64H192v32h-64V64c0-35.3 28.688-64 64-64Z" fill="#{$color}"/><path class="lexicon-icon-outline lx-mobile-devices-phone" fill-rule="evenodd" clip-rule="evenodd" d="M256 160c0-17.699-14.312-32-32-32H32c-17.688 0-32 14.301-32 32v320c0 17.699 14.313 32 32 32h192c17.688 0 32-14.301 32-32V160ZM64 448V192h128v256H64Z" fill="#{$color}"/></svg>',
|
|
568
568
|
|
|
569
|
-
'mobile-
|
|
569
|
+
'mobile-landscape': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline" fill-rule="evenodd" clip-rule="evenodd" d="M448 384V128H64v256h384Zm64-256c0-35.346-28.654-64-64-64H64C28.654 64 0 92.654 0 128v256c0 35.346 28.654 64 64 64h384c35.346 0 64-28.654 64-64V128Z" fill="#{$color}"/><rect class="lexicon-icon-outline" x="192" y="288" width="128" height="32" rx="16" fill="#{$color}"/></svg>',
|
|
570
|
+
|
|
571
|
+
'mobile-portrait': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline" fill-rule="evenodd" clip-rule="evenodd" d="M384 64H128v384h256V64ZM128 0C92.654 0 64 28.654 64 64v384c0 35.346 28.654 64 64 64h256c35.346 0 64-28.654 64-64V64c0-35.346-28.654-64-64-64H128Z" fill="#{$color}"/><path class="lexicon-icon-outline" d="M192 368c0-8.837 7.163-16 16-16h96c8.837 0 16 7.163 16 16s-7.163 16-16 16h-96c-8.837 0-16-7.163-16-16Z" fill="#{$color}"/></svg>',
|
|
570
572
|
|
|
571
573
|
'moon': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline" d="M186.5 81.4c0-25.4 3.8-49.8 10.7-72.9C84.3 34.3 0 135.2 0 256c0 140.3 113.7 254 254 254 114.9 0 212-76.3 243.3-181.1-18.3 4.2-37.3 6.5-56.8 6.5-140.2 0-254-113.8-254-254z" fill="#{$color}"/></svg>',
|
|
572
574
|
|
|
@@ -244,6 +244,114 @@
|
|
|
244
244
|
}
|
|
245
245
|
}
|
|
246
246
|
|
|
247
|
+
&[readonly] {
|
|
248
|
+
@include clay-css(map-deep-get($map, readonly));
|
|
249
|
+
|
|
250
|
+
~ .custom-control-label {
|
|
251
|
+
@include clay-css(
|
|
252
|
+
map-deep-get($map, readonly, custom-control-label)
|
|
253
|
+
);
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
~ .custom-control-label::before {
|
|
257
|
+
@include clay-css(
|
|
258
|
+
map-deep-get(
|
|
259
|
+
$map,
|
|
260
|
+
readonly,
|
|
261
|
+
custom-control-label,
|
|
262
|
+
before
|
|
263
|
+
)
|
|
264
|
+
);
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
~ .custom-control-label::after {
|
|
268
|
+
@include clay-css(
|
|
269
|
+
map-deep-get(
|
|
270
|
+
$map,
|
|
271
|
+
readonly,
|
|
272
|
+
custom-control-label,
|
|
273
|
+
after
|
|
274
|
+
)
|
|
275
|
+
);
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
~ .card {
|
|
279
|
+
@include clay-card-variant(
|
|
280
|
+
map-deep-get($map, readonly, card)
|
|
281
|
+
);
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
&[readonly][disabled] {
|
|
286
|
+
@include clay-css(map-deep-get($map, readonly, disabled));
|
|
287
|
+
|
|
288
|
+
~ .custom-control-label {
|
|
289
|
+
@include clay-css(
|
|
290
|
+
map-deep-get(
|
|
291
|
+
$map,
|
|
292
|
+
readonly,
|
|
293
|
+
disabled,
|
|
294
|
+
custom-control-label
|
|
295
|
+
)
|
|
296
|
+
);
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
~ .custom-control-label::before {
|
|
300
|
+
@include clay-css(
|
|
301
|
+
map-deep-get(
|
|
302
|
+
$map,
|
|
303
|
+
readonly,
|
|
304
|
+
disabled,
|
|
305
|
+
custom-control-label,
|
|
306
|
+
before
|
|
307
|
+
)
|
|
308
|
+
);
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
~ .custom-control-label::after {
|
|
312
|
+
@include clay-css(
|
|
313
|
+
map-deep-get(
|
|
314
|
+
$map,
|
|
315
|
+
readonly,
|
|
316
|
+
disabled,
|
|
317
|
+
custom-control-label,
|
|
318
|
+
after
|
|
319
|
+
)
|
|
320
|
+
);
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
~ .card {
|
|
324
|
+
@include clay-card-variant(
|
|
325
|
+
map-deep-get($map, readonly, disabled, card)
|
|
326
|
+
);
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
&:checked {
|
|
331
|
+
~ .custom-control-label::before {
|
|
332
|
+
@include clay-css(
|
|
333
|
+
map-deep-get(
|
|
334
|
+
$map,
|
|
335
|
+
checked,
|
|
336
|
+
custom-control-label,
|
|
337
|
+
before
|
|
338
|
+
)
|
|
339
|
+
);
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
~ .custom-control-label::after {
|
|
343
|
+
@include clay-css(
|
|
344
|
+
map-deep-get($map, checked, custom-control-label, after)
|
|
345
|
+
);
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
~ .card {
|
|
349
|
+
@include clay-card-variant(
|
|
350
|
+
map-deep-get($map, checked, card)
|
|
351
|
+
);
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
|
|
247
355
|
&:checked:hover {
|
|
248
356
|
~ .custom-control-label::before {
|
|
249
357
|
@include clay-css(
|
|
@@ -373,6 +481,72 @@
|
|
|
373
481
|
}
|
|
374
482
|
}
|
|
375
483
|
|
|
484
|
+
&:checked[readonly] {
|
|
485
|
+
~ .custom-control-label::before {
|
|
486
|
+
@include clay-css(
|
|
487
|
+
map-deep-get(
|
|
488
|
+
$map,
|
|
489
|
+
checked,
|
|
490
|
+
readonly,
|
|
491
|
+
custom-control-label,
|
|
492
|
+
before
|
|
493
|
+
)
|
|
494
|
+
);
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
~ .custom-control-label::after {
|
|
498
|
+
@include clay-css(
|
|
499
|
+
map-deep-get(
|
|
500
|
+
$map,
|
|
501
|
+
checked,
|
|
502
|
+
readonly,
|
|
503
|
+
custom-control-label,
|
|
504
|
+
after
|
|
505
|
+
)
|
|
506
|
+
);
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
~ .card {
|
|
510
|
+
@include clay-card-variant(
|
|
511
|
+
map-deep-get($map, checked, readonly, card)
|
|
512
|
+
);
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
&:checked[readonly][disabled] {
|
|
517
|
+
~ .custom-control-label::before {
|
|
518
|
+
@include clay-css(
|
|
519
|
+
map-deep-get(
|
|
520
|
+
$map,
|
|
521
|
+
checked,
|
|
522
|
+
readonly,
|
|
523
|
+
disabled,
|
|
524
|
+
custom-control-label,
|
|
525
|
+
before
|
|
526
|
+
)
|
|
527
|
+
);
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
~ .custom-control-label::after {
|
|
531
|
+
@include clay-css(
|
|
532
|
+
map-deep-get(
|
|
533
|
+
$map,
|
|
534
|
+
checked,
|
|
535
|
+
readonly,
|
|
536
|
+
disabled,
|
|
537
|
+
custom-control-label,
|
|
538
|
+
after
|
|
539
|
+
)
|
|
540
|
+
);
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
~ .card {
|
|
544
|
+
@include clay-card-variant(
|
|
545
|
+
map-deep-get($map, checked, readonly, disabled, card)
|
|
546
|
+
);
|
|
547
|
+
}
|
|
548
|
+
}
|
|
549
|
+
|
|
376
550
|
&:indeterminate {
|
|
377
551
|
~ .custom-control-label::before {
|
|
378
552
|
@include clay-css(
|
|
@@ -531,6 +705,78 @@
|
|
|
531
705
|
);
|
|
532
706
|
}
|
|
533
707
|
}
|
|
708
|
+
|
|
709
|
+
&:indeterminate[readonly] {
|
|
710
|
+
~ .custom-control-label::before {
|
|
711
|
+
@include clay-css(
|
|
712
|
+
map-deep-get(
|
|
713
|
+
$map,
|
|
714
|
+
indeterminate,
|
|
715
|
+
readonly,
|
|
716
|
+
custom-control-label,
|
|
717
|
+
before
|
|
718
|
+
)
|
|
719
|
+
);
|
|
720
|
+
}
|
|
721
|
+
|
|
722
|
+
~ .custom-control-label::after {
|
|
723
|
+
@include clay-css(
|
|
724
|
+
map-deep-get(
|
|
725
|
+
$map,
|
|
726
|
+
indeterminate,
|
|
727
|
+
readonly,
|
|
728
|
+
custom-control-label,
|
|
729
|
+
after
|
|
730
|
+
)
|
|
731
|
+
);
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
~ .card {
|
|
735
|
+
@include clay-card-variant(
|
|
736
|
+
map-deep-get($map, indeterminate, readonly, card)
|
|
737
|
+
);
|
|
738
|
+
}
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
&:indeterminate[readonly][disabled] {
|
|
742
|
+
~ .custom-control-label::before {
|
|
743
|
+
@include clay-css(
|
|
744
|
+
map-deep-get(
|
|
745
|
+
$map,
|
|
746
|
+
indeterminate,
|
|
747
|
+
readonly,
|
|
748
|
+
disabled,
|
|
749
|
+
custom-control-label,
|
|
750
|
+
before
|
|
751
|
+
)
|
|
752
|
+
);
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
~ .custom-control-label::after {
|
|
756
|
+
@include clay-css(
|
|
757
|
+
map-deep-get(
|
|
758
|
+
$map,
|
|
759
|
+
indeterminate,
|
|
760
|
+
readonly,
|
|
761
|
+
disabled,
|
|
762
|
+
custom-control-label,
|
|
763
|
+
after
|
|
764
|
+
)
|
|
765
|
+
);
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
~ .card {
|
|
769
|
+
@include clay-card-variant(
|
|
770
|
+
map-deep-get(
|
|
771
|
+
$map,
|
|
772
|
+
indeterminate,
|
|
773
|
+
readonly,
|
|
774
|
+
disabled,
|
|
775
|
+
card
|
|
776
|
+
)
|
|
777
|
+
);
|
|
778
|
+
}
|
|
779
|
+
}
|
|
534
780
|
}
|
|
535
781
|
}
|
|
536
782
|
}
|
|
@@ -287,6 +287,14 @@ $custom-control-input: map-deep-merge(
|
|
|
287
287
|
),
|
|
288
288
|
),
|
|
289
289
|
),
|
|
290
|
+
readonly: (
|
|
291
|
+
custom-control-label: (
|
|
292
|
+
before: (
|
|
293
|
+
background-color: $custom-control-indicator-bg,
|
|
294
|
+
border-color: $custom-control-indicator-border-color,
|
|
295
|
+
),
|
|
296
|
+
),
|
|
297
|
+
),
|
|
290
298
|
),
|
|
291
299
|
),
|
|
292
300
|
$custom-control-input
|
|
@@ -353,6 +361,19 @@ $custom-checkbox: map-deep-merge(
|
|
|
353
361
|
),
|
|
354
362
|
),
|
|
355
363
|
),
|
|
364
|
+
readonly: (
|
|
365
|
+
custom-control-label: (
|
|
366
|
+
before: (
|
|
367
|
+
background-color: $white,
|
|
368
|
+
),
|
|
369
|
+
after: (
|
|
370
|
+
background-image:
|
|
371
|
+
clay-svg-url(
|
|
372
|
+
"<svg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'><path fill='#{$gray-600}' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/></svg>"
|
|
373
|
+
),
|
|
374
|
+
),
|
|
375
|
+
),
|
|
376
|
+
),
|
|
356
377
|
),
|
|
357
378
|
indeterminate: (
|
|
358
379
|
custom-control-label: (
|
|
@@ -385,6 +406,20 @@ $custom-checkbox: map-deep-merge(
|
|
|
385
406
|
),
|
|
386
407
|
),
|
|
387
408
|
),
|
|
409
|
+
readonly: (
|
|
410
|
+
custom-control-label: (
|
|
411
|
+
before: (
|
|
412
|
+
background-color: $custom-control-indicator-bg,
|
|
413
|
+
border-color: $custom-control-indicator-border-color,
|
|
414
|
+
),
|
|
415
|
+
after: (
|
|
416
|
+
background-image:
|
|
417
|
+
clay-svg-url(
|
|
418
|
+
"<svg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'><path stroke='#{$gray-800}' d='M0 2h4'/></svg>"
|
|
419
|
+
),
|
|
420
|
+
),
|
|
421
|
+
),
|
|
422
|
+
),
|
|
388
423
|
),
|
|
389
424
|
),
|
|
390
425
|
),
|
|
@@ -938,6 +938,12 @@ $table-row-theme-colors: map-deep-merge(
|
|
|
938
938
|
background-color:
|
|
939
939
|
clay-darken(theme-color-level(dark, $table-bg-level), 5%),
|
|
940
940
|
),
|
|
941
|
+
table-title: (
|
|
942
|
+
color: $table-dark-color,
|
|
943
|
+
href: (
|
|
944
|
+
color: inherit,
|
|
945
|
+
),
|
|
946
|
+
),
|
|
941
947
|
),
|
|
942
948
|
),
|
|
943
949
|
$table-row-theme-colors
|