@cdc/core 4.22.10 → 4.22.11

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 (73) hide show
  1. package/README.md +1 -1
  2. package/components/AdvancedEditor.js +52 -67
  3. package/components/ErrorBoundary.jsx +10 -11
  4. package/components/GlobalContext.jsx +2 -6
  5. package/components/LegendCircle.jsx +3 -4
  6. package/components/Loading.jsx +14 -12
  7. package/components/Waiting.jsx +14 -5
  8. package/components/elements/Button.jsx +34 -45
  9. package/components/elements/Card.jsx +1 -1
  10. package/components/inputs/InputCheckbox.jsx +32 -35
  11. package/components/inputs/InputGroup.jsx +38 -17
  12. package/components/inputs/InputSelect.jsx +27 -23
  13. package/components/inputs/InputText.jsx +9 -25
  14. package/components/inputs/InputToggle.jsx +29 -33
  15. package/components/managers/DataDesigner.jsx +87 -64
  16. package/components/ui/Accordion.jsx +18 -30
  17. package/components/ui/Icon.jsx +34 -35
  18. package/components/ui/LoadSpin.jsx +6 -11
  19. package/components/ui/Modal.jsx +40 -44
  20. package/components/ui/Overlay.jsx +12 -23
  21. package/components/ui/OverlayFrame.jsx +1 -5
  22. package/components/ui/Tooltip.jsx +8 -28
  23. package/data/colorPalettes.js +29 -266
  24. package/data/dataDesignerTables.js +107 -107
  25. package/data/themes.js +13 -13
  26. package/helpers/DataTransform.js +92 -92
  27. package/helpers/cacheBustingString.js +3 -3
  28. package/helpers/events.js +5 -6
  29. package/helpers/fetchRemoteData.js +31 -33
  30. package/helpers/getViewport.js +15 -15
  31. package/helpers/numberFromString.js +7 -7
  32. package/helpers/updatePaletteNames.js +15 -17
  33. package/helpers/useDataVizClasses.js +38 -35
  34. package/helpers/validateFipsCodeLength.js +41 -56
  35. package/package.json +2 -2
  36. package/styles/_data-table.scss +32 -27
  37. package/styles/_global.scss +29 -24
  38. package/styles/_mixins.scss +12 -12
  39. package/styles/_reset.scss +85 -16
  40. package/styles/_variables.scss +5 -5
  41. package/styles/base.scss +99 -48
  42. package/styles/heading-colors.scss +6 -2
  43. package/styles/loading.scss +62 -60
  44. package/styles/v2/base/_file-selector.scss +2 -2
  45. package/styles/v2/base/_general.scss +1 -1
  46. package/styles/v2/base/_reset.scss +2 -2
  47. package/styles/v2/base/index.scss +4 -4
  48. package/styles/v2/components/accordion.scss +13 -13
  49. package/styles/v2/components/button.scss +3 -3
  50. package/styles/v2/components/card.scss +1 -1
  51. package/styles/v2/components/data-designer.scss +7 -6
  52. package/styles/v2/components/editor.scss +52 -51
  53. package/styles/v2/components/guidance-block.scss +6 -6
  54. package/styles/v2/components/input/_input-check-radio.scss +7 -7
  55. package/styles/v2/components/input/_input-group.scss +2 -2
  56. package/styles/v2/components/input/_input-slider.scss +2 -3
  57. package/styles/v2/components/input/index.scss +6 -6
  58. package/styles/v2/components/loadspin.scss +1 -1
  59. package/styles/v2/components/modal.scss +2 -2
  60. package/styles/v2/components/overlay.scss +4 -4
  61. package/styles/v2/layout/_alert.scss +8 -8
  62. package/styles/v2/layout/_component.scss +1 -1
  63. package/styles/v2/layout/_data-table.scss +12 -11
  64. package/styles/v2/layout/_progression.scss +8 -6
  65. package/styles/v2/layout/index.scss +5 -5
  66. package/styles/v2/main.scss +7 -7
  67. package/styles/v2/themes/_color-definitions.scss +77 -24
  68. package/styles/v2/themes/index.scss +1 -1
  69. package/styles/v2/utils/_animations.scss +2 -2
  70. package/styles/v2/utils/_breakpoints.scss +53 -12
  71. package/styles/v2/utils/_variables.scss +5 -5
  72. package/styles/v2/utils/index.scss +8 -8
  73. package/styles/waiting.scss +22 -23
