@clayui/css 3.93.0 → 3.95.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 (54) hide show
  1. package/lib/css/atlas.css +340 -212
  2. package/lib/css/atlas.css.map +1 -1
  3. package/lib/css/base.css +207 -175
  4. package/lib/css/base.css.map +1 -1
  5. package/lib/css/cadmin.css +408 -179
  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/_buttons.scss +3 -0
  11. package/src/scss/atlas/variables/_custom-forms.scss +4 -5
  12. package/src/scss/atlas/variables/_menubar.scss +57 -17
  13. package/src/scss/atlas/variables/_pagination.scss +99 -5
  14. package/src/scss/cadmin/components/_alerts.scss +24 -22
  15. package/src/scss/cadmin/components/_aspect-ratio.scss +39 -34
  16. package/src/scss/cadmin/components/_badges.scss +41 -27
  17. package/src/scss/cadmin/components/_buttons.scss +121 -105
  18. package/src/scss/cadmin/components/_forms.scss +19 -15
  19. package/src/scss/cadmin/components/_labels.scss +60 -47
  20. package/src/scss/cadmin/components/_list-group.scss +19 -17
  21. package/src/scss/cadmin/components/_loaders.scss +22 -18
  22. package/src/scss/cadmin/components/_modals.scss +42 -101
  23. package/src/scss/cadmin/components/_navs.scss +10 -8
  24. package/src/scss/cadmin/components/_pagination.scss +1 -1
  25. package/src/scss/cadmin/components/_popovers.scss +48 -40
  26. package/src/scss/cadmin/components/_progress-bars.scss +8 -6
  27. package/src/scss/cadmin/components/_sidebar.scss +9 -7
  28. package/src/scss/cadmin/components/_stickers.scss +54 -47
  29. package/src/scss/cadmin/components/_utilities-functional-important.scss +74 -58
  30. package/src/scss/cadmin/variables/_buttons.scss +1 -1
  31. package/src/scss/cadmin/variables/_menubar.scss +54 -18
  32. package/src/scss/cadmin/variables/_modals.scss +112 -1
  33. package/src/scss/cadmin/variables/_pagination.scss +48 -8
  34. package/src/scss/cadmin/variables/_utilities.scss +35 -0
  35. package/src/scss/components/_alerts.scss +6 -6
  36. package/src/scss/components/_aspect-ratio.scss +15 -12
  37. package/src/scss/components/_badges.scss +22 -10
  38. package/src/scss/components/_buttons.scss +22 -14
  39. package/src/scss/components/_forms.scss +10 -8
  40. package/src/scss/components/_labels.scss +28 -19
  41. package/src/scss/components/_modals.scss +38 -90
  42. package/src/scss/components/_navs.scss +5 -1
  43. package/src/scss/components/_pagination.scss +1 -1
  44. package/src/scss/components/_stickers.scss +22 -19
  45. package/src/scss/components/_utilities-functional-important.scss +4 -0
  46. package/src/scss/mixins/_globals.scss +53 -12
  47. package/src/scss/mixins/_links.scss +80 -45
  48. package/src/scss/mixins/_modals.scss +26 -4
  49. package/src/scss/mixins/_nav-nested.scss +10 -3
  50. package/src/scss/mixins/_transition.scss +13 -5
  51. package/src/scss/variables/_modals.scss +111 -1
  52. package/src/scss/variables/_navs.scss +6 -1
  53. package/src/scss/variables/_pagination.scss +1 -1
  54. package/src/scss/variables/_utilities.scss +35 -0
@@ -385,12 +385,8 @@
385
385
  #{$selector} {
386
386
  @include clay-alert-variant($value);
387
387
  }
388
- } @else {
389
- $placeholder: if(
390
- starts-with($color, '.') or starts-with($color, '#'),
391
- '%#{str-slice($color, 2)}',
392
- '%alert-#{$color}'
393
- );
388
+ } @else if (starts-with($color, 'alert-')) {
389
+ $placeholder: '%alert-#{$color}';
394
390
 
395
391
  #{$placeholder} {
396
392
  @include clay-alert-variant($value);
@@ -399,6 +395,10 @@
399
395
  #{$selector} {
400
396
  @extend %alert-#{$color} !optional;
401
397
  }
398
+ } @else {
399
+ #{$selector} {
400
+ @include clay-alert-variant($value);
401
+ }
402
402
  }
