@clayui/css 3.127.0 → 3.130.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 +254 -72
- package/lib/css/atlas.css.map +1 -1
- package/lib/css/base.css +205 -94
- package/lib/css/base.css.map +1 -1
- package/lib/css/cadmin.css +238 -74
- package/lib/css/cadmin.css.map +1 -1
- package/lib/images/icons/icons.svg +1 -1
- package/lib/images/icons/send.svg +9 -0
- package/lib/images/icons/speed.svg +10 -0
- package/lib/images/icons/voice.svg +9 -0
- package/package.json +2 -2
- package/src/images/icons/send.svg +9 -0
- package/src/images/icons/speed.svg +10 -0
- package/src/images/icons/voice.svg +9 -0
- package/src/scss/_license-text.scss +1 -1
- package/src/scss/atlas/variables/_forms.scss +1 -0
- package/src/scss/atlas/variables/_globals.scss +2 -0
- package/src/scss/cadmin/components/_dropdowns.scss +10 -0
- package/src/scss/cadmin/components/_forms.scss +16 -14
- package/src/scss/cadmin/components/_grid.scss +3 -1
- package/src/scss/cadmin/components/_input-groups.scss +12 -1
- package/src/scss/cadmin/components/_type.scss +5 -1
- package/src/scss/cadmin/components/_utilities-functional-important.scss +11 -0
- package/src/scss/cadmin/variables/_custom-forms.scss +1 -1
- package/src/scss/cadmin/variables/_dropdowns.scss +3 -0
- package/src/scss/cadmin/variables/_forms.scss +15 -0
- package/src/scss/cadmin/variables/_globals.scss +2 -0
- package/src/scss/cadmin/variables/_utilities.scss +16 -0
- package/src/scss/components/_dropdowns.scss +10 -0
- package/src/scss/components/_forms.scss +16 -14
- package/src/scss/components/_grid.scss +3 -1
- package/src/scss/components/_input-groups.scss +12 -1
- package/src/scss/components/_type.scss +5 -1
- package/src/scss/components/_utilities-functional-important.scss +8 -0
- package/src/scss/functions/_lx-icons-generated.scss +6 -0
- package/src/scss/mixins/_alerts.scss +104 -48
- package/src/scss/mixins/_badges.scss +75 -33
- package/src/scss/mixins/_buttons.scss +503 -225
- package/src/scss/mixins/_cards.scss +619 -277
- package/src/scss/mixins/_close.scss +42 -24
- package/src/scss/mixins/_custom-forms.scss +864 -581
- package/src/scss/mixins/_dropdown-menu.scss +466 -223
- package/src/scss/mixins/_forms.scss +0 -13
- package/src/scss/mixins/_links.scss +564 -282
- package/src/scss/variables/_custom-forms.scss +1 -1
- package/src/scss/variables/_dropdowns.scss +3 -0
- package/src/scss/variables/_forms.scss +10 -0
- package/src/scss/variables/_globals.scss +2 -0
- package/src/scss/variables/_utilities.scss +16 -0
|
@@ -79,7 +79,9 @@
|
|
|
79
79
|
);
|
|
80
80
|
|
|
81
81
|
@if ($enabled) {
|
|
82
|
-
@
|
|
82
|
+
@if (length($base) != 0) {
|
|
83
|
+
@include clay-css($base);
|
|
84
|
+
}
|
|
83
85
|
|
|
84
86
|
@if ($breakpoint-down) {
|
|
85
87
|
@include media-breakpoint-down($breakpoint-down) {
|
|
@@ -87,124 +89,209 @@
|
|
|
87
89
|
}
|
|
88
90
|
}
|
|
89
91
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
+
$_before: map-get($map, before);
|
|
93
|
+
|
|
94
|
+
@if ($_before) {
|
|
95
|
+
&::before {
|
|
96
|
+
@include clay-css($_before);
|
|
97
|
+
}
|
|
92
98
|
}
|
|
93
99
|
|
|
94
|
-
|
|
95
|
-
|
|
100
|
+
$_after: map-get($map, after);
|
|
101
|
+
|
|
102
|
+
@if ($_after) {
|
|
103
|
+
&::after {
|
|
104
|
+
@include clay-css($_after);
|
|
105
|
+
}
|
|
96
106
|
}
|
|
97
107
|
|
|
98
|
-
|
|
99
|
-
|
|
108
|
+
$_show: map-get($map, show);
|
|
109
|
+
|
|
110
|
+
@if ($_show) {
|
|
111
|
+
&.show {
|
|
112
|
+
@include clay-css($_show);
|
|
113
|
+
}
|
|
100
114
|
}
|
|
101
115
|
|
|
102
|
-
|
|
103
|
-
|
|
116
|
+
$_dropdown-header: map-get($map, dropdown-header);
|
|
117
|
+
|
|
118
|
+
@if ($_dropdown-header) {
|
|
119
|
+
.dropdown-header {
|
|
120
|
+
@include clay-css($_dropdown-header);
|
|
121
|
+
}
|
|
104
122
|
}
|
|
105
123
|
|
|
106
|
-
|
|
107
|
-
|
|
124
|
+
$_dropdown-subheader: map-get($map, dropdown-subheader);
|
|
125
|
+
|
|
126
|
+
@if ($_dropdown-subheader) {
|
|
127
|
+
.dropdown-subheader {
|
|
128
|
+
@include clay-css($_dropdown-subheader);
|
|
129
|
+
}
|
|
108
130
|
}
|
|
109
131
|
|
|
110
|
-
|
|
111
|
-
|
|
132
|
+
$_dropdown-section: map-get($map, dropdown-section);
|
|
133
|
+
|
|
134
|
+
@if ($_dropdown-section) {
|
|
135
|
+
.dropdown-section {
|
|
136
|
+
@include clay-css($_dropdown-section);
|
|
137
|
+
}
|
|
112
138
|
}
|
|
113
139
|
|
|
114
|
-
|
|
115
|
-
|
|
140
|
+
$_dropdown-caption: map-get($map, dropdown-caption);
|
|
141
|
+
|
|
142
|
+
@if ($_dropdown-caption) {
|
|
143
|
+
.dropdown-caption {
|
|
144
|
+
@include clay-css($_dropdown-caption);
|
|
145
|
+
}
|
|
116
146
|
}
|
|
117
147
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
148
|
+
$_dropdown-item: map-get($map, dropdown-item);
|
|
149
|
+
|
|
150
|
+
@if ($_dropdown-item) {
|
|
151
|
+
.dropdown-item {
|
|
152
|
+
@include clay-dropdown-item-variant($_dropdown-item);
|
|
153
|
+
}
|
|
122
154
|
}
|
|
123
155
|
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
156
|
+
$_dropdown-item-scroll: map-get($map, dropdown-item-scroll);
|
|
157
|
+
|
|
158
|
+
@if ($_dropdown-item-scroll) {
|
|
159
|
+
.dropdown-item-scroll {
|
|
160
|
+
@include clay-dropdown-item-variant($_dropdown-item-scroll);
|
|
161
|
+
}
|
|
128
162
|
}
|
|
129
163
|
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
164
|
+
$_dropdown-item-scroll-down: map-get(
|
|
165
|
+
$map,
|
|
166
|
+
dropdown-item-scroll-down
|
|
167
|
+
);
|
|
168
|
+
|
|
169
|
+
@if ($_dropdown-item-scroll-down) {
|
|
170
|
+
.dropdown-item-scroll-down {
|
|
171
|
+
@include clay-dropdown-item-variant(
|
|
172
|
+
$_dropdown-item-scroll-down
|
|
173
|
+
);
|
|
174
|
+
}
|
|
134
175
|
}
|
|
135
176
|
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
177
|
+
$_dropdown-item-scroll-up: map-get($map, dropdown-item-scroll-up);
|
|
178
|
+
|
|
179
|
+
@if ($_dropdown-item-scroll-up) {
|
|
180
|
+
.dropdown-item-scroll-up {
|
|
181
|
+
@include clay-dropdown-item-variant(
|
|
182
|
+
$_dropdown-item-scroll-up
|
|
183
|
+
);
|
|
184
|
+
}
|
|
140
185
|
}
|
|
141
186
|
|
|
142
|
-
|
|
143
|
-
|
|
187
|
+
$_dropdown-divider: map-get($map, dropdown-divider);
|
|
188
|
+
|
|
189
|
+
@if ($_dropdown-divider) {
|
|
190
|
+
.dropdown-divider {
|
|
191
|
+
@include clay-css($_dropdown-divider);
|
|
192
|
+
}
|
|
144
193
|
}
|
|
145
194
|
|
|
146
|
-
|
|
147
|
-
|
|
195
|
+
$_dropdown-ooter: map-get($map, dropdown-ooter);
|
|
196
|
+
|
|
197
|
+
@if ($_dropdown-ooter) {
|
|
198
|
+
.dropdown-footer {
|
|
199
|
+
@include clay-css($_dropdown-footer);
|
|
200
|
+
}
|
|
148
201
|
}
|
|
149
202
|
|
|
150
|
-
|
|
151
|
-
|
|
203
|
+
$_alert: map-get($map, alert);
|
|
204
|
+
|
|
205
|
+
@if ($_alert) {
|
|
206
|
+
.alert {
|
|
207
|
+
@include clay-alert-variant($_alert);
|
|
208
|
+
}
|
|
152
209
|
}
|
|
153
210
|
|
|
154
|
-
|
|
155
|
-
|
|
211
|
+
$_alert-fluid: map-get($map, alert-fluid);
|
|
212
|
+
|
|
213
|
+
@if ($_alert-fluid) {
|
|
214
|
+
.alert-fluid {
|
|
215
|
+
@include clay-alert-variant($_alert-fluid);
|
|
216
|
+
}
|
|
156
217
|
}
|
|
157
218
|
|
|
158
|
-
|
|
159
|
-
$
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
);
|
|
219
|
+
$_dropdown-menu-indicator-start: map-get(
|
|
220
|
+
$map,
|
|
221
|
+
dropdown-menu-indicator-start
|
|
222
|
+
);
|
|
163
223
|
|
|
164
|
-
|
|
224
|
+
@if ($_dropdown-menu-indicator-start) {
|
|
225
|
+
&.dropdown-menu-indicator-start {
|
|
226
|
+
@include clay-css($_dropdown-menu-indicator-start);
|
|
165
227
|
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
228
|
+
$_dropdown-item: map-get(
|
|
229
|
+
$_dropdown-menu-indicator-start,
|
|
230
|
+
dropdown-item
|
|
169
231
|
);
|
|
170
|
-
}
|
|
171
232
|
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
233
|
+
@if ($_dropdown-item) {
|
|
234
|
+
.dropdown-item {
|
|
235
|
+
@include clay-dropdown-item-variant(
|
|
236
|
+
$_dropdown-item
|
|
237
|
+
);
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
$_dropdown-item-indicator-start: map-get(
|
|
242
|
+
$_dropdown-menu-indicator-start,
|
|
243
|
+
dropdown-item-indicator-start
|
|
178
244
|
);
|
|
245
|
+
|
|
246
|
+
@if ($_dropdown-item-indicator-start) {
|
|
247
|
+
.dropdown-item-indicator-start {
|
|
248
|
+
@include clay-link($_dropdown-item-indicator-start);
|
|
249
|
+
}
|
|
250
|
+
}
|
|
179
251
|
}
|
|
180
252
|
}
|
|
181
253
|
|
|
182
|
-
|
|
183
|
-
$
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
);
|
|
254
|
+
$_dropdown-menu-indicator-end: map-get(
|
|
255
|
+
$map,
|
|
256
|
+
dropdown-menu-indicator-end
|
|
257
|
+
);
|
|
187
258
|
|
|
188
|
-
|
|
259
|
+
@if ($_dropdown-menu-indicator-end) {
|
|
260
|
+
&.dropdown-menu-indicator-end {
|
|
261
|
+
@include clay-css($_dropdown-menu-indicator-end);
|
|
189
262
|
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
263
|
+
$_dropdown-item: map-get(
|
|
264
|
+
$_dropdown-menu-indicator-end,
|
|
265
|
+
dropdown-item
|
|
193
266
|
);
|
|
194
|
-
}
|
|
195
267
|
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
268
|
+
@if ($_dropdown-item) {
|
|
269
|
+
.dropdown-item {
|
|
270
|
+
@include clay-dropdown-item-variant(
|
|
271
|
+
$_dropdown-item
|
|
272
|
+
);
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
$_dropdown-item-indicator-end: map-get(
|
|
277
|
+
$_dropdown-menu-indicator-end,
|
|
278
|
+
dropdown-item-indicator-end
|
|
202
279
|
);
|
|
280
|
+
|
|
281
|
+
@if ($_dropdown-item-indicator-end) {
|
|
282
|
+
.dropdown-item-indicator-end {
|
|
283
|
+
@include clay-link($_dropdown-item-indicator-end);
|
|
284
|
+
}
|
|
285
|
+
}
|
|
203
286
|
}
|
|
204
287
|
}
|
|
205
288
|
|
|
206
|
-
|
|
207
|
-
|
|
289
|
+
$_inline-scroller: map-get($map, inline-scroller);
|
|
290
|
+
|
|
291
|
+
@if ($_inline-scroller) {
|
|
292
|
+
.inline-scroller {
|
|
293
|
+
@include clay-css($_inline-scroller);
|
|
294
|
+
}
|
|
208
295
|
}
|
|
209
296
|
|
|
210
297
|
$_media-breakpoint-down: map-get($map, media-breakpoint-down);
|
|
@@ -579,136 +666,214 @@
|
|
|
579
666
|
);
|
|
580
667
|
|
|
581
668
|
@if ($enabled) {
|
|
582
|
-
@
|
|
669
|
+
@if (length($base) != 0) {
|
|
670
|
+
@include clay-css($base);
|
|
671
|
+
}
|
|
583
672
|
|
|
584
|
-
|
|
585
|
-
$_link: setter(map-get($map, link), ());
|
|
673
|
+
$_link: map-get($map, link);
|
|
586
674
|
|
|
587
|
-
|
|
675
|
+
@if ($_link) {
|
|
676
|
+
&:link {
|
|
677
|
+
@include clay-css($_link);
|
|
588
678
|
|
|
589
|
-
|
|
590
|
-
@include clay-css(map-get($_link, before));
|
|
591
|
-
}
|
|
679
|
+
$_before: map-get($_link, before);
|
|
592
680
|
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
681
|
+
@if ($_before) {
|
|
682
|
+
&::before {
|
|
683
|
+
@include clay-css($_before);
|
|
684
|
+
}
|
|
685
|
+
}
|
|
596
686
|
|
|
597
|
-
|
|
598
|
-
@include clay-css(map-get($_link, c-kbd-inline));
|
|
599
|
-
}
|
|
600
|
-
}
|
|
687
|
+
$_after: map-get($_link, after);
|
|
601
688
|
|
|
602
|
-
|
|
603
|
-
|
|
689
|
+
@if ($_after) {
|
|
690
|
+
&::after {
|
|
691
|
+
@include clay-css($_after);
|
|
692
|
+
}
|
|
693
|
+
}
|
|
604
694
|
|
|
605
|
-
|
|
695
|
+
$_c-kbd-inline: map-get($_link, c-kbd-inline);
|
|
606
696
|
|
|
607
|
-
|
|
608
|
-
|
|
697
|
+
@if ($_c-kbd-inline) {
|
|
698
|
+
.c-kbd-inline {
|
|
699
|
+
@include clay-css($_c-kbd-inline);
|
|
700
|
+
}
|
|
701
|
+
}
|
|
609
702
|
}
|
|
703
|
+
}
|
|
610
704
|
|
|
611
|
-
|
|
612
|
-
@include clay-css(map-get($_visited, after));
|
|
613
|
-
}
|
|
705
|
+
$_visited: map-get($map, visited);
|
|
614
706
|
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
}
|
|
707
|
+
@if ($_visited) {
|
|
708
|
+
&:visited {
|
|
709
|
+
@include clay-css($_visited);
|
|
619
710
|
|
|
620
|
-
|
|
621
|
-
&.hover {
|
|
622
|
-
@include clay-css($hover);
|
|
711
|
+
$_before: map-get($_visited, before);
|
|
623
712
|
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
713
|
+
@if ($_before) {
|
|
714
|
+
&::before {
|
|
715
|
+
@include clay-css($_before);
|
|
716
|
+
}
|
|
717
|
+
}
|
|
627
718
|
|
|
628
|
-
|
|
629
|
-
@include clay-css(map-get($hover, after));
|
|
630
|
-
}
|
|
719
|
+
$_after: map-get($_visited, after);
|
|
631
720
|
|
|
632
|
-
|
|
633
|
-
|
|
721
|
+
@if ($_after) {
|
|
722
|
+
&::after {
|
|
723
|
+
@include clay-css($_after);
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
$_c-kbd-inline: map-get($_visited, c-kbd-inline);
|
|
728
|
+
|
|
729
|
+
@if ($_c-kbd-inline) {
|
|
730
|
+
.c-kbd-inline {
|
|
731
|
+
@include clay-css($_c-kbd-inline);
|
|
732
|
+
}
|
|
733
|
+
}
|
|
634
734
|
}
|
|
635
735
|
}
|
|
636
736
|
|
|
637
|
-
@
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
737
|
+
@if (length($hover) != 0) {
|
|
738
|
+
&:hover,
|
|
739
|
+
&.hover {
|
|
740
|
+
@include clay-css($hover);
|
|
741
|
+
|
|
742
|
+
$_before: map-get($hover, before);
|
|
642
743
|
|
|
643
|
-
|
|
644
|
-
|
|
744
|
+
@if ($_before) {
|
|
745
|
+
&::before {
|
|
746
|
+
@include clay-css($_before);
|
|
747
|
+
}
|
|
645
748
|
}
|
|
646
749
|
|
|
647
|
-
|
|
648
|
-
|
|
750
|
+
$_after: map-get($hover, after);
|
|
751
|
+
|
|
752
|
+
@if ($_after) {
|
|
753
|
+
&::after {
|
|
754
|
+
@include clay-css($_after);
|
|
755
|
+
}
|
|
649
756
|
}
|
|
650
757
|
|
|
651
|
-
|
|
652
|
-
|
|
758
|
+
@if (length($hover-c-kbd-inline) != 0) {
|
|
759
|
+
.c-kbd-inline {
|
|
760
|
+
@include clay-css($hover-c-kbd-inline);
|
|
761
|
+
}
|
|
653
762
|
}
|
|
654
763
|
}
|
|
655
764
|
}
|
|
656
765
|
|
|
657
|
-
|
|
658
|
-
@
|
|
766
|
+
@if (length($focus) != 0) {
|
|
767
|
+
@at-root {
|
|
768
|
+
&.focus,
|
|
769
|
+
#{$focus-visible-selector},
|
|
770
|
+
#{if($c-prefers-focus-selector,$c-prefers-focus-selector,clay-insert-before('.cadmin', '.c-prefers-focus ', '&:focus'))} {
|
|
771
|
+
@include clay-css($focus);
|
|
659
772
|
|
|
660
|
-
|
|
661
|
-
@include clay-css(map-get($active, before));
|
|
662
|
-
}
|
|
773
|
+
$_before: map-get($focus, before);
|
|
663
774
|
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
775
|
+
@if ($_before) {
|
|
776
|
+
&::before {
|
|
777
|
+
@include clay-css($_before);
|
|
778
|
+
}
|
|
779
|
+
}
|
|
667
780
|
|
|
668
|
-
|
|
669
|
-
color: map-get($active, color);
|
|
670
|
-
}
|
|
781
|
+
$_after: map-get($focus, after);
|
|
671
782
|
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
783
|
+
@if ($_after) {
|
|
784
|
+
&::after {
|
|
785
|
+
@include clay-css($_after);
|
|
786
|
+
}
|
|
787
|
+
}
|
|
676
788
|
|
|
677
|
-
|
|
678
|
-
|
|
789
|
+
@if (length($focus-c-kbd-inline) != 0) {
|
|
790
|
+
.c-kbd-inline {
|
|
791
|
+
@include clay-css($focus-c-kbd-inline);
|
|
792
|
+
}
|
|
793
|
+
}
|
|
794
|
+
}
|
|
679
795
|
}
|
|
796
|
+
}
|
|
680
797
|
|
|
681
|
-
|
|
682
|
-
|
|
798
|
+
@if (length($active) != 0) {
|
|
799
|
+
&:active {
|
|
800
|
+
@include clay-css($active);
|
|
801
|
+
|
|
802
|
+
$_before: map-get($active, before);
|
|
803
|
+
|
|
804
|
+
@if ($_before) {
|
|
805
|
+
&::before {
|
|
806
|
+
@include clay-css($_before);
|
|
807
|
+
}
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
$_after: map-get($active, after);
|
|
811
|
+
|
|
812
|
+
@if ($_after) {
|
|
813
|
+
&::after {
|
|
814
|
+
@include clay-css($_after);
|
|
815
|
+
}
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
label {
|
|
819
|
+
color: map-get($active, color);
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
.form-check-label {
|
|
823
|
+
color: map-get($active, color);
|
|
824
|
+
font-weight: map-get($active, font-weight);
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
.custom-control-label {
|
|
828
|
+
font-weight: map-get($active, font-weight);
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
@if (length($active-c-kbd-inline) != 0) {
|
|
832
|
+
.c-kbd-inline {
|
|
833
|
+
@include clay-css($active-c-kbd-inline);
|
|
834
|
+
}
|
|
835
|
+
}
|
|
683
836
|
}
|
|
684
837
|
}
|
|
685
838
|
|
|
686
|
-
|
|
687
|
-
|
|
839
|
+
@if (length($active-class) != 0) {
|
|
840
|
+
&.active {
|
|
841
|
+
@include clay-css($active-class);
|
|
688
842
|
|
|
689
|
-
|
|
690
|
-
@include clay-css(map-get($active-class, before));
|
|
691
|
-
}
|
|
843
|
+
$_before: map-get($active-class, before);
|
|
692
844
|
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
845
|
+
@if ($_before) {
|
|
846
|
+
&::before {
|
|
847
|
+
@include clay-css($_before);
|
|
848
|
+
}
|
|
849
|
+
}
|
|
696
850
|
|
|
697
|
-
|
|
698
|
-
color: map-get($active-class, color);
|
|
699
|
-
}
|
|
851
|
+
$_after: map-get($active-class, after);
|
|
700
852
|
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
853
|
+
@if ($_after) {
|
|
854
|
+
&::after {
|
|
855
|
+
@include clay-css($_after);
|
|
856
|
+
}
|
|
857
|
+
}
|
|
705
858
|
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
859
|
+
label {
|
|
860
|
+
color: map-get($active-class, color);
|
|
861
|
+
}
|
|
709
862
|
|
|
710
|
-
|
|
711
|
-
|
|
863
|
+
.form-check-label {
|
|
864
|
+
color: map-get($active-class, color);
|
|
865
|
+
font-weight: map-get($active-class, font-weight);
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
.custom-control-label {
|
|
869
|
+
font-weight: map-get($active-class, font-weight);
|
|
870
|
+
}
|
|
871
|
+
|
|
872
|
+
@if (length($active-class-c-kbd-inline) != 0) {
|
|
873
|
+
.c-kbd-inline {
|
|
874
|
+
@include clay-css($active-class-c-kbd-inline);
|
|
875
|
+
}
|
|
876
|
+
}
|
|
712
877
|
}
|
|
713
878
|
}
|
|
714
879
|
|
|
@@ -725,60 +890,100 @@
|
|
|
725
890
|
}
|
|
726
891
|
}
|
|
727
892
|
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
893
|
+
@if (length($disabled) != 0) {
|
|
894
|
+
&:disabled,
|
|
895
|
+
&.disabled {
|
|
896
|
+
@include clay-css($disabled);
|
|
731
897
|
|
|
732
|
-
|
|
733
|
-
@include clay-css(map-get($disabled, before));
|
|
734
|
-
}
|
|
898
|
+
$_before: map-get($disabled, before);
|
|
735
899
|
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
900
|
+
@if ($_before) {
|
|
901
|
+
&::before {
|
|
902
|
+
@include clay-css($_before);
|
|
903
|
+
}
|
|
904
|
+
}
|
|
739
905
|
|
|
740
|
-
|
|
741
|
-
.form-check-label {
|
|
742
|
-
color: map-get($disabled, color);
|
|
743
|
-
}
|
|
906
|
+
$_after: map-get($disabled, after);
|
|
744
907
|
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
908
|
+
@if ($_after) {
|
|
909
|
+
&::after {
|
|
910
|
+
@include clay-css($_after);
|
|
911
|
+
}
|
|
912
|
+
}
|
|
748
913
|
|
|
749
|
-
|
|
750
|
-
|
|
914
|
+
label,
|
|
915
|
+
.form-check-label {
|
|
916
|
+
color: map-get($disabled, color);
|
|
917
|
+
}
|
|
751
918
|
|
|
752
|
-
|
|
753
|
-
|
|
919
|
+
@if (length($disabled-c-kbd-inline) != 0) {
|
|
920
|
+
.c-kbd-inline {
|
|
921
|
+
@include clay-css($disabled-c-kbd-inline);
|
|
922
|
+
}
|
|
754
923
|
}
|
|
755
924
|
|
|
756
|
-
|
|
757
|
-
|
|
925
|
+
@if (length($disabled-active) != 0) {
|
|
926
|
+
&:active {
|
|
927
|
+
@include clay-css($disabled-active);
|
|
928
|
+
|
|
929
|
+
$_before: map-get($disabled-active, before);
|
|
930
|
+
|
|
931
|
+
@if ($_before) {
|
|
932
|
+
&::before {
|
|
933
|
+
@include clay-css($_before);
|
|
934
|
+
}
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
$_after: map-get($map, after);
|
|
938
|
+
|
|
939
|
+
@if ($_after) {
|
|
940
|
+
&::after {
|
|
941
|
+
@include clay-css($_after);
|
|
942
|
+
}
|
|
943
|
+
}
|
|
944
|
+
}
|
|
758
945
|
}
|
|
759
946
|
}
|
|
760
947
|
}
|
|
761
948
|
|
|
762
|
-
|
|
763
|
-
$show: setter(map-get($map, show), ());
|
|
949
|
+
$_show: map-get($map, show);
|
|
764
950
|
|
|
765
|
-
|
|
951
|
+
@if ($_show) {
|
|
952
|
+
&.show {
|
|
953
|
+
@include clay-css($_show);
|
|
766
954
|
|
|
767
|
-
|
|
768
|
-
@include clay-css(map-get($show, before));
|
|
769
|
-
}
|
|
955
|
+
$_before: map-get($_show, before);
|
|
770
956
|
|
|
771
|
-
|
|
772
|
-
|
|
957
|
+
@if ($_before) {
|
|
958
|
+
&::before {
|
|
959
|
+
@include clay-css($_before);
|
|
960
|
+
}
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
$_after: map-get($_show, after);
|
|
964
|
+
|
|
965
|
+
@if ($_after) {
|
|
966
|
+
&::after {
|
|
967
|
+
@include clay-css($_after);
|
|
968
|
+
}
|
|
969
|
+
}
|
|
773
970
|
}
|
|
774
971
|
}
|
|
775
972
|
|
|
776
|
-
|
|
777
|
-
|
|
973
|
+
$_before: map-get($map, before);
|
|
974
|
+
|
|
975
|
+
@if ($_before) {
|
|
976
|
+
&::before {
|
|
977
|
+
@include clay-css($_before);
|
|
978
|
+
}
|
|
778
979
|
}
|
|
779
980
|
|
|
780
|
-
|
|
781
|
-
|
|
981
|
+
$_after: map-get($map, after);
|
|
982
|
+
|
|
983
|
+
@if ($_after) {
|
|
984
|
+
&::after {
|
|
985
|
+
@include clay-css($_after);
|
|
986
|
+
}
|
|
782
987
|
}
|
|
783
988
|
|
|
784
989
|
@if (map-get($c-inner, enabled)) {
|
|
@@ -787,40 +992,66 @@
|
|
|
787
992
|
}
|
|
788
993
|
}
|
|
789
994
|
|
|
790
|
-
&.autofit-row
|
|
791
|
-
@include clay-css(map-deep-get($map, '&.autofit-row'));
|
|
995
|
+
$_autofit-row: map-get($map, '&.autofit-row');
|
|
792
996
|
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
997
|
+
@if ($_autofit-row) {
|
|
998
|
+
&.autofit-row {
|
|
999
|
+
@include clay-css($_autofit-row);
|
|
1000
|
+
|
|
1001
|
+
$_autofit-col: map-get($_autofit-row, autofit-col);
|
|
1002
|
+
|
|
1003
|
+
@if ($_autofit-col) {
|
|
1004
|
+
> .autofit-col {
|
|
1005
|
+
@include clay-css($_autofit-col);
|
|
1006
|
+
}
|
|
1007
|
+
}
|
|
798
1008
|
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
1009
|
+
$_autofit-col-expand: map-get(
|
|
1010
|
+
$_autofit-row,
|
|
1011
|
+
autofit-col-expand
|
|
802
1012
|
);
|
|
1013
|
+
|
|
1014
|
+
@if ($_autofit-col-expand) {
|
|
1015
|
+
> .autofit-col-expand {
|
|
1016
|
+
@include clay-css($_autofit-col-expand);
|
|
1017
|
+
}
|
|
1018
|
+
}
|
|
803
1019
|
}
|
|
804
1020
|
}
|
|
805
1021
|
|
|
806
|
-
|
|
807
|
-
@include clay-css(map-get($map, autofit-row));
|
|
1022
|
+
$_autofit-row: map-get($map, autofit-row);
|
|
808
1023
|
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
1024
|
+
@if ($_autofit-row) {
|
|
1025
|
+
.autofit-row {
|
|
1026
|
+
@include clay-css($_autofit-row);
|
|
1027
|
+
|
|
1028
|
+
$_autofit-col: map-get($_autofit-row, autofit-col);
|
|
814
1029
|
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
1030
|
+
@if ($_autofit-col) {
|
|
1031
|
+
> .autofit-col {
|
|
1032
|
+
@include clay-css($_autofit-col);
|
|
1033
|
+
}
|
|
1034
|
+
}
|
|
1035
|
+
|
|
1036
|
+
$_autofit-col-expand: map-get(
|
|
1037
|
+
$_autofit-row,
|
|
1038
|
+
autofit-col-expand
|
|
818
1039
|
);
|
|
1040
|
+
|
|
1041
|
+
@if ($_autofit-col-expand) {
|
|
1042
|
+
> .autofit-col-expand {
|
|
1043
|
+
@include clay-css($_autofit-col-expand);
|
|
1044
|
+
}
|
|
1045
|
+
}
|
|
819
1046
|
}
|
|
820
1047
|
}
|
|
821
1048
|
|
|
822
|
-
|
|
823
|
-
|
|
1049
|
+
$_c-kbd-inline: map-get($map, c-kbd-inline);
|
|
1050
|
+
|
|
1051
|
+
@if ($_c-kbd-inline) {
|
|
1052
|
+
.c-kbd-inline {
|
|
1053
|
+
@include clay-css($_c-kbd-inline);
|
|
1054
|
+
}
|
|
824
1055
|
}
|
|
825
1056
|
|
|
826
1057
|
.form-check-label {
|
|
@@ -831,18 +1062,30 @@
|
|
|
831
1062
|
font-weight: map-get($map, font-weight);
|
|
832
1063
|
}
|
|
833
1064
|
|
|
834
|
-
|
|
835
|
-
|
|
1065
|
+
$_inline-item: map-get($map, inline-item);
|
|
1066
|
+
|
|
1067
|
+
@if ($_inline-item) {
|
|
1068
|
+
.inline-item {
|
|
1069
|
+
@include clay-css($_inline-item);
|
|
836
1070
|
|
|
837
|
-
|
|
1071
|
+
$_lexicon-icon: map-get($_inline-item, lexicon-icon);
|
|
838
1072
|
|
|
839
|
-
|
|
840
|
-
|
|
1073
|
+
@if ($_lexicon-icon) {
|
|
1074
|
+
.lexicon-icon {
|
|
1075
|
+
@include clay-css(
|
|
1076
|
+
map-get($_inline-item, lexicon-icon)
|
|
1077
|
+
);
|
|
1078
|
+
}
|
|
1079
|
+
}
|
|
841
1080
|
}
|
|
842
1081
|
}
|
|
843
1082
|
|
|
844
|
-
|
|
845
|
-
|
|
1083
|
+
$_label: map-get($map, label);
|
|
1084
|
+
|
|
1085
|
+
@if ($_label) {
|
|
1086
|
+
.label {
|
|
1087
|
+
@include clay-label-variant($_label);
|
|
1088
|
+
}
|
|
846
1089
|
}
|
|
847
1090
|
}
|
|
848
1091
|
}
|