@clayui/css 3.60.2 → 3.62.1

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 (51) hide show
  1. package/CHANGELOG.md +54 -0
  2. package/lib/css/atlas.css +1577 -361
  3. package/lib/css/atlas.css.map +1 -1
  4. package/lib/css/base.css +1049 -198
  5. package/lib/css/base.css.map +1 -1
  6. package/lib/css/cadmin.css +1240 -273
  7. package/lib/css/cadmin.css.map +1 -1
  8. package/lib/images/icons/icons.svg +1 -1
  9. package/package.json +1 -1
  10. package/src/scss/_license-text.scss +1 -1
  11. package/src/scss/atlas/variables/_globals.scss +10 -30
  12. package/src/scss/atlas/variables/_sidebar.scss +3 -0
  13. package/src/scss/cadmin/components/_forms.scss +10 -0
  14. package/src/scss/cadmin/components/_input-groups.scss +9 -0
  15. package/src/scss/cadmin/components/_side-navigation.scss +3 -0
  16. package/src/scss/cadmin/components/_type.scss +5 -4
  17. package/src/scss/cadmin/variables/_forms.scss +31 -19
  18. package/src/scss/cadmin/variables/_globals.scss +10 -30
  19. package/src/scss/cadmin/variables/_sidebar.scss +3 -0
  20. package/src/scss/cadmin/variables/_type.scss +14 -0
  21. package/src/scss/components/_forms.scss +10 -0
  22. package/src/scss/components/_input-groups.scss +9 -0
  23. package/src/scss/components/_side-navigation.scss +2 -0
  24. package/src/scss/components/_type.scss +5 -4
  25. package/src/scss/functions/_global-functions.scss +137 -41
  26. package/src/scss/mixins/_alerts.scss +26 -0
  27. package/src/scss/mixins/_badges.scss +7 -6
  28. package/src/scss/mixins/_border-radius.scss +37 -57
  29. package/src/scss/mixins/_box-shadow.scss +4 -7
  30. package/src/scss/mixins/_breakpoints.scss +44 -4
  31. package/src/scss/mixins/_buttons.scss +18 -21
  32. package/src/scss/mixins/_cards.scss +10 -2
  33. package/src/scss/mixins/_close.scss +7 -6
  34. package/src/scss/mixins/_dropdown-menu.scss +7 -6
  35. package/src/scss/mixins/_forms.scss +28 -1
  36. package/src/scss/mixins/_gradients.scss +15 -9
  37. package/src/scss/mixins/_grid.scss +7 -6
  38. package/src/scss/mixins/_input-groups.scss +0 -6
  39. package/src/scss/mixins/_labels.scss +12 -7
  40. package/src/scss/mixins/_links.scss +7 -6
  41. package/src/scss/mixins/_list-group.scss +101 -20
  42. package/src/scss/mixins/_menubar.scss +96 -21
  43. package/src/scss/mixins/_navbar.scss +95 -132
  44. package/src/scss/mixins/_panels.scss +7 -6
  45. package/src/scss/mixins/_scale-component.scss +10 -2
  46. package/src/scss/mixins/_sidebar.scss +18 -0
  47. package/src/scss/mixins/_tbar.scss +10 -36
  48. package/src/scss/mixins/_timelines.scss +20 -4
  49. package/src/scss/variables/_forms.scss +31 -19
  50. package/src/scss/variables/_globals.scss +7 -21
  51. package/src/scss/variables/_type.scss +14 -0
