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