@kando-env/kando-ui 1.0.35 → 1.0.36

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 (121) hide show
  1. package/lib/CovidView/views/components/TrendGraphNVL/TrendGraphNVL.js +3 -3
  2. package/lib/CovidView/views/components/TrendGraphNVL/styles.scss +15 -16
  3. package/lib/CovidView/views/components/TrendPopupContent/TrendPopupContent.js +1 -1
  4. package/lib/CovidView/views/components/TrendPopupContent/index.js +1 -1
  5. package/lib/CovidView/views/components/TrendPopupContent/styles.scss +24 -24
  6. package/lib/CovidView/views/components/areas/Area.js +23 -23
  7. package/lib/CovidView/views/components/areas/AreaPolygonsWBE.js +3 -3
  8. package/lib/CovidView/views/components/areas/Sort.js +5 -5
  9. package/lib/DashboardV2/Header/DoubleTabs/DoubleTabs.js +6 -6
  10. package/lib/DashboardV2/Header/DoubleTabs/styles.js +3 -3
  11. package/lib/DashboardV2/Header/InfoBar/InfoBar.js +3 -2
  12. package/lib/DashboardV2/SamplingParameters/NoResults/NoResults.js +2 -2
  13. package/lib/DashboardV2/SamplingParameters/SamplingContainer/ExceptionBar/ExceptionBar.js +4 -4
  14. package/lib/DashboardV2/SamplingParameters/SamplingContainer/ExceptionBar/styles.js +2 -2
  15. package/lib/DashboardV2/SamplingParameters/SamplingContainer/SamplingContainer.js +1 -1
  16. package/lib/DashboardV2/SamplingParameters/SamplingParameters.js +2 -2
  17. package/lib/DashboardV2/SamplingParameters/SamplingParameters.mock.js +1 -1
  18. package/lib/DashboardV2/SamplingParameters/charts/ParametersChart.js +1 -1
  19. package/lib/DashboardV2/SamplingParameters/charts/SamplingChart.js +2 -2
  20. package/lib/DashboardV2/SamplingParameters/styles/samplingParameters.js +1 -1
  21. package/lib/DashboardV2/SamplingParameters/styles/styles.js +6 -6
  22. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Areas/AreaBox/styles.js +2 -2
  23. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Areas/styles.js +1 -1
  24. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Factories/FactoryBox/styles.js +2 -2
  25. package/lib/DashboardV2/UtilityDashboard/MostPolluting/MostPolluting.js +3 -2
  26. package/lib/DashboardV2/UtilityDashboard/MostPolluting/MostPolluting.stories.js +1 -1
  27. package/lib/DashboardV2/UtilityDashboard/MostPolluting/ShowMore/styles.js +2 -2
  28. package/lib/DashboardV2/UtilityDashboard/MostPolluting/styles.js +1 -1
  29. package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/MostSevereEvents.js +1 -2
  30. package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/MostSevereEvents.stories.js +18 -18
  31. package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/NoEvents/NoEvents.stories.js +2 -2
  32. package/lib/DashboardV2/UtilityDashboard/TopBar/TopBar.js +2 -2
  33. package/lib/DashboardV2/UtilityDashboard/UtilityDashboard.stories.js +1 -1
  34. package/lib/DashboardV2/styles.scss +111 -111
  35. package/lib/EventsView/views/_colors.scss +1 -1
  36. package/lib/EventsView/views/components/areas/AreaPolygon.js +4 -4
  37. package/lib/EventsView/views/components/edges/Edge.js +9 -9
  38. package/lib/EventsView/views/components/events/EventsStyle.scss +590 -582
  39. package/lib/EventsView/views/components/events/event_info/EventDetails.js +16 -16
  40. package/lib/EventsView/views/components/events/event_info/EventInfoStyle.scss +420 -421
  41. package/lib/EventsView/views/components/events/event_info/charts/EventDetailsLineChart.js +4 -4
  42. package/lib/EventsView/views/components/events/event_info/charts/EventDetailsPieChart.js +4 -4
  43. package/lib/EventsView/views/components/events/event_info/samplings/Samplings.js +4 -4
  44. package/lib/EventsView/views/components/events/event_info/sources/Sources.js +3 -3
  45. package/lib/EventsView/views/components/events/events_list/Filter/FiltersDropDown.js +6 -6
  46. package/lib/EventsView/views/components/events/events_list/Sort.js +13 -13
  47. package/lib/EventsView/views/components/map/FloatingGraph.js +1 -1
  48. package/lib/EventsView/views/components/map/floatingGraphStyle.scss +46 -46
  49. package/lib/EventsView/views/components/map/mapStyle.scss +316 -321
  50. package/lib/EventsView/views/components/points/PointMarkers.js +1 -1
  51. package/lib/macros/getVersion.js +1 -1
  52. package/lib/shared/TimeRangeSelector/constants.js +1 -1
  53. package/lib/shared/TimeRangeSelector/index.js +1 -1
  54. package/lib/shared/components/Breadcrumbs/Breadcrumbs.js +1 -1
  55. package/lib/shared/components/Breadcrumbs/index.js +1 -1
  56. package/lib/shared/components/Breadcrumbs/styles.scss +6 -6
  57. package/lib/shared/components/ContentLoader/ContentLoader.js +1 -1
  58. package/lib/shared/components/ContentLoader/index.js +1 -1
  59. package/lib/shared/components/DamageType/DamageType.js +1 -1
  60. package/lib/shared/components/DamageType/styles.scss +40 -40
  61. package/lib/shared/components/DischargeHeatmap/DischargeHeatmap.js +3 -3
  62. package/lib/shared/components/DischargeHeatmap/styles.scss +12 -13
  63. package/lib/shared/components/ErrorBoundary.js +1 -1
  64. package/lib/shared/components/Events/Events.js +12 -12
  65. package/lib/shared/components/Events/styles.scss +107 -108
  66. package/lib/shared/components/InfoBar/InfoBar.js +1 -1
  67. package/lib/shared/components/InfoBar/InfoBar.stories.js +1 -1
  68. package/lib/shared/components/KandoModal/index.js +1 -1
  69. package/lib/shared/components/KandoModal/styles.scss +14 -14
  70. package/lib/shared/components/KandoNavbar/NavbarStyle.scss +175 -182
  71. package/lib/shared/components/KandoNavbar/index.js +1 -1
  72. package/lib/shared/components/LiveEvents/styles.scss +67 -67
  73. package/lib/shared/components/LoaderByPercent/LoaderByPercent.js +5 -5
  74. package/lib/shared/components/Map/Map.js +3 -3
  75. package/lib/shared/components/Map/styles.scss +4 -5
  76. package/lib/shared/components/NarrowHeader.js +1 -1
  77. package/lib/shared/components/PointInfo/PointInfo.js +4 -4
  78. package/lib/shared/components/PointInfo/index.js +1 -1
  79. package/lib/shared/components/PointInfo/styles.scss +35 -36
  80. package/lib/shared/components/Search/Search.js +1 -1
  81. package/lib/shared/components/Search/index.js +1 -1
  82. package/lib/shared/components/Search/styles.scss +21 -21
  83. package/lib/shared/components/Sector/index.js +1 -1
  84. package/lib/shared/components/Sector/styles.scss +13 -13
  85. package/lib/shared/components/Select/Select.scss +1 -1
  86. package/lib/shared/components/Spinner/Spinner.js +3 -3
  87. package/lib/shared/components/Spinner/Spinner.stories.js +1 -1
  88. package/lib/shared/components/Spinner/index.js +1 -1
  89. package/lib/shared/components/Spinner/styles.js +1 -1
  90. package/lib/shared/components/Toggle/index.js +1 -1
  91. package/lib/shared/components/Toggle/styles.scss +31 -32
  92. package/lib/shared/components/TrendGraph/styles.scss +1 -1
  93. package/lib/shared/components/TrendGraphNVL/TrendGraphNVL.js +3 -3
  94. package/lib/shared/components/TrendGraphNVL/styles.scss +13 -13
  95. package/lib/shared/helpers/time.js +1 -1
  96. package/lib/shared/redux/WBE/actions.js +1 -1
  97. package/lib/shared/redux/WBE/reducer.js +1 -1
  98. package/lib/shared/redux/areas/actionTypes.js +1 -1
  99. package/lib/shared/redux/areas/actions.js +1 -1
  100. package/lib/shared/redux/context/actions.js +1 -1
  101. package/lib/shared/redux/context/reducer.js +1 -1
  102. package/lib/shared/redux/edges/actionTypes.js +1 -1
  103. package/lib/shared/redux/edges/actions.js +1 -1
  104. package/lib/shared/redux/events/actionTypes.js +1 -1
  105. package/lib/shared/redux/events/actions.js +1 -1
  106. package/lib/shared/redux/global/actionTypes.js +1 -1
  107. package/lib/shared/redux/points/actionTypes.js +1 -1
  108. package/lib/shared/redux/points/actions.js +1 -1
  109. package/lib/shared/redux/rootActionTypes.js +1 -1
  110. package/lib/shared/redux/rootActions.js +1 -1
  111. package/lib/shared/utilities/ActionUtility.js +1 -1
  112. package/lib/shared/utilities/KandoDate.js +1 -1
  113. package/lib/shared/utilities/KandoModal.js +2 -2
  114. package/lib/shared/utilities/LocalStorage.js +1 -1
  115. package/lib/shared/utilities/TimeFormat.js +3 -3
  116. package/lib/shared/utilities/custom_hooks/useApi.js +1 -1
  117. package/lib/shared/utilities/custom_hooks/useClickOutside.js +3 -3
  118. package/lib/shared/utilities/custom_hooks/useMap.js +1 -3
  119. package/lib/shared/utilities/custom_hooks/useQueryURL.js +1 -1
  120. package/lib/shared/utilities/custom_hooks/useRemoveExistingLayers.js +1 -1
  121. package/package.json +1 -1
