@kando-env/kando-ui 1.0.34-alpha.1 → 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 (125) 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 +1 -1
  15. package/lib/DashboardV2/SamplingParameters/NoResults/NoResults.js +2 -2
  16. package/lib/DashboardV2/SamplingParameters/SamplingContainer/ExceptionBar/ExceptionBar.js +4 -4
  17. package/lib/DashboardV2/SamplingParameters/SamplingContainer/ExceptionBar/styles.js +2 -2
  18. package/lib/DashboardV2/SamplingParameters/SamplingContainer/SamplingContainer.js +1 -1
  19. package/lib/DashboardV2/SamplingParameters/SamplingParameters.js +2 -2
  20. package/lib/DashboardV2/SamplingParameters/SamplingParameters.mock.js +1 -1
  21. package/lib/DashboardV2/SamplingParameters/charts/ParametersChart.js +1 -1
  22. package/lib/DashboardV2/SamplingParameters/charts/SamplingChart.js +2 -2
  23. package/lib/DashboardV2/SamplingParameters/styles/samplingParameters.js +1 -1
  24. package/lib/DashboardV2/SamplingParameters/styles/styles.js +6 -6
  25. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Areas/AreaBox/styles.js +2 -2
  26. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Areas/styles.js +1 -1
  27. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Factories/FactoryBox/styles.js +2 -2
  28. package/lib/DashboardV2/UtilityDashboard/MostPolluting/MostPolluting.js +2 -3
  29. package/lib/DashboardV2/UtilityDashboard/MostPolluting/MostPolluting.stories.js +1 -1
  30. package/lib/DashboardV2/UtilityDashboard/MostPolluting/ShowMore/styles.js +2 -2
  31. package/lib/DashboardV2/UtilityDashboard/MostPolluting/styles.js +1 -1
  32. package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/MostSevereEvents.js +4 -12
  33. package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/MostSevereEvents.stories.js +18 -18
  34. package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/NoEvents/NoEvents.stories.js +2 -2
  35. package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/SevereEvent/SevereEvent.js +3 -2
  36. package/lib/DashboardV2/UtilityDashboard/TopBar/TopBar.js +2 -2
  37. package/lib/DashboardV2/UtilityDashboard/UtilityDashboard.stories.js +1 -1
  38. package/lib/DashboardV2/styles.scss +111 -111
  39. package/lib/EventsView/views/_colors.scss +1 -1
  40. package/lib/EventsView/views/components/areas/AreaPolygon.js +4 -4
  41. package/lib/EventsView/views/components/edges/Edge.js +9 -9
  42. package/lib/EventsView/views/components/events/EventsStyle.scss +582 -590
  43. package/lib/EventsView/views/components/events/event_info/EventDetails.js +16 -16
  44. package/lib/EventsView/views/components/events/event_info/EventInfoStyle.scss +421 -420
  45. package/lib/EventsView/views/components/events/event_info/charts/EventDetailsLineChart.js +4 -4
  46. package/lib/EventsView/views/components/events/event_info/charts/EventDetailsPieChart.js +4 -4
  47. package/lib/EventsView/views/components/events/event_info/samplings/Samplings.js +4 -4
  48. package/lib/EventsView/views/components/events/event_info/sources/Sources.js +3 -3
  49. package/lib/EventsView/views/components/events/events_list/Filter/FiltersDropDown.js +6 -6
  50. package/lib/EventsView/views/components/events/events_list/Sort.js +13 -13
  51. package/lib/EventsView/views/components/map/FloatingGraph.js +1 -1
  52. package/lib/EventsView/views/components/map/floatingGraphStyle.scss +46 -46
  53. package/lib/EventsView/views/components/map/mapStyle.scss +321 -316
  54. package/lib/EventsView/views/components/points/PointMarkers.js +1 -1
  55. package/lib/macros/getVersion.js +2 -2
  56. package/lib/shared/TimeRangeSelector/constants.js +1 -1
  57. package/lib/shared/TimeRangeSelector/index.js +1 -1
  58. package/lib/shared/components/Breadcrumbs/Breadcrumbs.js +1 -1
  59. package/lib/shared/components/Breadcrumbs/index.js +1 -1
  60. package/lib/shared/components/Breadcrumbs/styles.scss +6 -6
  61. package/lib/shared/components/ContentLoader/ContentLoader.js +1 -1
  62. package/lib/shared/components/ContentLoader/index.js +1 -1
  63. package/lib/shared/components/DamageType/DamageType.js +1 -1
  64. package/lib/shared/components/DamageType/styles.scss +40 -40
  65. package/lib/shared/components/DischargeHeatmap/DischargeHeatmap.js +3 -3
  66. package/lib/shared/components/DischargeHeatmap/styles.scss +13 -12
  67. package/lib/shared/components/ErrorBoundary.js +1 -1
  68. package/lib/shared/components/Events/Events.js +12 -12
  69. package/lib/shared/components/Events/styles.scss +108 -107
  70. package/lib/shared/components/InfoBar/InfoBar.js +1 -1
  71. package/lib/shared/components/InfoBar/InfoBar.stories.js +1 -1
  72. package/lib/shared/components/KandoModal/index.js +1 -1
  73. package/lib/shared/components/KandoModal/styles.scss +14 -14
  74. package/lib/shared/components/KandoNavbar/NavbarStyle.scss +182 -175
  75. package/lib/shared/components/KandoNavbar/index.js +1 -1
  76. package/lib/shared/components/LiveEvents/styles.scss +67 -67
  77. package/lib/shared/components/LoaderByPercent/LoaderByPercent.js +5 -5
  78. package/lib/shared/components/Map/Map.js +3 -3
  79. package/lib/shared/components/Map/styles.scss +5 -4
  80. package/lib/shared/components/NarrowHeader.js +1 -1
  81. package/lib/shared/components/PointInfo/PointInfo.js +4 -4
  82. package/lib/shared/components/PointInfo/index.js +1 -1
  83. package/lib/shared/components/PointInfo/styles.scss +36 -35
  84. package/lib/shared/components/Search/Search.js +1 -1
  85. package/lib/shared/components/Search/index.js +1 -1
  86. package/lib/shared/components/Search/styles.scss +21 -21
  87. package/lib/shared/components/Sector/index.js +1 -1
  88. package/lib/shared/components/Sector/styles.scss +13 -13
  89. package/lib/shared/components/Select/Select.scss +1 -1
  90. package/lib/shared/components/Spinner/Spinner.js +3 -3
  91. package/lib/shared/components/Spinner/Spinner.stories.js +1 -1
  92. package/lib/shared/components/Spinner/index.js +1 -1
  93. package/lib/shared/components/Spinner/styles.js +1 -1
  94. package/lib/shared/components/Toggle/index.js +1 -1
  95. package/lib/shared/components/Toggle/styles.scss +32 -31
  96. package/lib/shared/components/TrendGraph/styles.scss +1 -1
  97. package/lib/shared/components/TrendGraphNVL/TrendGraphNVL.js +3 -3
  98. package/lib/shared/components/TrendGraphNVL/styles.scss +13 -13
  99. package/lib/shared/helpers/time.js +1 -1
  100. package/lib/shared/redux/WBE/actions.js +1 -1
  101. package/lib/shared/redux/WBE/reducer.js +1 -1
  102. package/lib/shared/redux/areas/actionTypes.js +1 -1
  103. package/lib/shared/redux/areas/actions.js +1 -1
  104. package/lib/shared/redux/context/actions.js +1 -1
  105. package/lib/shared/redux/context/reducer.js +1 -1
  106. package/lib/shared/redux/edges/actionTypes.js +1 -1
  107. package/lib/shared/redux/edges/actions.js +1 -1
  108. package/lib/shared/redux/events/actionTypes.js +1 -1
  109. package/lib/shared/redux/events/actions.js +1 -1
  110. package/lib/shared/redux/global/actionTypes.js +1 -1
  111. package/lib/shared/redux/points/actionTypes.js +1 -1
  112. package/lib/shared/redux/points/actions.js +1 -1
  113. package/lib/shared/redux/rootActionTypes.js +1 -1
  114. package/lib/shared/redux/rootActions.js +1 -1
  115. package/lib/shared/utilities/ActionUtility.js +1 -1
  116. package/lib/shared/utilities/KandoDate.js +1 -1
  117. package/lib/shared/utilities/KandoModal.js +2 -2
  118. package/lib/shared/utilities/LocalStorage.js +1 -1
  119. package/lib/shared/utilities/TimeFormat.js +3 -3
  120. package/lib/shared/utilities/custom_hooks/useApi.js +1 -1
  121. package/lib/shared/utilities/custom_hooks/useClickOutside.js +3 -3
  122. package/lib/shared/utilities/custom_hooks/useMap.js +3 -1
  123. package/lib/shared/utilities/custom_hooks/useQueryURL.js +1 -1
  124. package/lib/shared/utilities/custom_hooks/useRemoveExistingLayers.js +1 -1
  125. package/package.json +1 -1