@@ -459,13 +459,14 @@
459
459
  $c-inner: map-merge(
460
460
  (
461
461
  enabled:
462
- setter(
462
+ if(
463
+ variable-exists(enable-c-inner),
464
+ $enable-c-inner,
463
465
  if(
464
- variable-exists(enable-c-inner),
465
- $enable-c-inner,
466
- $cadmin-enable-c-inner
467
- ),
468
- true
466
+ variable-exists(cadmin-enable-c-inner),
467
+ $cadmin-enable-c-inner,
468
+ true
469
+ )
469
470
  ),
470
471
  flex-grow: 1,
471
472
  margin-bottom: math-sign(map-get($map, padding-bottom)),
@@ -248,6 +248,15 @@
248
248
  /// // .form-control.disabled ~ .input-group-inset-item
249
249
  /// ),
250
250
  /// ),
251
+ /// inline-item: (
252
+ /// // .form-control .inline-item
253
+ /// ),
254
+ /// label: (
255
+ /// // .form-control .label
256
+ /// ),
257
+ /// form-control-inset: (
258
+ /// // .form-control .form-control-inset
259
+ /// ),
251
260
  /// )
252
261
  /// -=-=-=-=-=- Deprecated -=-=-=-=-=-
253
262
  /// placeholder-color: {Color | String | Null}, // deprecated after 3.7.0
@@ -602,6 +611,20 @@
602
611
  }
603
612
  }
604
613
 
614
+ .inline-item {
615
+ @include clay-css(map-get($map, inline-item));
616
+ }
617
+
618
+ .label {
619
+ @include clay-css(map-get($map, label));
620
+ }
621
+
622
+ .form-control-inset {
623
+ @include clay-form-control-variant(
624
+ map-get($map, form-control-inset)
625
+ );
626
+ }
627
+
605
628
  @include clay-generate-media-breakpoints($map);
606
629
  }
607
630
  }
@@ -708,7 +731,11 @@
708
731
  if(
709
732
  variable-exists(input-color),
710
733
  $input-color,
711
- $cadmin-input-color
734
+ if(
735
+ variable-exists(cadmin-input-color),
736
+ $cadmin-input-color,
737
+ null
738
+ )
712
739
  )
713
740
  ),
714
741
  )
@@ -8,22 +8,28 @@
8
8
 