@@ -1,508 +1,507 @@
1
1
  .event-info {
2
- opacity: 1;
3
- font-size: 0.9em;
4
- height: 100%;
5
- width: 100%;
6
- transition: .2s ease-in-out height, .3s ease-in-out opacity;
7
- background: white;
8
- overflow: scroll;
9
-
10
- &__content-container {
11
- padding: 0em 1.5em 7em 1.5em;
12
- }
13
-
14
- &__card {
15
- box-shadow: 0px 1px 5px 0 rgba(0, 0, 0, 0.06);
16
- border: solid 1px #ebebeb;
17
- background-color: #ffffff;
2
+ opacity: 1;
3
+ font-size: 0.9em;
4
+ height: 100%;
18
5
  width: 100%;
19
- padding: 20px;
20
- margin: 15px 0;
21
- }
22
-
23
- .back_button_container {
24
- z-index: 9;
6
+ transition: 0.2s ease-in-out height, 0.3s ease-in-out opacity;
25
7
  background: white;
26
- position: sticky;
27
- width: 450px;
28
- max-width: 450px;
29
- height: 3.3em;
30
- left: 0;
31
- top: 0;
32
- padding: 12px 20px;
33
- box-shadow: 0px 3px 3px rgba(0, 0, 0, .1);
34
-
35
- &__button {
36
- svg {
37
- .rtls & {
38
- transform: rotate(180deg);
39
- }
40
- }
41
- }
42
- }
43
-
44
- .early_warnings {
45
- li {
46
- border-bottom: 1px solid rgba(0, 0, 0, .1);
47
- display: flex;
48
- justify-content: space-between;
49
- padding: 1rem 0;
50
-
51
- p {
52
- font-size: 10px;
53
- }
54
-
55
- .early-warning-info {
56
- .ltrs & {
57
- text-align: right;
58
- }
59
- .rtls & {
60
- text-align: left;
61
- }
62
- }
63
- }
64
- }
65
-
66
- &--collapsed {
67
- height: 0 !important;
68
- padding: 0 !important;
69
- opacity: 0 !important;
70
- }
71
-
72
- h1 {
73
- font-size: 1.8rem;
74
- }
75
-
76
- &__source {
77
- cursor: pointer;
78
- border: solid 1px #ebebeb;
79
- transition: 0.2s ease-in-out;
80
- background-color: #ffffff;
81
- margin: 10px 0;
82
- padding: 10px 10px 20px 10px;
83
-
84
- &:hover {
85
- background: rgba(0, 0, 0, .03);
86
- }
8
+ overflow: scroll;
87
9
 
88
- &:active {
89
- background: rgba(0, 0, 0, .06);
10
+ &__content-container {
11
+ padding: 0em 1.5em 7em 1.5em;
90
12
  }
91
13
 
92
-
93
- .more-info-button {
94
- padding: 5px;
95
- border-radius: 3px;
96
- color: #f50b56;
97
- font-weight: 500;
98
- border: 1px solid #f50b56;
99
-
100
- &:hover {
101
- text-decoration: none;
102
- color: white;
103
- background: #f50b56;
104
- transition: .2s ease;
105
- }
14
+ &__card {
15
+ box-shadow: 0px 1px 5px 0 rgba(0, 0, 0, 0.06);
16
+ border: solid 1px #ebebeb;
17
+ background-color: #ffffff;
18
+ width: 100%;
19
+ padding: 20px;
20
+ margin: 15px 0;
106
21
  }
107
22
 
108
- &__sector {
109
- display: flex;
110
- align-items: center;
111
-
112
- .sector_icon {
113
- width: 30px;
114
- height: 40px;
115
- margin: 0 5px 0 0;
116
- }
23
+ .back_button_container {
24
+ z-index: 9;
25
+ background: white;
26
+ position: sticky;
27
+ width: 450px;
28
+ max-width: 450px;
29
+ height: 3.3em;
30
+ left: 0;
31
+ top: 0;
32
+ padding: 12px 20px;
33
+ box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.1);
34
+
35
+ &__button {
36
+ svg {
37
+ .rtls & {
38
+ transform: rotate(180deg);
39
+ }
40
+ }
41
+ }
117
42
  }
118
43
 
119
- &--selected {
120
- transition: 0.2s ease-in-out;
121
- box-shadow: 0px 1px 5px 0 rgba(0, 0, 0, 0.06);
122
- background-color: #fafafa;
123
-
124
- .ltrs & {
125
- border-left: 3px solid #f50b56;
126
- }
127
- .rtls & {
128
- border-right: 3px solid #f50b56;
129
- }
130
- }
44
+ .early_warnings {
45
+ li {
46
+ border-bottom: 1px solid rgba(0, 0, 0, 0.1);
47
+ display: flex;
48
+ justify-content: space-between;
49
+ padding: 1rem 0;
131
50
 
132
- &__header__info-container {
133
- display: flex;
134
- justify-content: space-between;
51
+ p {
52
+ font-size: 10px;
53
+ }
135
54
 
136
- p {
137
- margin: 0;
138
- }
55
+ .early-warning-info {
56
+ .ltrs & {
57
+ text-align: right;
58
+ }
59
+ .rtls & {
60
+ text-align: left;
61
+ }
62
+ }
63
+ }
139
64
  }
140
65
 
141
- &__body {
142
- &__info-container {
143
- display: flex;
144
- justify-content: space-between;
145
- align-items: center;
146
- }
66
+ &--collapsed {
67
+ height: 0 !important;
68
+ padding: 0 !important;
69
+ opacity: 0 !important;
70
+ }
147
71
 
148
- &__discharge-time {
149
- padding: 10px 0;
150
- display: flex;
151
- justify-content: space-between;
152
- border-top: 1px solid rgba(0, 0, 0, .1);
72
+ h1 {
73
+ font-size: 1.8rem;
74
+ }
153
75
 
154
- .time {
155
- .rtls & {
156
- text-align: left;
157
- }
76
+ &__source {
77
+ cursor: pointer;
78
+ border: solid 1px #ebebeb;
79
+ transition: 0.2s ease-in-out;
80
+ background-color: #ffffff;
81
+ margin: 10px 0;
82
+ padding: 10px 10px 20px 10px;
158
83
 
159
- .ltrs & {
160
- text-align: right;
161
- }
84
+ &:hover {
85
+ background: rgba(0, 0, 0, 0.03);
162
86
  }
163
- }
164
- }
165
87
 
166
- .discharging {
167
- padding: 15px 0;
168
- width: 5em;
169
- height: 5em;
88
+ &:active {
89
+ background: rgba(0, 0, 0, 0.06);
90
+ }
170
91
 
171
- img {
172
- width: 30px;
173
- margin: 0 18px;
174
- }
92
+ .more-info-button {
93
+ padding: 5px;
94
+ border-radius: 3px;
95
+ color: #f50b56;
96
+ font-weight: 500;
97
+ border: 1px solid #f50b56;
98
+
99
+ &:hover {
100
+ text-decoration: none;
101
+ color: white;
102
+ background: #f50b56;
103
+ transition: 0.2s ease;
104
+ }
105
+ }
175
106
 
176
- span {
177
- font-size: 12px;
107
+ &__sector {
108
+ display: flex;
109
+ align-items: center;
178
110
 
179
- .rtls & {
180
- margin: 0 15px;
111
+ .sector_icon {
112
+ width: 30px;
113
+ height: 40px;
114
+ margin: 0 5px 0 0;
115
+ }
181
116
  }
182
- }
183
- }
184
- }
185
117
 
186
- &__image {
187
- width: 4em;
188
- height: 3.2em;
189
- margin: .5em 0 0 0;
190
- overflow: hidden;
118
+ &--selected {
119
+ transition: 0.2s ease-in-out;
120
+ box-shadow: 0px 1px 5px 0 rgba(0, 0, 0, 0.06);
121
+ background-color: #fafafa;
191
122
 
192
- img {
193
- height: 100%;
194
- width: 100%;
195
- }
196
- }
197
-
198
- &__event_severity {
199
- padding: 1.5rem 0 !important;
123
+ .ltrs & {
124
+ border-left: 3px solid #f50b56;
125
+ }
126
+ .rtls & {
127
+ border-right: 3px solid #f50b56;
128
+ }
129
+ }
200
130
 
201
- .severities {
202
- display: flex;
131
+ &__header__info-container {
132
+ display: flex;
133
+ justify-content: space-between;
203
134
 
204
- &__severity {
205
- margin: 0 1px;
206
- padding: 6px 10px;
135
+ p {
136
+ margin: 0;
137
+ }
138
+ }
207
139
 
208
- &--0 {
209
- color: #f6b22f;
210
- position: relative;
140
+ &__body {
141
+ &__info-container {
142
+ display: flex;
143
+ justify-content: space-between;
144
+ align-items: center;
145
+ }
211
146
 
212
- &:after {
213
- content: '';
214
- width: 100%;
215
- height: 5px;
216
- background: #f6b22f;
217
- position: absolute;
218
- bottom: -12px;
219
- left: 0;
220
- }
221
-
222
- &--active {
223
- background: #f6b22f;
224
- color: white;
225
- box-shadow: 0px 1px 6px rgba(0,0,0,0.3);
226
- font-weight: bold;
227
-
228
- &:before {
229
- content: '▾';
230
- position: absolute;
231
- bottom: -15px;
232
- left: 0;
233
- right: 0;
234
- width: 10px;
235
- margin: 0 auto;
236
- color: #f6b22f;
237
- font-size: 20px;
147
+ &__discharge-time {
148
+ padding: 10px 0;
149
+ display: flex;
150
+ justify-content: space-between;
151
+ border-top: 1px solid rgba(0, 0, 0, 0.1);
152
+
153
+ .time {
154
+ .rtls & {
155
+ text-align: left;
156
+ }
157
+
158
+ .ltrs & {
159
+ text-align: right;
160
+ }
161
+ }
238
162
  }
239
- }
240
163
  }
241
164
 
242
- &--1 {
243
- color: #f67129;
244
- position: relative;
165
+ .discharging {
166
+ padding: 15px 0;
167
+ width: 5em;
168
+ height: 5em;
245
169
 
246
- &:after {
247
- content: '';
248
- width: 100%;
249
- height: 5px;
250
- background: #f67129;
251
- position: absolute;
252
- bottom: -12px;
253
- left: 0;
254
- }
255
-
256
- &--active {
257
- background: #f67129;
258
- color: white;
259
- box-shadow: 0px 1px 6px rgba(0,0,0,0.3);
260
- font-weight: bold;
261
-
262
- &:before {
263
- content: '▾';
264
- position: absolute;
265
- bottom: -15px;
266
- left: 0;
267
- right: 0;
268
- width: 10px;
269
- margin: 0 auto;
270
- color: #f67129;
271
- font-size: 20px;
170
+ img {
171
+ width: 30px;
172
+ margin: 0 18px;
272
173
  }
273
- }
274
- }
275
174
 
276
- &--2 {
277
- color: #f6004f;
278
- position: relative;
175
+ span {
176
+ font-size: 12px;
279
177
 
280
- &:after {
281
- content: '';
282
- width: 100%;
283
- height: 5px;
284
- background: #f6004f;
285
- position: absolute;
286
- bottom: -12px;
287
- left: 0;
288
- }
289
-
290
- &--active {
291
- background: #f6004f;
292
- color: white;
293
- box-shadow: 0px 1px 6px rgba(0,0,0,0.3);
294
- font-weight: bold;
295
-
296
- &:before {
297
- content: '▾';
298
- position: absolute;
299
- bottom: -15px;
300
- left: 0;
301
- right: 0;
302
- width: 10px;
303
- margin: 0 auto;
304
- color: #f6004f;
305
- font-size: 20px;
178
+ .rtls & {
179
+ margin: 0 15px;
180
+ }
306
181
  }
307
- }
308
182
  }
309
- }
310
183
  }
311
- }
312
184
 
313
- &__detail {
314
- padding: 1rem 0;
315
- border-bottom: 1px solid rgba(0,0,0,0.1);
316
- display: flex;
317
- justify-content: space-between;
318
-
319
- .damage-types {
320
- &__type {
321
- display: flex;
322
- align-items: center;
323
- margin: 5px 0;
185
+ &__image {
186
+ width: 4em;
187
+ height: 3.2em;
188
+ margin: 0.5em 0 0 0;
189
+ overflow: hidden;
324
190
 
325
191
  img {
326
- width: 1.5em;
192
+ height: 100%;
193
+ width: 100%;
327
194
  }
195
+ }
328
196
 
329
- span {
330
- font-weight: 100;
331
- padding: 0 10px;
197
+ &__event_severity {
198
+ padding: 1.5rem 0 !important;
199
+
200
+ .severities {
201
+ display: flex;
202
+
203
+ &__severity {
204
+ margin: 0 1px;
205
+ padding: 6px 10px;
206
+
207
+ &--0 {
208
+ color: #f6b22f;
209
+ position: relative;
210
+
211
+ &:after {
212
+ content: '';
213
+ width: 100%;
214
+ height: 5px;
215
+ background: #f6b22f;
216
+ position: absolute;
217
+ bottom: -12px;
218
+ left: 0;
219
+ }
220
+
221
+ &--active {
222
+ background: #f6b22f;
223
+ color: white;
224
+ box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.3);
225
+ font-weight: bold;
226
+
227
+ &:before {
228
+ content: '▾';
229
+ position: absolute;
230
+ bottom: -15px;
231
+ left: 0;
232
+ right: 0;
233
+ width: 10px;
234
+ margin: 0 auto;
235
+ color: #f6b22f;
236
+ font-size: 20px;
237
+ }
238
+ }
239
+ }
240
+
241
+ &--1 {
242
+ color: #f67129;
243
+ position: relative;
244
+
245
+ &:after {
246
+ content: '';
247
+ width: 100%;
248
+ height: 5px;
249
+ background: #f67129;
250
+ position: absolute;
251
+ bottom: -12px;
252
+ left: 0;
253
+ }
254
+
255
+ &--active {
256
+ background: #f67129;
257
+ color: white;
258
+ box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.3);
259
+ font-weight: bold;
260
+
261
+ &:before {
262
+ content: '▾';
263
+ position: absolute;
264
+ bottom: -15px;
265
+ left: 0;
266
+ right: 0;
267
+ width: 10px;
268
+ margin: 0 auto;
269
+ color: #f67129;
270
+ font-size: 20px;
271
+ }
272
+ }
273
+ }
274
+
275
+ &--2 {
276
+ color: #f6004f;
277
+ position: relative;
278
+
279
+ &:after {
280
+ content: '';
281
+ width: 100%;
282
+ height: 5px;
283
+ background: #f6004f;
284
+ position: absolute;
285
+ bottom: -12px;
286
+ left: 0;
287
+ }
288
+
289
+ &--active {
290
+ background: #f6004f;
291
+ color: white;
292
+ box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.3);
293
+ font-weight: bold;
294
+
295
+ &:before {
296
+ content: '▾';
297
+ position: absolute;
298
+ bottom: -15px;
299
+ left: 0;
300
+ right: 0;
301
+ width: 10px;
302
+ margin: 0 auto;
303
+ color: #f6004f;
304
+ font-size: 20px;
305
+ }
306
+ }
307
+ }
308
+ }
332
309
  }
333
- }
334
310
  }
335
311
 
336
- &__seen {
337
- div {
312
+ &__detail {
313
+ padding: 1rem 0;
314
+ border-bottom: 1px solid rgba(0, 0, 0, 0.1);
338
315
  display: flex;
316
+ justify-content: space-between;
339
317
 
340
- p {
341
- margin: 0;
342
- padding: 0 5px;
343
- }
344
- }
345
- }
318
+ .damage-types {
319
+ &__type {
320
+ display: flex;
321
+ align-items: center;
322
+ margin: 5px 0;
346
323
 
347
- &__early-warnings {
348
- border: none;
349
- padding: 0;
350
- }
324
+ img {
325
+ width: 1.5em;
326
+ }
351
327
 
352
- &:last-child {
353
- border: none;
354
- }
328
+ span {
329
+ font-weight: 100;
330
+ padding: 0 10px;
331
+ }
332
+ }
333
+ }
355
334
 
356
- .samplings {
357
- padding-top: 1em;
335
+ &__seen {
336
+ div {
337
+ display: flex;
358
338
 
359
- .sampling {
360
- display: flex;
361
- flex-direction: row;
362
- justify-content: center;
363
- max-height: 70px;
364
-
365
- &__info {
366
- width: 100%;
367
- display: flex;
368
- flex-direction: column;
369
- margin: 5px 0;
370
-
371
- .rtls & {
372
- text-align: left;
373
- }
374
-
375
- .ltrs & {
376
- text-align: right;
377
- }
378
-
379
- p {
380
- margin: 0;
381
- }
339
+ p {
340
+ margin: 0;
341
+ padding: 0 5px;
342
+ }
343
+ }
382
344
  }
383
345
 
384
- img {
385
- width: 1.5em;
386
- .rtls & {
387
- margin-left: 1em;
388
- }
389
-
390
- .ltrs & {
391
- margin-right: 1em;
392
- }
346
+ &__early-warnings {
347
+ border: none;
348
+ padding: 0;
393
349
  }
394
- }
395
- }
396
- }
397
-
398
- &__event-path {
399
- display: none;
400
350
 
401
- .event-path-content {
402
- text-align: center;
403
- margin: 10px 0;
351
+ &:last-child {
352
+ border: none;
353
+ }
404
354
 
405
- .full-map-button {
406
- border: 1px solid black;
407
- padding: 10px;
408
- border-radius: 10px;
409
- color: black;
410
- }
355
+ .samplings {
356
+ padding-top: 1em;
357
+
358
+ .sampling {
359
+ display: flex;
360
+ flex-direction: row;
361
+ justify-content: center;
362
+ max-height: 70px;
363
+
364
+ &__info {
365
+ width: 100%;
366
+ display: flex;
367
+ flex-direction: column;
368
+ margin: 5px 0;
369
+
370
+ .rtls & {
371
+ text-align: left;
372
+ }
373
+
374
+ .ltrs & {
375
+ text-align: right;
376
+ }
377
+
378
+ p {
379
+ margin: 0;
380
+ }
381
+ }
382
+
383
+ img {
384
+ width: 1.5em;
385
+ .rtls & {
386
+ margin-left: 1em;
387
+ }
388
+
389
+ .ltrs & {
390
+ margin-right: 1em;
391
+ }
392
+ }
393
+ }
394
+ }
411
395
  }
412
- }
413
396
 
414
- &__graphs {
415
- margin: 0 0 6em 0;
397
+ &__event-path {
398
+ display: none;
416
399
 
417
- .graph-title {
418
- margin: 20px 0 0 0;
400
+ .event-path-content {
401
+ text-align: center;
402
+ margin: 10px 0;
419
403
 
420
- &--trend-graph {
421
- margin-bottom: 16px;
422
- }
404
+ .full-map-button {
405
+ border: 1px solid black;
406
+ padding: 10px;
407
+ border-radius: 10px;
408
+ color: black;
409
+ }
410
+ }
423
411
  }
424
412
 
425
- &__pie {
426
- display: flex;
427
- justify-content: center;
428
- align-items: center;
413
+ &__graphs {
414
+ margin: 0 0 6em 0;
429
415
 
430
- .pie-info {
431
- display: flex;
432
- justify-content: center;
433
- align-items: center;
416
+ .graph-title {
417
+ margin: 20px 0 0 0;
434
418
 
435
- li {
436
- position: relative;
437
- padding: 5px 0;
438
-
439
- .severity {
440
- border: 1px solid;
441
- border-radius: 20px;
442
- padding: 1px 3px;
443
- min-width: 3em;
444
- text-align: center;
445
- }
419
+ &--trend-graph {
420
+ margin-bottom: 16px;
421
+ }
446
422
  }
447
- }
448
423
 
449
- div {
450
- width: 50%;
451
- height: 50%;
452
- }
424
+ &__pie {
425
+ display: flex;
426
+ justify-content: center;
427
+ align-items: center;
428
+
429
+ .pie-info {
430
+ display: flex;
431
+ justify-content: center;
432
+ align-items: center;
433
+
434
+ li {
435
+ position: relative;
436
+ padding: 5px 0;
437
+
438
+ .severity {
439
+ border: 1px solid;
440
+ border-radius: 20px;
441
+ padding: 1px 3px;
442
+ min-width: 3em;
443
+ text-align: center;
444
+ }
445
+ }
446
+ }
447
+
448
+ div {
449
+ width: 50%;
450
+ height: 50%;
451
+ }
452
+ }
453
453
  }
454
- }
455
454
 
456
- .show-error {
457
- display: block !important;
458
- }
455
+ .show-error {
456
+ display: block !important;
457
+ }
459
458
  }
460
459
 
461
460
  .event-details {
462
461
  }
463
462
 
464
463
  .metascore-wrapper {
465
- position: relative;
466
-
467
- .metascore-trend {
468
- padding: .5em;
469
- position: absolute;
470
- top: -26px;
471
- right: 0;
472
- display: flex;
473
- background: white;
474
- box-shadow: 0 0 8px rgba(0,0,0,.15);
475
- border: 1px solid rgba(0,0,0,.1);
476
- color: #f6004f;
464
+ position: relative;
477
465
 
478
- &--positive {
479
- color: #1db232 !important;
480
- }
466
+ .metascore-trend {
467
+ padding: 0.5em;
468
+ position: absolute;
469
+ top: -26px;
470
+ right: 0;
471
+ display: flex;
472
+ background: white;
473
+ box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
474
+ border: 1px solid rgba(0, 0, 0, 0.1);
475
+ color: #f6004f;
481
476
 
482
- &__arrow {
483
- display: flex;
484
- align-items: center;
485
- font-size: 1.2em;
486
- margin: 2px 8px 0;
477
+ &--positive {
478
+ color: #1db232 !important;
479
+ }
480
+
481
+ &__arrow {
482
+ display: flex;
483
+ align-items: center;
484
+ font-size: 1.2em;
485
+ margin: 2px 8px 0;
486
+ }
487
487
  }
488
- }
489
488
  }
490
489
 
491
490
  .rtls {
492
- .metascore-wrapper {
493
- .metascore-trend {
494
- right: unset;
495
- left: 0;
491
+ .metascore-wrapper {
492
+ .metascore-trend {
493
+ right: unset;
494
+ left: 0;
495
+ }
496
496
  }
497
- }
498
497
  }
499
498
 
500
499
  @media only screen and (max-width: 480px) {
501
- .metascore-wrapper {
502
- .metascore-trend {
503
- &__note {
504
- display: none;
505
- }
500
+ .metascore-wrapper {
501
+ .metascore-trend {
502
+ &__note {
503
+ display: none;
504
+ }
505
+ }
506
506
  }
507
- }
508
- }
507
+ }