@@ -1,507 +1,508 @@
1
1
  .event-info {
2
- opacity: 1;
3
- font-size: 0.9em;
4
- height: 100%;
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;
5
18
  width: 100%;
6
- transition: 0.2s ease-in-out height, 0.3s ease-in-out opacity;
7
- background: white;
8
- overflow: scroll;
19
+ padding: 20px;
20
+ margin: 15px 0;
21
+ }
9
22
 
10
- &__content-container {
11
- padding: 0em 1.5em 7em 1.5em;
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, .1);
34
+
35
+ &__button {
36
+ svg {
37
+ .rtls & {
38
+ transform: rotate(180deg);
39
+ }
40
+ }
12
41
  }
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;
18
- width: 100%;
19
- padding: 20px;
20
- margin: 15px 0;
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);
21
86
  }
22
87
 
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
- }
88
+ &:active {
89
+ background: rgba(0, 0, 0, .06);
42
90
  }
43
91
 
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;
50
92
 
51
- p {
52
- font-size: 10px;
53
- }
93
+ .more-info-button {
94
+ padding: 5px;
95
+ border-radius: 3px;
96
+ color: #f50b56;
97
+ font-weight: 500;
98
+ border: 1px solid #f50b56;
54
99
 
55
- .early-warning-info {
56
- .ltrs & {
57
- text-align: right;
58
- }
59
- .rtls & {
60
- text-align: left;
61
- }
62
- }
63
- }
100
+ &:hover {
101
+ text-decoration: none;
102
+ color: white;
103
+ background: #f50b56;
104
+ transition: .2s ease;
105
+ }
64
106
  }
