@clayui/css 3.134.0 → 3.136.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 +31 -26
- package/lib/css/atlas.css.map +1 -1
- package/lib/css/base.css +31 -26
- package/lib/css/base.css.map +1 -1
- package/lib/css/cadmin.css +3 -26
- package/lib/css/cadmin.css.map +1 -1
- package/lib/images/icons/angle-down-small.svg +1 -3
- package/lib/images/icons/angle-down.svg +1 -3
- package/lib/images/icons/angle-left-small.svg +1 -3
- package/lib/images/icons/angle-right-small.svg +1 -3
- package/lib/images/icons/angle-up-small.svg +1 -3
- package/lib/images/icons/angle-up.svg +1 -3
- package/lib/images/icons/audio.svg +1 -3
- package/lib/images/icons/bars.svg +1 -5
- package/lib/images/icons/border-width.svg +5 -4
- package/lib/images/icons/calendar.svg +1 -18
- package/lib/images/icons/cards-full.svg +3 -6
- package/lib/images/icons/cards.svg +3 -8
- package/lib/images/icons/compress.svg +1 -6
- package/lib/images/icons/cut.svg +1 -4
- package/lib/images/icons/date-time.svg +1 -6
- package/lib/images/icons/date.svg +1 -9
- package/lib/images/icons/device-check.svg +3 -6
- package/lib/images/icons/document-code.svg +1 -3
- package/lib/images/icons/document-compressed.svg +1 -4
- package/lib/images/icons/document-default.svg +1 -3
- package/lib/images/icons/document-image.svg +1 -3
- package/lib/images/icons/document-multimedia.svg +1 -3
- package/lib/images/icons/document-pdf.svg +1 -5
- package/lib/images/icons/document-presentation.svg +1 -3
- package/lib/images/icons/document-table.svg +1 -6
- package/lib/images/icons/document-text.svg +1 -3
- package/lib/images/icons/document-vector.svg +1 -3
- package/lib/images/icons/document.svg +1 -6
- package/lib/images/icons/exclamation-circle.svg +1 -6
- package/lib/images/icons/exclamation-full.svg +1 -3
- package/lib/images/icons/icons.svg +1 -1
- package/lib/images/icons/lock.svg +1 -3
- package/lib/images/icons/magic.svg +3 -9
- package/lib/images/icons/page-template.svg +1 -6
- package/lib/images/icons/page.svg +1 -4
- package/lib/images/icons/pencil.svg +1 -4
- package/lib/images/icons/play.svg +1 -3
- package/lib/images/icons/redo.svg +1 -3
- package/lib/images/icons/reply.svg +3 -5
- package/lib/images/icons/search-plus.svg +3 -6
- package/lib/images/icons/select-all.svg +1 -4
- package/lib/images/icons/select-from-list.svg +3 -6
- package/lib/images/icons/select.svg +3 -8
- package/lib/images/icons/sign-in.svg +3 -6
- package/lib/images/icons/square-hole.svg +3 -5
- package/lib/images/icons/square.svg +3 -5
- package/lib/images/icons/strikethrough.svg +1 -3
- package/lib/images/icons/tablet-landscape.svg +1 -3
- package/lib/images/icons/tablet-portrait.svg +1 -3
- package/lib/images/icons/text.svg +1 -3
- package/lib/images/icons/thumbs-down-full.svg +3 -6
- package/lib/images/icons/thumbs-down.svg +3 -6
- package/lib/images/icons/thumbs-up-arrow.svg +1 -5
- package/lib/images/icons/thumbs-up-full.svg +1 -4
- package/lib/images/icons/thumbs-up.svg +1 -4
- package/lib/images/icons/transform.svg +1 -5
- package/lib/images/icons/trash.svg +3 -8
- package/lib/images/icons/underline.svg +3 -5
- package/lib/images/icons/undo.svg +1 -3
- package/lib/images/icons/unlock.svg +1 -3
- package/package.json +2 -2
- package/src/images/icons/angle-down-small.svg +1 -3
- package/src/images/icons/angle-down.svg +1 -3
- package/src/images/icons/angle-left-small.svg +1 -3
- package/src/images/icons/angle-right-small.svg +1 -3
- package/src/images/icons/angle-up-small.svg +1 -3
- package/src/images/icons/angle-up.svg +1 -3
- package/src/images/icons/audio.svg +1 -3
- package/src/images/icons/bars.svg +1 -5
- package/src/images/icons/border-width.svg +5 -4
- package/src/images/icons/calendar.svg +1 -18
- package/src/images/icons/cards-full.svg +3 -6
- package/src/images/icons/cards.svg +3 -8
- package/src/images/icons/compress.svg +1 -6
- package/src/images/icons/cut.svg +1 -4
- package/src/images/icons/date-time.svg +1 -6
- package/src/images/icons/date.svg +1 -9
- package/src/images/icons/device-check.svg +3 -6
- package/src/images/icons/document-code.svg +1 -3
- package/src/images/icons/document-compressed.svg +1 -4
- package/src/images/icons/document-default.svg +1 -3
- package/src/images/icons/document-image.svg +1 -3
- package/src/images/icons/document-multimedia.svg +1 -3
- package/src/images/icons/document-pdf.svg +1 -5
- package/src/images/icons/document-presentation.svg +1 -3
- package/src/images/icons/document-table.svg +1 -6
- package/src/images/icons/document-text.svg +1 -3
- package/src/images/icons/document-vector.svg +1 -3
- package/src/images/icons/document.svg +1 -6
- package/src/images/icons/exclamation-circle.svg +1 -6
- package/src/images/icons/exclamation-full.svg +1 -3
- package/src/images/icons/lock.svg +1 -3
- package/src/images/icons/magic.svg +3 -9
- package/src/images/icons/page-template.svg +1 -6
- package/src/images/icons/page.svg +1 -4
- package/src/images/icons/pencil.svg +1 -4
- package/src/images/icons/play.svg +1 -3
- package/src/images/icons/redo.svg +1 -3
- package/src/images/icons/reply.svg +3 -5
- package/src/images/icons/search-plus.svg +3 -6
- package/src/images/icons/select-all.svg +1 -4
- package/src/images/icons/select-from-list.svg +3 -6
- package/src/images/icons/select.svg +3 -8
- package/src/images/icons/sign-in.svg +3 -6
- package/src/images/icons/square-hole.svg +3 -5
- package/src/images/icons/square.svg +3 -5
- package/src/images/icons/strikethrough.svg +1 -3
- package/src/images/icons/tablet-landscape.svg +1 -3
- package/src/images/icons/tablet-portrait.svg +1 -3
- package/src/images/icons/text.svg +1 -3
- package/src/images/icons/thumbs-down-full.svg +3 -6
- package/src/images/icons/thumbs-down.svg +3 -6
- package/src/images/icons/thumbs-up-arrow.svg +1 -5
- package/src/images/icons/thumbs-up-full.svg +1 -4
- package/src/images/icons/thumbs-up.svg +1 -4
- package/src/images/icons/transform.svg +1 -5
- package/src/images/icons/trash.svg +3 -8
- package/src/images/icons/underline.svg +3 -5
- package/src/images/icons/undo.svg +1 -3
- package/src/images/icons/unlock.svg +1 -3
- package/src/scss/_license-text.scss +1 -1
- package/src/scss/functions/_lx-icons-generated.scss +59 -59
- package/src/scss/mixins/_navbar.scss +436 -270
- package/src/scss/mixins/_stickers.scss +86 -39
- package/src/scss/mixins/_tables.scss +527 -308
- package/src/scss/mixins/_tbar.scss +165 -87
- package/src/scss/mixins/_toggle-switch.scss +705 -380
- package/src/scss/mixins/_tooltip.scss +53 -21
- package/src/scss/variables/_modals.scss +1 -1
|
@@ -466,155 +466,231 @@
|
|
|
466
466
|
)
|
|
467
467
|
);
|
|
468
468
|
|
|
469
|
-
@
|
|
469
|
+
@if (length($base) != 0) {
|
|
470
|
+
@include clay-css($base);
|
|
471
|
+
}
|
|
470
472
|
|
|
471
|
-
strong {
|
|
472
|
-
|
|
473
|
+
@if (length($strong) != 0) {
|
|
474
|
+
strong {
|
|
475
|
+
@include clay-css($strong);
|
|
476
|
+
}
|
|
473
477
|
}
|
|
474
478
|
|
|
475
|
-
|
|
476
|
-
|
|
479
|
+
$_component-action: map-get($map, component-action);
|
|
480
|
+
|
|
481
|
+
@if ($_component-action) {
|
|
482
|
+
.component-action {
|
|
483
|
+
@include clay-link($_component-action);
|
|
484
|
+
}
|
|
477
485
|
}
|
|
478
486
|
|
|
479
|
-
|
|
480
|
-
|
|
487
|
+
$_component-link: map-get($map, component-link);
|
|
488
|
+
|
|
489
|
+
@if ($_component-link) {
|
|
490
|
+
.component-link {
|
|
491
|
+
@include clay-link($_component-link);
|
|
492
|
+
}
|
|
481
493
|
}
|
|
482
494
|
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
$tbar-nav: map-merge($tbar-nav, setter(map-get($map, nav), ()));
|
|
495
|
+
$tbar-nav: setter(map-get($map, tbar-nav), ());
|
|
496
|
+
$tbar-nav: map-merge($tbar-nav, setter(map-get($map, nav), ()));
|
|
486
497
|
|
|
487
|
-
|
|
498
|
+
@if (length($tbar-nav) != 0) {
|
|
499
|
+
.tbar-nav {
|
|
500
|
+
@include clay-css($tbar-nav);
|
|
501
|
+
}
|
|
488
502
|
}
|
|
489
503
|
|
|
490
|
-
|
|
491
|
-
|
|
504
|
+
@if (length($item) != 0) {
|
|
505
|
+
.tbar-item {
|
|
506
|
+
@include clay-css($item);
|
|
507
|
+
}
|
|
492
508
|
}
|
|
493
509
|
|
|
494
|
-
|
|
495
|
-
$tbar-divider-before: setter(
|
|
496
|
-
map-get($map, tbar-divider-before),
|
|
497
|
-
()
|
|
498
|
-
);
|
|
510
|
+
$_tbar-divider-before: map-get($map, tbar-divider-before);
|
|
499
511
|
|
|
500
|
-
|
|
512
|
+
@if ($_tbar-divider-before) {
|
|
513
|
+
.tbar-divider-before {
|
|
514
|
+
@include clay-css($_tbar-divider-before);
|
|
501
515
|
|
|
502
|
-
|
|
503
|
-
$before: setter(map-get($tbar-divider-before, before), ());
|
|
516
|
+
$before: setter(map-get($_tbar-divider-before, before), ());
|
|
504
517
|
$before: map-merge(
|
|
505
518
|
$before,
|
|
506
519
|
setter(map-get($map, divider-before), ())
|
|
507
520
|
);
|
|
508
521
|
|
|
509
|
-
@
|
|
510
|
-
|
|
522
|
+
@if (length($before) != 0) {
|
|
523
|
+
&::before {
|
|
524
|
+
@include clay-css($before);
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
$_after: map-get($_tbar-divider-before, after);
|
|
511
529
|
|
|
512
|
-
|
|
513
|
-
|
|
530
|
+
@if ($_after) {
|
|
531
|
+
&::after {
|
|
532
|
+
@include clay-css($_after);
|
|
533
|
+
}
|
|
534
|
+
}
|
|
514
535
|
}
|
|
515
536
|
}
|
|
516
537
|
|
|
517
|
-
|
|
518
|
-
$tbar-divider-after: setter(map-get($map, tbar-divider-after), ());
|
|
538
|
+
$_tbar-divider-after: map-get($map, tbar-divider-after);
|
|
519
539
|
|
|
520
|
-
|
|
540
|
+
@if ($_tbar-divider-after) {
|
|
541
|
+
.tbar-divider-after {
|
|
542
|
+
@include clay-css($_tbar-divider-after);
|
|
521
543
|
|
|
522
|
-
|
|
523
|
-
@include clay-css(map-get($tbar-divider-after, before));
|
|
524
|
-
}
|
|
544
|
+
$_before: map-get($_tbar-divider-after, before);
|
|
525
545
|
|
|
526
|
-
|
|
527
|
-
|
|
546
|
+
@if ($_before) {
|
|
547
|
+
&::before {
|
|
548
|
+
@include clay-css($_before);
|
|
549
|
+
}
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
$after: setter(map-get($_tbar-divider-after, after), ());
|
|
528
553
|
$after: map-merge(
|
|
529
554
|
$after,
|
|
530
555
|
setter(map-get($map, divider-after), ())
|
|
531
556
|
);
|
|
532
557
|
|
|
533
|
-
@
|
|
558
|
+
@if (length($after) != 0) {
|
|
559
|
+
&::after {
|
|
560
|
+
@include clay-css($after);
|
|
561
|
+
}
|
|
562
|
+
}
|
|
534
563
|
}
|
|
535
564
|
}
|
|
536
565
|
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
$tbar-item-expand
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
);
|
|
543
|
-
@include clay-css($tbar-item-expand);
|
|
544
|
-
}
|
|
566
|
+
$tbar-item-expand: setter(map-get($map, tbar-item-expand), ());
|
|
567
|
+
$tbar-item-expand: map-merge(
|
|
568
|
+
$tbar-item-expand,
|
|
569
|
+
setter(map-get($map, item-expand), ())
|
|
570
|
+
);
|
|
545
571
|
|
|
546
|
-
|
|
547
|
-
|
|
572
|
+
@if (length($tbar-item-expand) != 0) {
|
|
573
|
+
.tbar-item-expand {
|
|
574
|
+
@include clay-css($tbar-item-expand);
|
|
575
|
+
}
|
|
576
|
+
}
|
|
548
577
|
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
578
|
+
@if (length($btn) != 0) {
|
|
579
|
+
.tbar-btn {
|
|
580
|
+
@include clay-button-variant($btn);
|
|
581
|
+
|
|
582
|
+
@if (
|
|
583
|
+
map-get($btn-c-inner, enabled) and
|
|
584
|
+
(length($btn-c-inner) != 0)
|
|
585
|
+
) {
|
|
586
|
+
.c-inner {
|
|
587
|
+
@include clay-css($btn-c-inner);
|
|
588
|
+
}
|
|
552
589
|
}
|
|
553
590
|
}
|
|
554
591
|
}
|
|
555
592
|
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
593
|
+
@if (length($link) != 0) {
|
|
594
|
+
.tbar-link {
|
|
595
|
+
@include clay-link($link);
|
|
596
|
+
|
|
597
|
+
@if (
|
|
598
|
+
map-get($link-c-inner, enabled) and
|
|
599
|
+
(length($link-c-inner) != 0)
|
|
600
|
+
) {
|
|
601
|
+
.c-inner {
|
|
602
|
+
@include clay-css($link-c-inner);
|
|
603
|
+
}
|
|
562
604
|
}
|
|
563
605
|
}
|
|
564
606
|
}
|
|
565
607
|
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
608
|
+
@if (length($btn-monospaced) != 0) {
|
|
609
|
+
.tbar-btn-monospaced {
|
|
610
|
+
@include clay-button-variant($btn-monospaced);
|
|
611
|
+
|
|
612
|
+
@if (
|
|
613
|
+
map-get($btn-monospaced-c-inner, enabled) and
|
|
614
|
+
(length($btn-monospaced-c-inner) != 0)
|
|
615
|
+
) {
|
|
616
|
+
.c-inner {
|
|
617
|
+
@include clay-css($btn-monospaced-c-inner);
|
|
618
|
+
}
|
|
572
619
|
}
|
|
573
|
-
}
|
|
574
620
|
|
|
575
|
-
|
|
576
|
-
|
|
621
|
+
$_font-size: map-get($btn-monospaced, font-size);
|
|
622
|
+
|
|
623
|
+
@if ($_font-size) {
|
|
624
|
+
.inline-item {
|
|
625
|
+
font-size: $_font-size;
|
|
626
|
+
}
|
|
627
|
+
}
|
|
577
628
|
}
|
|
578
629
|
}
|
|
579
630
|
|
|
580
|
-
|
|
581
|
-
|
|
631
|
+
@if (length($link-monospaced) != 0) {
|
|
632
|
+
.tbar-link-monospaced {
|
|
633
|
+
@include clay-link($link-monospaced);
|
|
634
|
+
|
|
635
|
+
@if (
|
|
636
|
+
map-get($link-monospaced-c-inner, enabled) and
|
|
637
|
+
(length($link-monospaced-c-inner) != 0)
|
|
638
|
+
) {
|
|
639
|
+
.c-inner {
|
|
640
|
+
@include clay-css($link-monospaced-c-inner);
|
|
641
|
+
}
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
$_font-size: map-get($link-monospaced, font-size);
|
|
582
645
|
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
646
|
+
@if ($_font-size) {
|
|
647
|
+
.inline-item {
|
|
648
|
+
font-size: $_font-size;
|
|
649
|
+
}
|
|
586
650
|
}
|
|
587
651
|
}
|
|
652
|
+
}
|
|
588
653
|
|
|
589
|
-
|
|
590
|
-
|
|
654
|
+
@if (length($section) != 0) {
|
|
655
|
+
.tbar-section {
|
|
656
|
+
@include clay-css($section);
|
|
591
657
|
}
|
|
592
658
|
}
|
|
593
659
|
|
|
594
|
-
|
|
595
|
-
@include clay-css($section);
|
|
596
|
-
}
|
|
660
|
+
$_component-title: map-get($map, component-title);
|
|
597
661
|
|
|
598
|
-
|
|
599
|
-
|
|
662
|
+
@if ($_component-title) {
|
|
663
|
+
.component-title {
|
|
664
|
+
@include clay-text-typography($_component-title);
|
|
665
|
+
}
|
|
600
666
|
}
|
|
601
667
|
|
|
602
|
-
|
|
603
|
-
|
|
668
|
+
$_component-text: map-get($map, component-text);
|
|
669
|
+
|
|
670
|
+
@if ($_component-text) {
|
|
671
|
+
.component-text {
|
|
672
|
+
@include clay-text-typography($_component-text);
|
|
673
|
+
}
|
|
604
674
|
}
|
|
605
675
|
|
|
606
|
-
|
|
607
|
-
|
|
676
|
+
$_component-label: map-get($map, component-label);
|
|
677
|
+
|
|
678
|
+
@if ($_component-label) {
|
|
679
|
+
.component-label {
|
|
680
|
+
@include clay-label-variant($_component-label);
|
|
681
|
+
}
|
|
608
682
|
}
|
|
609
683
|
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
$tbar-label
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
);
|
|
684
|
+
$tbar-label: setter(map-get($map, tbar-label), ());
|
|
685
|
+
$tbar-label: map-merge(
|
|
686
|
+
$tbar-label,
|
|
687
|
+
setter(map-get($map, tbar-label-size), ())
|
|
688
|
+
);
|
|
616
689
|
|
|
617
|
-
|
|
690
|
+
@if (length($tbar-label) != 0) {
|
|
691
|
+
.tbar-label {
|
|
692
|
+
@include clay-label-size($tbar-label);
|
|
693
|
+
}
|
|
618
694
|
}
|
|
619
695
|
}
|
|
620
696
|
}
|
|
@@ -666,8 +742,10 @@
|
|
|
666
742
|
display: inline;
|
|
667
743
|
}
|
|
668
744
|
|
|
669
|
-
|
|
670
|
-
|
|
745
|
+
@if (length($tbar-item) != 0) {
|
|
746
|
+
.tbar-item {
|
|
747
|
+
@include clay-css($tbar-item);
|
|
748
|
+
}
|
|
671
749
|
}
|
|
672
750
|
}
|
|
673
751
|
}
|