9
9
  @mixin gradient-bg($color) {
10
10
  @if (
11
- setter(
11
+ if(
12
+ variable-exists(enable-gradients),
13
+ $enable-gradients,
12
14
  if(
13
- variable-exists(enable-gradients),
14
- $enable-gradients,
15
- $cadmin-enable-gradients
16
- ),
17
- false
15
+ variable-exists(cadmin-enable-gradients),
16
+ $cadmin-enable-gradients,
17
+ false
18
+ )
18
19
  )
19
20
  ) {
20
21
  background: $color
21
22
  linear-gradient(
22
23
  180deg,
23
24
  clay-mix(
24
- setter(
25
- if(variable-exists(body-bg), $body-bg, $cadmin-body-bg),
26
- #fff
25
+ if(
26
+ variable-exists(body-bg),
27
+ $body-bg,
28
+ if(
29
+ variable-exists(cadmin-body-bg),
30
+ $cadmin-body-bg,
31
+ #fff
32
+ )
27
33
  ),
28
34
  $color,
29
35
  15%
@@ -117,13 +117,14 @@
117
117
  $custom-grid-props: map-merge(
118
118
  (
119
119
  enabled:
120
- setter(
120
+ if(
121
+ variable-exists(enable-grid-classes),
122
+ $enable-grid-classes,
121
123
  if(
122
- variable-exists(enable-grid-classes),
123
- $enable-grid-classes,
124
- $cadmin-enable-grid-classes
125
- ),
126
- true
124
+ variable-exists(cadmin-enable-grid-classes),
125
+ $cadmin-enable-grid-classes,
126
+ true
127
+ )
127
128
  ),
128
129
  ),
129
130
  $map
@@ -332,12 +332,6 @@
332
332
  @include clay-form-control-variant(
333
333
  map-deep-get($map, form-control)
334
334
  );
335
-
336
- .label {
337
- @include clay-label-variant(
338
- map-deep-get($map, form-control, label)
339
- );
340
- }
341
335
  }
342
336
 
343
337
  > .form-file {
@@ -40,7 +40,11 @@
40
40
  if(
41
41
  variable-exists(label-border-width),
42
42
  $label-border-width,
43
- $cadmin-label-border-width
43
+ if(
44
+ variable-exists(cadmin-label-border-width),
45
+ $cadmin-label-border-width,
46
+ null
47
+ )
44
48
  )
45
49
  ),
46
50
  padding-bottom:
@@ -157,13 +161,14 @@
157
161
  $c-inner,
158
162
  (
159
163
  enabled:
160
- setter(
164
+ if(
165
+ variable-exists(enable-c-inner),
166
+ $enable-c-inner,
161
167
  if(
162
- variable-exists(enable-c-inner),
163
- $enable-c-inner,
164
- $cadmin-enable-c-inner
165
- ),
166
- true
168
+ variable-exists(cadmin-enable-c-inner),
169
+ $cadmin-enable-c-inner,
170
+ true
171
+ )
167
172
  ),
168
173
  margin-bottom:
169
174
  setter(
@@ -532,13 +532,14 @@
532
532
  $c-inner: map-merge(
533
533
  (
534
534
  enabled:
535
- setter(
535
+ if(
536
+ variable-exists(enable-c-inner),
537
+ $enable-c-inner,
536
538
  if(
537
- variable-exists(enable-c-inner),
538
- $enable-c-inner,
539
- $cadmin-enable-c-inner
540
- ),
541
- true
539
+ variable-exists(cadmin-enable-c-inner),
540
+ $cadmin-enable-c-inner,
541
+ true
542
+ )
542
543
  ),
543
544
  margin-bottom: math-sign(map-get($map, padding-bottom)),
544
545
  margin-left: math-sign(map-get($map, padding-left)),
@@ -68,7 +68,11 @@
68
68
  if(
69
69
  variable-exists(list-group-bg),
70
70
  $list-group-bg,
71
- $cadmin-list-group-bg
71
+ if(
72
+ variable-exists(cadmin-list-group-bg),
73
+ $cadmin-list-group-bg,
74
+ null
75
+ )
72
76
  )
73
77
  );
74
78
  $border-bottom-color: setter(
@@ -76,7 +80,13 @@
76
80
  if(
77
81
  variable-exists(list-group-notification-item-border-bottom-color),
78
82
  $list-group-notification-item-border-bottom-color,
79
- $cadmin-list-group-notification-item-border-bottom-color
83
+ if(
84
+ variable-exists(
85
+ cadmin-list-group-notification-item-border-bottom-color
86
+ ),
87
+ $cadmin-list-group-notification-item-border-bottom-color,
88
+ null
89
+ )
80
90
  )
81
91
  );
82
92
  $border-left-color: setter(
@@ -84,7 +94,13 @@
84
94
  if(
85
95
  variable-exists(list-group-notification-item-border-left-color),
86
96
  $list-group-notification-item-border-left-color,
87
- $cadmin-list-group-notification-item-border-left-color
97
+ if(
98
+ variable-exists(
99
+ cadmin-list-group-notification-item-border-left-color
100
+ ),
101
+ $cadmin-list-group-notification-item-border-left-color,
102
+ null
103
+ )
88
104
  )
89
105
  );
90
106
  $border-right-color: setter(
@@ -92,7 +108,13 @@
92
108
  if(
93
109
  variable-exists(list-group-notification-item-border-right-color),
94
110
  $list-group-notification-item-border-right-color,
95
- $cadmin-list-group-notification-item-border-right-color
111
+ if(
112
+ variable-exists(
113
+ cadmin-list-group-notification-item-border-right-color
114
+ ),
115
+ $cadmin-list-group-notification-item-border-right-color,
116
+ null
117
+ )
96
118
  )
97
119
  );
98
120
  $border-top-color: setter(
@@ -100,7 +122,13 @@
100
122
  if(
101
123
  variable-exists(list-group-notification-item-border-top-color),
102
124
  $list-group-notification-item-border-top-color,
103
- $cadmin-list-group-notification-item-border-top-color
125
+ if(
126
+ variable-exists(
127
+ cadmin-list-group-notification-item-border-top-color
128
+ ),
129
+ $cadmin-list-group-notification-item-border-top-color,
130
+ null
131
+ )
104
132
  )
105
133
  );
106
134
 
@@ -109,7 +137,13 @@
109
137
  if(
110
138
  variable-exists(list-group-notification-item-border-bottom-width),
111
139
  $list-group-notification-item-border-bottom-width,
112
- $cadmin-list-group-notification-item-border-bottom-width
140
+ if(
141
+ variable-exists(
142
+ cadmin-list-group-notification-item-border-bottom-width
143
+ ),
144
+ $cadmin-list-group-notification-item-border-bottom-width,
145
+ null
146
+ )
113
147
  )
114
148
  );
115
149
  $border-left-width: setter(
@@ -117,7 +151,13 @@
117
151
  if(
118
152
  variable-exists(list-group-notification-item-border-left-width),
119
153
  $list-group-notification-item-border-left-width,
120
- $cadmin-list-group-notification-item-border-left-width
154
+ if(
155
+ variable-exists(
156
+ cadmin-list-group-notification-item-border-left-width
157
+ ),
158
+ $cadmin-list-group-notification-item-border-left-width,
159
+ null
160
+ )
121
161
  )
122
162
  );
123
163
  $border-right-width: setter(
@@ -125,7 +165,13 @@
125
165
  if(
126
166
  variable-exists(list-group-notification-item-border-right-width),
127
167
  $list-group-notification-item-border-right-width,
128
- $cadmin-list-group-notification-item-border-right-width
168
+ if(
169
+ variable-exists(
170
+ cadmin-list-group-notification-item-border-right-width
171
+ ),
172
+ $cadmin-list-group-notification-item-border-right-width,
173
+ null
174
+ )
129
175
  )
130
176
  );
131
177
  $border-top-width: setter(
@@ -133,7 +179,13 @@
133
179
  if(
134
180
  variable-exists(list-group-notification-item-border-top-width),
135
181
  $list-group-notification-item-border-top-width,
136
- $cadmin-list-group-notification-item-border-top-width
182
+ if(
183
+ variable-exists(
184
+ cadmin-list-group-notification-item-border-top-width
185
+ ),
186
+ $cadmin-list-group-notification-item-border-top-width,
187
+ null
188
+ )
137
189
  )
138
190
  );
139
191
 
@@ -149,7 +201,11 @@
149
201
  if(
150
202
  variable-exists(list-group-active-bg),
151
203
  $list-group-active-bg,
152
- $cadmin-list-group-active-bg
204
+ if(
205
+ variable-exists(cadmin-list-group-active-bg),
206
+ $cadmin-list-group-active-bg,
207
+ null
208
+ )
153
209
  )
154
210
  );
155
211
  $active-border-bottom-color: setter(
@@ -159,7 +215,13 @@
159
215
  list-group-notification-item-active-border-bottom-color
160
216
  ),
161
217
  $list-group-notification-item-active-border-bottom-color,
162
- $cadmin-list-group-notification-item-active-border-bottom-color
218
+ if(
219
+ variable-exists(
220
+ cadmin-list-group-notification-item-active-border-bottom-color
221
+ ),
222
+ $cadmin-list-group-notification-item-active-border-bottom-color,
223
+ null
224
+ )
163
225
  )
164
226
  );
165
227
  $active-border-left-color: setter(
@@ -169,7 +231,13 @@
169
231
  list-group-notification-item-active-border-left-color
170
232
  ),
171
233
  $list-group-notification-item-active-border-left-color,
172
- $cadmin-list-group-notification-item-active-border-left-color
234
+ if(
235
+ variable-exists(
236
+ cadmin-list-group-notification-item-active-border-left-color
237
+ ),
238
+ $cadmin-list-group-notification-item-active-border-left-color,
239
+ null
240
+ )
173
241
  )
174
242
  );
175
243
  $active-border-right-color: setter(
@@ -179,7 +247,13 @@
179
247
  list-group-notification-item-active-border-right-color
180
248
  ),
181
249
  $list-group-notification-item-active-border-right-color,
182
- $cadmin-list-group-notification-item-active-border-right-color
250
+ if(
251
+ variable-exists(
252
+ cadmin-list-group-notification-item-active-border-right-color
253
+ ),
254
+ $cadmin-list-group-notification-item-active-border-right-color,
255
+ null
256
+ )
183
257
  )
184
258
  );
