@clayui/css 3.81.0 → 3.83.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.
Files changed (53) hide show
  1. package/lib/css/atlas.css +548 -118
  2. package/lib/css/atlas.css.map +1 -1
  3. package/lib/css/base.css +521 -106
  4. package/lib/css/base.css.map +1 -1
  5. package/lib/css/cadmin.css +394 -144
  6. package/lib/css/cadmin.css.map +1 -1
  7. package/lib/images/icons/icons.svg +1 -1
  8. package/package.json +2 -2
  9. package/src/scss/_license-text.scss +1 -1
  10. package/src/scss/atlas/variables/_clay-color.scss +23 -9
  11. package/src/scss/atlas/variables/_date-picker.scss +31 -13
  12. package/src/scss/atlas/variables/_forms.scss +34 -0
  13. package/src/scss/atlas/variables/_modals.scss +60 -28
  14. package/src/scss/atlas/variables/_panels.scss +3 -3
  15. package/src/scss/atlas/variables/_tbar.scss +7 -3
  16. package/src/scss/atlas/variables/_time.scss +3 -1
  17. package/src/scss/cadmin/components/_forms.scss +26 -0
  18. package/src/scss/cadmin/components/_sidebar.scss +29 -34
  19. package/src/scss/cadmin/components/_utilities.scss +22 -0
  20. package/src/scss/cadmin/variables/_cards.scss +48 -19
  21. package/src/scss/cadmin/variables/_clay-color.scss +17 -7
  22. package/src/scss/cadmin/variables/_date-picker.scss +42 -22
  23. package/src/scss/cadmin/variables/_forms.scss +35 -0
  24. package/src/scss/cadmin/variables/_modals.scss +60 -28
  25. package/src/scss/cadmin/variables/_sheets.scss +9 -5
  26. package/src/scss/cadmin/variables/_sidebar.scss +54 -0
  27. package/src/scss/cadmin/variables/_tbar.scss +177 -91
  28. package/src/scss/cadmin/variables/_time.scss +6 -2
  29. package/src/scss/cadmin/variables/_utilities.scss +22 -7
  30. package/src/scss/components/_dropdowns.scss +14 -0
  31. package/src/scss/components/_forms.scss +26 -0
  32. package/src/scss/components/_progress-bars.scss +29 -2
  33. package/src/scss/components/_sidebar.scss +28 -34
  34. package/src/scss/components/_spinners.scss +3 -2
  35. package/src/scss/components/_utilities.scss +22 -0
  36. package/src/scss/mixins/_dropdown-menu.scss +76 -2
  37. package/src/scss/mixins/_forms.scss +62 -3
  38. package/src/scss/mixins/_globals.scss +2 -0
  39. package/src/scss/mixins/_input-groups.scss +6 -2
  40. package/src/scss/mixins/_modals.scss +8 -4
  41. package/src/scss/mixins/_panels.scss +4 -4
  42. package/src/scss/mixins/_sidebar.scss +5 -0
  43. package/src/scss/mixins/_tbar.scss +116 -28
  44. package/src/scss/variables/_clay-color.scss +13 -7
  45. package/src/scss/variables/_date-picker.scss +38 -18
  46. package/src/scss/variables/_dropdowns.scss +52 -0
  47. package/src/scss/variables/_forms.scss +18 -3
  48. package/src/scss/variables/_modals.scss +60 -28
  49. package/src/scss/variables/_panels.scss +8 -8
  50. package/src/scss/variables/_progress-bars.scss +24 -8
  51. package/src/scss/variables/_sidebar.scss +54 -0
  52. package/src/scss/variables/_tbar.scss +168 -87
  53. package/src/scss/variables/_utilities.scss +17 -2
