@kando-env/kando-ui 1.0.66 → 1.0.67-alpha.1

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 (41) hide show
  1. package/lib/Widgets/Map/Map.scss +371 -371
  2. package/lib/Widgets/Map/edges/Edge.scss +13 -13
  3. package/lib/Widgets/UtilityInformation/PopupWithMap/Map/mapStyle.scss +310 -310
  4. package/lib/components/ApplyButton/style.module.scss +12 -12
  5. package/lib/components/Backdrop/Backdrop.scss +10 -10
  6. package/lib/components/CustomInputs/Search/styles.scss +20 -20
  7. package/lib/components/CustomInputs/Select/Select.scss +31 -31
  8. package/lib/components/DamageType/styles.scss +40 -40
  9. package/lib/components/DischargeHeatmap/styles.scss +12 -12
  10. package/lib/components/Events/styles.scss +106 -106
  11. package/lib/components/Header/Breadcrumbs/styles.scss +5 -5
  12. package/lib/components/Header/InfoBar/Search/styles.scss +14 -14
  13. package/lib/components/Header/KandoNavbar/NavbarStyle.scss +177 -177
  14. package/lib/components/KandoModal/styles.scss +14 -14
  15. package/lib/components/LiveEvents/styles.scss +66 -66
  16. package/lib/components/Map/styles.scss +4 -4
  17. package/lib/components/Modal/Modal.scss +9 -9
  18. package/lib/components/PointInfo/styles.scss +40 -40
  19. package/lib/components/Sector/styles.scss +13 -13
  20. package/lib/components/SevereEvent/SevereEvent.js +14 -9
  21. package/lib/components/SevereEvent/SevereEvent.scss +393 -392
  22. package/lib/components/TimeRangeSelector/KandoRangePicker/kandoRangePicker.scss +61 -61
  23. package/lib/components/TimeRangeSelector/KandoRangePicker/rangePickerContainer.module.scss +22 -22
  24. package/lib/components/TimeRangeSelector/styles.scss +61 -61
  25. package/lib/components/Toggle/styles.scss +31 -31
  26. package/lib/components/TrendGraphNVL/styles.scss +12 -12
  27. package/lib/macros/getVersion.js +2 -2
  28. package/lib/pages/CovidPage/components/MapStyle.scss +309 -309
  29. package/lib/pages/CovidPage/components/SidebarStyle.scss +9 -9
  30. package/lib/pages/CovidPage/components/SummaryStyle.scss +50 -50
  31. package/lib/pages/CovidPage/components/TrendGraphNVL/styles.scss +14 -14
  32. package/lib/pages/CovidPage/components/TrendPopupContent/styles.scss +23 -23
  33. package/lib/pages/CovidPage/components/areas/AreasStyle.scss +249 -249
  34. package/lib/pages/EventsPage/events/EventsStyle.scss +650 -650
  35. package/lib/pages/EventsPage/events/event_info/EventInfoStyle.scss +464 -464
  36. package/lib/pages/OldSitePage/SamplingParameters/SamplingContainer/ExpandableSamplingTable/ExpandableSamplingTable.scss +75 -75
  37. package/lib/pages/SitePage/SamplingParameters/SamplingContainer/ExpandableSamplingTable/ExpandableSamplingTable.scss +75 -75
  38. package/lib/pages/UtilityDashboardPage/MostSevereEvents/MostSevereEvents.scss +55 -55
  39. package/lib/pages/UtilityDashboardPage/MostSevereEvents/SevereEvent/OptionalLinkedSevereEvent.js +2 -2
  40. package/lib/styles.scss +151 -151
  41. package/package.json +1 -1