185
259
  $active-border-top-color: setter(
@@ -189,7 +263,13 @@
189
263
  list-group-notification-item-active-border-top-color
190
264
  ),
191
265
  $list-group-notification-item-active-border-top-color,
192
- $cadmin-list-group-notification-item-active-border-top-color
266
+ if(
267
+ variable-exists(
268
+ cadmin-list-group-notification-item-active-border-top-color
269
+ ),
270
+ $cadmin-list-group-notification-item-active-border-top-color,
271
+ null
272
+ )
193
273
  )
194
274
  );
195
275
 
@@ -208,13 +288,14 @@
208
288
  background-color: $bg;
209
289
 
210
290
  @if (
211
- setter(
291
+ if(
292
+ variable-exists(enable-rounded),
293
+ $enable-rounded,
212
294
  if(
213
- variable-exists(enable-rounded),
214
- $enable-rounded,
215
- $cadmin-enable-rounded
216
- ),
217
- true
295
+ variable-exists(cadmin-enable-rounded),
296
+ $cadmin-enable-rounded,
297
+ true
298
+ )
218
299
  )
219
300
  ) {
220
301
  border-bottom-left-radius: $border-bottom-left-radius;
@@ -288,13 +288,14 @@
288
288
  $_toggler-mobile-c-inner,
289
289
  (
290
290
  enabled:
291
- setter(
291
+ if(
292
+ variable-exists(enable-c-inner),
293
+ $enable-c-inner,
292
294
  if(
293
- variable-exists(enable-c-inner),
294
- $enable-c-inner,
295
- $cadmin-enable-c-inner
296
- ),
297
- true
295
+ variable-exists(cadmin-enable-c-inner),
296
+ $cadmin-enable-c-inner,
297
+ true
298
+ )
298
299
  ),
299
300
  margin-bottom:
300
301
  setter(
@@ -537,7 +538,11 @@
537
538
  if(
538
539
  variable-exists(navbar-light-color),
539
540
  $navbar-light-color,
540
- $cadmin-navbar-light-color
541
+ if(
542
+ variable-exists(cadmin-navbar-light-color),
543
+ $cadmin-navbar-light-color,
544
+ null
545
+ )
541
546
  )
542
547
  ),
543
548
  hover: (
@@ -553,7 +558,13 @@
553
558
  if(
554
559
  variable-exists(navbar-light-hover-color),
555
560
  $navbar-light-hover-color,
556
- $cadmin-navbar-light-hover-color
561
+ if(
562
+ variable-exists(
563
+ cadmin-navbar-light-hover-color
564
+ ),
565
+ $cadmin-navbar-light-hover-color,
566
+ null
567
+ )
557
568
  )
558
569
  ),
559
570
  ),
@@ -570,7 +581,13 @@
570
581
  if(
571
582
  variable-exists(navbar-light-active-color),
572
583
  $navbar-light-active-color,
573
- $cadmin-navbar-light-active-color
584
+ if(
585
+ variable-exists(
586
+ cadmin-navbar-light-active-color
587
+ ),
588
+ $cadmin-navbar-light-active-color,
589
+ null
590
+ )
574
591
  )
575
592
  ),
