@kando-env/kando-ui 1.0.67-alpha.0 → 1.0.67-alpha.2

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 (39) 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 +3 -3
  21. package/lib/components/TimeRangeSelector/KandoRangePicker/kandoRangePicker.scss +61 -61
  22. package/lib/components/TimeRangeSelector/KandoRangePicker/rangePickerContainer.module.scss +22 -22
  23. package/lib/components/TimeRangeSelector/styles.scss +61 -61
  24. package/lib/components/Toggle/styles.scss +31 -31
  25. package/lib/components/TrendGraphNVL/styles.scss +12 -12
  26. package/lib/macros/getVersion.js +1 -1
  27. package/lib/pages/CovidPage/components/MapStyle.scss +309 -309
  28. package/lib/pages/CovidPage/components/SidebarStyle.scss +9 -9
  29. package/lib/pages/CovidPage/components/SummaryStyle.scss +50 -50
  30. package/lib/pages/CovidPage/components/TrendGraphNVL/styles.scss +14 -14
  31. package/lib/pages/CovidPage/components/TrendPopupContent/styles.scss +23 -23
  32. package/lib/pages/CovidPage/components/areas/AreasStyle.scss +249 -249
  33. package/lib/pages/EventsPage/events/EventsStyle.scss +650 -650
  34. package/lib/pages/EventsPage/events/event_info/EventInfoStyle.scss +464 -464
  35. package/lib/pages/OldSitePage/SamplingParameters/SamplingContainer/ExpandableSamplingTable/ExpandableSamplingTable.scss +75 -75
  36. package/lib/pages/SitePage/SamplingParameters/SamplingContainer/ExpandableSamplingTable/ExpandableSamplingTable.scss +75 -75
  37. package/lib/pages/UtilityDashboardPage/MostSevereEvents/MostSevereEvents.scss +55 -55
  38. package/lib/styles.scss +151 -151
  39. package/package.json +1 -1