403
403
  }
404
404
  }
@@ -160,14 +160,14 @@
160
160
 
161
161
  // aspect-ratio-#-to-#
162
162
 
163
- @each $selector, $value in $aspect-ratio-sizes {
163
+ @each $size, $value in $aspect-ratio-sizes {
164
164
  @if not clay-is-map-unset($value) {
165
165
  $selector: if(
166
- starts-with($selector, '.') or
167
- starts-with($selector, '#') or
168
- starts-with($selector, '%'),
169
- $selector,
170
- str-insert($selector, '.', 1)
166
+ starts-with($size, '.') or
167
+ starts-with($size, '#') or
168
+ starts-with($size, '%'),
169
+ $size,
170
+ str-insert($size, '.', 1)
171
171
  );
172
172
 
173
173
  @if (starts-with($selector, '%')) {
@@ -181,12 +181,8 @@
181
181
  #{$selector} {
182
182
  @include clay-css($value);
183
183
  }
184
- } @else {
185
- $placeholder: str-insert(
186
- str-slice($selector, 2, str-length($selector)),
187
- '%',
188
- 1
189
- );
184
+ } @else if (starts-with($size, 'aspect-ratio-')) {
185
+ $placeholder: '%#{$size}';
190
186
 
191
187
  #{$placeholder} {
192
188
  @include clay-aspect-ratio(
@@ -198,6 +194,13 @@
198
194
  #{$selector} {
199
195
  @extend #{$placeholder} !optional;
200
196
  }
197
+ } @else {
198
+ #{$selector} {
199
+ @include clay-aspect-ratio(
200
+ map-get($value, width),
201
+ map-get($value, height)
202
+ );
203
+ }
201
204
  }
202
205
  }
203
206
  }
@@ -109,23 +109,31 @@
109
109
 
110
110
  @each $color, $value in $badge-palette {
111
111
  @if not clay-is-map-unset($value) {
112
+ $deprecated-keys: 'primary', 'secondary', 'success', 'info', 'warning',
113
+ 'danger', 'dark', 'light';
114
+
112
115
  $selector: if(
113
- starts-with($color, '.') or
114
- starts-with($color, '#') or
115
- starts-with($color, '%'),
116
- $color,
117
- if(
118
- starts-with($color, 'badge'),
119
- str-insert($color, '.', 1),
120
- str-insert($color, '.badge-', 1)
121
- )
116
+ index($deprecated-keys, '#{$color}') != null,
117
+ str-insert($color, '.badge-', 1),
118
+ if
119
+ (
120
+ starts-with($color, 'badge'),
121
+ str-insert($color, '.', 1),
122
+ $color
123
+ )
122
124
  );
123
125
 
124
126
  @if (starts-with($color, '%') or map-get($value, extend)) {
125
127
  #{$selector} {
126
128
  @include clay-badge-variant($value);
127
129
  }
128
- } @else {
130
+ } @else if
131
+ (
132
+ starts-with($color, 'badge') or
133
+ index($deprecated-keys, '#{$color}') !=
134
+ null
135
+ )
136
+ {
129
137
  $placeholder: if(
130
138
  starts-with($color, '.') or starts-with($color, '#'),
131
139
  '%#{str-slice($color, 2)}',
@@ -139,6 +147,10 @@
139
147
  #{$selector} {
140
148
  @extend #{$placeholder} !optional;
141
149
  }
150
+ } @else {
151
+ #{$selector} {
152
+ @include clay-badge-variant($value);
153
+ }
142
154
  }
143
155
  }
144
156
  }
@@ -30,12 +30,8 @@ fieldset:disabled a.btn {
30
30
  #{$selector} {
31
31
  @include clay-button-variant($value);
32
32
  }
33
- } @else {
34
- $placeholder: if(
35
- starts-with($size, 'btn-'),
36
- '%clay-#{$size}',
37
- '%#{str-slice($size, 2)}'
38
- );
33
+ } @else if (starts-with($size, 'btn-')) {
34
+ $placeholder: '%clay-#{$size}';
39
35
 
40
36
  #{$placeholder} {
41
37
  @include clay-button-variant($value);
@@ -44,6 +40,10 @@ fieldset:disabled a.btn {
44
40
  #{$selector} {
45
41
  @extend #{$placeholder} !optional;
46
42
  }
43
+ } @else {
44
+ #{$selector} {
45
+ @include clay-button-variant($value);
46
+ }
47
47
  }