576
593
  ),
@@ -594,7 +611,13 @@
594
611
  if(
595
612
  variable-exists(navbar-light-disabled-color),
596
613
  $navbar-light-disabled-color,
597
- $cadmin-navbar-light-disabled-color
614
+ if(
615
+ variable-exists(
616
+ cadmin-navbar-light-disabled-color
617
+ ),
618
+ $cadmin-navbar-light-disabled-color,
619
+ null
620
+ )
598
621
  )
599
622
  ),
600
623
  ),
@@ -621,7 +644,11 @@
621
644
  if(
622
645
  variable-exists(dropdown-link-color),
623
646
  $dropdown-link-color,
624
- $cadmin-dropdown-link-color
647
+ if(
648
+ variable-exists(cadmin-dropdown-link-color),
649
+ $cadmin-dropdown-link-color,
650
+ null
651
+ )
625
652
  )
626
653
  ),
627
654
  hover: (
@@ -632,7 +659,11 @@
632
659
  if(
633
660
  variable-exists(dropdown-link-hover-bg),
634
661
  $dropdown-link-hover-bg,
635
- $cadmin-dropdown-link-hover-bg
662
+ if(
663
+ variable-exists(cadmin-dropdown-link-hover-bg),
664
+ $cadmin-dropdown-link-hover-bg,
665
+ null
666
+ )
636
667
  )
637
668
  ),