@@ -1,5 +1,5 @@
1
- @import "../utils/variables";
2
- @import "../themes/index";
1
+ @import '../utils/variables';
2
+ @import '../themes/index';
3
3
 
4
4
  .cove {
5
5
  .cove-accordion__item {
@@ -9,7 +9,7 @@
9
9
 
10
10
  .number-narrow {
11
11
  min-width: auto;
12
- width: 75px
12
+ width: 75px;
13
13
  }
14
14
  }
15
15
 
@@ -22,7 +22,7 @@
22
22
  justify-content: space-between;
23
23
  position: relative;
24
24
  width: 100%;
25
- padding: .3em 1em;
25
+ padding: 0.3em 1em;
26
26
  font-size: 1em;
27
27
  text-align: left;
28
28
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
@@ -41,14 +41,14 @@
41
41
  position: absolute;
42
42
  top: 50%;
43
43
  transform: rotate(-45deg) translateX(0) translateY(-50%);
44
- transition: .1s all;
44
+ transition: 0.1s all;
45
45
  }
46
46
 
47
47
  &[aria-expanded='true']::before,
48
48
  &[aria-selected='true']::before {
49
49
  transform: rotate(45deg) translateX(-2px) translateY(-70%);
50
50
  margin-right: 1.3em;
51
- transition: .1s all;
51
+ transition: 0.1s all;
52
52
  }
53
53
 
54
54
  .cove-tooltip,
@@ -71,7 +71,7 @@
71
71
  }
72
72
 
73
73
  h5 {
74
- font-size: .8em;
74
+ font-size: 0.8em;
75
75
  }
76
76
  }
77
77
 
@@ -114,7 +114,7 @@
114
114
  }
115
115
 
