energy-visualization-sankey 1.0.12 → 1.0.14
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.
- package/dist/sankey.css +124 -115
- package/dist/sankey.css.map +1 -1
- package/dist/sankey.esm.js +151 -151
- package/dist/sankey.esm.js.map +1 -1
- package/dist/sankey.umd.js +8720 -8716
- package/dist/sankey.umd.js.map +1 -1
- package/dist/types/core/Sankey.d.ts +294 -0
- package/dist/types/core/Sankey.d.ts.map +1 -0
- package/dist/types/core/events/EventBus.d.ts +195 -0
- package/dist/types/core/events/EventBus.d.ts.map +1 -0
- package/dist/types/core/types/events.d.ts +42 -0
- package/dist/types/core/types/events.d.ts.map +1 -0
- package/dist/types/index.d.ts +19 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/services/AnimationService.d.ts +229 -0
- package/dist/types/services/AnimationService.d.ts.map +1 -0
- package/dist/types/services/ConfigurationService.d.ts +182 -0
- package/dist/types/services/ConfigurationService.d.ts.map +1 -0
- package/dist/types/services/InteractionService.d.ts +377 -0
- package/dist/types/services/InteractionService.d.ts.map +1 -0
- package/dist/types/services/RenderingService.d.ts +160 -0
- package/dist/types/services/RenderingService.d.ts.map +1 -0
- package/dist/types/services/calculation/GraphService.d.ts +111 -0
- package/dist/types/services/calculation/GraphService.d.ts.map +1 -0
- package/dist/types/services/calculation/SummaryService.d.ts +149 -0
- package/dist/types/services/calculation/SummaryService.d.ts.map +1 -0
- package/dist/types/services/data/DataService.d.ts +167 -0
- package/dist/types/services/data/DataService.d.ts.map +1 -0
- package/dist/types/services/data/DataValidationService.d.ts +48 -0
- package/dist/types/services/data/DataValidationService.d.ts.map +1 -0
- package/dist/types/types/index.d.ts +194 -0
- package/dist/types/types/index.d.ts.map +1 -0
- package/dist/types/utils/Logger.d.ts +88 -0
- package/dist/types/utils/Logger.d.ts.map +1 -0
- package/package.json +4 -3
- package/rollup.config.js +11 -2
- package/src/core/Sankey.ts +39 -39
- package/src/index.ts +3 -3
- package/src/services/AnimationService.ts +37 -37
- package/src/services/InteractionService.ts +8 -8
- package/src/services/RenderingService.ts +26 -26
- package/src/styles/controls.css +30 -23
- package/src/styles/sankey.css +94 -93
- package/tsconfig.json +1 -0
package/dist/sankey.css
CHANGED
|
@@ -4,138 +4,139 @@
|
|
|
4
4
|
|
|
5
5
|
/* US Energy Sankey - Core Styles */
|
|
6
6
|
|
|
7
|
-
/* Typography */
|
|
7
|
+
/* Typography - Scoped to evs-sankey wrapper */
|
|
8
8
|
|
|
9
|
-
text,
|
|
9
|
+
.evs-sankey text,
|
|
10
|
+
.evs-sankey tspan {
|
|
10
11
|
font-family: Fieldwork, Futura, sans-serif;
|
|
11
12
|
font-size: 16px;
|
|
12
13
|
}
|
|
13
14
|
|
|
14
15
|
/* Flow Styles */
|
|
15
16
|
|
|
16
|
-
.flow {
|
|
17
|
+
.evs-flow {
|
|
17
18
|
fill: none;
|
|
18
19
|
stroke-opacity: 0.8;
|
|
19
20
|
}
|
|
20
21
|
|
|
21
|
-
.flow:hover {
|
|
22
|
+
.evs-flow:hover {
|
|
22
23
|
stroke-opacity: 0.9;
|
|
23
24
|
}
|
|
24
25
|
|
|
25
|
-
.flow.heat {
|
|
26
|
+
.evs-flow.evs-heat {
|
|
26
27
|
stroke: #98002e;
|
|
27
28
|
}
|
|
28
29
|
|
|
29
|
-
.flow.elec, .flow.waste.heat {
|
|
30
|
+
.evs-flow.evs-elec, .evs-flow.evs-waste.evs-heat {
|
|
30
31
|
stroke: #e49942;
|
|
31
32
|
}
|
|
32
33
|
|
|
33
|
-
.flow.waste {
|
|
34
|
+
.evs-flow.evs-waste {
|
|
34
35
|
stroke: #e49942;
|
|
35
36
|
opacity: 0.4 !important;
|
|
36
37
|
}
|
|
37
38
|
|
|
38
|
-
.flow.solar {
|
|
39
|
+
.evs-flow.evs-solar {
|
|
39
40
|
stroke: #fed530;
|
|
40
41
|
}
|
|
41
42
|
|
|
42
|
-
.flow.nuclear {
|
|
43
|
+
.evs-flow.evs-nuclear {
|
|
43
44
|
stroke: #ca0813;
|
|
44
45
|
}
|
|
45
46
|
|
|
46
|
-
.flow.hydro {
|
|
47
|
+
.evs-flow.evs-hydro {
|
|
47
48
|
stroke: #0b24fb;
|
|
48
49
|
}
|
|
49
50
|
|
|
50
|
-
.flow.wind {
|
|
51
|
+
.evs-flow.evs-wind {
|
|
51
52
|
stroke: #901d8f;
|
|
52
53
|
}
|
|
53
54
|
|
|
54
|
-
.flow.geo {
|
|
55
|
+
.evs-flow.evs-geo {
|
|
55
56
|
stroke: #905a1c;
|
|
56
57
|
}
|
|
57
58
|
|
|
58
|
-
.flow.gas {
|
|
59
|
+
.evs-flow.evs-gas {
|
|
59
60
|
stroke: #4cabf2;
|
|
60
61
|
}
|
|
61
62
|
|
|
62
|
-
.flow.coal {
|
|
63
|
+
.evs-flow.evs-coal {
|
|
63
64
|
stroke: #000000;
|
|
64
65
|
}
|
|
65
66
|
|
|
66
|
-
.flow.bio {
|
|
67
|
+
.evs-flow.evs-bio {
|
|
67
68
|
stroke: #46be48;
|
|
68
69
|
}
|
|
69
70
|
|
|
70
|
-
.flow.petro {
|
|
71
|
+
.evs-flow.evs-petro {
|
|
71
72
|
stroke: #095f0b;
|
|
72
73
|
}
|
|
73
74
|
|
|
74
75
|
/* Box Styles */
|
|
75
76
|
|
|
76
|
-
.box.sector {
|
|
77
|
+
.evs-box.evs-sector {
|
|
77
78
|
fill: #cccccc;
|
|
78
79
|
}
|
|
79
80
|
|
|
80
|
-
.box.solar {
|
|
81
|
+
.evs-box.evs-solar {
|
|
81
82
|
fill: #fed530;
|
|
82
83
|
}
|
|
83
84
|
|
|
84
|
-
.box.nuclear {
|
|
85
|
+
.evs-box.evs-nuclear {
|
|
85
86
|
fill: #ca0813;
|
|
86
87
|
}
|
|
87
88
|
|
|
88
|
-
.box.hydro {
|
|
89
|
+
.evs-box.evs-hydro {
|
|
89
90
|
fill: #0b24fb;
|
|
90
91
|
}
|
|
91
92
|
|
|
92
|
-
.box.wind {
|
|
93
|
+
.evs-box.evs-wind {
|
|
93
94
|
fill: #901d8f;
|
|
94
95
|
}
|
|
95
96
|
|
|
96
|
-
.box.geo {
|
|
97
|
+
.evs-box.evs-geo {
|
|
97
98
|
fill: #905a1c;
|
|
98
99
|
}
|
|
99
100
|
|
|
100
|
-
.box.gas {
|
|
101
|
+
.evs-box.evs-gas {
|
|
101
102
|
fill: #4cabf2;
|
|
102
103
|
}
|
|
103
104
|
|
|
104
|
-
.box.coal {
|
|
105
|
+
.evs-box.evs-coal {
|
|
105
106
|
fill: #000000;
|
|
106
107
|
}
|
|
107
108
|
|
|
108
|
-
.box.bio {
|
|
109
|
+
.evs-box.evs-bio {
|
|
109
110
|
fill: #46be48;
|
|
110
111
|
}
|
|
111
112
|
|
|
112
|
-
.box.petro {
|
|
113
|
+
.evs-box.evs-petro {
|
|
113
114
|
fill: #095f0b;
|
|
114
115
|
}
|
|
115
116
|
|
|
116
117
|
/* Other Elements */
|
|
117
118
|
|
|
118
|
-
.maxline {
|
|
119
|
+
.evs-maxline {
|
|
119
120
|
stroke: #cccccc;
|
|
120
121
|
stroke-width: 1px;
|
|
121
122
|
}
|
|
122
123
|
|
|
123
|
-
.bkgd {
|
|
124
|
+
.evs-bkgd {
|
|
124
125
|
fill: #000000;
|
|
125
126
|
}
|
|
126
127
|
|
|
127
128
|
/* Title Container - Responsive Header Layout */
|
|
128
129
|
|
|
129
|
-
.
|
|
130
|
-
border-top: 2px solid #000000
|
|
131
|
-
border-bottom: 1px solid #000000
|
|
130
|
+
.evs-title-container {
|
|
131
|
+
/*border-top: 2px solid #000000;*/
|
|
132
|
+
/*border-bottom: 1px solid #000000;*/
|
|
132
133
|
position: relative;
|
|
133
134
|
min-height: 58px;
|
|
134
135
|
padding: 8px 16px;
|
|
135
136
|
background: white;
|
|
136
137
|
}
|
|
137
138
|
|
|
138
|
-
.header-content {
|
|
139
|
+
.evs-header-content {
|
|
139
140
|
display: flex;
|
|
140
141
|
align-items: center;
|
|
141
142
|
justify-content: space-between;
|
|
@@ -146,12 +147,12 @@ text, tspan {
|
|
|
146
147
|
|
|
147
148
|
/* Logo Section */
|
|
148
149
|
|
|
149
|
-
.header-logo {
|
|
150
|
+
.evs-header-logo {
|
|
150
151
|
flex: 0 0 auto;
|
|
151
152
|
min-width: 60px;
|
|
152
153
|
}
|
|
153
154
|
|
|
154
|
-
.header-logo img {
|
|
155
|
+
.evs-header-logo img {
|
|
155
156
|
max-height: 45px;
|
|
156
157
|
height: auto;
|
|
157
158
|
display: block;
|
|
@@ -159,19 +160,19 @@ text, tspan {
|
|
|
159
160
|
|
|
160
161
|
/* Main Title Section - Contains title and energy usage */
|
|
161
162
|
|
|
162
|
-
.header-main {
|
|
163
|
+
.evs-header-main {
|
|
163
164
|
flex: 1;
|
|
164
165
|
text-align: center;
|
|
165
166
|
min-width: 160px;
|
|
166
167
|
position: relative;
|
|
167
168
|
}
|
|
168
169
|
|
|
169
|
-
.header-title-section {
|
|
170
|
+
.evs-header-title-section {
|
|
170
171
|
position: relative;
|
|
171
172
|
min-height: 45px;
|
|
172
173
|
}
|
|
173
174
|
|
|
174
|
-
.main-title {
|
|
175
|
+
.evs-main-title {
|
|
175
176
|
font-family: Fieldwork, Futura, sans-serif;
|
|
176
177
|
font-size: 1em;
|
|
177
178
|
font-weight: normal;
|
|
@@ -181,7 +182,7 @@ text, tspan {
|
|
|
181
182
|
margin-bottom: 2px;
|
|
182
183
|
}
|
|
183
184
|
|
|
184
|
-
.energy-usage-overlay {
|
|
185
|
+
.evs-energy-usage-overlay {
|
|
185
186
|
position: absolute;
|
|
186
187
|
top: 22px;
|
|
187
188
|
left: 0;
|
|
@@ -192,7 +193,7 @@ text, tspan {
|
|
|
192
193
|
|
|
193
194
|
/* Year Section - Separate section for year display */
|
|
194
195
|
|
|
195
|
-
.header-year {
|
|
196
|
+
.evs-header-year {
|
|
196
197
|
flex: 1;
|
|
197
198
|
min-width: 80px;
|
|
198
199
|
height: 45px;
|
|
@@ -202,7 +203,7 @@ text, tspan {
|
|
|
202
203
|
justify-content: center;
|
|
203
204
|
}
|
|
204
205
|
|
|
205
|
-
.year-overlay {
|
|
206
|
+
.evs-year-overlay {
|
|
206
207
|
position: absolute;
|
|
207
208
|
top: 0;
|
|
208
209
|
left: 0;
|
|
@@ -213,13 +214,13 @@ text, tspan {
|
|
|
213
214
|
|
|
214
215
|
/* Info Section */
|
|
215
216
|
|
|
216
|
-
.header-info {
|
|
217
|
+
.evs-header-info {
|
|
217
218
|
flex: 1.9;
|
|
218
219
|
min-width: 160px;
|
|
219
220
|
text-align: left;
|
|
220
221
|
}
|
|
221
222
|
|
|
222
|
-
.subtitle {
|
|
223
|
+
.evs-subtitle {
|
|
223
224
|
font-family: Fieldwork-HumThin, Futura, sans-serif;
|
|
224
225
|
font-size: 1em;
|
|
225
226
|
color: #000000;
|
|
@@ -228,7 +229,7 @@ text, tspan {
|
|
|
228
229
|
margin-bottom: 2px;
|
|
229
230
|
}
|
|
230
231
|
|
|
231
|
-
.attribution {
|
|
232
|
+
.evs-attribution {
|
|
232
233
|
font-family: Fieldwork-HumThin, Futura, sans-serif;
|
|
233
234
|
font-size: 1em;
|
|
234
235
|
color: #000000;
|
|
@@ -238,13 +239,13 @@ text, tspan {
|
|
|
238
239
|
|
|
239
240
|
/* Affiliation Section */
|
|
240
241
|
|
|
241
|
-
.header-affiliation {
|
|
242
|
+
.evs-header-affiliation {
|
|
242
243
|
flex: 1.7;
|
|
243
244
|
text-align: center;
|
|
244
245
|
min-width: 140px;
|
|
245
246
|
}
|
|
246
247
|
|
|
247
|
-
.affiliation-text {
|
|
248
|
+
.evs-affiliation-text {
|
|
248
249
|
font-family: Fieldwork-HumThin, Futura, sans-serif;
|
|
249
250
|
font-size: 1em;
|
|
250
251
|
color: #000000;
|
|
@@ -254,34 +255,34 @@ text, tspan {
|
|
|
254
255
|
|
|
255
256
|
/* SVG Overlay Styles */
|
|
256
257
|
|
|
257
|
-
.energy-svg-overlay,
|
|
258
|
-
.year-svg-overlay {
|
|
258
|
+
.evs-energy-svg-overlay,
|
|
259
|
+
.evs-year-svg-overlay {
|
|
259
260
|
z-index: 10;
|
|
260
261
|
}
|
|
261
262
|
|
|
262
|
-
.energy-svg-overlay text,
|
|
263
|
-
.year-svg-overlay text {
|
|
263
|
+
.evs-energy-svg-overlay text,
|
|
264
|
+
.evs-year-svg-overlay text {
|
|
264
265
|
font-family: Fieldwork, Futura, sans-serif;
|
|
265
266
|
fill: black;
|
|
266
267
|
}
|
|
267
268
|
|
|
268
269
|
/* Legacy SVG styles for compatibility */
|
|
269
270
|
|
|
270
|
-
.
|
|
271
|
+
.evs-title-container svg {
|
|
271
272
|
font-size: 15px;
|
|
272
273
|
}
|
|
273
274
|
|
|
274
|
-
.
|
|
275
|
+
.evs-title-container .evs-title {
|
|
275
276
|
font-size: 1em;
|
|
276
277
|
fill: black;
|
|
277
278
|
}
|
|
278
279
|
|
|
279
|
-
.
|
|
280
|
+
.evs-title-container .evs-title .evs-unit {
|
|
280
281
|
font-size: .9em;
|
|
281
282
|
font-weight: bold;
|
|
282
283
|
}
|
|
283
284
|
|
|
284
|
-
.
|
|
285
|
+
.evs-title-container .evs-title .evs-year {
|
|
285
286
|
font-size: 3.1em;
|
|
286
287
|
font-weight: bold;
|
|
287
288
|
clear: left;
|
|
@@ -292,94 +293,94 @@ text, tspan {
|
|
|
292
293
|
/* Mobile Responsive Design */
|
|
293
294
|
|
|
294
295
|
@media (max-width: 1024px) {
|
|
295
|
-
.header-content {
|
|
296
|
+
.evs-header-content {
|
|
296
297
|
gap: 15px;
|
|
297
298
|
}
|
|
298
299
|
|
|
299
|
-
.main-title {
|
|
300
|
+
.evs-main-title {
|
|
300
301
|
font-size: 0.9em;
|
|
301
302
|
}
|
|
302
303
|
|
|
303
|
-
.header-logo {
|
|
304
|
+
.evs-header-logo {
|
|
304
305
|
min-width: 50px;
|
|
305
306
|
}
|
|
306
307
|
|
|
307
|
-
.header-main,
|
|
308
|
-
.header-year,
|
|
309
|
-
.header-info,
|
|
310
|
-
.header-affiliation {
|
|
308
|
+
.evs-header-main,
|
|
309
|
+
.evs-header-year,
|
|
310
|
+
.evs-header-info,
|
|
311
|
+
.evs-header-affiliation {
|
|
311
312
|
flex: 1;
|
|
312
313
|
min-width: 120px;
|
|
313
314
|
}
|
|
314
315
|
|
|
315
|
-
.year-svg-overlay text {
|
|
316
|
+
.evs-year-svg-overlay text {
|
|
316
317
|
font-size: 2.8em !important;
|
|
317
318
|
}
|
|
318
319
|
|
|
319
|
-
.subtitle, .attribution, .affiliation-text {
|
|
320
|
+
.evs-subtitle, .evs-attribution, .evs-affiliation-text {
|
|
320
321
|
font-size: 0.9em;
|
|
321
322
|
}
|
|
322
323
|
}
|
|
323
324
|
|
|
324
325
|
@media (max-width: 768px) {
|
|
325
|
-
.
|
|
326
|
+
.evs-title-container {
|
|
326
327
|
padding: 6px 12px;
|
|
327
328
|
}
|
|
328
329
|
|
|
329
|
-
.header-content {
|
|
330
|
+
.evs-header-content {
|
|
330
331
|
gap: 10px;
|
|
331
332
|
}
|
|
332
333
|
|
|
333
|
-
.header-logo {
|
|
334
|
+
.evs-header-logo {
|
|
334
335
|
min-width: 40px;
|
|
335
336
|
}
|
|
336
337
|
|
|
337
|
-
.header-logo img {
|
|
338
|
+
.evs-header-logo img {
|
|
338
339
|
max-height: 35px;
|
|
339
340
|
}
|
|
340
341
|
|
|
341
|
-
.main-title {
|
|
342
|
+
.evs-main-title {
|
|
342
343
|
font-size: 0.8em;
|
|
343
344
|
}
|
|
344
345
|
|
|
345
|
-
.header-main,
|
|
346
|
-
.header-year,
|
|
347
|
-
.header-info,
|
|
348
|
-
.header-affiliation {
|
|
346
|
+
.evs-header-main,
|
|
347
|
+
.evs-header-year,
|
|
348
|
+
.evs-header-info,
|
|
349
|
+
.evs-header-affiliation {
|
|
349
350
|
flex: 1;
|
|
350
351
|
min-width: 100px;
|
|
351
352
|
}
|
|
352
353
|
|
|
353
|
-
.header-year {
|
|
354
|
+
.evs-header-year {
|
|
354
355
|
height: 40px;
|
|
355
356
|
}
|
|
356
357
|
|
|
357
|
-
.year-svg-overlay text {
|
|
358
|
+
.evs-year-svg-overlay text {
|
|
358
359
|
font-size: 2.5em !important;
|
|
359
360
|
}
|
|
360
361
|
|
|
361
|
-
.energy-svg-overlay text {
|
|
362
|
+
.evs-energy-svg-overlay text {
|
|
362
363
|
font-size: 0.8em !important;
|
|
363
364
|
}
|
|
364
365
|
|
|
365
|
-
.subtitle, .attribution, .affiliation-text {
|
|
366
|
+
.evs-subtitle, .evs-attribution, .evs-affiliation-text {
|
|
366
367
|
font-size: 0.8em;
|
|
367
368
|
}
|
|
368
369
|
}
|
|
369
370
|
|
|
370
371
|
@media (max-width: 600px) {
|
|
371
|
-
.header-content {
|
|
372
|
+
.evs-header-content {
|
|
372
373
|
flex-wrap: wrap;
|
|
373
374
|
gap: 8px;
|
|
374
375
|
}
|
|
375
376
|
|
|
376
|
-
.header-main {
|
|
377
|
+
.evs-header-main {
|
|
377
378
|
order: 1;
|
|
378
379
|
flex: 1 1 100%;
|
|
379
380
|
margin-bottom: 8px;
|
|
380
381
|
}
|
|
381
382
|
|
|
382
|
-
.header-year {
|
|
383
|
+
.evs-header-year {
|
|
383
384
|
order: 2;
|
|
384
385
|
flex: 1 1 100%;
|
|
385
386
|
margin-bottom: 8px;
|
|
@@ -387,29 +388,29 @@ text, tspan {
|
|
|
387
388
|
height: 50px;
|
|
388
389
|
}
|
|
389
390
|
|
|
390
|
-
.header-logo {
|
|
391
|
+
.evs-header-logo {
|
|
391
392
|
order: 3;
|
|
392
393
|
flex: 1 1 50%;
|
|
393
394
|
}
|
|
394
395
|
|
|
395
|
-
.header-info {
|
|
396
|
+
.evs-header-info {
|
|
396
397
|
order: 4;
|
|
397
398
|
flex: 1 1 100%;
|
|
398
399
|
margin-bottom: 8px;
|
|
399
400
|
}
|
|
400
401
|
|
|
401
|
-
.header-affiliation {
|
|
402
|
+
.evs-header-affiliation {
|
|
402
403
|
order: 5;
|
|
403
404
|
flex: 1 1 50%;
|
|
404
405
|
text-align: left;
|
|
405
406
|
}
|
|
406
407
|
|
|
407
|
-
.main-title {
|
|
408
|
+
.evs-main-title {
|
|
408
409
|
text-align: center;
|
|
409
410
|
margin-bottom: 5px;
|
|
410
411
|
}
|
|
411
412
|
|
|
412
|
-
.energy-usage-overlay {
|
|
413
|
+
.evs-energy-usage-overlay {
|
|
413
414
|
position: relative;
|
|
414
415
|
top: 0;
|
|
415
416
|
text-align: center;
|
|
@@ -419,25 +420,25 @@ text, tspan {
|
|
|
419
420
|
|
|
420
421
|
/* Totals */
|
|
421
422
|
|
|
422
|
-
.total.sector {
|
|
423
|
+
.evs-total.evs-sector {
|
|
423
424
|
font-size: 0.7em;
|
|
424
425
|
font-weight: bold;
|
|
425
426
|
}
|
|
426
427
|
|
|
427
|
-
.total.waste-level {
|
|
428
|
+
.evs-total.evs-waste-level {
|
|
428
429
|
fill: #e49942;
|
|
429
430
|
opacity: 0.4;
|
|
430
431
|
}
|
|
431
432
|
|
|
432
433
|
/* Visibility */
|
|
433
434
|
|
|
434
|
-
.hidden {
|
|
435
|
+
.evs-hidden {
|
|
435
436
|
visibility: hidden;
|
|
436
437
|
}
|
|
437
438
|
|
|
438
439
|
/* Tooltip */
|
|
439
440
|
|
|
440
|
-
.tooltip {
|
|
441
|
+
.evs-tooltip {
|
|
441
442
|
color: #000000;
|
|
442
443
|
position: absolute;
|
|
443
444
|
text-align: justify;
|
|
@@ -449,25 +450,25 @@ text, tspan {
|
|
|
449
450
|
z-index: 3;
|
|
450
451
|
}
|
|
451
452
|
|
|
452
|
-
.
|
|
453
|
+
.evs-fuel-value {
|
|
453
454
|
text-align: center;
|
|
454
455
|
vertical-align: middle;
|
|
455
456
|
}
|
|
456
457
|
|
|
457
458
|
/* Waste Heat Visibility Control */
|
|
458
459
|
|
|
459
|
-
.waste-heat-hidden .flow.waste {
|
|
460
|
+
.evs-waste-heat-hidden .evs-flow.evs-waste {
|
|
460
461
|
display: none !important;
|
|
461
462
|
}
|
|
462
463
|
|
|
463
|
-
.waste-heat-hidden .total.waste-level {
|
|
464
|
+
.evs-waste-heat-hidden .evs-total.evs-waste-level {
|
|
464
465
|
display: none !important;
|
|
465
466
|
}
|
|
466
467
|
|
|
467
468
|
/* Smooth transition for waste heat toggle (optional) */
|
|
468
469
|
|
|
469
|
-
.flow.waste,
|
|
470
|
-
.total.waste-level {
|
|
470
|
+
.evs-flow.evs-waste,
|
|
471
|
+
.evs-total.evs-waste-level {
|
|
471
472
|
transition: opacity 0.3s ease;
|
|
472
473
|
}
|
|
473
474
|
|
|
@@ -477,7 +478,7 @@ text, tspan {
|
|
|
477
478
|
|
|
478
479
|
/* Range Slider */
|
|
479
480
|
|
|
480
|
-
.range-slider {
|
|
481
|
+
.evs-range-slider {
|
|
481
482
|
width: 100%;
|
|
482
483
|
margin-top: 5px;
|
|
483
484
|
position: relative;
|
|
@@ -485,7 +486,15 @@ text, tspan {
|
|
|
485
486
|
padding-top: 40px;
|
|
486
487
|
}
|
|
487
488
|
|
|
488
|
-
|
|
489
|
+
/* Axis text styling - matches global text style */
|
|
490
|
+
|
|
491
|
+
.evs-range-slider text,
|
|
492
|
+
.evs-range-slider tspan {
|
|
493
|
+
font-family: Fieldwork, Futura, sans-serif;
|
|
494
|
+
font-size: 16px;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
.evs-range-slider__range {
|
|
489
498
|
-webkit-appearance: none;
|
|
490
499
|
width: 100%;
|
|
491
500
|
border-radius: 5px;
|
|
@@ -494,11 +503,11 @@ text, tspan {
|
|
|
494
503
|
margin: 0;
|
|
495
504
|
}
|
|
496
505
|
|
|
497
|
-
.range-slider__range:first-child {
|
|
506
|
+
.evs-range-slider__range:first-child {
|
|
498
507
|
background: #d7dcdf;
|
|
499
508
|
}
|
|
500
509
|
|
|
501
|
-
.range-slider__range::-webkit-slider-thumb {
|
|
510
|
+
.evs-range-slider__range::-webkit-slider-thumb {
|
|
502
511
|
-webkit-appearance: none;
|
|
503
512
|
appearance: none;
|
|
504
513
|
width: 11px;
|
|
@@ -510,7 +519,7 @@ text, tspan {
|
|
|
510
519
|
transition: background 0.15s ease-in-out;
|
|
511
520
|
}
|
|
512
521
|
|
|
513
|
-
.range-slider__range::-moz-range-thumb {
|
|
522
|
+
.evs-range-slider__range::-moz-range-thumb {
|
|
514
523
|
width: 11px;
|
|
515
524
|
height: 11px;
|
|
516
525
|
border: 0;
|
|
@@ -523,7 +532,7 @@ text, tspan {
|
|
|
523
532
|
|
|
524
533
|
/* Dynamic Year Display */
|
|
525
534
|
|
|
526
|
-
#
|
|
535
|
+
#evs-dynamic-year {
|
|
527
536
|
color: black;
|
|
528
537
|
position: absolute;
|
|
529
538
|
height: 25px;
|
|
@@ -542,7 +551,7 @@ text, tspan {
|
|
|
542
551
|
|
|
543
552
|
/* Add downward arrow pointing to slider */
|
|
544
553
|
|
|
545
|
-
#
|
|
554
|
+
#evs-dynamic-year::after {
|
|
546
555
|
content: '';
|
|
547
556
|
position: absolute;
|
|
548
557
|
top: 100%;
|
|
@@ -557,17 +566,17 @@ text, tspan {
|
|
|
557
566
|
|
|
558
567
|
/* Play/Pause Button */
|
|
559
568
|
|
|
560
|
-
#play-button {
|
|
569
|
+
#evs-play-button {
|
|
561
570
|
border-radius: 0;
|
|
562
571
|
display: block;
|
|
563
572
|
height: 0;
|
|
564
573
|
}
|
|
565
574
|
|
|
566
|
-
#play-button:hover {
|
|
575
|
+
#evs-play-button:hover {
|
|
567
576
|
background: transparent !important;
|
|
568
577
|
}
|
|
569
578
|
|
|
570
|
-
#play-button.playbutton {
|
|
579
|
+
#evs-play-button.evs-playbutton {
|
|
571
580
|
outline: 0;
|
|
572
581
|
background: transparent;
|
|
573
582
|
border-color: transparent transparent transparent #202020;
|
|
@@ -577,7 +586,7 @@ text, tspan {
|
|
|
577
586
|
border-width: 13px 0 13px 20px;
|
|
578
587
|
}
|
|
579
588
|
|
|
580
|
-
#play-button.playpaused {
|
|
589
|
+
#evs-play-button.evs-playpaused {
|
|
581
590
|
outline: 0;
|
|
582
591
|
background: transparent;
|
|
583
592
|
height: 26px;
|
|
@@ -588,13 +597,13 @@ text, tspan {
|
|
|
588
597
|
border-width: 0px 0 0px 20px;
|
|
589
598
|
}
|
|
590
599
|
|
|
591
|
-
#play-button.playbutton:hover {
|
|
600
|
+
#evs-play-button.evs-playbutton:hover {
|
|
592
601
|
border-color: transparent transparent transparent #404040;
|
|
593
602
|
}
|
|
594
603
|
|
|
595
604
|
/* Waste Heat Toggle Switch */
|
|
596
605
|
|
|
597
|
-
.
|
|
606
|
+
.evs-switch-box {
|
|
598
607
|
display: -webkit-box;
|
|
599
608
|
display: -ms-flexbox;
|
|
600
609
|
display: flex;
|
|
@@ -610,11 +619,11 @@ text, tspan {
|
|
|
610
619
|
flex: 1;
|
|
611
620
|
}
|
|
612
621
|
|
|
613
|
-
.
|
|
622
|
+
.evs-box-1 {
|
|
614
623
|
background: #ffffff;
|
|
615
624
|
}
|
|
616
625
|
|
|
617
|
-
input[type="checkbox"].
|
|
626
|
+
input[type="checkbox"].evs-switch-1 {
|
|
618
627
|
-webkit-appearance: none;
|
|
619
628
|
-moz-appearance: none;
|
|
620
629
|
appearance: none;
|
|
@@ -629,11 +638,11 @@ input[type="checkbox"].switch_1 {
|
|
|
629
638
|
transition: all .2s ease-in-out;
|
|
630
639
|
}
|
|
631
640
|
|
|
632
|
-
input[type="checkbox"].
|
|
641
|
+
input[type="checkbox"].evs-switch-1:checked {
|
|
633
642
|
background: #e49942;
|
|
634
643
|
}
|
|
635
644
|
|
|
636
|
-
input[type="checkbox"].
|
|
645
|
+
input[type="checkbox"].evs-switch-1:after {
|
|
637
646
|
position: absolute;
|
|
638
647
|
content: "";
|
|
639
648
|
width: 1.5em;
|
|
@@ -649,33 +658,33 @@ input[type="checkbox"].switch_1:after {
|
|
|
649
658
|
transition: all .2s ease-in-out;
|
|
650
659
|
}
|
|
651
660
|
|
|
652
|
-
input[type="checkbox"].
|
|
661
|
+
input[type="checkbox"].evs-switch-1:checked:after {
|
|
653
662
|
left: calc(100% - 1.5em);
|
|
654
663
|
}
|
|
655
664
|
|
|
656
665
|
/* Hover effects for better interactivity */
|
|
657
666
|
|
|
658
|
-
input[type="checkbox"].
|
|
667
|
+
input[type="checkbox"].evs-switch-1:hover {
|
|
659
668
|
background: #555555;
|
|
660
669
|
}
|
|
661
670
|
|
|
662
|
-
input[type="checkbox"].
|
|
671
|
+
input[type="checkbox"].evs-switch-1:checked:hover {
|
|
663
672
|
background: #e49942;
|
|
664
673
|
}
|
|
665
674
|
|
|
666
675
|
/* Focus states for accessibility */
|
|
667
676
|
|
|
668
|
-
input[type="checkbox"].
|
|
677
|
+
input[type="checkbox"].evs-switch-1:focus {
|
|
669
678
|
box-shadow: 0 0 0 3px #F5DBBC;
|
|
670
679
|
}
|
|
671
680
|
|
|
672
681
|
/* Milestone Tick Markers */
|
|
673
682
|
|
|
674
|
-
#
|
|
683
|
+
#evs-test-tick .tick text {
|
|
675
684
|
cursor: pointer;
|
|
676
685
|
}
|
|
677
686
|
|
|
678
|
-
#
|
|
687
|
+
#evs-test-tick .tick text:hover {
|
|
679
688
|
color: grey;
|
|
680
689
|
transition: color 250ms;
|
|
681
690
|
}
|