48
48
  }
49
49
  }
@@ -97,12 +97,8 @@ input[type='button'] {
97
97
  #{$selector} {
98
98
  @include clay-button-variant($value);
99
99
  }
100
- } @else {
101
- $placeholder: if(
102
- starts-with($size, 'btn-monospaced'),
103
- '%clay-#{$size}',
104
- '%#{str-slice($size, 2)}'
105
- );
100
+ } @else if (starts-with($size, 'btn-monospaced')) {
101
+ $placeholder: '%clay-#{$size}';
106
102
 
107
103
  #{$placeholder} {
108
104
  @include clay-button-variant($value);
@@ -111,6 +107,10 @@ input[type='button'] {
111
107
  #{$selector} {
112
108
  @extend #{$placeholder} !optional;
113
109
  }
110
+ } @else {
111
+ #{$selector} {
112
+ @include clay-button-variant($value);
113
+ }
114
114
  }
115
115
  }
116
116
  }
@@ -135,7 +135,7 @@ input[type='button'] {
135
135
  #{$selector} {
136
136
  @include clay-button-variant($value);
137
137
  }
138
- } @else {
138
+ } @else if (starts-with($color, 'btn-')) {
139
139
  $placeholder: '%#{str-slice($selector, 2)}';
140
140
 
141
141
  $placeholder-focus: '%#{str-slice($selector, 2)}-focus';
@@ -151,6 +151,10 @@ input[type='button'] {
151
151
  #{$placeholder-focus} {
152
152
  @include clay-button-variant(map-get($value, focus));
153
153
  }
154
+ } @else {
155
+ #{$selector} {
156
+ @include clay-button-variant($value);
157
+ }
154
158
  }
155
159
  }
156
160
  }
@@ -175,7 +179,7 @@ input[type='button'] {
175
179
  #{$selector} {
176
180
  @include clay-button-variant($value);
177
181
  }
178
- } @else {
182
+ } @else if (starts-with($color, 'btn-outline')) {
179
183
  $placeholder: '%#{str-slice($selector, 2)}';
180
184
 
181
185
  $placeholder-focus: '%#{str-slice($selector, 2)}-focus';
@@ -191,6 +195,10 @@ input[type='button'] {
191
195
  #{$placeholder-focus} {
192
196
  @include clay-button-variant(map-get($value, focus));
193
197
  }
198
+ } @else {
199
+ #{$selector} {
200
+ @include clay-button-variant($value);
201
+ }
194
202
  }
195
203
  }
196
204
  }
@@ -297,14 +297,16 @@ select.form-control[multiple] {
297
297
  // Form Control Select Variants
298
298
 
299
299
  @each $key, $value in $form-control-select-palette {
300
- $selector: if(
301
- starts-with($key, '.') or starts-with($key, '#'),
302
- $key,
303
- str-insert($key, '.', 1)
304
- );
305
-
306
- #{$selector} {
307
- @include clay-select-variant($value);
300
+ @if not clay-is-map-unset($value) {
301
+ $selector: if(
302
+ starts-with($key, '.') or starts-with($key, '#'),
303
+ $key,
304
+ str-insert($key, '.', 1)
305
+ );
306
+
307
+ #{$selector} {
308
+ @include clay-select-variant($value);
309
+ }
308
310
  }
309
311
  }
310
312
 
@@ -88,26 +88,22 @@
88
88
 
89
89
  // Label Sizes
90
90
 
91
- @each $selector, $value in $label-sizes {
91
+ @each $size, $value in $label-sizes {
92
92
  @if not clay-is-map-unset($value) {
93
93
  $selector: if(
94
- starts-with($selector, '.') or
95
- starts-with($selector, '#') or
96
- starts-with($selector, '%'),
97
- $selector,
98
- str-insert($selector, '.', 1)
94
+ starts-with($size, '.') or
95
+ starts-with($size, '#') or
96
+ starts-with($size, '%'),
97
+ $size,
98
+ str-insert($size, '.', 1)
99
99
  );
100
100
 
101
- @if (starts-with($selector, '%') or map-get($value, extend)) {
101
+ @if (starts-with($size, '%') or map-get($value, extend)) {
102
102
  #{$selector} {
103
103
  @include clay-label-variant($value);
104
104
  }
105
- } @else {
106
- $placeholder: if(
107
- starts-with($selector, '.') or starts-with($selector, '#'),
108
- '%#{str-slice($selector, 2)}',
109
- '%#{$selector}'
110
- );
105
+ } @else if (starts-with($size, 'label-')) {
106
+ $placeholder: '%#{size}';
111
107
 
112
108
  #{$placeholder} {
113
109
  @include clay-label-variant($value);
@@ -116,6 +112,10 @@
116
112
  #{$selector} {
117
113
  @extend #{$placeholder} !optional;
118
114
  }
115
+ } @else {
116
+ #{$selector} {
117
+ @include clay-label-variant($value);
118
+ }
119
119
  }
120
120
  }