638
669
  color:
@@ -642,7 +673,13 @@
642
673
  if(
643
674
  variable-exists(dropdown-link-hover-color),
644
675
  $dropdown-link-hover-color,
645
- $cadmin-dropdown-link-hover-color
676
+ if(
677
+ variable-exists(
678
+ cadmin-dropdown-link-hover-color
679
+ ),
680
+ $cadmin-dropdown-link-hover-color,
681
+ null
682
+ )
646
683
  )
647
684
  ),
648
685
  ),
@@ -654,7 +691,11 @@
654
691
  if(
655
692
  variable-exists(dropdown-link-active-bg),
656
693
  $dropdown-link-active-bg,
657
- $cadmin-dropdown-link-active-bg
694
+ if(
695
+ variable-exists(cadmin-dropdown-link-active-bg),
696
+ $cadmin-dropdown-link-active-bg,
697
+ null
698
+ )
658
699
  )
659
700
  ),
660
701
  color:
@@ -664,7 +705,13 @@
664
705
  if(
665
706
  variable-exists(dropdown-link-active-color),
666
707
  $dropdown-link-active-color,
667
- $cadmin-dropdown-link-active-color
708
+ if(
709
+ variable-exists(
710
+ cadmin-dropdown-link-active-color
711
+ ),
712
+ $cadmin-dropdown-link-active-color,
713
+ null
714
+ )
668
715
  )
669
716
  ),
670
717
  ),
@@ -676,7 +723,13 @@
676
723
  if(
677
724
  variable-exists(dropdown-link-active-font-weight),
678
725
  $dropdown-link-active-font-weight,
679
- $cadmin-dropdown-link-active-font-weight
726
+ if(
727
+ variable-exists(
728
+ cadmin-dropdown-link-active-font-weight
729
+ ),
730
+ $cadmin-dropdown-link-active-font-weight,
731
+ null
732
+ )
680
733
  )
681
734
  ),
682
735
  ),
@@ -694,7 +747,13 @@
694
747
  if(
695
748
  variable-exists(dropdown-link-disabled-color),
696
749
  $dropdown-link-disabled-color,
697
- $cadmin-dropdown-link-disabled-color
750
+ if(
751
+ variable-exists(
752
+ cadmin-dropdown-link-disabled-color
753
+ ),
754
+ $cadmin-dropdown-link-disabled-color,
755
+ null
756
+ )
698
757
  )
699
758
  ),
700
759
  ),
@@ -716,7 +775,11 @@
716
775
  if(
717
776
  variable-exists(dropdown-bg),
718
777
  $dropdown-bg,
719
- $cadmin-dropdown-bg
778
+ if(
779
+ variable-exists(cadmin-dropdown-bg),
780
+ $cadmin-dropdown-bg,
781
+ null
782
+ )
720
783
  )
721
784
  ),
722
785
  border-color:
@@ -726,7 +789,11 @@
726
789
  if(
727
790
  variable-exists(dropdown-border-color),
728
791
  $dropdown-border-color,
729
- $cadmin-dropdown-border-color
792
+ if(
793
+ variable-exists(cadmin-dropdown-border-color),
794
+ $cadmin-dropdown-border-color,
795
+ null
796
+ )
730
797
  )
731
798
  ),
732
799
  border-radius:
@@ -736,7 +803,11 @@
736
803
  if(
737
804
  variable-exists(border-radius),
738
805
  $border-radius,
739
- $cadmin-border-radius
806
+ if(
807
+ variable-exists(cadmin-border-radius),
808
+ $cadmin-border-radius,
809
+ null
810
+ )
740
811
  )
741
812
  ),
742
813
  border-style:
@@ -751,7 +822,11 @@
751
822
  if(
752
823
  variable-exists(dropdown-box-shadow),
753
824
  $dropdown-box-shadow,
754
- $cadmin-dropdown-box-shadow
825
+ if(
826
+ variable-exists(cadmin-dropdown-box-shadow),
827
+ $cadmin-dropdown-box-shadow,
828
+ null
829
+ )
755
830
  )
756
831
  ),
757
832
  )