@cdc/dashboard 4.22.10-alpha.1 → 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.
@@ -1,5 +1,7 @@
1
1
  // Shift down for top level Dashboard bar when in edit mode
2
- .layout-container, .editor-panel + .cdc-dashboard-inner-container, .editor-heading + .cdc-open-viz-module {
2
+ .layout-container,
3
+ .editor-panel + .cdc-dashboard-inner-container,
4
+ .editor-heading + .cdc-open-viz-module {
3
5
  position: relative;
4
6
  top: 3em;
5
7
  .editor-panel {
@@ -11,602 +13,605 @@
11
13
  }
12
14
 
13
15
  .editor-panel {
14
- //TODO: Remove after COVE refactor
15
- &.cove {
16
- @import "@cdc/core/styles/v2/layout/tooltip.scss";
17
- }
16
+ //TODO: Remove after COVE refactor
17
+ &.cove {
18
+ @import '@cdc/core/styles/v2/layout/tooltip.scss';
19
+ }
18
20
 
19
- .two-col-inputs {
20
- display: flex;
21
- margin-top: 1em;
22
- justify-content: space-between;
23
- > label {
24
- width: 48%;
25
- margin-top: 0 !important
26
- }
21
+ .two-col-inputs {
22
+ display: flex;
23
+ margin-top: 1em;
24
+ justify-content: space-between;
25
+ > label {
26
+ width: 48%;
27
+ margin-top: 0 !important;
27
28
  }
28
- .helper-tooltip {
29
- padding: 5px;
30
- max-width: 300px;
29
+ }
30
+ .helper-tooltip {
31
+ padding: 5px;
32
+ max-width: 300px;
33
+ }
34
+ .helper {
35
+ position: relative;
36
+ opacity: 0.7;
37
+ cursor: pointer;
38
+ width: 17px;
39
+ height: 17px;
40
+ align-self: center;
41
+ margin-left: 0.3rem;
42
+ margin-top: -0.3rem;
43
+ border: none !important;
44
+ box-shadow: none !important;
45
+ svg {
46
+ position: absolute;
47
+ top: 0;
48
+ left: 0;
49
+ width: 100%;
50
+ height: 100%;
31
51
  }
32
- .helper {
33
- position: relative;
34
- opacity: .7;
35
- cursor: pointer;
36
- width: 17px;
37
- height: 17px;
38
- align-self: center;
39
- margin-left: .3rem;
40
- margin-top: -0.3rem;
52
+ }
53
+ .divider-heading {
54
+ display: block;
55
+ font-size: 1em;
56
+ margin-top: 1em;
57
+ }
58
+ .series-list {
59
+ list-style: none;
60
+ border: $lightGray 1px solid;
61
+ &:empty {
41
62
  border: none !important;
42
- box-shadow: none !important;
43
- svg {
44
- position: absolute;
45
- top: 0;
46
- left: 0;
47
- width: 100%;
48
- height: 100%;
49
- }
50
- }
51
- .divider-heading {
52
- display: block;
53
- font-size: 1em;
54
- margin-top: 1em;
55
63
  }
56
- .series-list {
57
- list-style: none;
58
- border: $lightGray 1px solid;
59
- &:empty {
60
- border: none !important
61
- }
62
- li {
63
- padding: .3em .5em;
64
- display: flex;
65
- align-items: center;
66
- justify-content: space-between;
67
- font-size: .9em;
68
- &:hover {
69
- background-color: $lightestGray;
70
- }
71
- span {
72
- font-size: .8em;
73
- color: #f00;
74
- cursor: pointer;
75
- }
76
- + li {
77
- border-top: $lightGray 1px solid;
78
- }
64
+ li {
65
+ padding: 0.3em 0.5em;
66
+ display: flex;
67
+ align-items: center;
68
+ justify-content: space-between;
69
+ font-size: 0.9em;
70
+ &:hover {
71
+ background-color: $lightestGray;
79
72
  }
80
- }
81
- background: #fff;
82
- width: $editorWidth;
83
- overflow-y: overlay;
84
- position: fixed;
85
- z-index: 8;
86
- display: flex;
87
- flex-direction: column;
88
- left: 0;
89
- top: 48px;
90
- bottom: 0;
91
- .accordion__heading {
92
- background: $lightestGray;
93
- }
94
- .accordion__item {
95
- select {
96
- text-transform: capitalize;
73
+ span {
74
+ font-size: 0.8em;
75
+ color: #f00;
76
+ cursor: pointer;
97
77
  }
98
- .number-narrow {
99
- min-width: auto;
100
- width: 75px
78
+ + li {
79
+ border-top: $lightGray 1px solid;
101
80
  }
102
81
  }
103
- .form-container {
104
- border-right: $lightGray 1px solid;
105
- flex-grow: 1;
82
+ }
83
+ background: #fff;
84
+ width: $editorWidth;
85
+ overflow-y: overlay;
86
+ position: fixed;
87
+ z-index: 8;
88
+ display: flex;
89
+ flex-direction: column;
90
+ left: 0;
91
+ top: 48px;
92
+ bottom: 0;
93
+ .accordion__heading {
94
+ background: $lightestGray;
95
+ }
96
+ .accordion__item {
97
+ select {
98
+ text-transform: capitalize;
106
99
  }
107
- .guidance-link {
108
- margin: 2em 1em 0;
109
- padding: .75em 1em;
110
- svg {
111
- width: 60px;
112
- color: $blue;
113
- margin-right: 1rem;
114
- height: 60px; // IE11
115
- path {
116
- fill: currentColor;
117
- }
118
- }
100
+ .number-narrow {
101
+ min-width: auto;
102
+ width: 75px;
119
103
  }
120
- .warning {
121
- color: #D8000C;
122
- background-color: #FFD2D2;
123
- padding: .75em 1em;
124
- margin: 1em 0;
125
- font-size: .8em;
126
- border: #D8000C 1px solid;
127
- border-radius: .4em;
128
- strong {
129
- font-weight: 600;
130
- display: block;
104
+ }
105
+ .form-container {
106
+ border-right: $lightGray 1px solid;
107
+ flex-grow: 1;
108
+ }
109
+ .guidance-link {
110
+ margin: 2em 1em 0;
111
+ padding: 0.75em 1em;
112
+ svg {
113
+ width: 60px;
114
+ color: $blue;
115
+ margin-right: 1rem;
116
+ height: 60px; // IE11
117
+ path {
118
+ fill: currentColor;
131
119
  }
132
120
  }
133
- .accordion__button {
134
- cursor: pointer;
135
- font-size: 1em;
136
- padding: .3em 1em;
137
- width: 100%;
138
- text-align: left;
139
- position: relative;
140
- border-bottom: 1px solid rgba(0, 0, 0, 0.2);
141
- }
142
- .accordion__panel:first-child { margin-top: 0; }
143
- .accordion__button:before {
144
- display: inline-block;
145
- content: '';
146
- height: 7px;
147
- width: 7px;
148
- margin-right: 1em;
149
- border-bottom: 2px solid currentColor;
150
- border-right: 2px solid currentColor;
151
- transform: rotate(-45deg);
152
- right: 0;
153
- position: absolute;
154
- top: 50%;
155
- transform: rotate(-45deg) translateY(-50%);
156
- transition: .1s all;
121
+ }
122
+ .warning {
123
+ color: #d8000c;
124
+ background-color: #ffd2d2;
125
+ padding: 0.75em 1em;
126
+ margin: 1em 0;
127
+ font-size: 0.8em;
128
+ border: #d8000c 1px solid;
129
+ border-radius: 0.4em;
130
+ strong {
131
+ font-weight: 600;
132
+ display: block;
157
133
  }
134
+ }
135
+ .accordion__button {
136
+ cursor: pointer;
137
+ font-size: 1em;
138
+ padding: 0.3em 1em;
139
+ width: 100%;
140
+ text-align: left;
141
+ position: relative;
142
+ border-bottom: 1px solid rgba(0, 0, 0, 0.2);
143
+ }
144
+ .accordion__panel:first-child {
145
+ margin-top: 0;
146
+ }
147
+ .accordion__button:before {
148
+ display: inline-block;
149
+ content: '';
150
+ height: 7px;
151
+ width: 7px;
152
+ margin-right: 1em;
153
+ border-bottom: 2px solid currentColor;
154
+ border-right: 2px solid currentColor;
155
+ transform: rotate(-45deg);
156
+ right: 0;
157
+ position: absolute;
158
+ top: 50%;
159
+ transform: rotate(-45deg) translateY(-50%);
160
+ transition: 0.1s all;
161
+ }
158
162
 
159
- .accordion__button[aria-expanded='true']::before,
160
- .accordion__button[aria-selected='true']::before {
161
- transform: rotate(45deg) translateY(-50%);
162
- margin-right: 1.3em;
163
- transition: .1s all;
164
- }
163
+ .accordion__button[aria-expanded='true']::before,
164
+ .accordion__button[aria-selected='true']::before {
165
+ transform: rotate(45deg) translateY(-50%);
166
+ margin-right: 1.3em;
167
+ transition: 0.1s all;
168
+ }
165
169
 
166
- .accordion__panel {
167
- border-bottom: 1px solid rgba(0, 0, 0, 0.2);
168
- padding: 1em 1.25em 2em;
169
- animation: fadein 0.2s ease-in;
170
- h5 {
171
- font-size: .8em;
172
- }
170
+ .accordion__panel {
171
+ border-bottom: 1px solid rgba(0, 0, 0, 0.2);
172
+ padding: 1em 1.25em 2em;
173
+ animation: fadein 0.2s ease-in;
174
+ h5 {
175
+ font-size: 0.8em;
173
176
  }
177
+ }
174
178
 
175
- .advanced {
176
- padding: 0 1em 1em;
179
+ .advanced {
180
+ padding: 0 1em 1em;
181
+ text-align: left;
182
+ p {
183
+ font-size: 0.8rem;
184
+ }
185
+ .advanced-toggle-link {
186
+ padding-top: 1em;
187
+ display: block;
177
188
  text-align: left;
178
- p {
179
- font-size: .8rem;
180
- }
181
- .advanced-toggle-link {
182
- padding-top: 1em;
183
- display: block;
184
- text-align: left;
185
- cursor: pointer;
186
- text-decoration: underline;
187
- span {
188
- text-decoration: none;
189
- display: inline-block;
190
- font-family: monospace;
191
- padding-right: 5px;
192
- }
193
- &:hover {
194
- color: rgba(0,0,0,.7);
195
- }
196
- }
197
- textarea {
198
- height: 400px;
199
- width: 100%;
200
- font-size: .9em;
201
- padding: .5em;
189
+ cursor: pointer;
190
+ text-decoration: underline;
191
+ span {
192
+ text-decoration: none;
193
+ display: inline-block;
202
194
  font-family: monospace;
203
- box-sizing: border-box
195
+ padding-right: 5px;
204
196
  }
205
- }
206
-
207
- @keyframes fadein {
208
- 0% {
209
- opacity: 0;
197
+ &:hover {
198
+ color: rgba(0, 0, 0, 0.7);
210
199
  }
200
+ }
201
+ textarea {
202
+ height: 400px;
203
+ width: 100%;
204
+ font-size: 0.9em;
205
+ padding: 0.5em;
206
+ font-family: monospace;
207
+ box-sizing: border-box;
208
+ }
209
+ }
211
210
 
212
- 100% {
213
- opacity: 1;
214
- }
211
+ @keyframes fadein {
212
+ 0% {
213
+ opacity: 0;
215
214
  }
216
215
 
217
- .heading-2 {
218
- background: #565656;
219
- color: #fff;
220
- font-size: 1.1em;
221
- padding: .6em 1em;
222
- position: relative;
223
- border-bottom:#565656 3px solid;
224
- z-index: 3;
216
+ 100% {
217
+ opacity: 1;
225
218
  }
219
+ }
226
220
 
227
- label {
228
- text-transform: uppercase;
229
- display: block;
230
- font-size: .8em;
231
- font-weight: 600;
232
- &:not(:first-child) {
233
- margin-top: 1em;
234
- }
235
- span.edit-label {
236
- margin-bottom: .3em;
237
- display: block;
238
- }
239
- span.column-heading {
240
- font-size: 1em;
241
- }
242
- &.checkbox {
243
- display: flex;
244
- span {
245
- display: inline;
246
- }
247
- input {
248
- margin-left: 0;
249
- width: inherit;
250
- display: inline;
251
- }
252
- }
221
+ .heading-2 {
222
+ background: #565656;
223
+ color: #fff;
224
+ font-size: 1.1em;
225
+ padding: 0.6em 1em;
226
+ position: relative;
227
+ border-bottom: #565656 3px solid;
228
+ z-index: 3;
229
+ }
230
+
231
+ label {
232
+ text-transform: uppercase;
233
+ display: block;
234
+ font-size: 0.8em;
235
+ font-weight: 600;
236
+ &:not(:first-child) {
237
+ margin-top: 1em;
253
238
  }
254
- input[type="text"], input[role="combobox"], input[type="number"], textarea {
255
- min-width: 100%;
256
- max-width: 100%; // Doing this prevents width of textarea from being changed
239
+ span.edit-label {
240
+ margin-bottom: 0.3em;
241
+ display: block;
257
242
  }
258
- textarea {
259
- min-height: 140px;
243
+ span.column-heading {
244
+ font-size: 1em;
260
245
  }
261
- .header .color-palette li {
262
- width: 21px;
263
- height: 21px;
264
- border-radius: 40px;
265
- margin-right: 2.8px;
246
+ &.checkbox {
247
+ display: flex;
248
+ span {
249
+ display: inline;
250
+ }
251
+ input {
252
+ margin-left: 0;
253
+ width: inherit;
254
+ display: inline;
255
+ }
266
256
  }
267
- .color-palette {
257
+ }
258
+ input[type='text'],
259
+ input[role='combobox'],
260
+ input[type='number'],
261
+ textarea {
262
+ min-width: 100%;
263
+ max-width: 100%; // Doing this prevents width of textarea from being changed
264
+ }
265
+ textarea {
266
+ min-height: 140px;
267
+ }
268
+ .header .color-palette li {
269
+ width: 21px;
270
+ height: 21px;
271
+ border-radius: 40px;
272
+ margin-right: 2.8px;
273
+ }
274
+ .color-palette {
275
+ display: flex;
276
+ max-width: 100%;
277
+ padding: 0;
278
+ margin: 0.5em 0 0 0;
279
+ list-style: none;
280
+ flex-wrap: wrap;
281
+ li {
282
+ width: 45px;
283
+ height: 23px;
284
+ margin-right: 4px;
285
+ margin-bottom: 10px;
268
286
  display: flex;
269
- max-width: 100%;
270
- padding: 0;
271
- margin: .5em 0 0 0;
272
- list-style: none;
273
- flex-wrap: wrap;
274
- li {
275
- width: 45px;
276
- height: 23px;
277
- margin-right: 4px;
278
- margin-bottom: 10px;
279
- display: flex;
280
- border-radius: 5px;
281
- overflow: hidden;
282
- cursor: pointer;
283
- position: relative;
284
- .click-target {
285
- position: absolute;
286
- top: 0;
287
- left: 0;
288
- right: 0;
289
- bottom: 0;
290
- }
291
- &.selected {
292
- border: rgba(0,0,0, .8) 2px solid;
293
- }
294
- span {
295
- width: 33.3%;
296
- }
287
+ border-radius: 5px;
288
+ overflow: hidden;
289
+ cursor: pointer;
290
+ position: relative;
291
+ .click-target {
292
+ position: absolute;
293
+ top: 0;
294
+ left: 0;
295
+ right: 0;
296
+ bottom: 0;
297
+ }
298
+ &.selected {
299
+ border: rgba(0, 0, 0, 0.8) 2px solid;
300
+ }
301
+ span {
302
+ width: 33.3%;
297
303
  }
298
304
  }
305
+ }
299
306
 
300
- fieldset {
301
- display: block;
302
- }
307
+ fieldset {
308
+ display: block;
309
+ }
303
310
 
304
- .primary-fieldset {
305
- padding: 0;
306
- margin: 0;
307
- border: 0;
308
- }
311
+ .primary-fieldset {
312
+ padding: 0;
313
+ margin: 0;
314
+ border: 0;
315
+ }
309
316
 
310
- ul.column-edit {
311
- list-style: none;
312
- li {
313
- margin-top: 1em;
314
- }
315
- .three-col {
316
- display: flex;
317
- justify-content: space-between;
318
- > label {
319
- margin-top: 0;
320
- width: 30%;
321
- display: inline-block;
322
- input[type="text"], input[type="number"] {
323
- width: 50px;
324
- }
317
+ ul.column-edit {
318
+ list-style: none;
319
+ li {
320
+ margin-top: 1em;
321
+ }
322
+ .three-col {
323
+ display: flex;
324
+ justify-content: space-between;
325
+ > label {
326
+ margin-top: 0;
327
+ width: 30%;
328
+ display: inline-block;
329
+ input[type='text'],
330
+ input[type='number'] {
331
+ width: 50px;
325
332
  }
326
333
  }
327
334
  }
335
+ }
328
336
 
329
- &.hidden {
330
- display: none;
331
- }
337
+ &.hidden {
338
+ display: none;
339
+ }
332
340
 
333
- .emove-column {
334
- float: right;
335
- text-transform: uppercase;
336
- color: #C32B2B;
337
- font-size: .7em;
338
- line-height: 1.6em;
339
- border-radius: 5px;
340
- margin: 0 auto;
341
- transition: .1s all;
342
- border: 0;
343
- text-decoration: underline;
344
- outline: 0;
345
- cursor: pointer;
346
- font-weight: bold;
347
- }
341
+ .emove-column {
342
+ float: right;
343
+ text-transform: uppercase;
344
+ color: #c32b2b;
345
+ font-size: 0.7em;
346
+ line-height: 1.6em;
347
+ border-radius: 5px;
348
+ margin: 0 auto;
349
+ transition: 0.1s all;
350
+ border: 0;
351
+ text-decoration: underline;
352
+ outline: 0;
353
+ cursor: pointer;
354
+ font-weight: bold;
355
+ }
348
356
 
349
- .edit-block {
350
- padding-left: 1em;
351
- border-left: rgba(0, 0, 0, 0.2) 4px solid;
352
- transition: .2s all;
353
- &:not(:first-child) {
354
- margin-top: 2em;
355
- }
356
- input[type="text"], input[type="number"] {
357
- font-size: 1em;
358
- }
359
- label {
360
- margin-top: 0;
361
- }
362
- label + label {
363
- margin-top: 1em;
364
- }
365
- &:hover {
366
- border-left: rgba(0, 0, 0, 0.7) 4px solid;
367
- transition: .2s all;
368
- }
357
+ .edit-block {
358
+ padding-left: 1em;
359
+ border-left: rgba(0, 0, 0, 0.2) 4px solid;
360
+ transition: 0.2s all;
361
+ &:not(:first-child) {
362
+ margin-top: 2em;
369
363
  }
370
-
371
- span.subtext {
372
- display: block;
373
- color: rgba(0,0,0,.5);
374
- text-transform: none;
375
- font-weight: normal;
364
+ input[type='text'],
365
+ input[type='number'] {
366
+ font-size: 1em;
376
367
  }
377
-
378
- .btn {
379
- margin-top: 1em;
368
+ label {
369
+ margin-top: 0;
380
370
  }
381
- .sort-list {
382
- list-style: none;
383
- > li {
384
- margin-right: .3em;
385
- margin-bottom: .3em;
386
- }
371
+ label + label {
372
+ margin-top: 1em;
387
373
  }
388
- .sort-list li > div {
389
- display: block;
390
- box-sizing: border-box;
391
- border: 1px solid #D1D1D1;
392
- border-radius: 2px;
393
- background: #F1F1F1;
394
- padding: .4em .6em;
395
- font-size: .8em;
396
- margin-bottom: .3em;
397
- cursor: move;
374
+ &:hover {
375
+ border-left: rgba(0, 0, 0, 0.7) 4px solid;
376
+ transition: 0.2s all;
398
377
  }
378
+ }
399
379
 
400
- .info {
401
- font-size: .8em;
402
- line-height: 1.4em;
403
- font-style: italic;
404
- padding-top: 10px;
405
- }
380
+ span.subtext {
381
+ display: block;
382
+ color: rgba(0, 0, 0, 0.5);
383
+ text-transform: none;
384
+ font-weight: normal;
385
+ }
406
386
 
407
- .react-tags__search {
408
- width: 100%;
387
+ .btn {
388
+ margin-top: 1em;
389
+ }
390
+ .sort-list {
391
+ list-style: none;
392
+ > li {
393
+ margin-right: 0.3em;
394
+ margin-bottom: 0.3em;
409
395
  }
396
+ }
397
+ .sort-list li > div {
398
+ display: block;
399
+ box-sizing: border-box;
400
+ border: 1px solid #d1d1d1;
401
+ border-radius: 2px;
402
+ background: #f1f1f1;
403
+ padding: 0.4em 0.6em;
404
+ font-size: 0.8em;
405
+ margin-bottom: 0.3em;
406
+ cursor: move;
407
+ }
410
408
 
411
- .react-tags {
412
- position: relative;
413
- input.react-tags__search-input {
414
- font-size: .8rem;
415
- }
416
- /* clicking anywhere will focus the input */
417
- cursor: text;
418
- span {
419
- display: inline
420
- }
421
- }
409
+ .info {
410
+ font-size: 0.8em;
411
+ line-height: 1.4em;
412
+ font-style: italic;
413
+ padding-top: 10px;
414
+ }
422
415
 
423
- .react-tags.is-focused {
424
- border-color: rgba(0, 0, 0, 0.7);
425
- }
416
+ .react-tags__search {
417
+ width: 100%;
418
+ }
426
419
 
427
- .react-tags__selected {
420
+ .react-tags {
421
+ position: relative;
422
+ input.react-tags__search-input {
423
+ font-size: 0.8rem;
424
+ }
425
+ /* clicking anywhere will focus the input */
426
+ cursor: text;
427
+ span {
428
428
  display: inline;
429
429
  }
430
+ }
430
431
 
431
- .react-tags__selected-tag {
432
- display: inline-block;
433
- box-sizing: border-box;
434
- border: 1px solid #D1D1D1;
435
- border-radius: 2px;
436
- background: #F1F1F1;
437
- padding: .4em .6em;
438
- font-size: .8em;
439
- margin-right: .3em;
440
- margin-bottom: .3em;
441
- }
432
+ .react-tags.is-focused {
433
+ border-color: rgba(0, 0, 0, 0.7);
434
+ }
442
435
 
443
- .react-tags__selected-tag:after {
444
- content: '\2715';
445
- color: #AAA;
446
- margin-left: 8px;
447
- }
436
+ .react-tags__selected {
437
+ display: inline;
438
+ }
448
439
 
449
- .react-tags__selected-tag:hover,
450
- .react-tags__selected-tag:focus {
451
- border-color: #B1B1B1;
452
- }
440
+ .react-tags__selected-tag {
441
+ display: inline-block;
442
+ box-sizing: border-box;
443
+ border: 1px solid #d1d1d1;
444
+ border-radius: 2px;
445
+ background: #f1f1f1;
446
+ padding: 0.4em 0.6em;
447
+ font-size: 0.8em;
448
+ margin-right: 0.3em;
449
+ margin-bottom: 0.3em;
450
+ }
453
451
 
454
- .react-tags__search {
455
- display: inline-block;
452
+ .react-tags__selected-tag:after {
453
+ content: '\2715';
454
+ color: #aaa;
455
+ margin-left: 8px;
456
+ }
456
457
 
457
- /* prevent autoresize overflowing the container */
458
- max-width: 100%;
459
- }
458
+ .react-tags__selected-tag:hover,
459
+ .react-tags__selected-tag:focus {
460
+ border-color: #b1b1b1;
461
+ }
460
462
 
461
- @media screen and (min-width: 30em) {
463
+ .react-tags__search {
464
+ display: inline-block;
462
465
 
463
- .react-tags__search {
464
- /* this will become the offsetParent for suggestions */
465
- position: relative;
466
- }
466
+ /* prevent autoresize overflowing the container */
467
+ max-width: 100%;
468
+ }
467
469
 
470
+ @media screen and (min-width: 30em) {
471
+ .react-tags__search {
472
+ /* this will become the offsetParent for suggestions */
473
+ position: relative;
468
474
  }
475
+ }
469
476
 
470
- .react-tags__search input {
471
- /* prevent autoresize overflowing the container */
472
- max-width: 100%;
477
+ .react-tags__search input {
478
+ /* prevent autoresize overflowing the container */
479
+ max-width: 100%;
473
480
 
474
- /* emove styles and layout from this element */
475
- margin: 0;
476
- outline: none;
477
- padding: .5em .3em;
481
+ /* emove styles and layout from this element */
482
+ margin: 0;
483
+ outline: none;
484
+ padding: 0.5em 0.3em;
478
485
 
479
- /* match the font styles */
480
- font-size: inherit;
481
- line-height: inherit;
482
- }
486
+ /* match the font styles */
487
+ font-size: inherit;
488
+ line-height: inherit;
489
+ }
483
490
 
484
- .react-tags__search input::-ms-clear {
485
- display: none;
486
- }
491
+ .react-tags__search input::-ms-clear {
492
+ display: none;
493
+ }
494
+
495
+ .react-tags__suggestions {
496
+ position: absolute;
497
+ top: 100%;
498
+ left: 0;
499
+ width: 100%;
500
+ }
487
501
 
502
+ @media screen and (min-width: 30em) {
488
503
  .react-tags__suggestions {
489
- position: absolute;
490
- top: 100%;
491
- left: 0;
492
- width: 100%;
504
+ width: 240px;
493
505
  }
506
+ }
494
507
 
495
- @media screen and (min-width: 30em) {
496
-
497
- .react-tags__suggestions {
498
- width: 240px;
499
- }
508
+ .react-tags__suggestions ul {
509
+ margin: 4px -1px;
510
+ padding: 0;
511
+ list-style: none;
512
+ background: white;
513
+ border: 1px solid #d1d1d1;
514
+ border-radius: 2px;
515
+ box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
516
+ }
500
517
 
501
- }
518
+ .react-tags__suggestions li {
519
+ border-bottom: 1px solid #ddd;
520
+ padding: 6px 8px;
521
+ }
502
522
 
503
- .react-tags__suggestions ul {
504
- margin: 4px -1px;
505
- padding: 0;
506
- list-style: none;
507
- background: white;
508
- border: 1px solid #D1D1D1;
509
- border-radius: 2px;
510
- box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
511
- }
523
+ .react-tags__suggestions li mark {
524
+ text-decoration: underline;
525
+ background: none;
526
+ font-weight: 600;
527
+ }
512
528
 
513
- .react-tags__suggestions li {
514
- border-bottom: 1px solid #ddd;
515
- padding: 6px 8px;
516
- }
529
+ .react-tags__suggestions li:hover {
530
+ cursor: pointer;
531
+ background: #eee;
532
+ }
517
533
 
518
- .react-tags__suggestions li mark {
519
- text-decoration: underline;
520
- background: none;
521
- font-weight: 600;
522
- }
534
+ .react-tags__suggestions li.is-active {
535
+ background: #b7cfe0;
536
+ }
523
537
 
524
- .react-tags__suggestions li:hover {
525
- cursor: pointer;
526
- background: #eee;
527
- }
538
+ .react-tags__suggestions li.is-disabled {
539
+ opacity: 0.5;
540
+ cursor: auto;
541
+ }
528
542
 
529
- .react-tags__suggestions li.is-active {
530
- background: #b7cfe0;
531
- }
543
+ .current-viz-list {
544
+ margin: 0.5em 0;
545
+ padding-left: 1.25em;
532
546
 
533
- .react-tags__suggestions li.is-disabled {
534
- opacity: 0.5;
535
- cursor: auto;
547
+ li button {
548
+ float: right;
549
+ margin: 0 0.5em;
550
+ border: 1px solid gray;
536
551
  }
552
+ }
537
553
 
538
- .current-viz-list {
539
- margin: 0.5em 0;
540
- padding-left: 1.25em;
554
+ .viz-icon {
555
+ background-color: #fff;
556
+ color: #565656;
557
+ border: #797979 1px solid;
558
+ padding: 10px;
559
+ margin: 1em;
541
560
 
542
- li button {
543
- float: right;
544
- margin: 0 0.5em;
545
- border: 1px solid gray;
546
- }
561
+ span {
562
+ text-transform: none;
563
+ font-size: 1em;
564
+ margin-top: 1em;
547
565
  }
548
566
 
549
- .viz-icon {
550
- background-color: #FFF;
551
- color: #565656;
552
- border: #797979 1px solid;
553
- padding: 10px;
554
- margin: 1em;
555
-
556
- span {
557
- text-transform: none;
558
- font-size: 1em;
559
- margin-top: 1em;
560
- }
561
-
562
- &:hover {
563
- background: #F2F2F2;
564
- transition: .2s all;
565
- }
567
+ &:hover {
568
+ background: #f2f2f2;
569
+ transition: 0.2s all;
570
+ }
566
571
 
567
- svg {
568
- display: block;
569
- margin: .5em auto;
570
- box-sizing: border-box;
571
- width: 100px;
572
- height: 75px;
573
- path {
574
- fill: currentColor
575
- }
572
+ svg {
573
+ display: block;
574
+ margin: 0.5em auto;
575
+ box-sizing: border-box;
576
+ width: 100px;
577
+ height: 75px;
578
+ path {
579
+ fill: currentColor;
576
580
  }
577
581
  }
582
+ }
578
583
  }
579
584
  .editor-toggle {
580
- background: #F2F2F2;
585
+ background: #f2f2f2;
581
586
  border-radius: 60px;
582
587
  color: #000;
583
588
  font-size: 1em;
584
589
  border: 0;
585
590
  position: fixed;
586
591
  z-index: 99;
587
- transition: .1s background;
592
+ transition: 0.1s background;
588
593
  cursor: pointer;
589
594
  width: 25px;
590
595
  height: 25px;
591
596
  left: 307px;
592
597
  top: calc(3em + 10px);
593
- box-shadow: rgba(0,0,0,.5) 0 1px 2px;
598
+ box-shadow: rgba(0, 0, 0, 0.5) 0 1px 2px;
594
599
  &:before {
595
600
  top: 43%;
596
601
  left: 50%;
597
602
  transform: translate(-50%, -50%);
598
603
  position: absolute;
599
- content: "\00ab";
604
+ content: '\00ab';
600
605
  }
601
606
  &.collapsed {
602
607
  left: 1em;
603
608
  margin-left: 0;
604
609
  &:before {
605
- content: "\00bb";
606
- }
610
+ content: '\00bb';
611
+ }
607
612
  }
608
613
  &:hover {
609
- background: rgba(255,255,255,1)
614
+ background: rgba(255, 255, 255, 1);
610
615
  }
611
616
  }
612
617
 
@@ -616,15 +621,15 @@
616
621
 
617
622
  .subheading-3 {
618
623
  margin-top: 1em;
619
- margin-bottom: .5em;
624
+ margin-bottom: 0.5em;
620
625
  display: block;
621
626
  }
622
627
 
623
628
  .drag-grid {
624
629
  display: flex;
625
630
  flex-wrap: wrap;
626
- column-gap: .5em;
627
- row-gap: .5em;
631
+ column-gap: 0.5em;
632
+ row-gap: 0.5em;
628
633
  .widget {
629
634
  width: 120px;
630
635
  height: 100px;
@@ -640,11 +645,11 @@
640
645
  flex-direction: column;
641
646
  align-items: center;
642
647
  justify-content: center;
643
- font-size: .8em;
648
+ font-size: 0.8em;
644
649
  svg {
645
650
  width: 50px;
646
651
  height: 50px;
647
- margin-bottom: .5em;
652
+ margin-bottom: 0.5em;
648
653
  }
649
654
  }
650
655
  }