121
121
  }
@@ -124,6 +124,9 @@
124
124
 
125
125
  @each $color, $value in $label-palette {
126
126
  @if not clay-is-map-unset($value) {
127
+ $deprecated-keys: 'primary', 'secondary', 'success', 'info', 'warning',
128
+ 'danger', 'dark', 'light';
129
+
127
130
  $selector: if(
128
131
  starts-with($color, '.') or
129
132
  starts-with($color, '#') or
@@ -136,12 +139,14 @@
136
139
  #{$selector} {
137
140
  @include clay-label-variant($value);
138
141
  }
139
- } @else {
140
- $placeholder: if(
141
- starts-with($color, '.') or starts-with($color, '#'),
142
- '%#{str-slice($color, 2)}',
143
- '%label-#{$color}'
144
- );
142
+ } @else if
143
+ (
144
+ starts-with($color, 'inverse-') or
145
+ index($deprecated-keys, '#{$color}') !=
146
+ null
147
+ )
148
+ {
149
+ $placeholder: '%label-#{$color}';
145
150
 
146
151
  #{$placeholder} {
147
152
  @include clay-label-variant($value);
@@ -150,6 +155,10 @@
150
155
  #{$selector} {
151
156
  @extend #{$placeholder} !optional;
152
157
  }
158
+ } @else {
159
+ #{$selector} {
160
+ @include clay-label-variant($value);
161
+ }
153
162
  }
154
163
  }
155
164
  }
@@ -8,15 +8,7 @@
8
8
  }
9
9
 
10
10
  .modal {
11
- display: none;
12
- height: 100%;
13
- left: 0;
14
- outline: 0;
15
- overflow: hidden;
16
- position: fixed;
17
- top: 0;
18
- width: 100%;
19
- z-index: $zindex-modal;
11
+ @include clay-css($modal);
20
12
  }
21
13
 
22
14
  .modal-dialog {
@@ -143,57 +135,42 @@
143
135
  }
144
136
 
145
137
  .modal-backdrop {
146
- background-color: $modal-backdrop-bg;
147
- height: 100vh;
148
- left: 0;
149
- position: fixed;
150
- top: 0;
151
- width: 100vw;
152
- z-index: $zindex-modal-backdrop;
153
-
154
- &.fade {
155
- opacity: 0;
156
- }
157
-
158
- &.show {
159
- opacity: $modal-backdrop-opacity;
160
- }
138
+ @include clay-map-to-css($modal-backdrop);
161
139
  }
162
140
 
163
141
  .modal-content {
164
- background-clip: padding-box;
165
- background-color: $modal-content-bg;
166
- border: $modal-content-border-width solid $modal-content-border-color;
167
-
168
- @include border-radius($modal-content-border-radius);
169
- @include box-shadow($modal-content-box-shadow-xs);
170
-
171
- color: $modal-content-color;
172
- display: flex;
173
- flex-direction: column;
174
- outline: 0;
175
- overflow: hidden;
176
- pointer-events: auto;
177
- position: relative;
178
- width: 100%;
142
+ @include clay-map-to-css($modal-content);
179
143
  }
180
144
 