65
107
 
66
- &--collapsed {
67
- height: 0 !important;
68
- padding: 0 !important;
69
- opacity: 0 !important;
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
+ }
70
117
  }
71
118
 
72
- h1 {
73
- font-size: 1.8rem;
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
+ }
74
130
  }
75
131
 
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;
132
+ &__header__info-container {
133
+ display: flex;
134
+ justify-content: space-between;
83
135
 
84
- &:hover {
85
- background: rgba(0, 0, 0, 0.03);
86
- }
136
+ p {
137
+ margin: 0;
138
+ }
139
+ }
87
140
 
88
- &:active {
89
- background: rgba(0, 0, 0, 0.06);
90
- }
141
+ &__body {
142
+ &__info-container {
143
+ display: flex;
144
+ justify-content: space-between;
145
+ align-items: center;
146
+ }
91
147
 
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
- }
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);
106
153
 
107
- &__sector {
108
- display: flex;
109
- align-items: center;
154
+ .time {
155
+ .rtls & {
156
+ text-align: left;
157
+ }
110
158
 
111
- .sector_icon {
112
- width: 30px;
113
- height: 40px;
114
- margin: 0 5px 0 0;
115
- }
159
+ .ltrs & {
160
+ text-align: right;
161
+ }
116
162
  }
163
+ }
164
+ }
117
165
 
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;
166
+ .discharging {
167
+ padding: 15px 0;
168
+ width: 5em;
169
+ height: 5em;
122
170
 
123
- .ltrs & {
124
- border-left: 3px solid #f50b56;
125
- }
126
- .rtls & {
127
- border-right: 3px solid #f50b56;
128
- }
129
- }
171
+ img {
172
+ width: 30px;
173
+ margin: 0 18px;
174
+ }
130
175
 