116
116
  .cove-accordion__small-inputs {
117
- input[type="text"] {
117
+ input[type='text'] {
118
118
  display: block;
119
119
  width: 100%;
120
120
  height: 22px;
@@ -139,14 +139,14 @@
139
139
  }
140
140
 
141
141
  .cove-accordion__input-error {
142
- color: #D8000C;
143
- border: #D8000C 1px solid;
142
+ color: #d8000c;
143
+ border: #d8000c 1px solid;
144
144
  }
145
145
 
146
146
  .cove-accordion__panel-error {
147
- color: #D8000C;
148
- background-color: #FFD2D2;
149
- border: #D8000C 1px solid;
147
+ color: #d8000c;
148
+ background-color: #ffd2d2;
149
+ border: #d8000c 1px solid;
150
150
  margin-top: 12px;
151
151
  padding: 4px 8px;
152
152
  line-height: 1.2em;
@@ -1,5 +1,5 @@
1
- @import "../utils/variables";
2
- @import "../themes/index";
1
+ @import '../utils/variables';
2
+ @import '../themes/index';
3
3
 
4
4
  .sbdocs .cove-button {
5
5
  margin-right: 1rem;
@@ -56,7 +56,7 @@
56
56
  position: absolute;
57
57
  inset: 0;
58
58
  outline: 2px solid rgba(161, 161, 161, 0.6);
59
- border-radius: .3125em;
59
+ border-radius: 0.3125em;
60
60
  margin: -2px;
61
61
  pointer-events: none;
62
62
  }
@@ -2,6 +2,6 @@
2
2
  border: 1px solid #c7c7c7;
3
3
  border-radius: 0.25rem;
4
4
  background-color: #f2f2f2;
5
- padding: .75rem;
5
+ padding: 0.75rem;
6
6
  height: 100%;
7
7
  }
@@ -1,10 +1,10 @@
1
- @import "../utils/variables";
2
- @import "../themes/color-definitions";
1
+ @import '../utils/variables';
2
+ @import '../themes/color-definitions';
3
3
 
4
4
  .cove-modal__content {
5
5
  .dataset-selector-container {
6
6
  padding: 1em;
7
-
7
+
8
8
  .dataset-selector {
9
9
  margin: 0 0.5em;
10
10
  padding: 0.5em;
@@ -71,7 +71,7 @@
71
71
  }
72
72
 
73
73
  p {
74
- font-size: .8rem;
74
+ font-size: 0.8rem;
75
75
  margin-bottom: 1rem;
76
76
  }
77
77
 
@@ -80,7 +80,7 @@
80
80
  }
81
81
 
82
82
  table {
83
- font-size: .8rem;
83
+ font-size: 0.8rem;
84
84
  background-color: #fff;
85
85
  border: 1px solid $lightGray;
86
86
  border-collapse: collapse;
@@ -91,7 +91,8 @@
91
91
  background-color: $primary;
92
92
  }
93
93
 
94
- th, td {
94
+ th,
95
+ td {
95
96
  padding: 0 5px;
96
97
  border-top: 1px solid $lightGray;
97
98
  border-bottom: 1px solid $lightGray;
@@ -1,12 +1,11 @@
1
- @import "../utils/variables";
2
- @import "../themes/index";
1
+ @import '../utils/variables';
2
+ @import '../themes/index';
3
3
 
4
4
  .cove-editor {
5
-
6
- @import "./../base/reset";
5
+ @import './../base/reset';
7
6
  display: grid;
8
7
  grid-template-columns: auto 1fr;
9
- grid-template-areas: "panel content";
8
+ grid-template-areas: 'panel content';
10
9
  height: 100vh;
11
10
 
12
11
  .cove-editor__panel {
@@ -24,7 +23,7 @@
24
23
  .cove-editor__heading {
25
24
  font-size: 1.125em;
26
25
  user-select: none;
27
- padding: .625rem 1.125rem;
26
+ padding: 0.625rem 1.125rem;
28
27
  }
29
28
 
30
29
  .cove-editor__panel-container {
@@ -54,7 +53,7 @@
54
53
  border: 0;
55
54
  cursor: pointer;
56
55
  transition: left 400ms ease 65ms, background-color 200ms ease;
57
- box-shadow: rgba(0, 0, 0, .5) 0 1px 2px;
56
+ box-shadow: rgba(0, 0, 0, 0.5) 0 1px 2px;
58
57
  user-select: none;
59
58
  z-index: 8;
60
59
 
@@ -63,7 +62,7 @@
63
62
  left: 50%;
64
63
  transform: translate(-50%, -50%);
65
64
  position: absolute;
66
- content: "\00ab";
65
+ content: '\00ab';
67
66
  }
68
67
 
69
68
  &.collapsed {
@@ -71,12 +70,12 @@
71
70
  margin-left: 0;
72
71
 
73
72
  &:before {
74
- content: "\00bb";
73
+ content: '\00bb';
75
74
  }
76
75
  }
77
76
 
78
77
  &:hover {
79
- background-color: #ffffff
78
+ background-color: #ffffff;
80
79
  }
81
80
  }
82
81
  }
@@ -93,7 +92,7 @@
93
92
 
94
93
  > label {
95
94
  width: 48%;
96
- margin-top: 0 !important
95
+ margin-top: 0 !important;
97
96
  }
98
97
  }
99
98
 
@@ -108,22 +107,22 @@
108
107
  border: $lightGray 1px solid;
109
108
 
110
109
  &:empty {
111
- border: none !important
110
+ border: none !important;
112
111
  }
113
112
 
114
113
  li {
115
- padding: .3em .5em;
114
+ padding: 0.3em 0.5em;
116
115
  display: flex;
117
116
  align-items: center;
118
117
  justify-content: space-between;
119
- font-size: .9em;
118
+ font-size: 0.9em;
120
119
 
121
120
  &:hover {
122
121
  background-color: $lightestGray;
123
122
  }
124
123
 
125
124
  span {
126
- font-size: .8em;
125
+ font-size: 0.8em;
127
126
  color: #f00;
128
127
  cursor: pointer;
129
128
  }
@@ -141,7 +140,7 @@
141
140
 
142
141
  .guidance-link {
143
142
  margin: 2em 1em 0;
144
- padding: .75em 1em;
143
+ padding: 0.75em 1em;
145
144
 
146
145
  svg {
147
146
  width: 60px;
@@ -158,7 +157,7 @@
158
157
  background: #565656;
159
158
  color: #fff;
160
159
  font-size: 1.1em;
161
- padding: .6em 1em;
160
+ padding: 0.6em 1em;
162
161
  position: relative;
163
162
  border-bottom: #565656 3px solid;
164
163
  z-index: 3;
@@ -191,7 +190,8 @@
191
190
  width: 30%;
192
191
  display: inline-block;
193
192
 
194
- input[type="text"], input[type="number"] {
193
+ input[type='text'],
194
+ input[type='number'] {
195
195
  width: 50px;
196
196
  }
197
197
  }
@@ -200,15 +200,15 @@
200
200
 
201
201
  .remove-column {
202
202
  margin: 0 auto;
203
- color: #C32B2B;
204
- font-size: .7em;
203
+ color: #c32b2b;
204
+ font-size: 0.7em;
205
205
  font-weight: bold;
206
206
  line-height: 1.6em;
207
207
  text-decoration: underline;
208
208
  text-transform: uppercase;
209
209
  border: 0;
210
210
  border-radius: 5px;
211
- transition: .1s all;
211
+ transition: 0.1s all;
212
212
  float: right;
213
213
  outline: 0;
214
214
  cursor: pointer;
@@ -218,13 +218,14 @@
218
218
  padding-left: 1em;
219
219
  border: 0;
220
220
  border-left: rgba(0, 0, 0, 0.2) 4px solid;
221
- transition: .2s all;
221
+ transition: 0.2s all;
222
222
 
223
223
  &:not(:first-child) {
224
224
  margin-top: 2em;
225
225
  }
226
226
 
227
- input[type="text"], input[type="number"] {
227
+ input[type='text'],
228
+ input[type='number'] {
228
229
  font-size: 1em;
229
230
  }
230
231
 
@@ -238,13 +239,13 @@
238
239
 
239
240
  &:hover {
240
241
  border-left: rgba(0, 0, 0, 0.7) 4px solid;
241
- transition: .2s all;
242
+ transition: 0.2s all;
242
243
  }
243
244
  }
244
245
 
245
246
  span.subtext {
246
247
  display: block;
247
- color: rgba(0, 0, 0, .5);
248
+ color: rgba(0, 0, 0, 0.5);
248
249
  text-transform: none;
249
250
  font-weight: normal;
250
251
  }
@@ -257,25 +258,25 @@
257
258
  list-style: none;
258
259
 
259
260
  > li {
260
- margin-right: .3em;
261
- margin-bottom: .3em;
261
+ margin-right: 0.3em;
262
+ margin-bottom: 0.3em;
262
263
  }
263
264
 
264
265
  li > div {
265
266
  display: block;
266
267
  box-sizing: border-box;
267
- border: 1px solid #D1D1D1;
268
+ border: 1px solid #d1d1d1;
268
269
  border-radius: 2px;
269
- background: #F1F1F1;
270
- padding: .4em .6em;
271
- font-size: .8em;
272
- margin-bottom: .3em;
270
+ background: #f1f1f1;
271
+ padding: 0.4em 0.6em;
272
+ font-size: 0.8em;
273
+ margin-bottom: 0.3em;
273
274
  cursor: move;
274
275
  }
275
276
  }
276
277
 
277
278
  .info {
278
- font-size: .8em;
279
+ font-size: 0.8em;
279
280
  line-height: 1.4em;
280
281
  font-style: italic;
281
282
  padding-top: 10px;
@@ -290,11 +291,11 @@
290
291
  cursor: text;
291
292
 
292
293
  input.react-tags__search-input {
293
- font-size: .8rem;
294
+ font-size: 0.8rem;
294
295
  }
295
296
 
296
297
  span {
297
- display: inline
298
+ display: inline;
298
299
  }
299
300
 
300
301
  &.is-focused {
@@ -309,23 +310,23 @@
309
310
  .react-tags__selected-tag {
310
311
  display: inline-block;
311
312
  box-sizing: border-box;
312
- border: 1px solid #D1D1D1;
313
+ border: 1px solid #d1d1d1;
313
314
  border-radius: 2px;
314
- background: #F1F1F1;
315
- padding: .4em .6em;
316
- font-size: .8em;
317
- margin-right: .3em;
318
- margin-bottom: .3em;
315
+ background: #f1f1f1;
316
+ padding: 0.4em 0.6em;
317
+ font-size: 0.8em;
318
+ margin-right: 0.3em;
319
+ margin-bottom: 0.3em;
319
320
 
320
321
  &::after {
321
322
  content: '\2715';
322
- color: #AAA;
323
+ color: #aaa;
323
324
  margin-left: 8px;
324
325
  }
325
326
 
326
327
  &:hover,
327
328
  &:focus {
328
- border-color: #B1B1B1;
329
+ border-color: #b1b1b1;
329
330
  }
330
331
  }
331
332
 
@@ -337,7 +338,7 @@
337
338
  max-width: 100%;
338
339
  margin: 0;
339
340
  outline: none;
340
- padding: .5em .3em;
341
+ padding: 0.5em 0.3em;
341
342
  font-size: inherit;
342
343
  line-height: inherit;
343
344
  }
@@ -364,7 +365,7 @@
364
365
  padding: 0;
365
366
  list-style: none;
366
367
  background: white;
367
- border: 1px solid #D1D1D1;
368
+ border: 1px solid #d1d1d1;
368
369
  border-radius: 2px;
369
370
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
370
371
  }
@@ -408,7 +409,7 @@
408
409
  text-align: left;
409
410
 
410
411
  p {
411
- font-size: .8rem;
412
+ font-size: 0.8rem;
412
413
  }
413
414
 
414
415
  .advanced-toggle-link {
@@ -426,17 +427,17 @@
426
427
  }
427
428
 
428
429
  &:hover {
429
- color: rgba(0, 0, 0, .7);
430
+ color: rgba(0, 0, 0, 0.7);
430
431
  }
431
432
  }
432
433
 
433
434
  textarea {
434
435
  height: 400px;
435
436
  width: 100%;
436
- font-size: .9em;
437
- padding: .5em;
437
+ font-size: 0.9em;
438
+ padding: 0.5em;
438
439
  font-family: monospace;
439
- box-sizing: border-box
440
+ box-sizing: border-box;
440
441
  }
441
442
  }
442
443
 
@@ -469,7 +470,7 @@ ul.color-palette {
469
470
  }
470
471
 
471
472
  &.selected {
472
- border: rgba(0, 0, 0, .8) 2px solid;
473
+ border: rgba(0, 0, 0, 0.8) 2px solid;
473
474
  }
474
475
 
475
476
  span {
@@ -1,10 +1,10 @@
1
- @import "../utils/variables";
2
- @import "../themes/color-definitions";
1
+ @import '../utils/variables';
2
+ @import '../themes/color-definitions';
3
3
 
4
4
  .cove-guidance-block {
5
5
  display: block;
6
6
  position: relative;
7
- padding: .75rem 1rem;
7
+ padding: 0.75rem 1rem;
8
8
  margin-left: 5px;
9
9
  color: #444;
10
10
  text-decoration: none;
@@ -14,7 +14,7 @@
14
14
  transition: all 200ms $transition-expo-out;
15
15
 
16
16
  &:before {
17
- content: "";
17
+ content: '';
18
18
  position: absolute;
19
19
  top: -1px;
20
20
  left: -5px;
@@ -29,7 +29,7 @@
29
29
  &:active {
30
30
  background: $lightestGray;
31
31
  color: #444;
32
- transition: .2s all;
32
+ transition: 0.2s all;
33
33
  }
34
34
 
35
35
  &:after {
@@ -70,5 +70,5 @@
70
70
  }
71
71
 
72
72
  .cove-guidance-block__content {
73
- font-size: .875rem;
73
+ font-size: 0.875rem;
74
74
  }
@@ -8,8 +8,8 @@
8
8
  align-items: center;
9
9
 
10
10
  label,
11
- input[type="checkbox"],
12
- input[type="radio"] {
11
+ input[type='checkbox'],
12
+ input[type='radio'] {
13
13
  cursor: pointer;
14
14
  user-select: none;
15
15
  }
@@ -17,14 +17,14 @@
17
17
  label {
18
18
  padding-right: 6px;
19
19
 
20
- + input[type="checkbox"],
21
- + input[type="radio"] {
20
+ + input[type='checkbox'],
21
+ + input[type='radio'] {
22
22
  margin-left: 0;
23
23
  }
24
24
  }
25
25
 
26
- input[type="checkbox"],
27
- input[type="radio"] {
26
+ input[type='checkbox'],
27
+ input[type='radio'] {
28
28
  display: inline-block;
29
29
  margin-right: 0;
30
30
  margin-left: 0;
@@ -35,7 +35,7 @@
35
35
  }
36
36
  }
37
37
 
38
- input[type="radio"] {
38
+ input[type='radio'] {
39
39
  margin-bottom: 5px;
40
40
  }
41
41
  }
@@ -34,14 +34,14 @@
34
34
  }
35
35
 
36
36
  &.clear {
37
- &[flow="left"] > {
37
+ &[flow='left'] > {
38
38
  :first-child {
39
39
  border: 0;
40
40
  left: 0;
41
41
  }
42
42
  }
43
43
 
44
- &[flow="right"] > {
44
+ &[flow='right'] > {
45
45
  :last-child {
46
46
  border: 0;
47
47
  right: 0;
@@ -91,7 +91,7 @@
91
91
  }
92
92
 
93
93
  .cove-input__slider-track {
94
- box-shadow: inset 1px 1px 3px rgb(0 0 0 / 40%)
94
+ box-shadow: inset 1px 1px 3px rgb(0 0 0 / 40%);
95
95
  }
96
96
 
97
97
  &.active {
@@ -100,7 +100,7 @@
100
100
  }
101
101
 
102
102
  .cove-input__slider-track {
103
- box-shadow: inset 1px 1px 3px rgb(0 0 0 / 60%)
103
+ box-shadow: inset 1px 1px 3px rgb(0 0 0 / 60%);
104
104
  }
105
105
  }
106
106
  }
@@ -150,7 +150,6 @@
150
150
 
151
151
  &.slider--3d {
152
152
  .cove-input__slider-button {
153
-
154
153
  &:after {
155
154
  width: calc(100% - 8px);
156
155
  height: calc(100% - 8px);
@@ -1,7 +1,7 @@
1
- @import "../../utils/variables";
2
- @import "../../themes/index";
1
+ @import '../../utils/variables';
2
+ @import '../../themes/index';
3
3
 
4
- @import "input";
5
- @import "input-check-radio";
6
- @import "input-group";
7
- @import "input-slider";
4
+ @import 'input';
5
+ @import 'input-check-radio';
6
+ @import 'input-group';
7
+ @import 'input-slider';
@@ -15,7 +15,7 @@
15
15
  transform-origin: 40px 40px;
16
16
 
17
17
  &:after {
18
- content: " ";
18
+ content: ' ';
19
19
  display: block;
20
20
  position: absolute;
21
21
  width: 7px;
@@ -1,5 +1,5 @@
1
- @import "../utils/variables";
2
- @import "../themes/index";
1
+ @import '../utils/variables';
2
+ @import '../themes/index';
3
3
 
4
4
  .cove-overlay {
5
5
  .cove-modal {
@@ -1,5 +1,5 @@
1
- @import "../utils/variables";
2
- @import "../themes/index";
1
+ @import '../utils/variables';
2
+ @import '../themes/index';
3
3
 
4
4
  .cove-overlay {
5
5
  display: flex;
@@ -35,12 +35,12 @@
35
35
 
36
36
  &.show {
37
37
  .cove-overlay__bg {
38
- opacity: 1
38
+ opacity: 1;
39
39
  }
40
40
 
41
41
  .cove-overlay__container {
42
42
  opacity: 1;
43
- transform: translateY(0)
43
+ transform: translateY(0);
44
44
  }
45
45
  }
46
46
  }
@@ -1,9 +1,9 @@
1
1
  .cove-alert__error {
2
2
  display: flex;
3
3
  justify-content: space-between;
4
- padding: .3rem 1rem;
5
- font-size: .9rem;
6
- background: #FFC2C2;
4
+ padding: 0.3rem 1rem;
5
+ font-size: 0.9rem;
6
+ background: #ffc2c2;
7
7
  border-radius: 0.1875rem;
8
8
 
9
9
  strong {
@@ -15,19 +15,19 @@
15
15
  }
16
16
 
17
17
  .cove-alert__error-dismiss {
18
- font-size: .8rem;
18
+ font-size: 0.8rem;
19
19
  flex-shrink: 0;
20
20
  cursor: pointer;
21
21
  }
22
22
  }
23
23
 
24
24
  .cove-alert__warning {
25
- padding: .75rem 1rem;
25
+ padding: 0.75rem 1rem;
26
26
  margin: 1rem 0;
27
27
  font-size: 0.8rem;
28
- color: #D8000C;
29
- background-color: #FFD2D2;
30
- border: #D8000C 1px solid;
28
+ color: #d8000c;
29
+ background-color: #ffd2d2;
30
+ border: #d8000c 1px solid;
31
31
  border-radius: 0.1875rem;
32
32
 
33
33
  strong {
@@ -27,7 +27,7 @@
27
27
  .cdc-data-bite-inner-container:not(.component--has-title) .cove-component__content:not(.no-borders) {
28
28
  border-top: 1px solid #ccc;
29
29
  }
30
-
30
+
31
31
  .cove-component__content:not(.component--hideBackgroundColor) {
32
32
  background: $lightestGray;
33
33
  }