181
145
  .modal-header {
182
- $breakpoint-down: map-get($modal-header, breakpoint-down);
146
+ $_modal-header: setter(map-get($modal, modal-header), ());
183
147
 
184
- @include clay-css($modal-header);
148
+ $_breakpoint-down: map-get($_modal-header, breakpoint-down);
149
+ $_mobile: map-get($_modal-header, mobile);
185
150
 
186
- @include clay-scale-component(null, $breakpoint-down) {
187
- @include clay-css(map-get($modal-header, mobile));
151
+ $_modal-header: map-remove($_modal-header, breakpoint-down, mobile);
152
+
153
+ @include clay-map-to-css($_modal-header);
154
+
155
+ @include clay-scale-component(null, $_breakpoint-down) {
156
+ @include clay-css(map-get($_modal-header, mobile));
188
157
  }
189
158
  }
190
159
 
191
160
  .modal-body {
192
- @include clay-css($modal-body);
161
+ $_modal-body: setter(map-get($modal, modal-body), ());
162
+ $_modal-body: map-deep-merge(
163
+ $_modal-body,
164
+ (
165
+ '&.inline-scroller':
166
+ map-merge(
167
+ setter(map-get($_modal-body, '&.inline-scroller'), ()),
168
+ setter(map-get($_modal-body, inline-scroller), ())
169
+ ),
170
+ )
171
+ );
193
172
 
194
- &.inline-scroller {
195
- @include clay-css(map-get($modal-body, inline-scroller));
196
- }
173
+ @include clay-map-to-css($_modal-body);
197
174
  }
198
175
 
199
176
  .modal-body-flush {
@@ -201,31 +178,11 @@
201
178
  }
202
179
 
203
180
  .modal-footer {
204
- align-items: center;
205
- background-color: $modal-footer-bg;
206
- border-top: $modal-footer-border-width solid $modal-footer-border-color;
207
-
208
- @include border-bottom-radius($modal-content-inner-border-radius);
209
- @include box-shadow($modal-footer-box-shadow);
210
-
211
- color: $modal-footer-color;
212
- display: flex;
213
- flex-shrink: 0;
214
- flex-wrap: wrap;
215
- height: $modal-footer-height;
216
- justify-content: flex-start;
217
- padding-bottom: $modal-footer-padding-y;
218
- padding-left: $modal-footer-padding-x;
219
- padding-right: $modal-footer-padding-x;
220
- padding-top: $modal-footer-padding-y;
181
+ @include clay-map-to-css(map-get($modal, modal-footer));
221
182
 
222
183
  @include clay-scale-component {
223
184
  height: $modal-footer-height-mobile;
224
185
  }
225
-
226
- > * {
227
- margin: $modal-footer-margin-between * 0.5;
228
- }
229
186
  }
230
187
 
231
188
  // Modal Item
@@ -279,15 +236,7 @@
279
236
  // Modal Title
280
237
 
281
238
  .modal-title {
282
- flex-grow: 1;
283
- font-size: $modal-title-font-size;
284
- font-weight: $modal-title-font-weight;
285
- line-height: $modal-title-line-height;
286
- margin-bottom: 0;
287
- overflow: hidden;
288
- text-align: $modal-title-text-align;
289
- text-overflow: ellipsis;
290
- white-space: nowrap;
239
+ @include clay-css(map-get($modal, modal-title));
291
240
 
292
241
  @include clay-scale-component {
293
242
  font-size: $modal-title-font-size-mobile;
@@ -295,11 +244,7 @@
295
244
  }
296
245
 
297
246
  .modal-title-indicator {
298
- display: inline-block;
299
- font-size: $modal-title-indicator-font-size;
300
- margin-right: $modal-title-indicator-spacer-x;
301
- margin-top: -0.2em;
302
- vertical-align: middle;
247
+ @include clay-css(map-get($modal, modal-title-indicator));
303
248
  }
304
249
 
305
250
  // Modal Subtitle
@@ -319,13 +264,7 @@
319
264
  // Modal Close
320
265
 
321
266
  .modal .close {
322
- &:first-child {
323
- margin-left: math-sign($modal-close-spacer-x);
324
- }
325
-
326
- &:last-child {
327
- margin-right: math-sign($modal-close-spacer-x);
328
- }
267
+ @include clay-close(map-get($modal, close));
329
268
  }
330
269
 
331
270
  .close + .modal-title {
@@ -491,7 +430,16 @@
491
430
 
492
431
  @each $color, $value in $modal-palette {
493
432
  @if not clay-is-map-unset($value) {
494
- .modal-#{$color} {
433
+ $deprecated-keys: 'primary', 'secondary', 'success', 'info', 'warning',
434
+ 'danger', 'dark', 'light';
435
+
436
+ $selector: if(
437
+ index($deprecated-keys, '#{$color}') != null,
438
+ str-insert($color, '.modal-', 1),
439
+ $color
440
+ );
441
+
442
+ #{$selector} {
495
443
  @include clay-modal-variant($value);
496
444
  }
497
445
  }
@@ -118,7 +118,11 @@
118
118
  flex-direction: column;
119
119
  flex-wrap: nowrap;
120
120
 
121
- @include clay-nav-nested($nav-nested-spacer-x);
121
+ @include clay-nav-nested(
122
+ $nav-nested-spacer-x,
123
+ $nav-nested-nest-level,
124
+ $nav-nested-nav-class
125
+ );
122
126
  }
123
127
 
124
128
  .nav-nested-margins {
@@ -19,7 +19,7 @@
19
19
 
20
20
  &.active {
21
21
  .page-link {
22
- @include clay-link(map-get($pagination-link, active));
22
+ @include clay-link(map-get($pagination-link, active-class));
23
23
  }
24
24
  }
25
25
 
@@ -53,26 +53,22 @@
53
53
 
54
54
  // Sticker Sizes
55
55
 
56
- @each $selector, $value in $sticker-sizes {
56
+ @each $size, $value in $sticker-sizes {
57
57
  @if not clay-is-map-unset($value) {
58
58
  $selector: if(
59
- starts-with($selector, '.') or
60
- starts-with($selector, '#') or
61
- starts-with($selector, '%'),
62
- $selector,
63
- str-insert($selector, '.', 1)
59
+ starts-with($size, '.') or
60
+ starts-with($size, '#') or
61
+ starts-with($size, '%'),
62
+ $size,
63
+ str-insert($size, '.', 1)
64
64
  );
65
65
 
66
- @if (starts-with($selector, '%') or map-get($value, extend)) {
66
+ @if (starts-with($size, '%') or map-get($value, extend)) {
67
67
  #{$selector} {
68
68
  @include clay-sticker-variant($value);
69
69
  }
70
- } @else {
71
- $placeholder: if(
72
- starts-with($selector, '.') or starts-with($selector, '#'),
73
- '%#{str-slice($selector, 2)}',
74
- '%#{$selector}'
75
- );
70
+ } @else if(starts-with($size, 'sticker-')) {
71
+ $placeholder: '%#{$size}';
76
72
 
77
73
  #{$placeholder} {
78
74
  @include clay-sticker-variant($value);
@@ -81,6 +77,10 @@
81
77
  #{$selector} {
82
78
  @extend #{$placeholder} !optional;
83
79
  }
80
+ } @else {
81
+ #{$selector} {
82
+ @include clay-sticker-variant($value);
83
+ }
84
84
  }
85
85
  }
86
86
  }
@@ -89,6 +89,9 @@
89
89
 
90
90
  @each $color, $value in $sticker-palette {
91
91
  @if not clay-is-map-unset($value) {
92
+ $deprecated-keys: 'primary', 'secondary', 'success', 'info', 'warning',
93
+ 'danger', 'dark', 'light';
94
+
92
95
  $selector: if(
93
96
  starts-with($color, '.') or
94
97
  starts-with($color, '#') or
@@ -101,12 +104,8 @@
101
104
  #{$selector} {
102
105
  @include clay-sticker-variant($value);
103
106
  }
104
- } @else {
105
- $placeholder: if(
106
- starts-with($color, '.') or starts-with($color, '#'),
107
- '%#{str-slice($color, 2)}',
108
- '%sticker-#{$color}'
109
- );
107
+ } @else if (index($deprecated-keys, '#{$color}') != null) {
108
+ $placeholder: '%sticker-#{$color}';
110
109
 
111
110
  #{$placeholder} {
112
111
  @include clay-sticker-variant($value);
@@ -115,6 +114,10 @@
115
114
  #{$selector} {
116
115
  @extend #{$placeholder} !optional;
117
116
  }
117
+ } @else {
118
+ #{$selector} {
119
+ @include clay-sticker-variant($value);
120
+ }
118
121
  }
119
122
  }
120
123
  }
@@ -190,6 +190,10 @@
190
190
  display: none !important;
191
191
  }
192
192
 
193
+ // Display C Reduced Motion
194
+
195
+ @include clay-map-to-css($displays-c-prefers-reduced-motion);
196
+
193
197
  // Display Print
194
198
 
195
199
  @media print {