131
- &__header__info-container {
132
- display: flex;
133
- justify-content: space-between;
176
+ span {
177
+ font-size: 12px;
134
178
 
135
- p {
136
- margin: 0;
137
- }
179
+ .rtls & {
180
+ margin: 0 15px;
138
181
  }
182
+ }
183
+ }
184
+ }
139
185
 
140
- &__body {
141
- &__info-container {
142
- display: flex;
143
- justify-content: space-between;
144
- align-items: center;
145
- }
186
+ &__image {
187
+ width: 4em;
188
+ height: 3.2em;
189
+ margin: .5em 0 0 0;
190
+ overflow: hidden;
191
+
192
+ img {
193
+ height: 100%;
194
+ width: 100%;
195
+ }
196
+ }
197
+
198
+ &__event_severity {
199
+ padding: 1.5rem 0 !important;
200
+
201
+ .severities {
202
+ display: flex;
146
203
 
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
- }
204
+ &__severity {
205
+ margin: 0 1px;
206
+ padding: 6px 10px;
207
+
208
+ &--0 {
209
+ color: #f6b22f;
210
+ position: relative;
211
+
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;
162
238
  }
239
+ }
163
240
  }
164
241
 
165
- .discharging {
166
- padding: 15px 0;
167
- width: 5em;
168
- height: 5em;
242
+ &--1 {
243
+ color: #f67129;
244
+ position: relative;
169
245
 
170
- img {
171
- width: 30px;
172
- margin: 0 18px;
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;
173
272
  }
273
+ }
274
+ }
174
275
 
175
- span {
176
- font-size: 12px;
276
+ &--2 {
277
+ color: #f6004f;
278
+ position: relative;
177
279
 
178
- .rtls & {
179
- margin: 0 15px;
180
- }
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;
181
306
  }
307
+ }
182
308
  }
309
+ }
183
310
  }
311
+ }
184
312
 
185
- &__image {
186
- width: 4em;
187
- height: 3.2em;
188
- margin: 0.5em 0 0 0;
189
- overflow: hidden;
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;
190
324
 
191
325
  img {
192
- height: 100%;
193
- width: 100%;
326
+ width: 1.5em;
194
327
  }
195
- }
196
328
 
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
- }
329
+ span {
330
+ font-weight: 100;
331
+ padding: 0 10px;
309
332
  }
333
+ }
310
334
  }
311
335
 
312
- &__detail {
313
- padding: 1rem 0;
314
- border-bottom: 1px solid rgba(0, 0, 0, 0.1);
336
+ &__seen {
337
+ div {
315
338
  display: flex;
316
- justify-content: space-between;
317
-
318
- .damage-types {
319
- &__type {
320
- display: flex;
321
- align-items: center;
322
- margin: 5px 0;
323
-
324
- img {
325
- width: 1.5em;
326
- }
327
339
 
328
- span {
329
- font-weight: 100;
330
- padding: 0 10px;
331
- }
332
- }
340
+ p {
341
+ margin: 0;
342
+ padding: 0 5px;
333
343
  }
344
+ }
345
+ }
334
346
 
335
- &__seen {
336
- div {
337
- display: flex;
347
+ &__early-warnings {
348
+ border: none;
349
+ padding: 0;
350
+ }
338
351
 
339
- p {
340
- margin: 0;
341
- padding: 0 5px;
342
- }
343
- }
344
- }
352
+ &:last-child {
353
+ border: none;
354
+ }
345
355
 
346
- &__early-warnings {
347
- border: none;
348
- padding: 0;
349
- }
356
+ .samplings {
357
+ padding-top: 1em;
350
358
 
351
- &:last-child {
352
- border: none;
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
+ }
353
382
  }
354
383
 
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
- }
384
+ img {
385
+ width: 1.5em;
386
+ .rtls & {
387
+ margin-left: 1em;
388
+ }
389
+
390
+ .ltrs & {
391
+ margin-right: 1em;
392
+ }
394
393
  }
394
+ }
395
395
  }
