@clayui/css 3.126.0 → 3.128.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 +224 -58
- package/lib/css/atlas.css.map +1 -1
- package/lib/css/base.css +176 -74
- package/lib/css/base.css.map +1 -1
- package/lib/css/bootstrap.css +0 -0
- package/lib/css/bootstrap.css.map +1 -1
- package/lib/css/cadmin.css +423 -272
- package/lib/css/cadmin.css.map +1 -1
- package/lib/images/icons/icons.svg +1 -1
- package/package.json +2 -2
- package/src/scss/_license-text.scss +1 -1
- package/src/scss/atlas/variables/_globals.scss +8 -0
- package/src/scss/cadmin/components/_grid.scss +3 -1
- package/src/scss/cadmin/components/_multi-step-nav.scss +4 -2
- package/src/scss/cadmin/variables/_dropdowns.scss +18 -6
- package/src/scss/cadmin/variables/_globals.scss +4 -0
- package/src/scss/cadmin/variables/_multi-step-nav.scss +2 -2
- package/src/scss/components/_grid.scss +3 -1
- package/src/scss/components/_multi-step-nav.scss +4 -2
- package/src/scss/functions/_global-functions.scss +8 -2
- package/src/scss/mixins/_alerts.scss +104 -48
- package/src/scss/mixins/_badges.scss +75 -33
- package/src/scss/mixins/_buttons.scss +503 -250
- package/src/scss/mixins/_cards.scss +619 -302
- package/src/scss/mixins/_close.scss +42 -49
- package/src/scss/mixins/_custom-forms.scss +864 -606
- package/src/scss/mixins/_dropdown-menu.scss +476 -239
- package/src/scss/mixins/_forms.scss +4 -79
- package/src/scss/mixins/_links.scss +565 -308
- package/src/scss/mixins/_modals.scss +1 -26
- package/src/scss/mixins/_popovers.scss +1 -26
- package/src/scss/mixins/_sidebar.scss +3 -28
- package/src/scss/mixins/_slideout.scss +1 -26
- package/src/scss/mixins/_toggle-switch.scss +6 -31
- package/src/scss/variables/_dropdowns.scss +18 -6
- package/src/scss/variables/_globals.scss +8 -0
- package/src/scss/variables/_multi-step-nav.scss +2 -2
|
@@ -250,31 +250,6 @@
|
|
|
250
250
|
|
|
251
251
|
$breakpoint-down: map-get($map, breakpoint-down);
|
|
252
252
|
|
|
253
|
-
$_enable-focus-visible: if(
|
|
254
|
-
variable-exists(enable-focus-visible),
|
|
255
|
-
$enable-focus-visible,
|
|
256
|
-
if(
|
|
257
|
-
variable-exists(cadmin-enable-focus-visible),
|
|
258
|
-
$cadmin-enable-focus-visible,
|
|
259
|
-
true
|
|
260
|
-
)
|
|
261
|
-
);
|
|
262
|
-
|
|
263
|
-
$_c-prefers-focus-selector: if(
|
|
264
|
-
$_enable-focus-visible,
|
|
265
|
-
'.c-prefers-focus &:focus',
|
|
266
|
-
''
|
|
267
|
-
);
|
|
268
|
-
|
|
269
|
-
@if (variable-exists(cadmin-enable-focus-visible)) and
|
|
270
|
-
($_enable-focus-visible)
|
|
271
|
-
{
|
|
272
|
-
$_c-prefers-focus-selector: clay-insert-before(
|
|
273
|
-
'.cadmin',
|
|
274
|
-
'.c-prefers-focus '
|
|
275
|
-
);
|
|
276
|
-
}
|
|
277
|
-
|
|
278
253
|
$base: map-merge(
|
|
279
254
|
$map,
|
|
280
255
|
(
|
|
@@ -619,7 +594,9 @@
|
|
|
619
594
|
);
|
|
620
595
|
|
|
621
596
|
@if ($enabled) {
|
|
622
|
-
@
|
|
597
|
+
@if (length($base) != 0) {
|
|
598
|
+
@include clay-css($base);
|
|
599
|
+
}
|
|
623
600
|
|
|
624
601
|
@if ($breakpoint-down) {
|
|
625
602
|
@include media-breakpoint-down($breakpoint-down) {
|
|
@@ -633,314 +610,567 @@
|
|
|
633
610
|
}
|
|
634
611
|
}
|
|
635
612
|
|
|
636
|
-
|
|
637
|
-
@include clay-css(map-get($map, before));
|
|
638
|
-
}
|
|
639
|
-
|
|
640
|
-
&::after {
|
|
641
|
-
@include clay-css(map-get($map, after));
|
|
642
|
-
}
|
|
643
|
-
|
|
644
|
-
&:link {
|
|
645
|
-
$_link: setter(map-get($map, link), ());
|
|
646
|
-
|
|
647
|
-
@include clay-css($_link);
|
|
613
|
+
$_before: map-get($map, before);
|
|
648
614
|
|
|
615
|
+
@if ($_before) {
|
|
649
616
|
&::before {
|
|
650
|
-
@include clay-css(
|
|
617
|
+
@include clay-css($_before);
|
|
651
618
|
}
|
|
619
|
+
}
|
|
652
620
|
|
|
621
|
+
$_after: map-get($map, after);
|
|
622
|
+
|
|
623
|
+
@if ($_after) {
|
|
653
624
|
&::after {
|
|
654
|
-
@include clay-css(
|
|
625
|
+
@include clay-css($_after);
|
|
655
626
|
}
|
|
627
|
+
}
|
|
656
628
|
|
|
657
|
-
|
|
658
|
-
@include clay-css(map-get($_link, inline-item));
|
|
659
|
-
}
|
|
629
|
+
$_link: map-get($map, link);
|
|
660
630
|
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
631
|
+
@if ($_link) {
|
|
632
|
+
&:link {
|
|
633
|
+
@include clay-css($_link);
|
|
664
634
|
|
|
665
|
-
|
|
666
|
-
@include clay-css(map-get($_link, inline-item-middle));
|
|
667
|
-
}
|
|
635
|
+
$_before: map-get($_link, before);
|
|
668
636
|
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
637
|
+
@if ($_before) {
|
|
638
|
+
&::before {
|
|
639
|
+
@include clay-css($_before);
|
|
640
|
+
}
|
|
641
|
+
}
|
|
673
642
|
|
|
674
|
-
|
|
675
|
-
$_visited: setter(map-get($map, visited), ());
|
|
643
|
+
$_after: map-get($_link, after);
|
|
676
644
|
|
|
677
|
-
|
|
645
|
+
@if ($_after) {
|
|
646
|
+
&::after {
|
|
647
|
+
@include clay-css($_after);
|
|
648
|
+
}
|
|
649
|
+
}
|
|
678
650
|
|
|
679
|
-
|
|
680
|
-
@include clay-css(map-get($_visited, before));
|
|
681
|
-
}
|
|
651
|
+
$_inline-item: map-get($_link, inline-item);
|
|
682
652
|
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
653
|
+
@if ($_inline-item) {
|
|
654
|
+
.inline-item {
|
|
655
|
+
@include clay-css($_inline-item);
|
|
656
|
+
}
|
|
657
|
+
}
|
|
686
658
|
|
|
687
|
-
|
|
688
|
-
@include clay-css(map-get($_visited, inline-item));
|
|
689
|
-
}
|
|
659
|
+
$_inline-item-before: map-get($_link, inline-item-before);
|
|
690
660
|
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
661
|
+
@if ($_inline-item-before) {
|
|
662
|
+
.inline-item-before {
|
|
663
|
+
@include clay-css($_inline-item-before);
|
|
664
|
+
}
|
|
665
|
+
}
|
|
694
666
|
|
|
695
|
-
|
|
696
|
-
@include clay-css(map-get($_visited, inline-item-middle));
|
|
697
|
-
}
|
|
667
|
+
$_inline-item-middle: map-get($_link, inline-item-middle);
|
|
698
668
|
|
|
699
|
-
|
|
700
|
-
|
|
669
|
+
@if ($_inline-item-middle) {
|
|
670
|
+
.inline-item-middle {
|
|
671
|
+
@include clay-css($_inline-item-middle);
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
$_inline-item-after: map-get($_link, inline-item-after);
|
|
676
|
+
|
|
677
|
+
@if ($_inline-item-after) {
|
|
678
|
+
.inline-item-after {
|
|
679
|
+
@include clay-css($_inline-item-after);
|
|
680
|
+
}
|
|
681
|
+
}
|
|
701
682
|
}
|
|
702
683
|
}
|
|
703
684
|
|
|
704
|
-
|
|
705
|
-
@include clay-css($hover);
|
|
685
|
+
$_visited: map-get($map, visited);
|
|
706
686
|
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
687
|
+
@if ($_visited) {
|
|
688
|
+
&:visited {
|
|
689
|
+
@include clay-css($_visited);
|
|
710
690
|
|
|
711
|
-
|
|
712
|
-
@include clay-css(map-deep-get($map, hover, after));
|
|
713
|
-
}
|
|
691
|
+
$_before: map-get($_visited, before);
|
|
714
692
|
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
693
|
+
@if ($_before) {
|
|
694
|
+
&::before {
|
|
695
|
+
@include clay-css($_before);
|
|
696
|
+
}
|
|
697
|
+
}
|
|
718
698
|
|
|
719
|
-
|
|
720
|
-
@include clay-css(map-get($hover, inline-item-before));
|
|
721
|
-
}
|
|
699
|
+
$_after: map-get($_visited, after);
|
|
722
700
|
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
701
|
+
@if ($_after) {
|
|
702
|
+
&::after {
|
|
703
|
+
@include clay-css($_after);
|
|
704
|
+
}
|
|
705
|
+
}
|
|
726
706
|
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
707
|
+
$_inline-item: map-get($_visited, inline-item);
|
|
708
|
+
|
|
709
|
+
@if ($_inline-item) {
|
|
710
|
+
.inline-item {
|
|
711
|
+
@include clay-css($_inline-item);
|
|
712
|
+
}
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
$_inline-item-before: map-get(
|
|
716
|
+
$_visited,
|
|
717
|
+
inline-item-before
|
|
718
|
+
);
|
|
719
|
+
|
|
720
|
+
@if ($_inline-item-before) {
|
|
721
|
+
.inline-item-before {
|
|
722
|
+
@include clay-css($_inline-item-before);
|
|
723
|
+
}
|
|
724
|
+
}
|
|
731
725
|
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
@include clay-css($focus);
|
|
726
|
+
$_inline-item-middle: map-get(
|
|
727
|
+
$_visited,
|
|
728
|
+
inline-item-middle
|
|
729
|
+
);
|
|
737
730
|
|
|
738
|
-
|
|
739
|
-
|
|
731
|
+
@if ($_inline-item-middle) {
|
|
732
|
+
.inline-item-middle {
|
|
733
|
+
@include clay-css($_inline-item-middle);
|
|
734
|
+
}
|
|
740
735
|
}
|
|
741
736
|
|
|
742
|
-
|
|
743
|
-
|
|
737
|
+
$_inline-item-after: map-get($_visited, inline-item-after);
|
|
738
|
+
|
|
739
|
+
@if ($_inline-item-after) {
|
|
740
|
+
.inline-item-after {
|
|
741
|
+
@include clay-css($_inline-item-after);
|
|
742
|
+
}
|
|
744
743
|
}
|
|
744
|
+
}
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
@if (length($hover) != 0) {
|
|
748
|
+
&:hover {
|
|
749
|
+
@include clay-css($hover);
|
|
745
750
|
|
|
746
|
-
|
|
747
|
-
@include clay-css(map-deep-get($map, focus, hover));
|
|
751
|
+
$_before: map-get($hover, before);
|
|
748
752
|
|
|
753
|
+
@if ($_before) {
|
|
749
754
|
&::before {
|
|
750
|
-
@include clay-css(
|
|
751
|
-
map-deep-get($map, focus, hover, before)
|
|
752
|
-
);
|
|
755
|
+
@include clay-css($_before);
|
|
753
756
|
}
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
$_after: map-get($hover, after);
|
|
754
760
|
|
|
761
|
+
@if ($_after) {
|
|
755
762
|
&::after {
|
|
756
|
-
@include clay-css(
|
|
757
|
-
map-deep-get($map, focus, hover, after)
|
|
758
|
-
);
|
|
763
|
+
@include clay-css($_after);
|
|
759
764
|
}
|
|
760
765
|
}
|
|
761
766
|
|
|
762
|
-
|
|
763
|
-
|
|
767
|
+
$_inline-item: map-get($hover, inline-item);
|
|
768
|
+
|
|
769
|
+
@if ($_inline-item) {
|
|
770
|
+
.inline-item {
|
|
771
|
+
@include clay-css($_inline-item);
|
|
772
|
+
}
|
|
764
773
|
}
|
|
765
774
|
|
|
766
|
-
|
|
767
|
-
|
|
775
|
+
$_inline-item-before: map-get($hover, inline-item-before);
|
|
776
|
+
|
|
777
|
+
@if ($_inline-item-before) {
|
|
778
|
+
.inline-item-before {
|
|
779
|
+
@include clay-css($_inline-item-before);
|
|
780
|
+
}
|
|
768
781
|
}
|
|
769
782
|
|
|
770
|
-
|
|
771
|
-
|
|
783
|
+
$_inline-item-middle: map-get($hover, inline-item-middle);
|
|
784
|
+
|
|
785
|
+
@if ($_inline-item-middle) {
|
|
786
|
+
.inline-item-middle {
|
|
787
|
+
@include clay-css($_inline-item-middle);
|
|
788
|
+
}
|
|
772
789
|
}
|
|
773
790
|
|
|
774
|
-
|
|
775
|
-
|
|
791
|
+
$_inline-item-after: map-get($hover, inline-item-after);
|
|
792
|
+
|
|
793
|
+
@if ($_inline-item-after) {
|
|
794
|
+
.inline-item-after {
|
|
795
|
+
@include clay-css($_inline-item-after);
|
|
796
|
+
}
|
|
776
797
|
}
|
|
777
798
|
}
|
|
778
799
|
}
|
|
779
800
|
|
|
780
|
-
|
|
781
|
-
@
|
|
801
|
+
@if (length($focus) != 0) {
|
|
802
|
+
@at-root {
|
|
803
|
+
&.focus,
|
|
804
|
+
#{$focus-visible-selector},
|
|
805
|
+
#{if($c-prefers-focus-selector,$c-prefers-focus-selector,clay-insert-before('.cadmin', '.c-prefers-focus ', '&:focus'))} {
|
|
806
|
+
@include clay-css($focus);
|
|
782
807
|
|
|
783
|
-
|
|
784
|
-
@include clay-css(map-deep-get($map, active, before));
|
|
785
|
-
}
|
|
808
|
+
$_before: map-get($focus, before);
|
|
786
809
|
|
|
787
|
-
|
|
788
|
-
|
|
810
|
+
@if ($_before) {
|
|
811
|
+
&::before {
|
|
812
|
+
@include clay-css($_before);
|
|
813
|
+
}
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
$_after: map-get($focus, after);
|
|
817
|
+
|
|
818
|
+
@if ($_after) {
|
|
819
|
+
&::after {
|
|
820
|
+
@include clay-css($_after);
|
|
821
|
+
}
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
$_hover: map-get($focus, hover);
|
|
825
|
+
|
|
826
|
+
@if ($_hover) {
|
|
827
|
+
&:hover {
|
|
828
|
+
@include clay-css($_hover);
|
|
829
|
+
|
|
830
|
+
$_before: map-get($_hover, before);
|
|
831
|
+
|
|
832
|
+
@if ($_before) {
|
|
833
|
+
&::before {
|
|
834
|
+
@include clay-css($_before);
|
|
835
|
+
}
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
$_after: map-get($_hover, after);
|
|
839
|
+
|
|
840
|
+
@if ($_after) {
|
|
841
|
+
&::after {
|
|
842
|
+
@include clay-css($_after);
|
|
843
|
+
}
|
|
844
|
+
}
|
|
845
|
+
}
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
$_inline-item: map-get($focus, inline-item);
|
|
849
|
+
|
|
850
|
+
@if ($_inline-item) {
|
|
851
|
+
.inline-item {
|
|
852
|
+
@include clay-css($_inline-item);
|
|
853
|
+
}
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
$_inline-item-before: map-get(
|
|
857
|
+
$focus,
|
|
858
|
+
inline-item-before
|
|
859
|
+
);
|
|
860
|
+
|
|
861
|
+
@if ($_inline-item-before) {
|
|
862
|
+
.inline-item-before {
|
|
863
|
+
@include clay-css($_inline-item-before);
|
|
864
|
+
}
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
$_inline-item-middle: map-get(
|
|
868
|
+
$focus,
|
|
869
|
+
inline-item-middle
|
|
870
|
+
);
|
|
871
|
+
|
|
872
|
+
@if ($_inline-item-middle) {
|
|
873
|
+
.inline-item-middle {
|
|
874
|
+
@include clay-css($_inline-item-middle);
|
|
875
|
+
}
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
$_inline-item-after: map-get($focus, inline-item-after);
|
|
879
|
+
|
|
880
|
+
@if ($_inline-item-after) {
|
|
881
|
+
.inline-item-after {
|
|
882
|
+
@include clay-css($_inline-item-after);
|
|
883
|
+
}
|
|
884
|
+
}
|
|
885
|
+
}
|
|
789
886
|
}
|
|
887
|
+
}
|
|
790
888
|
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
889
|
+
@if (length($active) != 0) {
|
|
890
|
+
&:active {
|
|
891
|
+
@include clay-css($active);
|
|
892
|
+
|
|
893
|
+
$_before: map-get($active, before);
|
|
795
894
|
|
|
895
|
+
@if ($_before) {
|
|
796
896
|
&::before {
|
|
797
|
-
@include clay-css(
|
|
798
|
-
map-deep-get($map, active, focus, before)
|
|
799
|
-
);
|
|
897
|
+
@include clay-css($_before);
|
|
800
898
|
}
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
$_after: map-get($active, after);
|
|
801
902
|
|
|
903
|
+
@if ($_after) {
|
|
802
904
|
&::after {
|
|
803
|
-
@include clay-css(
|
|
804
|
-
map-deep-get($map, active, focus, after)
|
|
805
|
-
);
|
|
905
|
+
@include clay-css($_after);
|
|
806
906
|
}
|
|
807
907
|
}
|
|
808
|
-
}
|
|
809
908
|
|
|
810
|
-
|
|
811
|
-
@include clay-css(map-get($active, inline-item));
|
|
812
|
-
}
|
|
909
|
+
$_focus: map-get($active, focus);
|
|
813
910
|
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
911
|
+
@if ($_focus) {
|
|
912
|
+
@at-root {
|
|
913
|
+
#{$focus-visible-selector},
|
|
914
|
+
#{if($c-prefers-focus-selector,$c-prefers-focus-selector,clay-insert-before('.cadmin', '.c-prefers-focus ', '&:focus'))} {
|
|
915
|
+
@include clay-css($_focus);
|
|
817
916
|
|
|
818
|
-
|
|
819
|
-
@include clay-css(map-get($active, inline-item-middle));
|
|
820
|
-
}
|
|
917
|
+
$_before: map-get($_focus, before);
|
|
821
918
|
|
|
822
|
-
|
|
823
|
-
|
|
919
|
+
@if ($_before) {
|
|
920
|
+
&::before {
|
|
921
|
+
@include clay-css($_before);
|
|
922
|
+
}
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
$_after: map-get($_focus, after);
|
|
926
|
+
|
|
927
|
+
@if ($_after) {
|
|
928
|
+
&::after {
|
|
929
|
+
@include clay-css($_after);
|
|
930
|
+
}
|
|
931
|
+
}
|
|
932
|
+
}
|
|
933
|
+
}
|
|
934
|
+
}
|
|
935
|
+
|
|
936
|
+
$_inline-item: map-get($active, inline-item);
|
|
937
|
+
|
|
938
|
+
@if ($_inline-item) {
|
|
939
|
+
.inline-item {
|
|
940
|
+
@include clay-css($_inline-item);
|
|
941
|
+
}
|
|
942
|
+
}
|
|
943
|
+
|
|
944
|
+
$_inline-item-before: map-get($active, inline-item-before);
|
|
945
|
+
|
|
946
|
+
@if ($_inline-item-before) {
|
|
947
|
+
.inline-item-before {
|
|
948
|
+
@include clay-css($_inline-item-before);
|
|
949
|
+
}
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
$_inline-item-middle: map-get($active, inline-item-middle);
|
|
953
|
+
|
|
954
|
+
@if ($_inline-item-middle) {
|
|
955
|
+
.inline-item-middle {
|
|
956
|
+
@include clay-css($_inline-item-middle);
|
|
957
|
+
}
|
|
958
|
+
}
|
|
959
|
+
|
|
960
|
+
$_inline-item-after: map-get($active, inline-item-after);
|
|
961
|
+
|
|
962
|
+
@if ($_inline-item-after) {
|
|
963
|
+
.inline-item-after {
|
|
964
|
+
@include clay-css($_inline-item-after);
|
|
965
|
+
}
|
|
966
|
+
}
|
|
824
967
|
}
|
|
825
968
|
}
|
|
826
969
|
|
|
827
|
-
|
|
828
|
-
|
|
970
|
+
@if (length($active-class) != 0) {
|
|
971
|
+
&.active {
|
|
972
|
+
@include clay-css($active-class);
|
|
829
973
|
|
|
830
|
-
|
|
831
|
-
@include clay-css(map-deep-get($map, active-class, before));
|
|
832
|
-
}
|
|
974
|
+
$_before: map-get($active-class, before);
|
|
833
975
|
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
976
|
+
@if ($_before) {
|
|
977
|
+
&::before {
|
|
978
|
+
@include clay-css($_before);
|
|
979
|
+
}
|
|
980
|
+
}
|
|
837
981
|
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
982
|
+
$_after: map-get($active-class, after);
|
|
983
|
+
|
|
984
|
+
@if ($_after) {
|
|
985
|
+
&::after {
|
|
986
|
+
@include clay-css($_after);
|
|
987
|
+
}
|
|
844
988
|
}
|
|
845
|
-
}
|
|
846
989
|
|
|
847
|
-
|
|
848
|
-
@include clay-css(map-get($active-class, inline-item));
|
|
849
|
-
}
|
|
990
|
+
$_focus: map-get($active-class, focus);
|
|
850
991
|
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
992
|
+
@if ($_focus) {
|
|
993
|
+
@at-root {
|
|
994
|
+
#{$focus-visible-selector},
|
|
995
|
+
#{if($c-prefers-focus-selector,$c-prefers-focus-selector,clay-insert-before('.cadmin', '.c-prefers-focus ', '&:focus'))} {
|
|
996
|
+
@include clay-css($_focus);
|
|
997
|
+
}
|
|
998
|
+
}
|
|
999
|
+
}
|
|
856
1000
|
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
1001
|
+
$_inline-item: map-get($active-class, inline-item);
|
|
1002
|
+
|
|
1003
|
+
@if ($_inline-item) {
|
|
1004
|
+
.inline-item {
|
|
1005
|
+
@include clay-css($_inline-item);
|
|
1006
|
+
}
|
|
1007
|
+
}
|
|
1008
|
+
|
|
1009
|
+
$_inline-item-before: map-get(
|
|
1010
|
+
$active-class,
|
|
1011
|
+
inline-item-before
|
|
860
1012
|
);
|
|
861
|
-
}
|
|
862
1013
|
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
1014
|
+
@if ($_inline-item-before) {
|
|
1015
|
+
.inline-item-before {
|
|
1016
|
+
@include clay-css($_inline-item-before);
|
|
1017
|
+
}
|
|
1018
|
+
}
|
|
1019
|
+
|
|
1020
|
+
$_inline-item-middle: map-get(
|
|
1021
|
+
$active-class,
|
|
1022
|
+
inline-item-middle
|
|
866
1023
|
);
|
|
867
|
-
}
|
|
868
|
-
}
|
|
869
1024
|
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
1025
|
+
@if ($_inline-item-middle) {
|
|
1026
|
+
.inline-item-middle {
|
|
1027
|
+
@include clay-css($_inline-item-middle);
|
|
1028
|
+
}
|
|
1029
|
+
}
|
|
873
1030
|
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
1031
|
+
$_inline-item-after: map-get(
|
|
1032
|
+
$active-class,
|
|
1033
|
+
inline-item-after
|
|
1034
|
+
);
|
|
877
1035
|
|
|
878
|
-
|
|
879
|
-
|
|
1036
|
+
@if ($_inline-item-after) {
|
|
1037
|
+
.inline-item-after {
|
|
1038
|
+
@include clay-css($_inline-item-after);
|
|
1039
|
+
}
|
|
1040
|
+
}
|
|
880
1041
|
}
|
|
1042
|
+
}
|
|
881
1043
|
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
1044
|
+
@if (length($disabled) != 0) {
|
|
1045
|
+
&:disabled,
|
|
1046
|
+
&.disabled {
|
|
1047
|
+
@include clay-css($disabled);
|
|
886
1048
|
|
|
1049
|
+
$_before: map-get($disabled, before);
|
|
1050
|
+
|
|
1051
|
+
@if ($_before) {
|
|
887
1052
|
&::before {
|
|
888
|
-
@include clay-css(
|
|
889
|
-
map-deep-get($map, disabled, focus, before)
|
|
890
|
-
);
|
|
1053
|
+
@include clay-css($_before);
|
|
891
1054
|
}
|
|
1055
|
+
}
|
|
892
1056
|
|
|
1057
|
+
$_after: map-get($disabled, after);
|
|
1058
|
+
|
|
1059
|
+
@if ($_after) {
|
|
893
1060
|
&::after {
|
|
894
|
-
@include clay-css(
|
|
895
|
-
map-deep-get($map, disabled, focus, after)
|
|
896
|
-
);
|
|
1061
|
+
@include clay-css($_after);
|
|
897
1062
|
}
|
|
898
1063
|
}
|
|
899
|
-
}
|
|
900
1064
|
|
|
901
|
-
|
|
902
|
-
@include clay-css($disabled-active);
|
|
1065
|
+
$_focus: map-get($disabled, focus);
|
|
903
1066
|
|
|
904
|
-
|
|
905
|
-
@
|
|
906
|
-
|
|
907
|
-
|
|
1067
|
+
@if ($_focus) {
|
|
1068
|
+
@at-root {
|
|
1069
|
+
#{$focus-visible-selector},
|
|
1070
|
+
#{if($c-prefers-focus-selector,$c-prefers-focus-selector,clay-insert-before('.cadmin', '.c-prefers-focus ', '&:focus'))} {
|
|
1071
|
+
@include clay-css($_focus);
|
|
1072
|
+
|
|
1073
|
+
$_before: map-get($_focus, before);
|
|
1074
|
+
|
|
1075
|
+
@if ($_before) {
|
|
1076
|
+
&::before {
|
|
1077
|
+
@include clay-css($_before);
|
|
1078
|
+
}
|
|
1079
|
+
}
|
|
1080
|
+
|
|
1081
|
+
$_after: map-get($_focus, after);
|
|
1082
|
+
|
|
1083
|
+
@if ($_after) {
|
|
1084
|
+
&::after {
|
|
1085
|
+
@include clay-css($_after);
|
|
1086
|
+
}
|
|
1087
|
+
}
|
|
1088
|
+
}
|
|
1089
|
+
}
|
|
908
1090
|
}
|
|
909
1091
|
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
1092
|
+
@if (length($disabled-active) != 0) {
|
|
1093
|
+
&:active {
|
|
1094
|
+
@include clay-css($disabled-active);
|
|
1095
|
+
|
|
1096
|
+
$_before: map-get($disabled-active, before);
|
|
1097
|
+
|
|
1098
|
+
@if ($_before) {
|
|
1099
|
+
&::before {
|
|
1100
|
+
@include clay-css($_before);
|
|
1101
|
+
}
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1104
|
+
$_after: map-get($disabled-active, after);
|
|
1105
|
+
|
|
1106
|
+
@if ($_after) {
|
|
1107
|
+
&::after {
|
|
1108
|
+
@include clay-css($_after);
|
|
1109
|
+
}
|
|
1110
|
+
}
|
|
1111
|
+
}
|
|
914
1112
|
}
|
|
915
|
-
}
|
|
916
1113
|
|
|
917
|
-
|
|
918
|
-
@include clay-css(map-get($disabled, inline-item));
|
|
919
|
-
}
|
|
1114
|
+
$_inline-item: map-get($disabled, inline-item);
|
|
920
1115
|
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
1116
|
+
@if ($_inline-item) {
|
|
1117
|
+
.inline-item {
|
|
1118
|
+
@include clay-css($_inline-item);
|
|
1119
|
+
}
|
|
1120
|
+
}
|
|
924
1121
|
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
1122
|
+
$_inline-item-before: map-get(
|
|
1123
|
+
$disabled,
|
|
1124
|
+
inline-item-before
|
|
1125
|
+
);
|
|
928
1126
|
|
|
929
|
-
|
|
930
|
-
|
|
1127
|
+
@if ($_inline-item-before) {
|
|
1128
|
+
.inline-item-before {
|
|
1129
|
+
@include clay-css($_inline-item-before);
|
|
1130
|
+
}
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
$_inline-item-middle: map-get(
|
|
1134
|
+
$disabled,
|
|
1135
|
+
inline-item-middle
|
|
1136
|
+
);
|
|
1137
|
+
|
|
1138
|
+
@if ($_inline-item-middle) {
|
|
1139
|
+
.inline-item-middle {
|
|
1140
|
+
@include clay-css($_inline-item-middle);
|
|
1141
|
+
}
|
|
1142
|
+
}
|
|
1143
|
+
|
|
1144
|
+
$_inline-item-after: map-get($disabled, inline-item-after);
|
|
1145
|
+
|
|
1146
|
+
@if ($_inline-item-after) {
|
|
1147
|
+
.inline-item-after {
|
|
1148
|
+
@include clay-css($_inline-item-after);
|
|
1149
|
+
}
|
|
1150
|
+
}
|
|
931
1151
|
}
|
|
932
1152
|
}
|
|
933
1153
|
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
1154
|
+
@if (length($show) != 0) {
|
|
1155
|
+
&[aria-expanded='true'],
|
|
1156
|
+
&.show {
|
|
1157
|
+
@include clay-css($show);
|
|
937
1158
|
|
|
938
|
-
|
|
939
|
-
@include clay-css(map-deep-get($map, show, before));
|
|
940
|
-
}
|
|
1159
|
+
$_before: map-get($show, before);
|
|
941
1160
|
|
|
942
|
-
|
|
943
|
-
|
|
1161
|
+
@if ($_before) {
|
|
1162
|
+
&::before {
|
|
1163
|
+
@include clay-css($_before);
|
|
1164
|
+
}
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1167
|
+
$_after: map-get($show, after);
|
|
1168
|
+
|
|
1169
|
+
@if ($_after) {
|
|
1170
|
+
&::after {
|
|
1171
|
+
@include clay-css($_after);
|
|
1172
|
+
}
|
|
1173
|
+
}
|
|
944
1174
|
}
|
|
945
1175
|
}
|
|
946
1176
|
|
|
@@ -950,42 +1180,65 @@
|
|
|
950
1180
|
}
|
|
951
1181
|
}
|
|
952
1182
|
|
|
953
|
-
|
|
954
|
-
|
|
1183
|
+
@if (length($lexicon-icon) != 0) {
|
|
1184
|
+
.lexicon-icon {
|
|
1185
|
+
@include clay-css($lexicon-icon);
|
|
1186
|
+
}
|
|
955
1187
|
}
|
|
956
1188
|
|
|
957
|
-
|
|
958
|
-
|
|
1189
|
+
@if (length($inline-item) != 0) {
|
|
1190
|
+
.inline-item {
|
|
1191
|
+
@include clay-css($inline-item);
|
|
959
1192
|
|
|
960
|
-
|
|
961
|
-
|
|
1193
|
+
$_lexicon-icon: map-get($inline-item, lexicon-icon);
|
|
1194
|
+
|
|
1195
|
+
@if ($_lexicon-icon) {
|
|
1196
|
+
.lexicon-icon {
|
|
1197
|
+
@include clay-css($_lexicon-icon);
|
|
1198
|
+
}
|
|
1199
|
+
}
|
|
962
1200
|
}
|
|
963
1201
|
}
|
|
964
1202
|
|
|
965
|
-
|
|
966
|
-
|
|
1203
|
+
$_inline-item-before: map-get($map, inline-item-before);
|
|
1204
|
+
|
|
1205
|
+
@if ($_inline-item-before) {
|
|
1206
|
+
.inline-item-before {
|
|
1207
|
+
@include clay-css($_inline-item-before);
|
|
1208
|
+
}
|
|
967
1209
|
}
|
|
968
1210
|
|
|
969
|
-
|
|
970
|
-
@include clay-css(map-get($map, inline-item-middle));
|
|
1211
|
+
$_inline-item-middle: map-get($map, inline-item-middle);
|
|
971
1212
|
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
1213
|
+
@if ($_inline-item-middle) {
|
|
1214
|
+
.inline-item-middle {
|
|
1215
|
+
@include clay-css($_inline-item-middle);
|
|
1216
|
+
|
|
1217
|
+
$_inline-item-middle: map-get(
|
|
1218
|
+
$_inline-item-middle,
|
|
1219
|
+
inline-item-middle
|
|
979
1220
|
);
|
|
1221
|
+
|
|
1222
|
+
@if ($_inline-item-middle) {
|
|
1223
|
+
+ .inline-item-middle {
|
|
1224
|
+
@include clay-css($_inline-item-middle);
|
|
1225
|
+
}
|
|
1226
|
+
}
|
|
980
1227
|
}
|
|
981
1228
|
}
|
|
982
1229
|
|
|
983
|
-
|
|
984
|
-
|
|
1230
|
+
$_inline-item-after: map-get($map, inline-item-after);
|
|
1231
|
+
|
|
1232
|
+
@if ($_inline-item-after) {
|
|
1233
|
+
.inline-item-after {
|
|
1234
|
+
@include clay-css($_inline-item-after);
|
|
1235
|
+
}
|
|
985
1236
|
}
|
|
986
1237
|
|
|
987
|
-
|
|
988
|
-
|
|
1238
|
+
@if (length($section) != 0) {
|
|
1239
|
+
.btn-section {
|
|
1240
|
+
@include clay-css($section);
|
|
1241
|
+
}
|
|
989
1242
|
}
|
|
990
1243
|
|
|
991
1244
|
.loading-animation {
|