@@ -1,365 +1,365 @@
1
1
  .covid-view-map {
2
- @media only screen and (max-width: 450px) {
3
- .map-container {
4
- .ltrs & {
5
- left: 0 !important;
6
- }
7
- .rtls & {
8
- right: 0 !important;
9
- }
10
- }
2
+ @media only screen and (max-width: 450px) {
3
+ .map-container {
4
+ .ltrs & {
5
+ left: 0 !important;
6
+ }
7
+ .rtls & {
8
+ right: 0 !important;
9
+ }
10
+ }
11
11
 
12
- .event-timerange {
13
- max-width: 85% !important;
14
- z-index: 999;
15
- bottom: 4.5rem !important;
16
- left: 5rem !important;
17
- padding: 13px !important;
18
- border: 2px solid rgba(0, 0, 0, 0.2);
19
- box-shadow: unset !important;
12
+ .event-timerange {
13
+ max-width: 85% !important;
14
+ z-index: 999;
15
+ bottom: 4.5rem !important;
16
+ left: 5rem !important;
17
+ padding: 13px !important;
18
+ border: 2px solid rgba(0, 0, 0, 0.2);
19
+ box-shadow: unset !important;
20
+
21
+ .ltrs & {
22
+ left: 3em !important;
23
+ }
24
+ .rtls & {
25
+ right: 3em !important;
26
+ }
27
+ }
20
28
 
21
- .ltrs & {
22
- left: 3em !important;
23
- }
24
- .rtls & {
25
- right: 3em !important;
26
- }
27
- }
29
+ .timerange--sidenav-collapsed {
30
+ transition: 0.3s cubic-bezier(1, 0, 0, 1);
31
+
32
+ .ltrs & {
33
+ left: 3em !important;
34
+ }
35
+ .rtls & {
36
+ right: 3em !important;
37
+ }
38
+ }
39
+
40
+ .timerange--expanded {
41
+ max-width: 100% !important;
42
+ }
28
43
 
29
- .timerange--sidenav-collapsed {
30
- transition: 0.3s cubic-bezier(1, 0, 0, 1);
44
+ .slider::-webkit-slider-thumb {
45
+ width: 23px !important;
46
+ height: 23px !important;
47
+ }
48
+
49
+ .slider::-moz-range-thumb {
50
+ width: 23px !important;
51
+ height: 23px !important;
52
+ }
31
53
 
54
+ #map {
55
+ .leaflet-control-container {
56
+ .leaflet-left {
57
+ bottom: 2.2em;
58
+ top: auto;
59
+ transition: 0.3s cubic-bezier(1, 0, 0, 1);
60
+
61
+ .ltrs & {
62
+ left: 0em !important;
63
+ }
64
+ .rtls & {
65
+ right: 0.5em !important;
66
+ left: unset !important;
67
+ }
68
+
69
+ &--collapsed {
32
70
  .ltrs & {
33
- left: 3em !important;
71
+ left: 0 !important;
34
72
  }
35
73
  .rtls & {
36
- right: 3em !important;
74
+ left: unset !important;
75
+ right: 1em !important;
37
76
  }
77
+ }
38
78
  }
79
+ }
80
+ }
39
81
 
40
- .timerange--expanded {
41
- max-width: 100% !important;
42
- }
43
-
44
- .slider::-webkit-slider-thumb {
45
- width: 23px !important;
46
- height: 23px !important;
47
- }
48
-
49
- .slider::-moz-range-thumb {
50
- width: 23px !important;
51
- height: 23px !important;
52
- }
53
-
54
- #map {
55
- .leaflet-control-container {
56
- .leaflet-left {
57
- bottom: 2.2em;
58
- top: auto;
59
- transition: 0.3s cubic-bezier(1, 0, 0, 1);
60
-
61
- .ltrs & {
62
- left: 0em !important;
63
- }
64
- .rtls & {
65
- right: 0.5em !important;
66
- left: unset !important;
67
- }
68
-
69
- &--collapsed {
70
- .ltrs & {
71
- left: 0 !important;
72
- }
73
- .rtls & {
74
- left: unset !important;
75
- right: 1em !important;
76
- }
77
- }
78
- }
79
- }
80
- }
82
+ .flexible-modal {
83
+ width: 100vw !important;
84
+ left: 31.9em !important;
85
+ }
86
+ }
87
+
88
+ .map-container {
89
+ position: fixed;
90
+ top: 3.7em;
91
+ height: 100%;
92
+ overflow: hidden;
93
+ transition: 0.3s cubic-bezier(1, 0, 0, 1);
94
+
95
+ .ltrs & {
96
+ left: 450px;
97
+ right: 0;
98
+ }
99
+ .rtls & {
100
+ left: 0;
101
+ right: 450px;
102
+ }
81
103
 
82
- .flexible-modal {
83
- width: 100vw !important;
84
- left: 31.9em !important;
85
- }
104
+ &--sidenav-collapsed {
105
+ .ltrs & {
106
+ left: 0 !important;
107
+ right: 0;
108
+ }
109
+ .rtls & {
110
+ left: 0;
111
+ right: 0 !important;
112
+ }
113
+ transition: 0.3s cubic-bezier(1, 0, 0, 1);
86
114
  }
87
115
 
88
- .map-container {
89
- position: fixed;
90
- top: 3.7em;
91
- height: 100%;
92
- overflow: hidden;
93
- transition: 0.3s cubic-bezier(1, 0, 0, 1);
116
+ #map {
117
+ height: calc(100vh - 7em);
94
118
 
95
- .ltrs & {
96
- left: 450px;
97
- right: 0;
98
- }
99
- .rtls & {
100
- left: 0;
101
- right: 450px;
102
- }
119
+ .leaflet-control-container {
120
+ .leaflet-left {
121
+ bottom: 2.2em;
122
+ top: auto;
123
+ transition: 0.3s cubic-bezier(1, 0, 0, 1);
124
+
125
+ .ltrs & {
126
+ left: 2.3em;
127
+ }
128
+ .rtls & {
129
+ right: 3em;
130
+ left: unset;
131
+ }
103
132
 
104
- &--sidenav-collapsed {
133
+ &--collapsed {
105
134
  .ltrs & {
106
- left: 0 !important;
107
- right: 0;
135
+ left: 0 !important;
108
136
  }
109
137
  .rtls & {
110
- left: 0;
111
- right: 0 !important;
138
+ left: unset !important;
139
+ right: 1em !important;
112
140
  }
113
- transition: 0.3s cubic-bezier(1, 0, 0, 1);
141
+ }
114
142
  }
143
+ }
144
+ }
145
+ }
146
+
147
+ .event-timerange {
148
+ position: absolute;
149
+ z-index: 999;
150
+ bottom: 4.5rem;
151
+ background: white;
152
+ padding: 8.5px;
153
+ border-radius: 3px;
154
+ transition: 0.3s cubic-bezier(1, 0, 0, 1);
155
+ overflow: hidden;
156
+ box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.5);
157
+
158
+ &:hover {
159
+ background: rgb(248, 248, 248);
160
+ }
115
161
 
116
- #map {
117
- height: calc(100vh - 7em);
118
-
119
- .leaflet-control-container {
120
- .leaflet-left {
121
- bottom: 2.2em;
122
- top: auto;
123
- transition: 0.3s cubic-bezier(1, 0, 0, 1);
124
-
125
- .ltrs & {
126
- left: 2.3em;
127
- }
128
- .rtls & {
129
- right: 3em;
130
- left: unset;
131
- }
132
-
133
- &--collapsed {
134
- .ltrs & {
135
- left: 0 !important;
136
- }
137
- .rtls & {
138
- left: unset !important;
139
- right: 1em !important;
140
- }
141
- }
142
- }
143
- }
144
- }
162
+ .ltrs & {
163
+ left: 33em;
164
+ }
165
+ .rtls & {
166
+ left: auto !important;
167
+ right: 5rem;
145
168
  }
146
169
 
147
- .event-timerange {
148
- position: absolute;
149
- z-index: 999;
150
- bottom: 4.5rem;
151
- background: white;
152
- padding: 8.5px;
153
- border-radius: 3px;
154
- transition: 0.3s cubic-bezier(1, 0, 0, 1);
155
- overflow: hidden;
156
- box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.5);
157
-
158
- &:hover {
159
- background: rgb(248, 248, 248);
160
- }
170
+ .timerange {
171
+ display: flex;
172
+ align-items: center;
173
+ width: 1.6em;
174
+ overflow: hidden;
175
+ transition: 0.3s cubic-bezier(1, 0, 0, 1);
176
+
177
+ &--expanded {
178
+ width: 30rem;
179
+ }
180
+
181
+ .clock-icon {
182
+ cursor: pointer;
183
+ font-size: 25px;
161
184
 
162
185
  .ltrs & {
163
- left: 33em;
186
+ margin-right: 10px;
164
187
  }
165
188
  .rtls & {
166
- left: auto !important;
167
- right: 5rem;
189
+ margin-left: 10px;
190
+ margin-right: 1px;
168
191
  }
192
+ }
169
193
 
170
- .timerange {
171
- display: flex;
172
- align-items: center;
173
- width: 1.6em;
174
- overflow: hidden;
175
- transition: 0.3s cubic-bezier(1, 0, 0, 1);
176
-
177
- &--expanded {
178
- width: 30rem;
179
- }
180
-
181
- .clock-icon {
182
- cursor: pointer;
183
- font-size: 25px;
184
-
185
- .ltrs & {
186
- margin-right: 10px;
187
- }
188
- .rtls & {
189
- margin-left: 10px;
190
- margin-right: 1px;
191
- }
192
- }
193
-
194
- .time {
195
- min-width: 11em;
196
- }
197
- }
194
+ .time {
195
+ min-width: 11em;
196
+ }
197
+ }
198
198
 
199
- .slider {
200
- -webkit-appearance: none;
201
- appearance: none;
202
- width: 100%;
203
- height: 2px;
204
- background: #9b9b9b;
205
- outline: none;
206
- opacity: 0.7;
207
- -webkit-transition: 0.2s;
208
- transition: opacity 0.2s;
209
- margin: 1em 0;
210
- }
199
+ .slider {
200
+ -webkit-appearance: none;
201
+ appearance: none;
202
+ width: 100%;
203
+ height: 2px;
204
+ background: #9b9b9b;
205
+ outline: none;
206
+ opacity: 0.7;
207
+ -webkit-transition: 0.2s;
208
+ transition: opacity 0.2s;
209
+ margin: 1em 0;
210
+ }
211
211
 
212
- /* Mouse-over effects */
213
- .slider:hover {
214
- opacity: 1;
215
- }
212
+ /* Mouse-over effects */
213
+ .slider:hover {
214
+ opacity: 1;
215
+ }
216
216
 
217
- /* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */
218
- .slider::-webkit-slider-thumb {
219
- -webkit-appearance: none;
220
- appearance: none;
221
- width: 15px;
222
- height: 15px;
223
- background: #007bff;
224
- border-radius: 50%;
225
- cursor: pointer;
226
- }
217
+ /* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */
218
+ .slider::-webkit-slider-thumb {
219
+ -webkit-appearance: none;
220
+ appearance: none;
221
+ width: 15px;
222
+ height: 15px;
223
+ background: #007bff;
224
+ border-radius: 50%;
225
+ cursor: pointer;
226
+ }
227
227
 
228
- .slider::-moz-range-thumb {
229
- width: 15px;
230
- height: 15px;
231
- background: #007bff;
232
- border-radius: 50%;
233
- cursor: pointer;
234
- }
228
+ .slider::-moz-range-thumb {
229
+ width: 15px;
230
+ height: 15px;
231
+ background: #007bff;
232
+ border-radius: 50%;
233
+ cursor: pointer;
235
234
  }
235
+ }
236
236
 