396
+ }
396
397
 
397
- &__event-path {
398
- display: none;
398
+ &__event-path {
399
+ display: none;
399
400
 
400
- .event-path-content {
401
- text-align: center;
402
- margin: 10px 0;
401
+ .event-path-content {
402
+ text-align: center;
403
+ margin: 10px 0;
403
404
 
404
- .full-map-button {
405
- border: 1px solid black;
406
- padding: 10px;
407
- border-radius: 10px;
408
- color: black;
409
- }
410
- }
405
+ .full-map-button {
406
+ border: 1px solid black;
407
+ padding: 10px;
408
+ border-radius: 10px;
409
+ color: black;
410
+ }
411
411
  }
412
+ }
412
413
 
413
- &__graphs {
414
- margin: 0 0 6em 0;
414
+ &__graphs {
415
+ margin: 0 0 6em 0;
415
416
 
416
- .graph-title {
417
- margin: 20px 0 0 0;
417
+ .graph-title {
418
+ margin: 20px 0 0 0;
418
419
 
419
- &--trend-graph {
420
- margin-bottom: 16px;
421
- }
422
- }
420
+ &--trend-graph {
421
+ margin-bottom: 16px;
422
+ }
423
+ }
423
424
 
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
- }
425
+ &__pie {
426
+ display: flex;
427
+ justify-content: center;
428
+ align-items: center;
447
429
 
448
- div {
449
- width: 50%;
450
- height: 50%;
451
- }
430
+ .pie-info {
431
+ display: flex;
432
+ justify-content: center;
433
+ align-items: center;
434
+
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
+ }
452
446
  }
453
- }
447
+ }
454
448
 
455
- .show-error {
456
- display: block !important;
449
+ div {
450
+ width: 50%;
451
+ height: 50%;
452
+ }
457
453
  }
454
+ }
455
+
456
+ .show-error {
457
+ display: block !important;
458
+ }
458
459
  }
459
460
 
460
461
  .event-details {
461
462
  }
462
463
 
463
464
  .metascore-wrapper {
464
- position: relative;
465
-
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;
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;
476
477
 
477
- &--positive {
478
- color: #1db232 !important;
479
- }
478
+ &--positive {
479
+ color: #1db232 !important;
480
+ }
480
481
 
481
- &__arrow {
482
- display: flex;
483
- align-items: center;
484
- font-size: 1.2em;
485
- margin: 2px 8px 0;
486
- }
482
+ &__arrow {
483
+ display: flex;
484
+ align-items: center;
485
+ font-size: 1.2em;
486
+ margin: 2px 8px 0;
487
487
  }
488
+ }
488
489
  }
489
490
 
490
491
  .rtls {
491
- .metascore-wrapper {
492
- .metascore-trend {
493
- right: unset;
494
- left: 0;
495
- }
492
+ .metascore-wrapper {
493
+ .metascore-trend {
494
+ right: unset;
495
+ left: 0;
496
496
  }
497
+ }
497
498
  }
498
499
 
499
500
  @media only screen and (max-width: 480px) {
500
- .metascore-wrapper {
501
- .metascore-trend {
502
- &__note {
503
- display: none;
504
- }
505
- }
501
+ .metascore-wrapper {
502
+ .metascore-trend {
503
+ &__note {
504
+ display: none;
505
+ }
506
506
  }
507
- }
507
+ }
508
+ }