@@ -1,295 +1,295 @@
1
1
  @media only screen and (max-width: 450px) {
2
- .react-responsive-modal-modal {
3
- max-width: 90vw !important;
4
- }
2
+ .react-responsive-modal-modal {
3
+ max-width: 90vw !important;
4
+ }
5
5
 
6
- .sidebar {
7
- width: 100vw !important;
6
+ .sidebar {
7
+ width: 100vw !important;
8
8
 
9
- .areas-list-header {
10
- width: 100vw !important;
11
- }
9
+ .areas-list-header {
10
+ width: 100vw !important;
11
+ }
12
12
 
13
- .area {
14
- &__header {
15
- padding: 0 1em !important;
16
- }
17
- }
13
+ .area {
14
+ &__header {
15
+ padding: 0 1em !important;
16
+ }
17
+ }
18
18
 
19
- &--collapsed {
20
- .ltrs & {
21
- left: -100vw !important;
22
- transition: 0.2s ease-in-out;
23
- }
19
+ &--collapsed {
20
+ .ltrs & {
21
+ left: -100vw !important;
22
+ transition: 0.2s ease-in-out;
23
+ }
24
24
 
25
- .rtls & {
26
- right: -100vw !important;
27
- transition: 0.2s ease-in-out;
28
- }
29
- }
25
+ .rtls & {
26
+ right: -100vw !important;
27
+ transition: 0.2s ease-in-out;
28
+ }
30
29
  }
30
+ }
31
31
 
32
- .summarybar {
33
- width: 100vw !important;
32
+ .summarybar {
33
+ width: 100vw !important;
34
34
 
35
- .trend-button {
36
- padding: 0.3em !important;
37
- }
35
+ .trend-button {
36
+ padding: 0.3em !important;
38
37
  }
38
+ }
39
39
 
40
- .back-button {
41
- &--mobile {
42
- &--shown {
43
- display: block;
44
- }
45
- }
40
+ .back-button {
41
+ &--mobile {
42
+ &--shown {
43
+ display: block;
44
+ }
46
45
  }
46
+ }
47
47
 
48
- .area--desktop {
49
- display: none;
50
- }
48
+ .area--desktop {
49
+ display: none;
50
+ }
51
51
 
52
- .area--mobile {
53
- display: block !important;
54
- }
52
+ .area--mobile {
53
+ display: block !important;
54
+ }
55
55
 
56
- .zoomed {
57
- display: block !important;
58
- }
56
+ .zoomed {
57
+ display: block !important;
58
+ }
59
59
  }
60
60
 
61
61
  .sidebar {
62
- transition: 0.1s ease-in-out;
62
+ transition: 0.1s ease-in-out;
63
+
64
+ .ltrs & {
65
+ left: 0;
66
+ }
67
+
68
+ .rtls & {
69
+ right: 0;
70
+ }
71
+
72
+ .back-button {
73
+ position: fixed;
74
+ top: 10em;
75
+ width: 100vw;
76
+ left: 0em;
77
+ background: white;
78
+ padding: 9px;
79
+ border: 1px solid rgba(0, 0, 0, 0.1);
80
+ border-left: 0;
81
+ border-right: 0;
82
+
83
+ &--mobile {
84
+ display: none;
85
+ }
86
+ }
87
+ }
63
88
 
64
- .ltrs & {
65
- left: 0;
89
+ .zoomed {
90
+ display: none;
91
+ }
92
+
93
+ .areas-container {
94
+ text-align: center;
95
+ height: 100%;
96
+
97
+ .areas-list-header {
98
+ height: 6.5em;
99
+ display: flex;
100
+ flex-direction: row;
101
+ align-items: center;
102
+ justify-content: space-between;
103
+ position: fixed;
104
+ z-index: 9;
105
+ background: white;
106
+ width: 450px;
107
+ padding: 0 1.5em;
108
+ box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
109
+
110
+ .main {
111
+ display: flex;
112
+ flex-direction: column;
113
+ align-items: baseline;
114
+
115
+ .sort {
116
+ display: flex;
117
+ align-items: center;
118
+
119
+ .form-group {
120
+ margin: 0;
121
+
122
+ select {
123
+ border: none;
124
+ font-weight: 800;
125
+ }
126
+ }
127
+ }
66
128
  }
67
129
 
68
- .rtls & {
69
- right: 0;
130
+ svg {
131
+ font-size: 1.5em;
132
+ cursor: pointer;
70
133
  }
71
134
 
72
135
  .back-button {
73
- position: fixed;
74
- top: 10em;
75
- width: 100vw;
76
- left: 0em;
77
- background: white;
78
- padding: 9px;
79
- border: 1px solid rgba(0, 0, 0, 0.1);
80
- border-left: 0;
81
- border-right: 0;
82
-
83
- &--mobile {
136
+ text-decoration: none;
137
+ cursor: pointer;
138
+ }
139
+ }
140
+
141
+ ul {
142
+ list-style: none;
143
+ margin: 0;
144
+ padding: 0;
145
+ }
146
+
147
+ .areas {
148
+ flex-direction: column;
149
+ display: flex;
150
+ height: 100%;
151
+ padding: 6em 1.5em 1.5em 1.5em;
152
+ overflow: scroll;
153
+
154
+ &--collapsed {
155
+ .area {
156
+ height: 1.6em !important;
157
+ transition: 0.1s ease-in-out;
158
+
159
+ &--expanded {
160
+ height: 1.6em !important;
161
+ transition: 0.1s ease-in-out;
162
+
163
+ .area__details {
84
164
  display: none;
165
+ }
166
+
167
+ .area__actions {
168
+ display: none;
169
+ }
85
170
  }
171
+
172
+ .area__details {
173
+ display: none;
174
+
175
+ .ltrs & {
176
+ text-align: left;
177
+ }
178
+
179
+ .rtls & {
180
+ text-align: right;
181
+ }
182
+ }
183
+
184
+ .area__actions {
185
+ display: none;
186
+ }
187
+ }
86
188
  }
87
- }
88
189
 
89
- .zoomed {
90
- display: none;
91
- }
190
+ .area {
191
+ position: relative;
192
+ width: 100%;
193
+ height: max-content;
194
+ box-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
195
+ border-radius: 0;
196
+ text-align: center;
197
+ margin: 0.8em 0;
198
+ background: white;
199
+ cursor: pointer;
200
+ transition: 0.1s ease-in-out;
201
+ user-select: none;
202
+
203
+ &:hover {
204
+ box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.15);
205
+ transition: 0.2s ease;
206
+ }
207
+
208
+ &:active {
209
+ background: #f2f2f2;
210
+ box-shadow: 0 0 0 rgba(0, 0, 0, 0.15);
211
+ transition: 0.1s ease;
212
+ }
213
+
214
+ &--mobile {
215
+ display: none;
216
+ }
92
217
 
93
- .areas-container {
94
- text-align: center;
95
- height: 100%;
218
+ &--expanded {
219
+ height: max-content !important;
220
+ transition: 0.1s ease-in-out;
96
221
 
97
- .areas-list-header {
98
- height: 6.5em;
222
+ .area__details {
223
+ display: flex;
224
+ }
225
+
226
+ .area__actions {
227
+ display: flex;
228
+ }
229
+ }
230
+
231
+ &--no_sampling {
232
+ .area__header {
233
+ background: rgb(187, 187, 187) !important;
234
+ }
235
+ }
236
+
237
+ &__header {
238
+ font-size: 1.2em;
99
239
  display: flex;
100
- flex-direction: row;
101
- align-items: center;
102
240
  justify-content: space-between;
103
- position: fixed;
104
- z-index: 9;
105
- background: white;
106
- width: 450px;
107
- padding: 0 1.5em;
108
- box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
109
-
110
- .main {
111
- display: flex;
112
- flex-direction: column;
113
- align-items: baseline;
114
-
115
- .sort {
116
- display: flex;
117
- align-items: center;
118
-
119
- .form-group {
120
- margin: 0;
121
-
122
- select {
123
- border: none;
124
- font-weight: 800;
125
- }
126
- }
127
- }
241
+ padding: 0 3em;
242
+
243
+ &--MAJOR {
244
+ background: lighten(#f21b3f, 10%);
128
245
  }
129
246
 
130
- svg {
131
- font-size: 1.5em;
132
- cursor: pointer;
247
+ &--MEDIUM {
248
+ background: #ff7a14;
133
249
  }
134
250
 
135
- .back-button {
136
- text-decoration: none;
137
- cursor: pointer;
251
+ &--LOW {
252
+ background: #ffb114;
138
253
  }
139
- }
140
254
 
141
- ul {
142
- list-style: none;
143
- margin: 0;
144
- padding: 0;
145
- }
255
+ &--CLEAN {
256
+ background: #1db232;
257
+ }
258
+ }
146
259
 
147
- .areas {
260
+ &__details {
261
+ display: flex;
148
262
  flex-direction: column;
263
+ text-align: left;
264
+ padding: 1em 3em;
265
+ opacity: 1;
266
+ transition: 0.1s ease-in-out;
267
+
268
+ .area__detail {
269
+ padding: 0.5em 0;
270
+ }
271
+ }
272
+
273
+ &__actions {
149
274
  display: flex;
150
- height: 100%;
151
- padding: 6em 1.5em 1.5em 1.5em;
152
- overflow: scroll;
153
-
154
- &--collapsed {
155
- .area {
156
- height: 1.6em !important;
157
- transition: 0.1s ease-in-out;
158
-
159
- &--expanded {
160
- height: 1.6em !important;
161
- transition: 0.1s ease-in-out;
162
-
163
- .area__details {
164
- display: none;
165
- }
166
-
167
- .area__actions {
168
- display: none;
169
- }
170
- }
171
-
172
- .area__details {
173
- display: none;
174
-
175
- .ltrs & {
176
- text-align: left;
177
- }
178
-
179
- .rtls & {
180
- text-align: right;
181
- }
182
- }
183
-
184
- .area__actions {
185
- display: none;
186
- }
187
- }
275
+ justify-content: space-evenly;
276
+ padding: 0em 3em 1em 3em;
277
+ opacity: 1;
278
+ transition: 0.1s ease-in-out;
279
+
280
+ a {
281
+ padding: 5px;
282
+
283
+ &:hover {
284
+ background: rgba(0, 0, 0, 0.05);
285
+ }
188
286
  }
189
287
 
190
- .area {
191
- position: relative;
192
- width: 100%;
193
- height: max-content;
194
- box-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
195
- border-radius: 0;
196
- text-align: center;
197
- margin: 0.8em 0;
198
- background: white;
199
- cursor: pointer;
200
- transition: 0.1s ease-in-out;
201
- user-select: none;
202
-
203
- &:hover {
204
- box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.15);
205
- transition: 0.2s ease;
206
- }
207
-
208
- &:active {
209
- background: #f2f2f2;
210
- box-shadow: 0 0 0 rgba(0, 0, 0, 0.15);
211
- transition: 0.1s ease;
212
- }
213
-
214
- &--mobile {
215
- display: none;
216
- }
217
-
218
- &--expanded {
219
- height: max-content !important;
220
- transition: 0.1s ease-in-out;
221
-
222
- .area__details {
223
- display: flex;
224
- }
225
-
226
- .area__actions {
227
- display: flex;
228
- }
229
- }
230
-
231
- &--no_sampling {
232
- .area__header {
233
- background: rgb(187, 187, 187) !important;
234
- }
235
- }
236
-
237
- &__header {
238
- font-size: 1.2em;
239
- display: flex;
240
- justify-content: space-between;
241
- padding: 0 3em;
242
-
243
- &--MAJOR {
244
- background: lighten(#f21b3f, 10%);
245
- }
246
-
247
- &--MEDIUM {
248
- background: #ff7a14;
249
- }
250
-
251
- &--LOW {
252
- background: #ffb114;
253
- }
254
-
255
- &--CLEAN {
256
- background: #1db232;
257
- }
258
- }
259
-
260
- &__details {
261
- display: flex;
262
- flex-direction: column;
263
- text-align: left;
264
- padding: 1em 3em;
265
- opacity: 1;
266
- transition: 0.1s ease-in-out;
267
-
268
- .area__detail {
269
- padding: 0.5em 0;
270
- }
271
- }
272
-
273
- &__actions {
274
- display: flex;
275
- justify-content: space-evenly;
276
- padding: 0em 3em 1em 3em;
277
- opacity: 1;
278
- transition: 0.1s ease-in-out;
279
-
280
- a {
281
- padding: 5px;
282
-
283
- &:hover {
284
- background: rgba(0, 0, 0, 0.05);
285
- }
286
- }
287
-
288
- .divider {
289
- width: 1px;
290
- background: rgba(0, 0, 0, 0.5);
291
- }
292
- }
288
+ .divider {
289
+ width: 1px;
290
+ background: rgba(0, 0, 0, 0.5);
293
291
  }
292
+ }
294
293
  }
294
+ }
295
295
  }