@kando-env/kando-ui 1.0.34-alpha.3 → 1.0.34

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 (126) hide show
  1. package/lib/CovidView/views/components/MapStyle.scss +319 -316
  2. package/lib/CovidView/views/components/SidebarStyle.scss +10 -10
  3. package/lib/CovidView/views/components/SummaryStyle.scss +51 -51
  4. package/lib/CovidView/views/components/TrendGraphNVL/TrendGraphNVL.js +3 -3
  5. package/lib/CovidView/views/components/TrendGraphNVL/styles.scss +16 -15
  6. package/lib/CovidView/views/components/TrendPopupContent/TrendPopupContent.js +1 -1
  7. package/lib/CovidView/views/components/TrendPopupContent/index.js +1 -1
  8. package/lib/CovidView/views/components/TrendPopupContent/styles.scss +24 -24
  9. package/lib/CovidView/views/components/areas/Area.js +23 -23
  10. package/lib/CovidView/views/components/areas/AreaPolygonsWBE.js +3 -3
  11. package/lib/CovidView/views/components/areas/AreasStyle.scss +263 -263
  12. package/lib/CovidView/views/components/areas/Sort.js +5 -5
  13. package/lib/DashboardV2/Header/DoubleTabs/DoubleTabs.js +4 -4
  14. package/lib/DashboardV2/Header/DoubleTabs/styles.js +3 -3
  15. package/lib/DashboardV2/Header/InfoBar/InfoBar.js +2 -3
  16. package/lib/DashboardV2/SamplingParameters/NoResults/NoResults.js +2 -2
  17. package/lib/DashboardV2/SamplingParameters/SamplingContainer/ExceptionBar/ExceptionBar.js +4 -4
  18. package/lib/DashboardV2/SamplingParameters/SamplingContainer/ExceptionBar/styles.js +2 -2
  19. package/lib/DashboardV2/SamplingParameters/SamplingContainer/SamplingContainer.js +1 -1
  20. package/lib/DashboardV2/SamplingParameters/SamplingParameters.js +2 -2
  21. package/lib/DashboardV2/SamplingParameters/SamplingParameters.mock.js +1 -1
  22. package/lib/DashboardV2/SamplingParameters/charts/ParametersChart.js +1 -1
  23. package/lib/DashboardV2/SamplingParameters/charts/SamplingChart.js +2 -2
  24. package/lib/DashboardV2/SamplingParameters/styles/samplingParameters.js +1 -1
  25. package/lib/DashboardV2/SamplingParameters/styles/styles.js +6 -6
  26. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Areas/AreaBox/styles.js +2 -2
  27. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Areas/styles.js +1 -1
  28. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Factories/FactoryBox/styles.js +2 -2
  29. package/lib/DashboardV2/UtilityDashboard/MostPolluting/MostPolluting.js +2 -3
  30. package/lib/DashboardV2/UtilityDashboard/MostPolluting/MostPolluting.stories.js +1 -1
  31. package/lib/DashboardV2/UtilityDashboard/MostPolluting/ShowMore/styles.js +2 -2
  32. package/lib/DashboardV2/UtilityDashboard/MostPolluting/styles.js +1 -1
  33. package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/MostSevereEvents.js +4 -12
  34. package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/MostSevereEvents.stories.js +18 -18
  35. package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/NoEvents/NoEvents.stories.js +2 -2
  36. package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/SevereEvent/SevereEvent.js +3 -2
  37. package/lib/DashboardV2/UtilityDashboard/TopBar/TopBar.js +2 -2
  38. package/lib/DashboardV2/UtilityDashboard/UtilityDashboard.stories.js +1 -1
  39. package/lib/DashboardV2/styles.scss +111 -111
  40. package/lib/EventsView/views/_colors.scss +1 -1
  41. package/lib/EventsView/views/components/areas/AreaPolygon.js +4 -4
  42. package/lib/EventsView/views/components/edges/Edge.js +9 -9
  43. package/lib/EventsView/views/components/events/EventsStyle.scss +582 -590
  44. package/lib/EventsView/views/components/events/event_info/EventDetails.js +16 -16
  45. package/lib/EventsView/views/components/events/event_info/EventInfoStyle.scss +421 -420
  46. package/lib/EventsView/views/components/events/event_info/charts/EventDetailsLineChart.js +4 -4
  47. package/lib/EventsView/views/components/events/event_info/charts/EventDetailsPieChart.js +4 -4
  48. package/lib/EventsView/views/components/events/event_info/samplings/Samplings.js +4 -4
  49. package/lib/EventsView/views/components/events/event_info/sources/Sources.js +3 -3
  50. package/lib/EventsView/views/components/events/events_list/Filter/FiltersDropDown.js +6 -6
  51. package/lib/EventsView/views/components/events/events_list/Sort.js +13 -13
  52. package/lib/EventsView/views/components/map/FloatingGraph.js +1 -1
  53. package/lib/EventsView/views/components/map/floatingGraphStyle.scss +46 -46
  54. package/lib/EventsView/views/components/map/mapStyle.scss +321 -316
  55. package/lib/EventsView/views/components/points/PointMarkers.js +1 -1
  56. package/lib/macros/getVersion.js +2 -2
  57. package/lib/shared/TimeRangeSelector/constants.js +1 -1
  58. package/lib/shared/TimeRangeSelector/index.js +1 -1
  59. package/lib/shared/components/Breadcrumbs/Breadcrumbs.js +1 -1
  60. package/lib/shared/components/Breadcrumbs/index.js +1 -1
  61. package/lib/shared/components/Breadcrumbs/styles.scss +6 -6
  62. package/lib/shared/components/ContentLoader/ContentLoader.js +1 -1
  63. package/lib/shared/components/ContentLoader/index.js +1 -1
  64. package/lib/shared/components/DamageType/DamageType.js +1 -1
  65. package/lib/shared/components/DamageType/styles.scss +40 -40
  66. package/lib/shared/components/DischargeHeatmap/DischargeHeatmap.js +3 -3
  67. package/lib/shared/components/DischargeHeatmap/styles.scss +13 -12
  68. package/lib/shared/components/ErrorBoundary.js +1 -1
  69. package/lib/shared/components/Events/Events.js +12 -12
  70. package/lib/shared/components/Events/styles.scss +108 -107
  71. package/lib/shared/components/InfoBar/InfoBar.js +1 -1
  72. package/lib/shared/components/InfoBar/InfoBar.stories.js +1 -1
  73. package/lib/shared/components/KandoModal/index.js +1 -1
  74. package/lib/shared/components/KandoModal/styles.scss +14 -14
  75. package/lib/shared/components/KandoNavbar/NavbarStyle.scss +182 -175
  76. package/lib/shared/components/KandoNavbar/index.js +1 -1
  77. package/lib/shared/components/LiveEvents/styles.scss +67 -67
  78. package/lib/shared/components/LoaderByPercent/LoaderByPercent.js +5 -5
  79. package/lib/shared/components/Map/Map.js +3 -3
  80. package/lib/shared/components/Map/styles.scss +5 -4
  81. package/lib/shared/components/NarrowHeader.js +1 -1
  82. package/lib/shared/components/PointInfo/PointInfo.js +4 -4
  83. package/lib/shared/components/PointInfo/index.js +1 -1
  84. package/lib/shared/components/PointInfo/styles.scss +36 -35
  85. package/lib/shared/components/Search/Search.js +1 -1
  86. package/lib/shared/components/Search/index.js +1 -1
  87. package/lib/shared/components/Search/styles.scss +21 -21
  88. package/lib/shared/components/Sector/index.js +1 -1
  89. package/lib/shared/components/Sector/styles.scss +13 -13
  90. package/lib/shared/components/Select/Select.scss +1 -1
  91. package/lib/shared/components/Spinner/Spinner.js +3 -3
  92. package/lib/shared/components/Spinner/Spinner.stories.js +1 -1
  93. package/lib/shared/components/Spinner/index.js +1 -1
  94. package/lib/shared/components/Spinner/styles.js +1 -1
  95. package/lib/shared/components/Toggle/index.js +1 -1
  96. package/lib/shared/components/Toggle/styles.scss +32 -31
  97. package/lib/shared/components/TrendGraph/styles.scss +1 -1
  98. package/lib/shared/components/TrendGraphNVL/TrendGraphNVL.js +3 -3
  99. package/lib/shared/components/TrendGraphNVL/styles.scss +13 -13
  100. package/lib/shared/helpers/time.js +1 -1
  101. package/lib/shared/redux/WBE/actions.js +1 -1
  102. package/lib/shared/redux/WBE/reducer.js +1 -1
  103. package/lib/shared/redux/areas/actionTypes.js +1 -1
  104. package/lib/shared/redux/areas/actions.js +1 -1
  105. package/lib/shared/redux/context/actions.js +1 -1
  106. package/lib/shared/redux/context/reducer.js +1 -1
  107. package/lib/shared/redux/edges/actionTypes.js +1 -1
  108. package/lib/shared/redux/edges/actions.js +1 -1
  109. package/lib/shared/redux/events/actionTypes.js +1 -1
  110. package/lib/shared/redux/events/actions.js +1 -1
  111. package/lib/shared/redux/global/actionTypes.js +1 -1
  112. package/lib/shared/redux/points/actionTypes.js +1 -1
  113. package/lib/shared/redux/points/actions.js +1 -1
  114. package/lib/shared/redux/rootActionTypes.js +1 -1
  115. package/lib/shared/redux/rootActions.js +1 -1
  116. package/lib/shared/utilities/ActionUtility.js +1 -1
  117. package/lib/shared/utilities/KandoDate.js +1 -1
  118. package/lib/shared/utilities/KandoModal.js +2 -2
  119. package/lib/shared/utilities/LocalStorage.js +1 -1
  120. package/lib/shared/utilities/TimeFormat.js +3 -3
  121. package/lib/shared/utilities/custom_hooks/useApi.js +1 -1
  122. package/lib/shared/utilities/custom_hooks/useClickOutside.js +3 -3
  123. package/lib/shared/utilities/custom_hooks/useMap.js +3 -1
  124. package/lib/shared/utilities/custom_hooks/useQueryURL.js +1 -1
  125. package/lib/shared/utilities/custom_hooks/useRemoveExistingLayers.js +1 -1
  126. package/package.json +1 -1
