@cdc/map 4.23.3 → 4.23.4

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.
@@ -2,20 +2,19 @@
2
2
  .cove {
3
3
  // Temp Radio button fix
4
4
  // Resets User Agent Style, forms.css is overwriting our styles here.
5
- input[type="radio"] {
6
- background-color: initial !important;
7
- cursor: default !important;
8
- appearance: auto !important;
9
- box-sizing: border-box !important;
10
- margin: 3px 3px 0px 5px !important;
11
- padding: initial !important;
12
- border: initial !important;
5
+ input[type='radio'] {
6
+ background-color: initial !important;
7
+ cursor: default !important;
8
+ appearance: auto !important;
9
+ box-sizing: border-box !important;
10
+ margin: 3px 3px 0px 5px !important;
11
+ padding: initial !important;
12
+ border: initial !important;
13
13
  }
14
14
  // End Temp Radio button fix
15
15
  }
16
16
  }
17
17
  .cdc-open-viz-module {
18
-
19
18
  .geo-buttons {
20
19
  list-style: none;
21
20
  display: flex;
@@ -24,15 +23,15 @@
24
23
  display: block;
25
24
  max-width: 80px;
26
25
  max-height: 40px;
27
- margin: .5em auto;
26
+ margin: 0.5em auto;
28
27
  box-sizing: border-box;
29
28
  path {
30
- fill: currentColor
29
+ fill: currentColor;
31
30
  }
32
31
  }
33
32
  button {
34
33
  background: transparent;
35
- padding: .3em .75em;
34
+ padding: 0.3em 0.75em;
36
35
  display: flex;
37
36
  border: $lightGray 1px solid;
38
37
  width: 40%;
@@ -41,11 +40,11 @@
41
40
  cursor: pointer;
42
41
  overflow: hidden;
43
42
  flex-direction: column;
44
- transition: .2s all;
43
+ transition: 0.2s all;
45
44
  svg {
46
45
  display: block;
47
46
  height: 25px;
48
- margin: .5em auto;
47
+ margin: 0.5em auto;
49
48
  max-width: 100%;
50
49
  }
51
50
  span {
@@ -53,8 +52,8 @@
53
52
  font-size: 1em;
54
53
  }
55
54
  &:hover {
56
- background: #F2F2F2;
57
- transition: .2s all;
55
+ background: #f2f2f2;
56
+ transition: 0.2s all;
58
57
  }
59
58
  &.active {
60
59
  background: #fff;
@@ -65,7 +64,7 @@
65
64
  fill: #005eaa;
66
65
  }
67
66
  &:before {
68
- content: " ";
67
+ content: ' ';
69
68
  width: 5px;
70
69
  background: #005eaa;
71
70
  left: 0;
@@ -78,36 +77,36 @@
78
77
  }
79
78
 
80
79
  .editor-toggle {
81
- background: #F2F2F2;
80
+ background: #f2f2f2;
82
81
  border-radius: 60px;
83
82
  color: #000;
84
83
  font-size: 1em;
85
84
  border: 0;
86
85
  position: fixed;
87
86
  z-index: 100;
88
- transition: .1s background;
87
+ transition: 0.1s background;
89
88
  cursor: pointer;
90
89
  width: 25px;
91
90
  height: 25px;
92
91
  left: 307px;
93
92
  top: 10px;
94
- box-shadow: rgba(0,0,0,.5) 0 1px 2px;
93
+ box-shadow: rgba(0, 0, 0, 0.5) 0 1px 2px;
95
94
  &:before {
96
95
  top: 43%;
97
96
  left: 50%;
98
97
  transform: translate(-50%, -50%);
99
98
  position: absolute;
100
- content: "\00ab";
99
+ content: '\00ab';
101
100
  }
102
101
  &.collapsed {
103
102
  left: 1em;
104
103
  margin-left: 0;
105
104
  &:before {
106
- content: "\00bb";
107
- }
105
+ content: '\00bb';
106
+ }
108
107
  }
109
108
  &:hover {
110
- background: rgba(255,255,255,1)
109
+ background: rgba(255, 255, 255, 1);
111
110
  }
112
111
  }
113
112
 
@@ -125,7 +124,7 @@
125
124
 
126
125
  //TODO: Remove after COVE refactor
127
126
  &.cove {
128
- @import "@cdc/core/styles/v2/layout/tooltip.scss";
127
+ @import '@cdc/core/styles/v2/layout/tooltip.scss';
129
128
  }
130
129
 
131
130
  .remove-column {
@@ -140,12 +139,12 @@
140
139
  }
141
140
  .helper {
142
141
  position: relative;
143
- opacity: .7;
142
+ opacity: 0.7;
144
143
  cursor: pointer;
145
144
  width: 17px;
146
145
  height: 17px;
147
146
  align-self: center;
148
- margin-left: .3rem;
147
+ margin-left: 0.3rem;
149
148
  }
150
149
 
151
150
  .accordion__heading {
@@ -157,7 +156,7 @@
157
156
  }
158
157
  .guidance-link {
159
158
  margin: 2em 1em 0;
160
- padding: .75em 1em;
159
+ padding: 0.75em 1em;
161
160
  align-items: center;
162
161
  .heading-3 {
163
162
  font-weight: 600;
@@ -174,13 +173,13 @@
174
173
  }
175
174
  }
176
175
  .warning {
177
- color: #D8000C;
178
- background-color: #FFD2D2;
179
- padding: .75em 1em;
176
+ color: #d8000c;
177
+ background-color: #ffd2d2;
178
+ padding: 0.75em 1em;
180
179
  margin: 1em 0;
181
- font-size: .8em;
182
- border: #D8000C 1px solid;
183
- border-radius: .4em;
180
+ font-size: 0.8em;
181
+ border: #d8000c 1px solid;
182
+ border-radius: 0.4em;
184
183
  strong {
185
184
  font-weight: 600;
186
185
  display: block;
@@ -189,7 +188,7 @@
189
188
  .accordion__button {
190
189
  cursor: pointer;
191
190
  font-size: 1em;
192
- padding: .3em 1em;
191
+ padding: 0.3em 1em;
193
192
  width: 100%;
194
193
  text-align: left;
195
194
  position: relative;
@@ -209,7 +208,7 @@
209
208
  position: absolute;
210
209
  top: 50%;
211
210
  transform: rotate(-45deg) translateY(-50%);
212
- transition: .1s all;
211
+ transition: 0.1s all;
213
212
  }
214
213
 
215
214
  .accordion__button[aria-expanded='true']::before,
@@ -217,7 +216,7 @@
217
216
  top: 45%;
218
217
  transform: rotate(45deg) translateY(-50%);
219
218
  margin-right: 1.3em;
220
- transition: .1s all;
219
+ transition: 0.1s all;
221
220
  }
222
221
 
223
222
  .accordion__panel {
@@ -225,7 +224,7 @@
225
224
  padding: 1em 1.25em 2em;
226
225
  animation: fadein 0.2s ease-in;
227
226
  span.h5 {
228
- font-size: .8em;
227
+ font-size: 0.8em;
229
228
  }
230
229
  }
231
230
 
@@ -233,7 +232,7 @@
233
232
  padding: 0 1em 1em;
234
233
  text-align: left;
235
234
  p {
236
- font-size: .8rem;
235
+ font-size: 0.8rem;
237
236
  }
238
237
  .advanced-toggle-link {
239
238
  padding-top: 1em;
@@ -248,16 +247,16 @@
248
247
  padding-right: 5px;
249
248
  }
250
249
  &:hover {
251
- color: rgba(0,0,0,.7);
250
+ color: rgba(0, 0, 0, 0.7);
252
251
  }
253
252
  }
254
253
  textarea {
255
254
  height: 400px;
256
255
  width: 100%;
257
- font-size: .9em;
258
- padding: .5em;
256
+ font-size: 0.9em;
257
+ padding: 0.5em;
259
258
  font-family: monospace;
260
- box-sizing: border-box
259
+ box-sizing: border-box;
261
260
  }
262
261
  }