@@ -10,39 +10,43 @@ $cadmin-tbar-stacked: map-deep-merge(
10
10
  height: 100%,
11
11
  padding-bottom: 8px,
12
12
  padding-top: 8px,
13
- nav: (
13
+ tbar-nav: (
14
14
  flex-direction: column,
15
15
  min-width: 0,
16
16
  ),
17
- item: (
17
+ tbar-item: (
18
18
  align-items: center,
19
19
  justify-content: flex-start,
20
20
  padding-left: 0,
21
21
  padding-right: 0,
22
22
  ),
23
- item-expand: (
23
+ tbar-item-expand: (
24
24
  flex-shrink: 0,
25
25
  min-width: 0,
26
26
  ),
27
- divider-before: (
28
- background-color: $cadmin-body-color,
29
- content: '',
30
- display: block,
31
- height: 1px,
32
- margin-bottom: 4px,
33
- margin-top: 4px,
34
- width: 40px,
27
+ tbar-divider-before: (
28
+ before: (
29
+ background-color: $cadmin-body-color,
30
+ content: '',
31
+ display: block,
32
+ height: 1px,
33
+ margin-bottom: 4px,
34
+ margin-top: 4px,
35
+ width: 40px,
36
+ ),
35
37
  ),
36
- divider-after: (
37
- background-color: $cadmin-body-color,
38
- content: '',
39
- display: block,
40
- height: 1px,
41
- margin-bottom: 4px,
42
- margin-top: 4px,
43
- width: 40px,
38
+ tbar-divider-after: (
39
+ after: (
40
+ background-color: $cadmin-body-color,
41
+ content: '',
42
+ display: block,
43
+ height: 1px,
44
+ margin-bottom: 4px,
45
+ margin-top: 4px,
46
+ width: 40px,
47
+ ),
44
48
  ),
45
- btn-monospaced: (
49
+ tbar-btn-monospaced: (
46
50
  border-color: transparent,
47
51
  border-radius: 0,
48
52
  border-width: 0,
@@ -58,12 +62,14 @@ $cadmin-tbar-stacked: map-deep-merge(
58
62
  position: relative,
59
63
  width: 40px,
60
64
  focus: (
61
- box-shadow: inset 0 0 0 2px $cadmin-primary-l1#{','} inset 0 0 0
62
- 4px $cadmin-white,
65
+ box-shadow: #{inset 0 0 0 2px $cadmin-primary-l1,
66
+ inset 0 0 0 4px $cadmin-white},
63
67
  ),
64
- active-focus: (
65
- box-shadow: inset 0 0 0 2px $cadmin-primary-l1#{','} inset 0 0 0
66
- 4px $cadmin-white,
68
+ active: (
69
+ focus: (
70
+ box-shadow: #{inset 0 0 0 2px $cadmin-primary-l1,
71
+ inset 0 0 0 4px $cadmin-white},
72
+ ),
67
73
  ),
68
74
  ),
69
75
  ),
@@ -76,7 +82,9 @@ $cadmin-tbar-inline-xs-down: () !default;
76
82
  $cadmin-tbar-inline-xs-down: map-deep-merge(
77
83
  (
78
84
  breakpoint-down: nth(map-keys($cadmin-grid-breakpoints), 1),
79
- item-padding-left: 0,
85
+ tbar-item: (
86
+ padding-left: 0,
87
+ ),
80
88
  ),
81
89
  $cadmin-tbar-inline-xs-down
82
90
  );
@@ -85,7 +93,9 @@ $cadmin-tbar-inline-sm-down: () !default;
85
93
  $cadmin-tbar-inline-sm-down: map-deep-merge(
86
94
  (
87
95
  breakpoint-down: nth(map-keys($cadmin-grid-breakpoints), 2),
88
- item-padding-left: 0,
96
+ tbar-item: (
97
+ padding-left: 0,
98
+ ),
89
99
  ),
90
100
  $cadmin-tbar-inline-sm-down
91
101
  );
@@ -94,7 +104,9 @@ $cadmin-tbar-inline-md-down: () !default;
94
104
  $cadmin-tbar-inline-md-down: map-deep-merge(
95
105
  (
96
106
  breakpoint-down: nth(map-keys($cadmin-grid-breakpoints), 3),
97
- item-padding-left: 0,
107
+ tbar-item: (
108
+ padding-left: 0,
109
+ ),
98
110
  ),
99
111
  $cadmin-tbar-inline-md-down
100
112
  );
@@ -103,7 +115,9 @@ $cadmin-tbar-inline-lg-down: () !default;
103
115
  $cadmin-tbar-inline-lg-down: map-deep-merge(
104
116
  (
105
117
  breakpoint-down: nth(map-keys($cadmin-grid-breakpoints), 4),
106
- item-padding-left: 0,
118
+ tbar-item: (
119
+ padding-left: 0,
120
+ ),
107
121
  ),
108
122
  $cadmin-tbar-inline-lg-down
109
123
  );
@@ -112,7 +126,9 @@ $cadmin-tbar-inline-xl-down: () !default;
112
126
  $cadmin-tbar-inline-xl-down: map-deep-merge(
113
127
  (
114
128
  breakpoint-down: nth(map-keys($cadmin-grid-breakpoints), 5),
115
- item-padding-left: 0,
129
+ tbar-item: (
130
+ padding-left: 0,
131
+ ),
116
132
  ),
117
133
  $cadmin-tbar-inline-xl-down
118
134
  );
@@ -140,13 +156,17 @@ $cadmin-tbar-light: map-deep-merge(
140
156
  box-shadow: inset 1px 0 0 0 $cadmin-gray-200#{','} inset -1px 0 0 0
141
157
  $cadmin-gray-200,
142
158
  color: $cadmin-secondary,
143
- divider-before: (
144
- background-color: $cadmin-gray-200,
159
+ tbar-divider-before: (
160
+ before: (
161
+ background-color: $cadmin-gray-200,
162
+ ),
145
163
  ),
146
- divider-after: (
147
- background-color: $cadmin-gray-200,
164
+ tbar-divider-after: (
165
+ after: (
166
+ background-color: $cadmin-gray-200,
167
+ ),
148
168
  ),
149
- btn-monospaced: (
169
+ tbar-btn-monospaced: (
150
170
  hover: (
151
171
  color: $cadmin-dark,
152
172
  ),
@@ -172,13 +192,17 @@ $cadmin-tbar-dark-d1: map-deep-merge(
172
192
  box-shadow: inset 1px 0 0 0 rgba($cadmin-white, 0.06) #{','} inset -1px
173
193
  0 0 0 rgba($cadmin-white, 0.06),
174
194
  color: $cadmin-gray-500,
175
- divider-before: (
176
- background-color: rgba($cadmin-white, 0.06),
195
+ tbar-divider-before: (
196
+ before: (
197
+ background-color: rgba($cadmin-white, 0.06),
198
+ ),
177
199
  ),
178
- divider-after: (
179
- background-color: rgba($cadmin-white, 0.06),
200
+ tbar-divider-after: (
201
+ after: (
202
+ background-color: rgba($cadmin-white, 0.06),
203
+ ),
180
204
  ),
181
- btn-monospaced: (
205
+ tbar-btn-monospaced: (
182
206
  hover: (
183
207
  color: $cadmin-white,
184
208
  ),
@@ -192,15 +216,17 @@ $cadmin-tbar-dark-d1: map-deep-merge(
192
216
  background-color: rgba($cadmin-white, 0.06),
193
217
  color: $cadmin-white,
194
218
  ),
195
- active-class-after: (
196
- background-color: $cadmin-primary-l1,
197
- bottom: 0,
198
- content: '',
199
- display: block,
200
- left: 0,
201
- position: absolute,
202
- top: 0,
203
- width: 4px,
219
+ active-class: (
220
+ after: (
221
+ background-color: $cadmin-primary-l1,
222
+ bottom: 0,
223
+ content: '',
224
+ display: block,
225
+ left: 0,
226
+ position: absolute,
227
+ top: 0,
228
+ width: 4px,
229
+ ),
204
230
  ),
205
231
  ),
206
232
  ),
@@ -215,13 +241,17 @@ $cadmin-tbar-dark-l2: map-deep-merge(
215
241
  0 0 0 rgba($cadmin-white, 0.06),
216
242
  border-color: rgba($cadmin-white, 0.06),
217
243
  color: $cadmin-gray-500,
218
- divider-before: (
219
- background-color: rgba($cadmin-white, 0.06),
244
+ tbar-divider-before: (
245
+ before: (
246
+ background-color: rgba($cadmin-white, 0.06),
247
+ ),
220
248
  ),
221
- divider-after: (
222
- background-color: rgba($cadmin-white, 0.06),
249
+ tbar-divider-after: (
250
+ after: (
251
+ background-color: rgba($cadmin-white, 0.06),
252
+ ),
223
253
  ),
224
- btn-monospaced: (
254
+ tbar-btn-monospaced: (
225
255
  hover: (
226
256
  color: $cadmin-white,
227
257
  ),
@@ -260,8 +290,10 @@ $cadmin-subnav-tbar-component-link: () !default;
260
290
  $cadmin-subnav-tbar-component-link: map-deep-merge(
261
291
  (
262
292
  color: $cadmin-link-color,
263
- hover-color: $cadmin-link-hover-color,
264
293
  font-weight: $cadmin-font-weight-semi-bold,
294
+ hover: (
295
+ color: $cadmin-link-hover-color,
296
+ ),
265
297
  ),
266
298
  $cadmin-subnav-tbar-component-link
267
299
  );
@@ -282,26 +314,49 @@ $cadmin-subnav-tbar: () !default;
282
314
  $cadmin-subnav-tbar: map-deep-merge(
283
315
  (
284
316
  font-size: 14px,
285
- section-text-align: left,
286
- strong-font-weight: $cadmin-font-weight-semi-bold,
287
- item-padding-x: 8px,
288
- btn-height: 24px,
289
- btn-line-height: 1,
290
- btn-margin-y: 2px,
291
- btn-padding-y: 0,
292
- btn-monospaced-margin-y: 2px,
293
- btn-monospaced-padding: 4px,
317
+ tbar-section: (
318
+ text-align: left,
319
+ ),
320
+ strong: (
321
+ font-weight: $cadmin-font-weight-semi-bold,
322
+ ),
323
+ tbar-item-padding: (
324
+ padding-left: 8px,
325
+ padding-right: 8px,
326
+ ),
327
+ tbar-btn: (
328
+ height: 24px,
329
+ line-height: 1,
330
+ margin-bottom: 2px,
331
+ margin-top: 2px,
332
+ padding-bottom: 0,
333
+ padding-top: 0,
334
+ ),
335
+ tbar-btn-monospaced: (
336
+ margin-bottom: 2px,
337
+ margin-top: 2px,
338
+ padding: 4px,
339
+ ),
294
340
  component-link: $cadmin-subnav-tbar-component-link,
295
341
  component-title: $cadmin-subnav-tbar-component-title,
296
342
  component-text: $cadmin-subnav-tbar-component-text,
297
343
  component-label: (
298
344
  font-weight: $cadmin-font-weight-normal,
299
345
  ),
300
- link-margin-y: 2px,
301
- link-padding-x: 4px,
302
- link-padding-y: 1.5px,
303
- link-monospaced-margin-y: 2px,
304
- link-monospaced-size: 24px,
346
+ tbar-link: (
347
+ margin-bottom: 2px,
348
+ margin-top: 2px,
349
+ padding-bottom: 1.5px,
350
+ padding-left: 4px,
351
+ padding-right: 4px,
352
+ padding-top: 1.5px,
353
+ ),
354
+ tbar-link-monospaced: (
355
+ height: 24px,
356
+ margin-bottom: 2px,
357
+ margin-top: 2px,
358
+ width: 24px,
359
+ ),
305
360
  ),
306
361
  $cadmin-subnav-tbar
307
362
  );
@@ -311,7 +366,11 @@ $cadmin-subnav-tbar: map-deep-merge(
311
366
  $cadmin-subnav-tbar-light: () !default;
312
367
  $cadmin-subnav-tbar-light: map-deep-merge(
313
368
  (
314
- bg-color: $cadmin-light-l2,
369
+ background-color:
370
+ setter(
371
+ map-get($cadmin-subnav-tbar-light, bg-color),
372
+ $cadmin-light-l2
373
+ ),
315
374
  color: $cadmin-gray-600,
316
375
  padding-y: 2px,
317
376
  ),
@@ -324,11 +383,15 @@ $cadmin-subnav-tbar-primary-component-link: () !default;
324
383
  $cadmin-subnav-tbar-primary-component-link: map-deep-merge(
325
384
  (
326
385
  color: $cadmin-gray-900,
327
- hover-color: $cadmin-gray-900,
328
- disabled-color: $cadmin-gray-600,
329
- disabled-cursor: $cadmin-disabled-cursor,
330
- disabled-opacity: 0.65,
331
- disabled-text-decoration: none,
386
+ hover: (
387
+ color: $cadmin-gray-900,
388
+ ),
389
+ disabled: (
390
+ color: $cadmin-gray-600,
391
+ cursor: $cadmin-disabled-cursor,
392
+ opacity: 0.65,
393
+ text-decoration: none,
394
+ ),
332
395
  ),
333
396
  $cadmin-subnav-tbar-primary-component-link
334
397
  );
@@ -336,9 +399,13 @@ $cadmin-subnav-tbar-primary-component-link: map-deep-merge(
336
399
  $cadmin-subnav-tbar-primary-component-label-close: () !default;
337
400
  $cadmin-subnav-tbar-primary-component-label-close: map-deep-merge(
338
401
  (
339
- focus-color: inherit,
340
- disabled-color: $cadmin-gray-600,
341
- disabled-opacity: 0.65,
402
+ focus: (
403
+ color: inherit,
404
+ ),
405
+ disabled: (
406
+ color: $cadmin-gray-600,
407
+ opacity: 0.65,
408
+ ),
342
409
  ),
343
410
  $cadmin-subnav-tbar-primary-component-label-close
344
411
  );
@@ -356,8 +423,10 @@ $cadmin-subnav-tbar-primary-tbar-label-size: map-deep-merge(
356
423
  (
357
424
  font-size: 12px,
358
425
  margin-right: 0,
359
- padding-x: 10px,
360
- padding-y: 5px,
426
+ padding-bottom: 5px,
427
+ padding-left: 10px,
428
+ padding-right: 10px,
429
+ padding-top: 5px,
361
430
  text-transform: none,
362
431
  ),
363
432
  $cadmin-subnav-tbar-primary-tbar-label-size
@@ -366,18 +435,31 @@ $cadmin-subnav-tbar-primary-tbar-label-size: map-deep-merge(
366
435
  $cadmin-subnav-tbar-primary: () !default;
367
436
  $cadmin-subnav-tbar-primary: map-deep-merge(
368
437
  (
369
- bg-color: $cadmin-primary-l2,
370
- padding-x: 4px,
371
- padding-y: 10px,
372
- item-justify-content: flex-start,
373
- item-padding-x: 4px,
374
- link-monospaced-border-radius: 0,
375
- link-monospaced-border-width: 0,
376
- link-monospaced-margin-y: -10px,
377
- link-monospaced-size: 48px,
438
+ background-color:
439
+ setter(
440
+ map-get($cadmin-subnav-tbar-primary, bg-color),
441
+ $cadmin-primary-l2
442
+ ),
443
+ padding-bottom: 10px,
444
+ padding-left: 4px,
445
+ padding-right: 4px,
446
+ padding-top: 10px,
447
+ tbar-item: (
448
+ justify-content: flex-start,
449
+ padding-left: 4px,
450
+ padding-right: 4px,
451
+ ),
452
+ tbar-link-monospaced: (
453
+ border-radius: 0,
454
+ border-width: 0,
455
+ height: 48px,
456
+ margin-bottom: -10px,
457
+ margin-top: -10px,
458
+ width: 48px,
459
+ ),
378
460
  component-link: $cadmin-subnav-tbar-primary-component-link,
379
461
  component-label: $cadmin-subnav-tbar-primary-component-label,
380
- tbar-label-size: $cadmin-subnav-tbar-primary-tbar-label-size,
462
+ tbar-label: $cadmin-subnav-tbar-primary-tbar-label-size,
381
463
  ),
382
464
  $cadmin-subnav-tbar-primary
383
465
  );
@@ -395,7 +477,11 @@ $cadmin-subnav-tbar-primary-disabled-component-label: map-deep-merge(
395
477
  $cadmin-subnav-tbar-primary-disabled: () !default;
396
478
  $cadmin-subnav-tbar-primary-disabled: map-deep-merge(
397
479
  (
398
- bg-color: clay-lighten(clay-desaturate($cadmin-primary, 27.03), 37.06),
480
+ background-color:
481
+ setter(
482
+ map-get($cadmin-subnav-tbar-primary-disabled, bg-color),
483
+ clay-lighten(clay-desaturate($cadmin-primary, 27.03), 37.06)
484
+ ),
399
485
  color: #8e94aa,
400
486
  component-label: $cadmin-subnav-tbar-primary-disabled-component-label,
401
487
  ),
@@ -12,7 +12,9 @@ $cadmin-clay-time-btn: map-deep-merge(
12
12
  padding-right: 0,
13
13
  padding-top: 0,
14
14
  width: 24px,
15
- focus-box-shadow: 0 0 0 1px #80acff,
15
+ focus: (
16
+ box-shadow: 0 0 0 1px #80acff,
17
+ ),
16
18
  ),
17
19
  $cadmin-clay-time-btn
18
20
  );
@@ -37,7 +39,9 @@ $cadmin-clay-time-form-control-inset: map-deep-merge(
37
39
  text-align: center,
38
40
  width: 20px,
39
41
  selection-bg: transparent,
40
- focus-bg: #b3d8fd,
42
+ focus: (
43
+ background-color: #b3d8fd,
44
+ ),
41
45
  ),
42
46
  $cadmin-clay-time-form-control-inset
43
47
  );
@@ -87,13 +87,13 @@ $cadmin-close: map-deep-merge(
87
87
  cursor: $cadmin-disabled-cursor,
88
88
  opacity: $cadmin-component-disabled-opacity,
89
89
  outline: 0,
90
+ active: (
91
+ pointer-events: none,
92
+ ),
90
93
  ),
91
- disabled-active: (
92
- pointer-events: none,
94
+ lexicon-icon: (
95
+ margin-top: 0,
93
96
  ),
94
- btn-focus-box-shadow: $cadmin-component-focus-box-shadow,
95
- btn-focus-outline: 0,
96
- lexicon-icon-margin-top: 0,
97
97
  ),
98
98
  $cadmin-close
99
99
  );
@@ -172,6 +172,21 @@ $cadmin-inline-item: map-deep-merge(
172
172
 
173
173
  $cadmin-page-header-bg: $cadmin-white !default;
174
174
 
175
+ // Clay Gap
176
+
177
+ $cadmin-c-gap: () !default;
178
+ $cadmin-c-gap: map-merge(
179
+ (
180
+ 0: map-get($cadmin-spacers, 0),
181
+ 1: map-get($cadmin-spacers, 1),
182
+ 2: map-get($cadmin-spacers, 2),
183
+ 3: map-get($cadmin-spacers, 3),
184
+ 4: map-get($cadmin-spacers, 4),
185
+ 5: map-get($cadmin-spacers, 5),
186
+ ),
187
+ $cadmin-c-gap
188
+ );
189
+
175
190
  // Background
176
191
 
177
192
  $cadmin-bg-theme-colors: () !default;
@@ -352,8 +367,8 @@ $cadmin-border-theme-colors: map-deep-merge(
352
367
 
353
368
  // Display
354
369
 
355
- $cadmin-displays: none, inline, inline-block, block, table, table-row,
356
- table-cell, flex, inline-flex !default;
370
+ $cadmin-displays: none, inline, inline-block, grid, block, contents, table,
371
+ table-row, table-cell, flex, inline-flex !default;
357
372
 
358
373
  // Overflow
359
374
 
@@ -121,6 +121,20 @@
121
121
  }
122
122
  }
123
123
 
124
+ // Dropdown Menu Variants
125
+
126
+ @each $key, $value in $dropdown-menu-palette {
127
+ $selector: if(
128
+ starts-with($key, '.') or starts-with($key, '#'),
129
+ $key,
130
+ str-insert($key, '.', 1)
131
+ );
132
+
133
+ #{$selector} {
134
+ @include clay-dropdown-menu-variant($value);
135
+ }
136
+ }
137
+
124
138
  // Dropdown Menu Alignment
125
139
 
126
140
  @each $breakpoint in map-keys($grid-breakpoints) {
@@ -157,6 +157,18 @@ fieldset[disabled] .form-control {
157
157
  }
158
158
  }
159
159
 
160
+ @each $key, $value in $input-palette {
161
+ $selector: if(
162
+ starts-with($key, '.') or starts-with($key, '#'),
163
+ $key,
164
+ str-insert($key, '.', 1)
165
+ );
166
+
167
+ #{$selector} {
168
+ @include clay-form-control-variant($value);
169
+ }
170
+ }
171
+
160
172
  .form-control-hidden {
161
173
  left: 0;
162
174
  opacity: 0;
@@ -280,6 +292,20 @@ select.form-control[multiple] {
280
292
  @include clay-select-variant($input-select-multiple);
281
293
  }
282
294
 
295
+ // Form Control Select Variants
296
+
297
+ @each $key, $value in $form-control-select-palette {
298
+ $selector: if(
299
+ starts-with($key, '.') or starts-with($key, '#'),
300
+ $key,
301
+ str-insert($key, '.', 1)
302
+ );
303
+
304
+ #{$selector} {
305
+ @include clay-select-variant($value);
306
+ }
307
+ }
308
+
283
309
  // Textarea
284
310
 
285
311
  textarea.form-control,
@@ -124,11 +124,38 @@
124
124
  @each $color, $value in $progress-palette {
125
125
  .progress-#{$color} {
126
126
  .progress-bar {
127
- background-color: map-get($value, bar-bg);
127
+ $progress-bar: setter(map-get($value, progress-bar), ());
128
+ $progress-bar: map-merge(
129
+ $progress-bar,
130
+ (
131
+ background-color:
132
+ setter(
133
+ map-get($progress-bar, background-color),
134
+ map-get($value, bar-bg)
135
+ ),
136
+ )
137
+ );
138
+
139
+ @include clay-css($progress-bar);
128
140
  }
129
141
 
130
142
  .progress-group-feedback {
131
- color: map-get($value, group-feedback-color);
143
+ $progress-group-feedback: setter(
144
+ map-get($value, progress-group-feedback),
145
+ ()
146
+ );
147
+ $progress-group-feedback: map-merge(
148
+ $progress-group-feedback,
149
+ (
150
+ color:
151
+ setter(
152
+ map-get($progress-group-feedback, color),
153
+ map-get($value, group-feedback-color)
154
+ ),
155
+ )
156
+ );
157
+
158
+ @include clay-css($progress-group-feedback);
132
159
  }
133
160
  }
134
161
  }