@@ -1,733 +1,725 @@
1
1
  @media only screen and (max-width: 450px) {
2
- .sidenav {
3
- width: 100vw !important;
2
+ .sidenav {
3
+ width: 100vw !important;
4
4
 
5
- &--collapsed {
6
- .ltrs & {
7
- left: -100vw !important;
8
- }
5
+ &--collapsed {
6
+ .ltrs & {
7
+ left: -100vw !important;
8
+ }
9
9
 
10
- .rtls & {
11
- right: -100vw !important;
12
- }
13
- }
10
+ .rtls & {
11
+ right: -100vw !important;
12
+ }
14
13
  }
14
+ }
15
15
 
16
- .event-info__event-path {
17
- display: block !important;
18
- }
16
+ .event-info__event-path {
17
+ display: block !important;
18
+ }
19
19
 
20
- .back_button_container {
21
- width: 100vw !important;
22
- }
20
+ .back_button_container {
21
+ width: 100vw !important;
22
+ }
23
23
 
24
- .toggle-expansion-button-mobile {
25
- display: block !important;
26
- }
24
+ .toggle-expansion-button-mobile {
25
+ display: block !important;
26
+ }
27
27
 
28
- .toggle-expansion-button {
29
- display: none;
30
- }
28
+ .toggle-expansion-button {
29
+ display: none;
30
+ }
31
31
  }
32
32
 
33
33
  .sidenav {
34
- z-index: 999;
35
- position: fixed;
36
- top: 4em;
37
- width: 450px;
38
- height: 100%;
39
- box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.1);
40
- background: rgba(255, 255, 255, 0.9);
41
- transition: 0.3s cubic-bezier(1, 0, 0, 1);
42
- font-size: 0.9em;
34
+ z-index: 999;
35
+ position: fixed;
36
+ top: 4em;
37
+ width: 450px;
38
+ height: 100%;
39
+ box-shadow: 0px 10px 10px rgba(0, 0, 0, .1);
40
+ background: rgba(255,255,255,0.9);
41
+ transition: 0.3s cubic-bezier(1,0,0,1);
42
+ font-size: 0.9em;
43
+
44
+ .ltrs & {
45
+ left: 0;
46
+ }
47
+ .rtls & {
48
+ right: 0;
49
+ }
50
+
51
+ h6 {
52
+ font-weight: 900;
53
+ }
54
+
55
+ .danger {
56
+ color: #f6004f;
57
+ font-weight: bold;
58
+ }
43
59
 
60
+ .nav-expansion-icon {
61
+ width: 100%;
62
+ height: 50%;
63
+ padding: 2px;
64
+ margin: 50% 0;
65
+
66
+ svg {
67
+ width: 100%;
68
+ height: 100%;
69
+ }
70
+ }
71
+
72
+ &--collapsed {
44
73
  .ltrs & {
45
- left: 0;
74
+ left: -450px;
46
75
  }
47
76
  .rtls & {
48
- right: 0;
77
+ right: -450px;
49
78
  }
79
+ }
80
+
81
+ .toggle-expansion-button {
82
+ position: absolute;
83
+ top: 0;
84
+ width: 1.5em;
85
+ height: 3em;
86
+ background: white;
87
+ z-index: 9;
88
+ border-bottom-right-radius: 9px;
89
+ border-top-right-radius: 9px;
90
+ cursor: pointer;
50
91
 
51
- h6 {
52
- font-weight: 900;
92
+ .ltrs & {
93
+ right: -22px !important;
94
+ }
95
+ .rtls & {
96
+ left: -21px !important;
97
+ transform: rotate(180deg);
53
98
  }
99
+ }
54
100
 
55
- .danger {
56
- color: #f6004f;
57
- font-weight: bold;
101
+ .toggle-expansion-button-mobile {
102
+ display: none;
103
+ position: absolute;
104
+ top: 0;
105
+ width: 100%;
106
+ background: white;
107
+ padding: 12px 20px;
108
+ box-shadow: 0px 3px 3px rgba(0, 0, 0, .1);
109
+
110
+ a {
111
+ color: #007bff;
58
112
  }
59
113
 
60
- .nav-expansion-icon {
61
- width: 100%;
62
- height: 50%;
63
- padding: 2px;
64
- margin: 50% 0;
114
+ .ltrs & {
115
+ right: -100% !important;
116
+ }
117
+ .rtls & {
118
+ left: -100% !important;
65
119
 
66
- svg {
67
- width: 100%;
68
- height: 100%;
69
- }
120
+ svg {
121
+ transform: rotate(180deg);
122
+ }
70
123
  }
124
+ }
71
125
 
72
- &--collapsed {
73
- .ltrs & {
74
- left: -450px;
75
- }
76
- .rtls & {
77
- right: -450px;
78
- }
126
+ .events-header {
127
+ position: sticky;
128
+ position: sticky;
129
+ top: 0;
130
+ left: 0;
131
+ display: flex;
132
+ width: 100%;
133
+ background: white;
134
+ padding: 1.5em;
135
+ justify-content: space-between;
136
+ box-shadow: 0px 3px 4px rgba(0,0,0,.1);
137
+ z-index: 9;
138
+
139
+ .filter {
140
+ cursor: pointer;
79
141
  }
142
+ }
143
+ }
80
144
 
81
- .toggle-expansion-button {
82
- position: absolute;
83
- top: 0;
84
- width: 1.5em;
85
- height: 3em;
86
- background: white;
87
- z-index: 9;
88
- border-bottom-right-radius: 9px;
89
- border-top-right-radius: 9px;
145
+ .events-container {
146
+ padding: 0 1.5em 1.5em 1.5em;
147
+ text-align: center;
148
+ overflow: scroll;
149
+ height: 85%;
150
+
151
+ .events {
152
+ padding-bottom: 8em;
153
+
154
+ &__blankslate {
155
+ display: flex;
156
+ flex-direction: column;
157
+ justify-content: center;
158
+ height: 70%;
159
+
160
+ img {
161
+ width: 6em;
162
+ align-self: center;
163
+ }
164
+
165
+ .apply_default_filter_button {
166
+ color: #f6004f;
167
+ border: 1px solid #f6004f;
168
+ padding: 9px;
169
+ border-radius: 26px;
170
+ width: 11em;
171
+ align-self: center;
172
+ text-decoration: none;
90
173
  cursor: pointer;
174
+ font-size: 21px;
175
+ font-weight: 200;
176
+ }
177
+ }
178
+
179
+ .event {
180
+ position: relative;
181
+ width: 100%;
182
+ height: 14em;
183
+ box-shadow: 0 8px 16px 0 rgba(0,0,0,.08);
184
+ border-radius: 8px;
185
+ text-align: center;
186
+ margin: 1.5em 0;
187
+ background: white;
188
+ cursor: pointer;
189
+
190
+ .event-id {
191
+ position: absolute;
192
+ font-size: .5em;
193
+ top: -1.9em;
91
194
 
92
195
  .ltrs & {
93
- right: -22px !important;
196
+ right: 0 !important;
94
197
  }
95
198
  .rtls & {
96
- left: -21px !important;
97
- transform: rotate(180deg);
199
+ left: 0 !important;
98
200
  }
99
- }
201
+ }
100
202
 
101
- .toggle-expansion-button-mobile {
102
- display: none;
103
- position: absolute;
104
- top: 0;
105
- width: 100%;
106
- background: white;
107
- padding: 12px 20px;
108
- box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.1);
203
+ &:hover {
204
+ box-shadow: 0 8px 16px 0 rgba(0,0,0,.15);
205
+ transition: 0.2s ease;
206
+ }
109
207
 
110
- a {
111
- color: #007bff;
112
- }
208
+ &:active {
209
+ background: #f2f2f2;
210
+ box-shadow: 0 0 0 rgba(0,0,0,.15);
211
+ transition: 0.1s ease;
212
+ }
113
213
 
114
- .ltrs & {
115
- right: -100% !important;
116
- }
117
- .rtls & {
118
- left: -100% !important;
214
+ .event-container {
215
+ height: 100%;
216
+ display: flex;
217
+ justify-content: unset;
119
218
 
120
- svg {
121
- transform: rotate(180deg);
122
- }
219
+ &--active {
220
+ box-shadow: 0px 0px 20px rgba(246,0,79,.4);
123
221
  }
124
- }
125
222
 
126
- .events-header {
127
- position: sticky;
128
- position: sticky;
129
- top: 0;
130
- left: 0;
131
- display: flex;
132
- width: 100%;
133
- background: white;
134
- padding: 1.5em;
135
- justify-content: space-between;
136
- box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.1);
137
- z-index: 9;
223
+ &__severity {
224
+ height: 100%;
225
+ width: 5px;
226
+ margin: 0;
138
227
 
139
- .filter {
140
- cursor: pointer;
141
- }
142
- }
143
- }
228
+ &--0 {
229
+ background: #f6b22f;
230
+ }
144
231
 
145
- .events-container {
146
- padding: 0 1.5em 1.5em 1.5em;
147
- text-align: center;
148
- overflow: scroll;
149
- height: 85%;
232
+ &--1 {
233
+ background: #f67129;
234
+ }
150
235
 
151
- .events {
152
- padding-bottom: 8em;
236
+ &--2 {
237
+ background: #f6004f;
238
+ }
239
+ }
153
240
 
154
- &__blankslate {
155
- display: flex;
156
- flex-direction: column;
157
- justify-content: center;
158
- height: 70%;
241
+ .event-content {
242
+ width: 100%;
243
+ overflow: scroll;
159
244
 
160
- img {
161
- width: 6em;
162
- align-self: center;
245
+ .truncated-text {
246
+ padding: 2px;
247
+ border-radius: 3px;
248
+ text-align: center;
249
+ text-overflow: ellipsis;
250
+ width: 7em;
251
+ font-size: 10px;
252
+ overflow: hidden !important;
253
+
254
+ b {
255
+ white-space: nowrap;
256
+ text-overflow: ellipsis;
163
257
  }
258
+ }
164
259
 
165
- .apply_default_filter_button {
166
- color: #f6004f;
167
- border: 1px solid #f6004f;
168
- padding: 9px;
169
- border-radius: 26px;
170
- width: 11em;
171
- align-self: center;
172
- text-decoration: none;
173
- cursor: pointer;
174
- font-size: 21px;
175
- font-weight: 200;
260
+ &__header {
261
+ display: flex;
262
+ justify-content: space-between;
263
+ background: rgba(0,0,0,.1);
264
+ padding: .5em 1em;
265
+
266
+ p {
267
+ margin: 0;
176
268
  }
177
- }
178
269
 
179
- .event {
180
- position: relative;
181
- width: 100%;
182
- height: 14em;
183
- box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.08);
184
- border-radius: 8px;
185
- text-align: center;
186
- margin: 1.5em 0;
187
- background: white;
188
- cursor: pointer;
270
+ .pollution-discharge {
271
+ display: flex;
272
+ font-size: 10px;
273
+ align-items: center;
189
274
 
190
- .event-id {
191
- position: absolute;
192
- font-size: 0.5em;
193
- top: -1.9em;
275
+ img {
276
+ width: 24px;
277
+ margin: 0 5px;
278
+ }
279
+ }
280
+ }
281
+
282
+ &__body {
283
+ font-size: 0.9em;
284
+ padding: 0 10px;
285
+
286
+ &--top {
287
+ padding: 10px 0;
288
+ border-bottom: 1px solid rgba(0,0,0,.1);
289
+
290
+ p {
291
+ margin: 0;
292
+ font-weight: 300;
293
+ }
294
+
295
+ .ltrs & {
296
+ text-align: left;
297
+ }
298
+ .rtls & {
299
+ text-align: right;
300
+ }
301
+
302
+ .damage-types {
303
+ padding: .5em 0;
304
+ display: flex;
305
+ justify-content: space-between;
194
306
 
195
307
  .ltrs & {
196
- right: 0 !important;
308
+ text-align: left;
197
309
  }
198
310
  .rtls & {
199
- left: 0 !important;
311
+ text-align: right;
200
312
  }
201
- }
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
- .event-container {
215
- height: 100%;
216
- display: flex;
217
- justify-content: unset;
218
313
 
219
- &--active {
220
- box-shadow: 0px 0px 20px rgba(246, 0, 79, 0.4);
314
+ p {
315
+ margin-bottom: .5em;
221
316
  }
222
317
 
223
- &__severity {
224
- height: 100%;
225
- width: 5px;
226
- margin: 0;
318
+ &__type {
319
+ display: flex;
320
+ align-items: center;
227
321
 
228
- &--0 {
229
- background: #f6b22f;
230
- }
322
+ &__icon {
323
+ width: 25px;
231
324
 
232
- &--1 {
233
- background: #f67129;
325
+ .ltrs & {
326
+ margin-right: 6px;
234
327
  }
235
-
236
- &--2 {
237
- background: #f6004f;
328
+ .rtls & {
329
+ margin-left: 6px;
238
330
  }
331
+ }
239
332
  }
333
+ }
334
+ }
240
335
 
241
- .event-content {
242
- width: 100%;
243
- overflow: scroll;
244
-
245
- .truncated-text {
246
- padding: 2px;
247
- border-radius: 3px;
248
- text-align: center;
249
- text-overflow: ellipsis;
250
- width: 7em;
251
- font-size: 10px;
252
- overflow: hidden !important;
253
-
254
- b {
255
- white-space: nowrap;
256
- text-overflow: ellipsis;
257
- }
258
- }
336
+ &--bottom {
337
+ padding: 7px 0 0 0;
338
+ display: flex;
339
+ justify-content: space-between;
259
340
 
260
- &__header {
261
- display: flex;
262
- justify-content: space-between;
263
- background: rgba(0, 0, 0, 0.1);
264
- padding: 0.5em 1em;
265
-
266
- p {
267
- margin: 0;
268
- }
269
-
270
- .pollution-discharge {
271
- display: flex;
272
- font-size: 10px;
273
- align-items: center;
274
-
275
- img {
276
- width: 24px;
277
- margin: 0 5px;
278
- }
279
- }
280
- }
341
+ .ltrs & {
342
+ text-align: left;
343
+ }
344
+ .rtls & {
345
+ text-align: right;
346
+ }
281
347
 
282
- &__body {
283
- font-size: 0.9em;
284
- padding: 0 10px;
285
-
286
- &--top {
287
- padding: 10px 0;
288
- border-bottom: 1px solid rgba(0, 0, 0, 0.1);
289
-
290
- p {
291
- margin: 0;
292
- font-weight: 300;
293
- }
294
-
295
- .ltrs & {
296
- text-align: left;
297
- }
298
- .rtls & {
299
- text-align: right;
300
- }
301
-
302
- .damage-types {
303
- padding: 0.5em 0;
304
- display: flex;
305
- justify-content: space-between;
306
-
307
- .ltrs & {
308
- text-align: left;
309
- }
310
- .rtls & {
311
- text-align: right;
312
- }
313
-
314
- p {
315
- margin-bottom: 0.5em;
316
- }
317
-
318
- &__type {
319
- display: flex;
320
- align-items: center;
321
-
322
- &__icon {
323
- width: 25px;
324
-
325
- .ltrs & {
326
- margin-right: 6px;
327
- }
328
- .rtls & {
329
- margin-left: 6px;
330
- }
331
- }
332
- }
333
- }
334
- }
335
-
336
- &--bottom {
337
- padding: 7px 0 0 0;
338
- display: flex;
339
- justify-content: space-between;
340
-
341
- .ltrs & {
342
- text-align: left;
343
- }
344
- .rtls & {
345
- text-align: right;
346
- }
347
-
348
- p {
349
- margin-bottom: 3px;
350
- }
351
-
352
- &__item {
353
- width: 20%;
354
- }
355
-
356
- .early-warnings {
357
- padding: 0.5em 1em;
358
- width: 50%;
359
-
360
- li {
361
- margin: 0 0 25px 0;
362
- }
363
- }
364
- }
365
- }
348
+ p {
349
+ margin-bottom: 3px;
350
+ }
351
+
352
+ &__item {
353
+ width: 20%;
354
+ }
355
+
356
+ .early-warnings {
357
+ padding: .5em 1em;
358
+ width: 50%;
359
+
360
+ li {
361
+ margin: 0 0 25px 0;
366
362
  }
363
+ }
367
364
  }
365
+ }
368
366
  }
367
+ }
369
368
  }
369
+ }
370
370
  }
371
371
 
372
372
  .severity {
373
- font-weight: bold;
374
- position: absolute;
375
-
376
- .rtls & {
377
- right: -4em;
378
- }
379
-
380
- .ltrs & {
381
- left: -4em;
382
- }
383
-
384
- &--2 {
385
- color: #f6004f;
386
- }
387
- &--1 {
388
- color: #f65700;
389
- }
390
- &--0 {
391
- color: #f6a200;
392
- }
393
- &--clear {
394
- color: #1db232;
395
- }
373
+ font-weight: bold;
374
+ position: absolute;
375
+
376
+ .rtls & {
377
+ right: -4em;
378
+ }
379
+
380
+ .ltrs & {
381
+ left: -4em;
382
+ }
383
+
384
+ &--2 {
385
+ color: #f6004f;
386
+ }
387
+ &--1 {
388
+ color: #f65700;
389
+ }
390
+ &--0 {
391
+ color: #f6a200;
392
+ }
393
+ &--clear {
394
+ color: #1db232;
395
+ }
396
396
  }
397
397
 
398
- .loader {
399
- margin: 1.5em auto;
400
- border: 7px solid #f3f3f3;
401
- border-radius: 50%;
402
- border-top: 7px solid #e20e53;
403
- width: 70px !important;
404
- height: 70px !important;
405
- animation: spin 1s cubic-bezier(0.79, 0.14, 0.15, 0.86) infinite;
406
- box-shadow: 0px 0px 5px 3px rgba(0, 0, 0, 0.1);
407
- }
398
+ .loader {
399
+ margin: 1.5em auto;
400
+ border: 7px solid #f3f3f3;
401
+ border-radius: 50%;
402
+ border-top: 7px solid #e20e53;
403
+ width: 70px !important;
404
+ height: 70px !important;
405
+ animation: spin 1s cubic-bezier(0.79, 0.14, 0.15, 0.86) infinite;
406
+ box-shadow: 0px 0px 5px 3px rgba(0, 0, 0, .1);
407
+ }
408
408
 
409
409
  @-webkit-keyframes spin {
410
- 0% {
411
- -webkit-transform: rotate(0deg);
412
- }
413
- 100% {
414
- -webkit-transform: rotate(360deg);
415
- }
410
+ 0% { -webkit-transform: rotate(0deg); }
411
+ 100% { -webkit-transform: rotate(360deg); }
416
412
  }
417
413
 
418
414
  @keyframes spin {
419
- 0% {
420
- transform: rotate(0deg);
421
- }
422
- 100% {
423
- transform: rotate(360deg);
424
- }
415
+ 0% { transform: rotate(0deg); }
416
+ 100% { transform: rotate(360deg); }
425
417
  }
426
418
 
427
419
  .more-info {
428
- font-size: 0.9em;
429
- height: 100%;
430
- overflow: scroll;
420
+ font-size: 0.9em;
421
+ height: 100%;
422
+ overflow: scroll;
431
423
 
432
- &__content {
433
- padding: 15px 1.5em 2.5em 1.5em;
434
- }
424
+ &__content {
425
+ padding: 15px 1.5em 2.5em 1.5em;
426
+ }
435
427
  }
436
428
 
437
429
  .back_button_container {
438
- z-index: 9;
439
- background: white;
440
- position: sticky;
441
- width: 450px;
442
- max-width: 450px;
443
- height: 3.3em;
444
- left: 0;
445
- top: 0;
446
- padding: 12px 20px;
447
- box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.1);
448
-
449
- &__button {
450
- svg {
451
- .rtls & {
452
- transform: rotate(180deg);
453
- }
454
- }
455
- }
430
+ z-index: 9;
431
+ background: white;
432
+ position: sticky;
433
+ width: 450px;
434
+ max-width: 450px;
435
+ height: 3.3em;
436
+ left: 0;
437
+ top: 0;
438
+ padding: 12px 20px;
439
+ box-shadow: 0px 3px 3px rgba(0, 0, 0, .1);
440
+
441
+ &__button {
442
+ svg {
443
+ .rtls & {
444
+ transform: rotate(180deg);
445
+ }
446
+ }
447
+ }
456
448
  }
457
449
 
458
450
  .filter-container {
459
- z-index: 9;
451
+ z-index: 9;
452
+ position: absolute;
453
+ top: 0em;
454
+ min-height: 7em;
455
+ width: calc(100vw - 450px);
456
+ background: white;
457
+ box-shadow: 0px 2px 27px rgba(0,0,0,.2);
458
+ padding: 1em;
459
+
460
+ &--hidden {
461
+ display: none;
462
+ }
463
+
464
+ .rtls & {
465
+ right: 450px;
466
+ }
467
+
468
+ .ltrs & {
469
+ left: 450px;
470
+ }
471
+
472
+ &::before {
473
+ content: '◀';
474
+ display: block;
475
+ color: black;
460
476
  position: absolute;
461
- top: 0em;
462
- min-height: 7em;
463
- width: calc(100vw - 450px);
464
- background: white;
465
- box-shadow: 0px 2px 27px rgba(0, 0, 0, 0.2);
466
- padding: 1em;
467
-
468
- &--hidden {
469
- display: none;
470
- }
477
+ top: 18px;
478
+ color: white;
471
479
 
472
480
  .rtls & {
473
- right: 450px;
481
+ right: -10px;
482
+ transform: rotate(180deg);
474
483
  }
475
484
 
476
485
  .ltrs & {
477
- left: 450px;
486
+ left: -10px;
478
487
  }
488
+ }
479
489
 
480
- &::before {
481
- content: '◀';
482
- display: block;
483
- color: black;
484
- position: absolute;
485
- top: 18px;
486
- color: white;
487
-
488
- .rtls & {
489
- right: -10px;
490
- transform: rotate(180deg);
491
- }
490
+ .apply-button-container {
491
+ cursor: pointer;
492
492
 
493
- .ltrs & {
494
- left: -10px;
495
- }
493
+ .apply-button {
494
+ border: 1px solid #f6004f;
495
+ padding: 6px 12px;
496
+ border-radius: 12px;
497
+ color: #f6004f;
498
+ font-weight: 800;
499
+ text-decoration: none;
496
500
  }
501
+ }
497
502
 
498
- .apply-button-container {
499
- cursor: pointer;
503
+ #dropdown-basic {
504
+ background: white;
505
+ color: black;
506
+ font-size: 1em;
507
+ border: none;
508
+ padding: 0;
500
509
 
501
- .apply-button {
502
- border: 1px solid #f6004f;
503
- padding: 6px 12px;
504
- border-radius: 12px;
505
- color: #f6004f;
506
- font-weight: 800;
507
- text-decoration: none;
508
- }
510
+ &:focus {
511
+ box-shadow: none !important;
512
+ border: none !important;
509
513
  }
514
+ }
510
515
 
511
- #dropdown-basic {
512
- background: white;
513
- color: black;
514
- font-size: 1em;
515
- border: none;
516
- padding: 0;
517
-
518
- &:focus {
519
- box-shadow: none !important;
520
- border: none !important;
521
- }
522
- }
516
+ .dropdown-menu.show {
517
+ width: max-content;
523
518
 
524
- .dropdown-menu.show {
525
- width: max-content;
519
+ .filter-dropdown-item {
520
+ display: flex;
521
+ justify-content: space-between;
522
+ padding: 0 20px;
526
523
 
527
- .filter-dropdown-item {
528
- display: flex;
529
- justify-content: space-between;
530
- padding: 0 20px;
531
-
532
- &:hover {
533
- .filter-actions {
534
- opacity: 1;
535
- transition: ease-in 0.1s;
536
- }
537
- }
538
-
539
- .filter-actions {
540
- font-size: 0.7em;
541
- display: flex;
542
- align-items: center;
543
- opacity: 0;
544
- }
524
+ &:hover {
525
+ .filter-actions {
526
+ opacity: 1;
527
+ transition: ease-in 0.1s;
545
528
  }
529
+ }
530
+
531
+ .filter-actions {
532
+ font-size: 0.7em;
533
+ display: flex;
534
+ align-items: center;
535
+ opacity: 0;
536
+ }
546
537
  }
538
+ }
547
539
 
548
- &__content {
549
- &__header {
550
- display: flex;
551
- justify-content: space-between;
540
+ &__content {
541
+ &__header {
542
+ display: flex;
543
+ justify-content: space-between;
552
544
 
553
- .title {
554
- p {
555
- margin: 0;
556
- }
557
- }
545
+ .title {
546
+ p {
547
+ margin: 0;
548
+ }
549
+ }
558
550
 
559
- .actions {
560
- display: flex;
551
+ .actions {
552
+ display: flex;
561
553
 
562
- .action {
563
- padding: 0 5px;
564
- cursor: pointer;
565
- color: black;
566
- margin: 0 3px;
567
- text-decoration: none;
554
+ .action {
555
+ padding: 0 5px;
556
+ cursor: pointer;
557
+ color: black;
558
+ margin: 0 3px;
559
+ text-decoration: none;
568
560
 
569
- .dropdown-item {
570
- color: black;
571
- }
561
+ .dropdown-item {
562
+ color: black;
563
+ }
572
564
 
573
- .dropdown-item.disabled {
574
- color: #6c757d !important;
575
- }
565
+ .dropdown-item.disabled {
566
+ color: #6c757d !important;
567
+ }
576
568
 
577
- &--save {
578
- margin: 0;
579
- padding: 0.25rem 1.5rem;
569
+ &--save {
570
+ margin: 0;
571
+ padding: .25rem 1.5rem;
580
572
 
581
- &:hover {
582
- text-decoration: none;
583
- background-color: #f8f9fa;
584
- }
585
- }
573
+ &:hover {
574
+ text-decoration: none;
575
+ background-color: #f8f9fa;
576
+ }
577
+ }
586
578
 
587
- span {
588
- padding: 0 6px;
589
- min-width: 6em;
590
- }
579
+ span {
580
+ padding: 0 6px;
581
+ min-width: 6em;
582
+ }
591
583
 
592
- .new-filter-popup {
593
- text-align: center;
594
- padding: 15px;
595
- cursor: text;
584
+ .new-filter-popup {
585
+ text-align: center;
586
+ padding: 15px;
587
+ cursor: text;
596
588
 
597
- button {
598
- width: 100%;
599
- }
600
- }
601
- }
589
+ button {
590
+ width: 100%;
602
591
  }
592
+ }
603
593
  }
594
+ }
595
+ }
604
596
 
605
- &__body {
606
- display: flex;
607
- align-items: center;
597
+ &__body {
598
+ display: flex;
599
+ align-items: center;
608
600
 
609
- .input-group {
610
- width: 15em;
611
- position: absolute;
612
- z-index: 9;
613
- top: 0.5em;
614
- background: white;
601
+ .input-group {
602
+ width: 15em;
603
+ position: absolute;
604
+ z-index: 9;
605
+ top: .5em;
606
+ background: white;
615
607
 
616
- .rtls & {
617
- left: 5em;
618
- }
608
+ .rtls & {
609
+ left: 5em;
610
+ }
619
611
 
620
- .ltrs & {
621
- right: 6em;
622
- }
612
+ .ltrs & {
613
+ right: 6em;
614
+ }
615
+ }
616
+
617
+ .filter {
618
+ display: flex;
619
+ align-items: center;
620
+
621
+ .custom-dropdown {
622
+ display: flex;
623
+ flex-direction: column;
624
+ position: relative;
625
+ background: #ffffff;
626
+ border: 1px solid #dddddd;
627
+ color: #666666;
628
+ width: 13.2em;
629
+ overflow: hidden;
630
+ padding: 10px;
631
+
632
+ .option {
633
+ margin: 5px 0;
634
+
635
+ input {
636
+ margin: 0 3px;
637
+ cursor: pointer !important;
623
638
  }
624
639
 
625
- .filter {
626
- display: flex;
627
- align-items: center;
628
-
629
- .custom-dropdown {
630
- display: flex;
631
- flex-direction: column;
632
- position: relative;
633
- background: #ffffff;
634
- border: 1px solid #dddddd;
635
- color: #666666;
636
- width: 13.2em;
637
- overflow: hidden;
638
- padding: 10px;
639
-
640
- .option {
641
- margin: 5px 0;
642
-
643
- input {
644
- margin: 0 3px;
645
- cursor: pointer !important;
646
- }
647
-
648
- label {
649
- cursor: pointer !important;
650
- }
651
- }
652
- }
640
+ label {
641
+ cursor: pointer !important;
653
642
  }
643
+ }
644
+ }
645
+ }
654
646
 
655
- .filter_items {
656
- display: flex;
657
- flex-wrap: wrap;
658
- margin: 12px 0;
647
+ .filter_items {
648
+ display: flex;
649
+ flex-wrap: wrap;
650
+ margin: 12px 0;
659
651
 
660
- .fixed-action {
661
- padding: 12px;
662
- }
652
+ .fixed-action {
653
+ padding: 12px;
654
+ }
663
655
 
664
- .filter_item {
665
- padding: 6px 12px;
666
- background: rgba(0, 0, 0, 0.1);
667
- border-radius: 12px;
668
- margin: 6px 12px;
669
- display: flex;
670
- justify-content: space-between;
671
- align-items: center;
672
- position: relative;
673
- min-height: 33px;
674
- cursor: pointer;
675
- margin-left: 0;
676
-
677
- &__content {
678
- display: flex;
679
- align-items: center;
680
-
681
- &__selections {
682
- display: flex;
683
- flex-wrap: wrap;
684
-
685
- &__selection {
686
- margin: 0 5px;
687
- font-weight: bold;
688
- }
689
- }
690
- }
656
+ .filter_item {
657
+ padding: 6px 12px;
658
+ background: rgba(0,0,0,.1);
659
+ border-radius: 12px;
660
+ margin: 6px 12px;
661
+ display: flex;
662
+ justify-content: space-between;
663
+ align-items: center;
664
+ position: relative;
665
+ min-height: 33px;
666
+ cursor: pointer;
667
+ margin-left: 0;
668
+
669
+ &__content {
670
+ display: flex;
671
+ align-items: center;
691
672
 
692
- a {
693
- cursor: pointer;
673
+ &__selections {
674
+ display: flex;
675
+ flex-wrap: wrap;
694
676
 
695
- .rtls & {
696
- margin-right: 15px;
697
- }
677
+ &__selection {
678
+ margin: 0 5px;
679
+ font-weight: bold;
680
+ }
681
+ }
682
+ }
698
683
 
699
- .ltrs & {
700
- margin-left: 15px;
701
- }
702
- }
684
+ a {
685
+ cursor: pointer;
703
686
 
704
- .filter-items-options-popup-container {
705
- position: absolute;
706
- bottom: 0;
707
- transform: translateY(100%);
708
- left: 0;
709
- z-index: 9;
687
+ .rtls & {
688
+ margin-right: 15px;
689
+ }
710
690
 
711
- .filter-items-options-popup {
712
- width: 200px;
713
- }
714
- }
715
- }
691
+ .ltrs & {
692
+ margin-left: 15px;
716
693
  }
694
+ }
695
+
696
+ .filter-items-options-popup-container {
697
+ position: absolute;
698
+ bottom: 0;
699
+ transform: translateY(100%);
700
+ left: 0;
701
+ z-index: 9;
702
+
703
+ .filter-items-options-popup {
704
+ width: 200px;
705
+ }
706
+ }
717
707
  }
708
+ }
718
709
  }
710
+ }
719
711
  }
720
712
 
721
713
  .sort {
722
- display: flex;
723
- align-items: center;
714
+ display: flex;
715
+ align-items: center;
724
716
 
725
- .form-group {
726
- margin: 0;
717
+ .form-group {
718
+ margin: 0;
727
719
 
728
- select {
729
- border: none;
730
- font-weight: 800;
731
- }
720
+ select {
721
+ border: none;
722
+ font-weight: 800;
732
723
  }
733
- }
724
+ }
725
+ }