263
262
 
@@ -275,29 +274,29 @@
275
274
  background: #565656;
276
275
  color: #fff;
277
276
  font-size: 1.1em;
278
- padding: .6em 1em;
277
+ padding: 0.6em 1em;
279
278
  position: relative;
280
- border-bottom:#565656 3px solid;
279
+ border-bottom: #565656 3px solid;
281
280
  z-index: 3;
282
281
  }
283
282
 
284
283
  label {
285
284
  text-transform: uppercase;
286
285
  display: block;
287
- font-size: .8em;
286
+ font-size: 0.8em;
288
287
  font-weight: 600;
289
288
  &:not(:first-child) {
290
289
  margin-top: 1em;
291
290
  }
292
291
  span.edit-label {
293
- margin-bottom: .3em;
292
+ margin-bottom: 0.3em;
294
293
  display: flex;
295
294
  }
296
295
  span.column-heading {
297
296
  font-size: 1em;
298
297
  }
299
298
  &.checkbox {
300
- margin-top: .5rem;
299
+ margin-top: 0.5rem;
301
300
  display: flex;
302
301
 
303
302
  input {
@@ -307,7 +306,10 @@
307
306
  }
308
307
  }
309
308
  }
310
- input[type="text"], input[role="combobox"], input[type="number"], textarea {
309
+ input[type='text'],
310
+ input[role='combobox'],
311
+ input[type='number'],
312
+ textarea {
311
313
  min-width: 100%;
312
314
  max-width: 100%; // Doing this prevents width of textarea from being changed
313
315
  }
@@ -324,7 +326,7 @@
324
326
  display: flex;
325
327
  max-width: 100%;
326
328
  padding: 0;
327
- margin: .5em 0 0 0;
329
+ margin: 0.5em 0 0 0;
328
330
  list-style: none;
329
331
  flex-wrap: wrap;
330
332
  li {
@@ -345,7 +347,7 @@
345
347
  bottom: 0;
346
348
  }
347
349
  &.selected {
348
- border: rgba(0,0,0, .8) 2px solid;
350
+ border: rgba(0, 0, 0, 0.8) 2px solid;
349
351
  }
350
352
  span {
351
353
  width: 33.3%;
@@ -375,7 +377,8 @@
375
377
  margin-top: 0;
376
378
  width: 30%;
377
379
  display: inline-block;
378
- input[type="text"], input[type="number"] {
380
+ input[type='text'],
381
+ input[type='number'] {
379
382
  width: 50px;
380
383
  }
381
384
  }
@@ -389,12 +392,12 @@
389
392
  .emove-column {
390
393
  float: right;
391
394
  text-transform: uppercase;
392
- color: #C32B2B;
393
- font-size: .7em;
395
+ color: #c32b2b;
396
+ font-size: 0.7em;
394
397
  line-height: 1.6em;
395
398
  border-radius: 5px;
396
399
  margin: 0 auto;
397
- transition: .1s all;
400
+ transition: 0.1s all;
398
401
  border: 0;
399
402
  text-decoration: underline;
400
403
  outline: 0;
@@ -405,11 +408,12 @@
405
408
  .edit-block {
406
409
  padding-left: 1em;
407
410
  border-left: rgba(0, 0, 0, 0.2) 4px solid;
408
- transition: .2s all;
411
+ transition: 0.2s all;
409
412
  &:not(:first-child) {
410
413
  margin-top: 2em;
411
414
  }
412
- input[type="text"], input[type="number"] {
415
+ input[type='text'],
416
+ input[type='number'] {
413
417
  font-size: 1em;
414
418
  }
415
419
  label {
@@ -420,7 +424,7 @@
420
424
  }
421
425
  &:hover {
422
426
  border-left: rgba(0, 0, 0, 0.7) 4px solid;
423
- transition: .2s all;
427
+ transition: 0.2s all;
424
428
  }
425
429
  }
426
430
 
@@ -430,16 +434,16 @@
430
434
  padding-left: 2em;
431
435
  position: relative;
432
436
  &:before {
433
- content: " ";
437
+ content: ' ';
434
438
  position: absolute;
435
439
  left: 20px;
436
440
  top: 0;
437
441
  bottom: 0;
438
442
  border-left: rgba(0, 0, 0, 0.2) 4px solid;
439
- transition: .2s all;
443
+ transition: 0.2s all;
440
444
  }
441
445
  &:after {
442
- content: " ";
446
+ content: ' ';
443
447
  background: url('../images/inactive-checkmark.svg') no-repeat;
444
448
  width: 14px;
445
449
  height: 14px;
@@ -449,16 +453,17 @@
449
453
  top: 50%;
450
454
  transform: translateY(-50%);
451
455
  z-index: 40;
452
- opacity: .5;
453
- transition: .2s opacity;
456
+ opacity: 0.5;
457
+ transition: 0.2s opacity;
454
458
  }
455
- transition: .2s opacity;
459
+ transition: 0.2s opacity;
456
460
  cursor: pointer;
457
- opacity: .7;
461
+ opacity: 0.7;
458
462
  &:not(:first-child) {
459
463
  margin-top: 1em;
460
464
  }
461
- input[type="text"], input[type="number"] {
465
+ input[type='text'],
466
+ input[type='number'] {
462
467
  font-size: 1em;
463
468
  }
464
469
  label {
@@ -470,11 +475,11 @@
470
475
  &:hover {
471
476
  &:before {
472
477
  border-left: rgba(0, 0, 0, 0.7) 4px solid;
473
- transition: .2s all;
478
+ transition: 0.2s all;
474
479
  }
475
- &:after{
480
+ &:after {
476
481
  opacity: 1;
477
- transition: .2s all;
482
+ transition: 0.2s all;
478
483
  }
479
484
  }
480
485
  &.active {
@@ -484,10 +489,10 @@
484
489
  border-left: rgba(0, 0, 0, 0.7) 4px solid;
485
490
  }
486
491
  &:after {
487
- content: " ";
492
+ content: ' ';
488
493
  background-image: url(../images/active-checkmark.svg);
489
494
  opacity: 1;
490
- transition: .2s opacity;
495
+ transition: 0.2s opacity;
491
496
  }
492
497
  }
493
498
  }
@@ -495,7 +500,7 @@
495
500
 
496
501
  span.subtext {
497
502
  display: block;
498
- color: rgba(0,0,0,.5);
503
+ color: rgba(0, 0, 0, 0.5);
499
504
  text-transform: none;
500
505
  font-weight: normal;
501
506
  }
@@ -506,25 +511,25 @@
506
511
  .sort-list {
507
512
  list-style: none;
508
513
  > li {
509
- margin-right: .3em;
510
- margin-bottom: .3em;
514
+ margin-right: 0.3em;
515
+ margin-bottom: 0.3em;
511
516
  }
512
517
  }
513
518
  .sort-list li > div {
514
519
  display: block;
515
520
  box-sizing: border-box;
516
- border: 1px solid #D1D1D1;
521
+ border: 1px solid #d1d1d1;
517
522
  border-radius: 2px;
518
- background: #F1F1F1;
519
- padding: .4em .6em;
520
- font-size: .8em;
521
- margin-bottom: .3em;
523
+ background: #f1f1f1;
524
+ padding: 0.4em 0.6em;
525
+ font-size: 0.8em;
526
+ margin-bottom: 0.3em;
522
527
  cursor: move;
523
528
  z-index: 999;
524
529
  }
525
530
 
526
531
  .info {
527
- font-size: .8em;
532
+ font-size: 0.8em;
528
533
  line-height: 1.4em;
529
534
  font-style: italic;
530
535
  padding-top: 10px;
@@ -537,12 +542,12 @@
537
542
  .react-tags {
538
543
  position: relative;
539
544
  input.react-tags__search-input {
540
- font-size: .8rem;
545
+ font-size: 0.8rem;
541
546
  }
542
547
  /* clicking anywhere will focus the input */
543
548
  cursor: text;
544
549
  span {
545
- display: inline
550
+ display: inline;
546
551
  }
547
552
  }
548
553
 
@@ -557,24 +562,24 @@
557
562
  .react-tags__selected-tag {
558
563
  display: inline-block;
559
564
  box-sizing: border-box;
560
- border: 1px solid #D1D1D1;
565
+ border: 1px solid #d1d1d1;
561
566
  border-radius: 2px;
562
- background: #F1F1F1;
563
- padding: .4em .6em;
564
- font-size: .8em;
565
- margin-right: .3em;
566
- margin-bottom: .3em;
567
+ background: #f1f1f1;
568
+ padding: 0.4em 0.6em;
569
+ font-size: 0.8em;
570
+ margin-right: 0.3em;
571
+ margin-bottom: 0.3em;
567
572
  }
568
573
 
569
574
  .react-tags__selected-tag:after {
570
575
  content: '\2715';
571
- color: #AAA;
576
+ color: #aaa;
572
577
  margin-left: 8px;
573
578
  }
574
579
 
575
580
  .react-tags__selected-tag:hover,
576
581
  .react-tags__selected-tag:focus {
577
- border-color: #B1B1B1;
582
+ border-color: #b1b1b1;
578
583
  }
579
584
 
580
585
  .react-tags__search {
@@ -585,12 +590,10 @@
585
590
  }
586
591
 
587
592
  @media screen and (min-width: 30em) {
588
-
589
593
  .react-tags__search {
590
594
  /* this will become the offsetParent for suggestions */
591
595
  position: relative;
592
596
  }
593
-
594
597
  }
595
598
 
596
599
  .react-tags__search input {
@@ -600,7 +603,7 @@
600
603
  /* emove styles and layout from this element */
601
604
  margin: 0;
602
605
  outline: none;
603
- padding: .5em .3em;
606
+ padding: 0.5em 0.3em;
604
607
 
605
608
  /* match the font styles */
606
609
  font-size: inherit;
@@ -619,11 +622,9 @@
619
622
  }
620
623
 
621
624
  @media screen and (min-width: 30em) {
622
-
623
625
  .react-tags__suggestions {
624
626
  width: 240px;
625
627
  }
626
-
627
628
  }
628
629
 
629
630
  .react-tags__suggestions ul {
@@ -631,7 +632,7 @@
631
632
  padding: 0;
632
633
  list-style: none;
633
634
  background: white;
634
- border: 1px solid #D1D1D1;
635
+ border: 1px solid #d1d1d1;
635
636
  border-radius: 2px;
636
637
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
637
638
  }
@@ -660,7 +661,6 @@
660
661
  opacity: 0.5;
661
662
  cursor: auto;
662
663
  }
663
-
664
664
  }
665
665
 
666
666
  @include breakpointClass(md) {
@@ -8,8 +8,6 @@
8
8
  }
9
9
 
10
10
  &__wrapper {
11
- margin-bottom: 40px;
12
-
13
11
  hr {
14
12
  margin-bottom: 20px;
15
13
  }
@@ -1,8 +1,8 @@
1
- @import "@cdc/core/styles/base";
2
- @import "@cdc/core/styles/heading-colors";
3
- @import "variables";
4
- @import "editor-panel";
5
- @import "filters";
1
+ @import '@cdc/core/styles/base';
2
+ @import '@cdc/core/styles/heading-colors';
3
+ @import 'variables';
4
+ @import 'editor-panel';
5
+ @import 'filters';
6
6
 
7
7
  .cdc-map-outer-container {
8
8
  position: relative;
@@ -20,10 +20,10 @@
20
20
  }
21
21
 
22
22
  .cdc-map-inner-container {
23
- @import "./tooltips";
24
- @import "./map";
25
- @import "./sidebar";
26
- @import "./datatable";
23
+ @import './tooltips';
24
+ @import './map';
25
+ @import './sidebar';
26
+ @import './datatable';
27
27
  flex-grow: 1;
28
28
  text-rendering: geometricPrecision;
29
29
  color: #202020;
@@ -31,8 +31,8 @@
31
31
  text-align: left;
32
32
  max-width: 100%;
33
33
  .btn {
34
- padding: .375em .75em;
35
- border-radius: .3em;
34
+ padding: 0.375em 0.75em;
35
+ border-radius: 0.3em;
36
36
  }
37
37
 
38
38
  header.hidden {
@@ -57,10 +57,10 @@
57
57
  }
58
58
 
59
59
  div.map-title:not(:empty) {
60
- margin: 0 !important;
61
- padding: .6em .8em;
60
+ padding: 0.6em 0.8em;
62
61
  border-bottom-width: 3px;
63
62
  border-bottom-style: solid;
63
+ margin: 0 0 1rem 0 !important;
64
64
  }
65
65
 
66
66
  .map-container {
@@ -70,13 +70,13 @@
70
70
  &.modal-background {
71
71
  position: relative;
72
72
  &::before {
73
- content: " ";
73
+ content: ' ';
74
74
  position: absolute;
75
75
  top: 0;
76
76
  left: -1em;
77
77
  right: -1em;
78
78
  bottom: 0;
79
- background: rgba(0,0,0,.05);
79
+ background: rgba(0, 0, 0, 0.05);
80
80
  z-index: 7;
81
81
  }
82
82
  .modal-content {
@@ -102,7 +102,7 @@
102
102
  flex-grow: 1;
103
103
  }
104
104
  .legend-item {
105
- margin-right: .75em;
105
+ margin-right: 0.75em;
106
106
  margin-top: 3px;
107
107
  flex-shrink: 0;
108
108
  }
@@ -113,7 +113,7 @@
113
113
  transform: translate(-50%, -120%);
114
114
  }
115
115
  @include breakpointClass(lg) {
116
- font-size: .9em;
116
+ font-size: 0.9em;
117
117
  min-width: 300px;
118
118
  .legend-item {
119
119
  height: 1.3em;
@@ -149,8 +149,8 @@
149
149
  }
150
150
 
151
151
  p.subtext {
152
- font-size: .9em;
153
- padding: 0 .8em .8em;
152
+ font-size: 0.9em;
153
+ padding: 0 0.8em 0.8em;
154
154
  em {
155
155
  font-style: italic;
156
156
  }
@@ -170,7 +170,7 @@
170
170
  min-height: 1em;
171
171
  max-width: 1em;
172
172
  max-height: 1em;
173
- border: rgba(0,0,0,.3) 1px solid;
173
+ border: rgba(0, 0, 0, 0.3) 1px solid;
174
174
  }
175
175
 
176
176
  .navigation-menu {
@@ -186,7 +186,7 @@
186
186
  > div.select-heading {
187
187
  font-size: 1.1em;
188
188
  font-weight: 600;
189
- margin-bottom: .75em;
189
+ margin-bottom: 0.75em;
190
190
  }
191
191
  }
192
192
  form {
@@ -203,18 +203,17 @@
203
203
  input {
204
204
  color: #fff;
205
205
  font-weight: 700;
206
- padding: .4em .65em;
207
- font-size: .9em;
206
+ padding: 0.4em 0.65em;
207
+ font-size: 0.9em;
208
208
  border: 0;
209
209
  display: inline-block;
210
210
  border-radius: 7px;
211
- margin-left: .5em;
211
+ margin-left: 0.5em;
212
212
  cursor: pointer;
213
213
  }
214
214
  }
215
215
 
216
216
  [tabIndex]:focus {
217
- outline-color: rgb(0, 95, 204)
217
+ outline-color: rgb(0, 95, 204);
218
218
  }
219
-
220
219
  }