237
- .timerange--sidenav-collapsed {
238
- transition: 0.3s cubic-bezier(1, 0, 0, 1);
237
+ .timerange--sidenav-collapsed {
238
+ transition: 0.3s cubic-bezier(1, 0, 0, 1);
239
239
 
240
- .ltrs & {
241
- left: 5em;
242
- }
243
- .rtls & {
244
- right: 5em;
245
- }
240
+ .ltrs & {
241
+ left: 5em;
246
242
  }
243
+ .rtls & {
244
+ right: 5em;
245
+ }
246
+ }
247
247
 
248
- .show-error {
249
- display: none;
248
+ .show-error {
249
+ display: none;
250
250
 
251
- .general-error {
252
- text-align: center;
253
- margin: 0.2em 0;
254
- font-size: 10em;
251
+ .general-error {
252
+ text-align: center;
253
+ margin: 0.2em 0;
254
+ font-size: 10em;
255
255
 
256
- svg {
257
- margin: 0.2em 0;
258
- }
259
- }
256
+ svg {
257
+ margin: 0.2em 0;
258
+ }
259
+ }
260
+ }
261
+
262
+ .event-popup {
263
+ .popup-graph-icon {
264
+ position: absolute;
265
+ top: 20px;
266
+
267
+ .ltrs & {
268
+ right: 18px;
269
+ }
270
+ .rtls & {
271
+ left: 18px;
272
+ }
273
+
274
+ img {
275
+ width: 15px;
276
+ }
260
277
  }
261
278
 
262
- .event-popup {
263
- .popup-graph-icon {
264
- position: absolute;
265
- top: 20px;
266
-
267
- .ltrs & {
268
- right: 18px;
269
- }
270
- .rtls & {
271
- left: 18px;
272
- }
279
+ .popup-content {
280
+ .ltrs & {
281
+ text-align: left;
282
+ }
283
+ .rtls & {
284
+ text-align: right;
285
+ }
286
+
287
+ p {
288
+ margin: 10px 0;
289
+ }
290
+
291
+ &__site-name {
292
+ width: 9em;
293
+ }
294
+
295
+ &__damage-type {
296
+ .damage-types {
297
+ &__type {
298
+ display: flex;
299
+ align-items: center;
273
300
 
274
301
  img {
275
- width: 15px;
276
- }
277
- }
278
-
279
- .popup-content {
280
- .ltrs & {
281
- text-align: left;
282
- }
283
- .rtls & {
284
- text-align: right;
285
- }
286
-
287
- p {
288
- margin: 10px 0;
302
+ width: 15px;
289
303
  }
290
304
 
291
- &__site-name {
292
- width: 9em;
293
- }
294
-
295
- &__damage-type {
296
- .damage-types {
297
- &__type {
298
- display: flex;
299
- align-items: center;
300
-
301
- img {
302
- width: 15px;
303
- }
304
-
305
- span {
306
- padding: 0 5px;
307
- }
308
- }
309
- }
310
- }
311
-
312
- &__discharge-time {
313
- display: flex;
314
- justify-content: space-between;
315
-
316
- div {
317
- text-align: center;
318
- }
305
+ span {
306
+ padding: 0 5px;
319
307
  }
308
+ }
309
+ }
310
+ }
320
311
 
321
- &__severity {
322
- &--0 {
323
- color: #f6b22f;
324
- }
312
+ &__discharge-time {
313
+ display: flex;
314
+ justify-content: space-between;
325
315
 
326
- &--1 {
327
- color: #f67129;
328
- }
316
+ div {
317
+ text-align: center;
318
+ }
319
+ }
329
320
 
330
- &--2 {
331
- color: #f6004f;
332
- }
333
- }
321
+ &__severity {
322
+ &--0 {
323
+ color: #f6b22f;
334
324
  }
335
- }
336
325
 
337
- .leaflet-container a.leaflet-popup-close-button {
338
- display: none;
339
- }
326
+ &--1 {
327
+ color: #f67129;
328
+ }
340
329
 
341
- .flexible-modal {
342
- position: absolute;
343
- z-index: 1;
344
- border: 1px solid #ccc;
345
- background: white;
346
- }
347
- .flexible-modal-resizer {
348
- position: absolute;
349
- right: 0;
350
- bottom: 0;
351
- cursor: se-resize;
352
- margin: 5px;
353
- border-bottom: solid 2px #333;
354
- border-right: solid 2px #333;
355
- }
356
- .flexible-modal-drag-area {
357
- background: rgba(0, 0, 0, 0.1);
358
- height: 25px;
359
- position: absolute;
360
- right: 0;
361
- top: 0;
362
- cursor: move;
363
- width: 100% !important;
330
+ &--2 {
331
+ color: #f6004f;
332
+ }
333
+ }
364
334
  }
335
+ }
336
+
337
+ .leaflet-container a.leaflet-popup-close-button {
338
+ display: none;
339
+ }
340
+
341
+ .flexible-modal {
342
+ position: absolute;
343
+ z-index: 1;
344
+ border: 1px solid #ccc;
345
+ background: white;
346
+ }
347
+ .flexible-modal-resizer {
348
+ position: absolute;
349
+ right: 0;
350
+ bottom: 0;
351
+ cursor: se-resize;
352
+ margin: 5px;
353
+ border-bottom: solid 2px #333;
354
+ border-right: solid 2px #333;
355
+ }
356
+ .flexible-modal-drag-area {
357
+ background: rgba(0, 0, 0, 0.1);
358
+ height: 25px;
359
+ position: absolute;
360
+ right: 0;
361
+ top: 0;
362
+ cursor: move;
363
+ width: 100% !important;
364
+ }
365
365
  }
@@ -1,11 +1,11 @@
1
1
  .sidebar {
2
- z-index: 999;
3
- position: absolute;
4
- top: 4em;
5
- width: 450px;
6
- height: calc(100% - 4em);
7
- box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.1);
8
- background: rgba(255, 255, 255, 0.9);
9
- transition: 0.3s cubic-bezier(1, 0, 0, 1);
10
- font-size: 0.9em;
2
+ z-index: 999;
3
+ position: absolute;
4
+ top: 4em;
5
+ width: 450px;
6
+ height: calc(100% - 4em);
7
+ box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.1);
8
+ background: rgba(255, 255, 255, 0.9);
9
+ transition: 0.3s cubic-bezier(1, 0, 0, 1);
10
+ font-size: 0.9em;
11
11
  }