@vaadin/charts 25.0.0-alpha9 → 25.0.0-beta1

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.
@@ -1,1063 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright (c) 2000 - 2025 Vaadin Ltd.
4
- *
5
- * This program is available under Vaadin Commercial License and Service Terms.
6
- *
7
- *
8
- * See https://vaadin.com/commercial-license-and-service-terms for the full
9
- * license.
10
- */
11
-
12
- /**
13
- * @license Highcharts
14
- *
15
- * (c) 2009-2016 Torstein Honsi
16
- *
17
- * License: www.highcharts.com/license
18
- */
19
- import { css } from 'lit';
20
-
21
- /* When updating this file do not override vaadin-charts custom properties section */
22
-
23
- export const chartStyles = css`
24
- :host {
25
- display: block;
26
- width: 100%;
27
- overflow: hidden;
28
- font-family:
29
- -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji',
30
- 'Segoe UI Emoji', 'Segoe UI Symbol';
31
- font-size: 12px;
32
- line-height: normal;
33
- }
34
-
35
- :host([hidden]) {
36
- display: none !important;
37
- }
38
-
39
- .highcharts-container {
40
- position: relative;
41
- overflow: hidden;
42
- width: 100%;
43
- height: 100%;
44
- text-align: left;
45
- z-index: 0;
46
- /* #1072 */
47
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
48
- }
49
-
50
- :where([styled-mode]) .highcharts-root {
51
- display: block;
52
- }
53
-
54
- :where([styled-mode]) .highcharts-root text {
55
- stroke-width: 0;
56
- }
57
-
58
- :where([styled-mode]) .highcharts-strong {
59
- font-weight: 600;
60
- }
61
-
62
- :where([styled-mode]) .highcharts-emphasized {
63
- font-style: italic;
64
- }
65
-
66
- :where([styled-mode]) .highcharts-anchor {
67
- cursor: pointer;
68
- }
69
-
70
- :where([styled-mode]) .highcharts-background {
71
- fill: var(--vaadin-charts-background, #fff);
72
- }
73
-
74
- :where([styled-mode]) .highcharts-plot-border,
75
- :where([styled-mode]) .highcharts-plot-background {
76
- fill: none;
77
- }
78
-
79
- :where([styled-mode]) .highcharts-label-box {
80
- fill: none;
81
- }
82
-
83
- :where([styled-mode]) .highcharts-button-box {
84
- fill: inherit;
85
- }
86
-
87
- :where([styled-mode]) .highcharts-tracker-line {
88
- stroke-linejoin: round;
89
- stroke: rgba(192, 192, 192, 0.0001);
90
- stroke-width: 22;
91
- fill: none;
92
- }
93
-
94
- :where([styled-mode]) .highcharts-tracker-area {
95
- fill: rgba(192, 192, 192, 0.0001);
96
- stroke-width: 0;
97
- }
98
-
99
- /* Titles */
100
- :where([styled-mode]) .highcharts-title {
101
- fill: var(--vaadin-charts-title-label, hsl(214, 35%, 15%));
102
- font-size: 1.5em;
103
- font-weight: 600;
104
- }
105
-
106
- :where([styled-mode]) .highcharts-subtitle {
107
- fill: var(--vaadin-charts-secondary-label, hsla(214, 42%, 18%, 0.72));
108
- }
109
-
110
- /* Axes */
111
- :where([styled-mode]) .highcharts-axis-line {
112
- fill: none;
113
- stroke: var(--vaadin-charts-axis-line, hsla(214, 61%, 25%, 0.05));
114
- }
115
-
116
- :where([styled-mode]) .highcharts-yaxis .highcharts-axis-line {
117
- stroke-width: 0;
118
- }
119
-
120
- :where([styled-mode]) .highcharts-axis-title {
121
- fill: var(--vaadin-charts-axis-title, hsla(214, 42%, 18%, 0.72));
122
- }
123
-
124
- :where([styled-mode]) .highcharts-axis-labels {
125
- fill: var(--vaadin-charts-axis-label, hsla(214, 42%, 18%, 0.72));
126
- cursor: default;
127
- font-size: 0.9em;
128
- }
129
-
130
- :where([styled-mode]) .highcharts-grid-line {
131
- fill: none;
132
- stroke: var(--vaadin-charts-grid-line, hsla(214, 53%, 23%, 0.16));
133
- }
134
-
135
- :where([styled-mode]) .highcharts-xaxis-grid .highcharts-grid-line {
136
- stroke-width: var(--vaadin-charts-xaxis-line-width, 0);
137
- }
138
-
139
- :where([styled-mode]) .highcharts-tick {
140
- stroke: var(--vaadin-charts-grid-line, hsla(214, 53%, 23%, 0.16));
141
- }
142
-
143
- :where([styled-mode]) .highcharts-yaxis .highcharts-tick {
144
- stroke-width: 0;
145
- }
146
-
147
- :where([styled-mode]) .highcharts-minor-grid-line {
148
- stroke: var(--vaadin-charts-contrast-5pct, hsla(214, 61%, 25%, 0.05));
149
- }
150
-
151
- :where([styled-mode]) .highcharts-crosshair-thin {
152
- stroke-width: 1px;
153
- stroke: var(--vaadin-charts-grid-line, hsla(214, 53%, 23%, 0.16));
154
- }
155
-
156
- :where([styled-mode]) .highcharts-crosshair-category {
157
- stroke: var(--vaadin-charts-color-0, #5ac2f7);
158
- stroke-opacity: 0.25;
159
- }
160
-
161
- /* Credits */
162
- :where([styled-mode]) .highcharts-credits {
163
- cursor: pointer;
164
- fill: var(--vaadin-charts-disabled-label, hsla(214, 50%, 22%, 0.26));
165
- font-size: 0.7em;
166
- transition:
167
- fill 250ms,
168
- font-size 250ms;
169
- }
170
-
171
- :where([styled-mode]) .highcharts-credits:hover {
172
- fill: black;
173
- font-size: 1em;
174
- }
175
-
176
- /* Tooltip */
177
- :where([styled-mode]) .highcharts-tooltip {
178
- cursor: default;
179
- pointer-events: none;
180
- white-space: nowrap;
181
- transition: stroke 150ms;
182
- filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.05)) !important;
183
- }
184
-
185
- :where([styled-mode]) .highcharts-tooltip text {
186
- fill: var(--vaadin-charts-data-label, hsla(214, 40%, 16%, 0.94));
187
- }
188
-
189
- :where([styled-mode]) .highcharts-tooltip .highcharts-header {
190
- font-size: 0.85em;
191
- color: var(--vaadin-charts-secondary-label, hsla(214, 42%, 18%, 0.72));
192
- }
193
-
194
- :where([styled-mode]) .highcharts-tooltip-box {
195
- stroke-width: 1px;
196
- stroke: var(--vaadin-charts-tooltip-border, inherit);
197
- fill: var(--vaadin-charts-tooltip-background, #fff);
198
- fill-opacity: var(--vaadin-charts-tooltip-background-opacity, 1);
199
- }
200
-
201
- :where([styled-mode]) .highcharts-tooltip-box .highcharts-label-box {
202
- fill: var(--vaadin-charts-tooltip-background, #fff);
203
- fill-opacity: var(--vaadin-charts-tooltip-background-opacity, 1);
204
- }
205
-
206
- :where([styled-mode]) .highcharts-tooltip-header {
207
- stroke-width: 1px;
208
- stroke: var(--vaadin-charts-contrast-20pct, hsla(214, 53%, 23%, 0.16));
209
- }
210
-
211
- :where([styled-mode]) div.highcharts-tooltip {
212
- filter: none;
213
- }
214
-
215
- :where([styled-mode]) .highcharts-selection-marker {
216
- fill: var(--vaadin-charts-color-0, #5ac2f7);
217
- fill-opacity: 0.25;
218
- }
219
-
220
- :where([styled-mode]) .highcharts-graph {
221
- fill: none;
222
- stroke-width: 2px;
223
- stroke-linecap: round;
224
- stroke-linejoin: round;
225
- }
226
-
227
- :where([styled-mode]) .highcharts-state-hover .highcharts-graph {
228
- stroke-width: 3;
229
- }
230
-
231
- :where([styled-mode]) .highcharts-point-inactive {
232
- opacity: 0.2;
233
- transition: opacity 50ms;
234
- /* quick in */
235
- }
236
-
237
- :where([styled-mode]) .highcharts-series-inactive {
238
- opacity: 0.2;
239
- transition: opacity 50ms;
240
- /* quick in */
241
- }
242
-
243
- :where([styled-mode]) .highcharts-state-hover path {
244
- transition: stroke-width 50ms;
245
- /* quick in */
246
- }
247
-
248
- :where([styled-mode]) .highcharts-state-normal path {
249
- transition: stroke-width 250ms;
250
- /* slow out */
251
- }
252
-
253
- /* Legend hover affects points and series */
254
- :where([styled-mode]) g.highcharts-series,
255
- :where([styled-mode]) .highcharts-point,
256
- :where([styled-mode]) .highcharts-markers,
257
- :where([styled-mode]) .highcharts-data-labels {
258
- transition: opacity 250ms;
259
- }
260
-
261
- :where([styled-mode]) .highcharts-legend-series-active g.highcharts-series:not(.highcharts-series-hover),
262
- :where([styled-mode]) .highcharts-legend-point-active .highcharts-point:not(.highcharts-point-hover),
263
- :where([styled-mode]) .highcharts-legend-series-active .highcharts-markers:not(.highcharts-series-hover),
264
- :where([styled-mode]) .highcharts-legend-series-active .highcharts-data-labels:not(.highcharts-series-hover) {
265
- opacity: 0.2;
266
- }
267
-
268
- /* Series options */
269
- /* Default colors */
270
- /* vaadin-charts custom properties */
271
- /* Use of :where() function to avoid setting classes with high specificity */
272
- :where([styled-mode]) .highcharts-color-0 {
273
- fill: var(--vaadin-charts-color-0, #5ac2f7);
274
- stroke: var(--vaadin-charts-color-0, #5ac2f7);
275
- }
276
-
277
- :where([styled-mode]) .highcharts-color-1 {
278
- fill: var(--vaadin-charts-color-1, #1676f3);
279
- stroke: var(--vaadin-charts-color-1, #1676f3);
280
- }
281
-
282
- :where([styled-mode]) .highcharts-color-2 {
283
- fill: var(--vaadin-charts-color-2, #ff7d94);
284
- stroke: var(--vaadin-charts-color-2, #ff7d94);
285
- }
286
-
287
- :where([styled-mode]) .highcharts-color-3 {
288
- fill: var(--vaadin-charts-color-3, #c5164e);
289
- stroke: var(--vaadin-charts-color-3, #c5164e);
290
- }
291
-
292
- :where([styled-mode]) .highcharts-color-4 {
293
- fill: var(--vaadin-charts-color-4, #15c15d);
294
- stroke: var(--vaadin-charts-color-4, #15c15d);
295
- }
296
-
297
- :where([styled-mode]) .highcharts-color-5 {
298
- fill: var(--vaadin-charts-color-5, #0e8151);
299
- stroke: var(--vaadin-charts-color-5, #0e8151);
300
- }
301
-
302
- :where([styled-mode]) .highcharts-color-6 {
303
- fill: var(--vaadin-charts-color-6, #c18ed2);
304
- stroke: var(--vaadin-charts-color-6, #c18ed2);
305
- }
306
-
307
- :where([styled-mode]) .highcharts-color-7 {
308
- fill: var(--vaadin-charts-color-7, #9233b3);
309
- stroke: var(--vaadin-charts-color-7, #9233b3);
310
- }
311
-
312
- :where([styled-mode]) .highcharts-color-8 {
313
- fill: var(--vaadin-charts-color-8, #fda253);
314
- stroke: var(--vaadin-charts-color-8, #fda253);
315
- }
316
-
317
- :where([styled-mode]) .highcharts-color-9 {
318
- fill: var(--vaadin-charts-color-9, #e24932);
319
- stroke: var(--vaadin-charts-color-9, #e24932);
320
- }
321
-
322
- /* end of vaadin-charts custom properties */
323
-
324
- :where([styled-mode]) .highcharts-area {
325
- fill-opacity: 0.5;
326
- stroke-width: 0;
327
- }
328
-
329
- :where([styled-mode]) .highcharts-markers {
330
- stroke-width: 1px;
331
- stroke: var(--vaadin-charts-background, #fff);
332
- }
333
-
334
- :where([styled-mode])
335
- .highcharts-a11y-markers-hidden
336
- .highcharts-point:not(.highcharts-point-hover):not(.highcharts-a11y-marker-visible),
337
- :where([styled-mode]) .highcharts-a11y-marker-hidden {
338
- opacity: 0;
339
- }
340
-
341
- :where([styled-mode]) .highcharts-point {
342
- stroke-width: 1px;
343
- }
344
-
345
- :where([styled-mode]) .highcharts-dense-data .highcharts-point {
346
- stroke-width: 0;
347
- }
348
-
349
- :where([styled-mode]) .highcharts-data-label {
350
- font-size: 0.9em;
351
- font-weight: normal;
352
- }
353
-
354
- :where([styled-mode]) .highcharts-data-label-box {
355
- fill: none;
356
- stroke-width: 0;
357
- }
358
-
359
- :where([styled-mode]) .highcharts-data-label text,
360
- :where([styled-mode]) text.highcharts-data-label {
361
- fill: var(--vaadin-charts-data-label, hsla(214, 40%, 16%, 0.94));
362
- }
363
-
364
- :where([styled-mode]) .highcharts-data-label-connector {
365
- fill: none;
366
- }
367
-
368
- :where([styled-mode]) .highcharts-data-label-hidden {
369
- pointer-events: none;
370
- }
371
-
372
- :where([styled-mode]) .highcharts-halo {
373
- fill-opacity: 0.25;
374
- stroke-width: 0;
375
- }
376
-
377
- :where([styled-mode]) .highcharts-series:not(.highcharts-pie-series) .highcharts-point-select,
378
- :where([styled-mode]) .highcharts-markers .highcharts-point-select {
379
- fill: var(--vaadin-charts-grid-line, hsla(214, 53%, 23%, 0.16));
380
- stroke: var(--vaadin-charts-contrast, hsl(214, 35%, 15%));
381
- }
382
-
383
- :where([styled-mode]) .highcharts-column-series rect.highcharts-point {
384
- stroke: var(--vaadin-charts-background, #fff);
385
- }
386
-
387
- :where([styled-mode]) .highcharts-column-series .highcharts-point {
388
- transition: fill-opacity 250ms;
389
- }
390
-
391
- :where([styled-mode]) .highcharts-column-series .highcharts-point-hover {
392
- fill-opacity: 0.75;
393
- transition: fill-opacity 50ms;
394
- }
395
-
396
- :where([styled-mode]) .highcharts-pie-series .highcharts-point {
397
- stroke-linejoin: round;
398
- stroke: var(--vaadin-charts-background, #fff);
399
- }
400
-
401
- :where([styled-mode]) .highcharts-pie-series .highcharts-point-hover {
402
- fill-opacity: 0.75;
403
- transition: fill-opacity 50ms;
404
- }
405
-
406
- :where([styled-mode]) .highcharts-funnel-series .highcharts-point {
407
- stroke-linejoin: round;
408
- stroke: var(--vaadin-charts-background, #fff);
409
- stroke-width: 2px;
410
- }
411
-
412
- :where([styled-mode]) .highcharts-funnel-series .highcharts-point-hover {
413
- fill-opacity: 0.75;
414
- transition: fill-opacity 50ms;
415
- }
416
-
417
- :where([styled-mode]) .highcharts-funnel-series .highcharts-point-select {
418
- fill: inherit;
419
- stroke: inherit;
420
- }
421
-
422
- :where([styled-mode]) .highcharts-pyramid-series .highcharts-point {
423
- stroke-linejoin: round;
424
- stroke: var(--vaadin-charts-background, #fff);
425
- stroke-width: 2px;
426
- }
427
-
428
- :where([styled-mode]) .highcharts-pyramid-series .highcharts-point-hover {
429
- fill-opacity: 0.75;
430
- transition: fill-opacity 50ms;
431
- }
432
-
433
- :where([styled-mode]) .highcharts-pyramid-series .highcharts-point-select {
434
- fill: inherit;
435
- stroke: inherit;
436
- }
437
-
438
- :where([styled-mode]) .highcharts-solidgauge-series .highcharts-point {
439
- stroke-width: 0;
440
- }
441
-
442
- :where([styled-mode]) .highcharts-treemap-series .highcharts-point {
443
- stroke-width: 2px;
444
- stroke: var(--vaadin-charts-background, #fff);
445
- transition:
446
- stroke 250ms,
447
- fill 250ms,
448
- fill-opacity 250ms;
449
- }
450
-
451
- :where([styled-mode]) .highcharts-treemap-series .highcharts-point-hover {
452
- stroke-width: 0;
453
- stroke: var(--vaadin-charts-background, #fff);
454
- fill-opacity: 0.75;
455
- transition:
456
- stroke 25ms,
457
- fill 25ms,
458
- fill-opacity 25ms;
459
- }
460
-
461
- :where([styled-mode]) .highcharts-treemap-series .highcharts-above-level {
462
- display: none;
463
- }
464
-
465
- :where([styled-mode]) .highcharts-treemap-series .highcharts-internal-node {
466
- fill: none;
467
- }
468
-
469
- :where([styled-mode]) .highcharts-treemap-series .highcharts-internal-node-interactive {
470
- fill-opacity: 0.15;
471
- cursor: pointer;
472
- }
473
-
474
- :where([styled-mode]) .highcharts-treemap-series .highcharts-internal-node-interactive:hover {
475
- fill-opacity: 0.75;
476
- }
477
-
478
- :where([styled-mode]) .highcharts-vector-series .highcharts-point {
479
- fill: none;
480
- stroke-width: 2px;
481
- }
482
-
483
- :where([styled-mode]) .highcharts-windbarb-series .highcharts-point {
484
- fill: none;
485
- stroke-width: 2px;
486
- }
487
-
488
- :where([styled-mode]) .highcharts-lollipop-stem {
489
- stroke: var(--vaadin-charts-contrast, hsl(214, 35%, 15%));
490
- }
491
-
492
- :where([styled-mode]) .highcharts-focus-border {
493
- fill: none;
494
- stroke-width: 2px;
495
- }
496
-
497
- :where([styled-mode]) .highcharts-legend-item-hidden .highcharts-focus-border {
498
- fill: none !important;
499
- }
500
-
501
- /* Legend */
502
- :where([styled-mode]) .highcharts-legend-box {
503
- fill: none;
504
- stroke-width: 0;
505
- }
506
-
507
- :where([styled-mode]) .highcharts-legend-item > text {
508
- fill: var(--vaadin-charts-data-label, hsla(214, 40%, 16%, 0.94));
509
- font-weight: normal;
510
- font-size: 1em;
511
- cursor: pointer;
512
- stroke-width: 0;
513
- }
514
-
515
- :where([styled-mode]) .highcharts-legend-item > .highcharts-point {
516
- stroke-width: 0;
517
- }
518
-
519
- :where([styled-mode]) .highcharts-legend-item:hover text {
520
- fill: var(--vaadin-charts-title-label, hsl(214, 35%, 15%));
521
- }
522
-
523
- :where([styled-mode]) .highcharts-legend-item-hidden * {
524
- fill: var(--vaadin-charts-disabled-label, hsla(214, 50%, 22%, 0.26)) !important;
525
- stroke: var(--vaadin-charts-disabled-label, hsla(214, 50%, 22%, 0.26)) !important;
526
- transition: fill 250ms;
527
- }
528
-
529
- :where([styled-mode]) .highcharts-legend-nav-active {
530
- fill: var(--vaadin-charts-button-label, hsl(214, 90%, 52%));
531
- cursor: pointer;
532
- }
533
-
534
- :where([styled-mode]) .highcharts-legend-nav-inactive {
535
- fill: var(--vaadin-charts-disabled-label, hsla(214, 50%, 22%, 0.26));
536
- }
537
-
538
- :where([styled-mode]) circle.highcharts-legend-nav-active,
539
- :where([styled-mode]) circle.highcharts-legend-nav-inactive {
540
- /* tracker */
541
- fill: rgba(192, 192, 192, 0.0001);
542
- }
543
-
544
- :where([styled-mode]) .highcharts-legend-title-box {
545
- fill: none;
546
- stroke-width: 0;
547
- }
548
-
549
- /* Bubble legend */
550
- :where([styled-mode]) .highcharts-bubble-legend-symbol {
551
- stroke-width: 2;
552
- fill-opacity: 0.5;
553
- }
554
-
555
- :where([styled-mode]) .highcharts-bubble-legend-connectors {
556
- stroke-width: 1;
557
- }
558
-
559
- :where([styled-mode]) .highcharts-bubble-legend-labels {
560
- fill: var(--vaadin-charts-data-label, hsla(214, 40%, 16%, 0.94));
561
- }
562
-
563
- /* Loading */
564
- :where([styled-mode]) .highcharts-loading {
565
- position: absolute;
566
- background-color: var(--vaadin-charts-background, #fff);
567
- opacity: 0.5;
568
- text-align: center;
569
- z-index: 10;
570
- transition: opacity 250ms;
571
- }
572
-
573
- :where([styled-mode]) .highcharts-loading-hidden {
574
- height: 0 !important;
575
- opacity: 0;
576
- overflow: hidden;
577
- transition:
578
- opacity 250ms,
579
- height 250ms step-end;
580
- }
581
-
582
- :where([styled-mode]) .highcharts-loading-inner {
583
- font-weight: normal;
584
- position: relative;
585
- top: 45%;
586
- }
587
-
588
- /* Plot bands and polar pane backgrounds */
589
- :where([styled-mode]) .highcharts-plot-band,
590
- :where([styled-mode]) .highcharts-pane {
591
- fill: var(--vaadin-charts-contrast, hsl(214, 35%, 15%));
592
- fill-opacity: 0.05;
593
- }
594
-
595
- :where([styled-mode]) .highcharts-plot-line {
596
- fill: none;
597
- stroke: var(--vaadin-charts-contrast-60pct, hsla(214, 43%, 19%, 0.61));
598
- stroke-width: 1px;
599
- }
600
-
601
- :where([styled-mode]) .highcharts-plot-line-label {
602
- fill: var(--vaadin-charts-data-label, hsla(214, 40%, 16%, 0.94));
603
- }
604
-
605
- /* Highcharts More and modules */
606
- :where([styled-mode]) .highcharts-boxplot-box {
607
- fill: var(--vaadin-charts-background, #fff);
608
- }
609
-
610
- :where([styled-mode]) .highcharts-boxplot-median {
611
- stroke-width: 2px;
612
- }
613
-
614
- :where([styled-mode]) .highcharts-bubble-series .highcharts-point {
615
- fill-opacity: 0.5;
616
- }
617
-
618
- :where([styled-mode]) .highcharts-errorbar-series .highcharts-point {
619
- stroke: var(--vaadin-charts-contrast, hsl(214, 35%, 15%));
620
- }
621
-
622
- :where([styled-mode]) .highcharts-gauge-series .highcharts-data-label-box {
623
- stroke: var(--vaadin-charts-grid-line, hsla(214, 53%, 23%, 0.16));
624
- stroke-width: 1px;
625
- }
626
-
627
- :where([styled-mode]) .highcharts-gauge-series .highcharts-dial {
628
- fill: var(--vaadin-charts-contrast, hsl(214, 35%, 15%));
629
- stroke-width: 0;
630
- }
631
-
632
- :where([styled-mode]) .highcharts-polygon-series .highcharts-graph {
633
- fill: inherit;
634
- stroke-width: 0;
635
- }
636
-
637
- :where([styled-mode]) .highcharts-waterfall-series .highcharts-graph {
638
- stroke: var(--vaadin-charts-contrast-60pct, hsla(214, 43%, 19%, 0.61));
639
- stroke-dasharray: 1, 3;
640
- }
641
-
642
- :where([styled-mode]) .highcharts-sankey-series .highcharts-point {
643
- stroke-width: 0;
644
- }
645
-
646
- :where([styled-mode]) .highcharts-sankey-series .highcharts-link {
647
- transition:
648
- fill 250ms,
649
- fill-opacity 250ms;
650
- fill-opacity: 0.5;
651
- }
652
-
653
- :where([styled-mode]) .highcharts-sankey-series .highcharts-point-hover.highcharts-link {
654
- transition:
655
- fill 50ms,
656
- fill-opacity 50ms;
657
- fill-opacity: 1;
658
- }
659
-
660
- :where([styled-mode]) .highcharts-venn-series .highcharts-point {
661
- fill-opacity: 0.75;
662
- stroke: var(--vaadin-charts-background, #fff);
663
- transition:
664
- stroke 250ms,
665
- fill-opacity 250ms;
666
- }
667
-
668
- :where([styled-mode]) .highcharts-venn-series .highcharts-point-hover {
669
- fill-opacity: 1;
670
- stroke: var(--vaadin-charts-background, #fff);
671
- }
672
-
673
- /* Highstock */
674
- :where([styled-mode]) .highcharts-navigator-mask-outside {
675
- fill-opacity: 0;
676
- }
677
-
678
- :where([styled-mode]) .highcharts-navigator-mask-inside {
679
- fill: var(--vaadin-charts-color-0, #5ac2f7);
680
- /* navigator.maskFill option */
681
- fill-opacity: 0.2;
682
- cursor: ew-resize;
683
- }
684
-
685
- :where([styled-mode]) .highcharts-navigator-outline {
686
- stroke: var(--vaadin-charts-grid-line, hsla(214, 53%, 23%, 0.16));
687
- fill: none;
688
- }
689
-
690
- :where([styled-mode]) .highcharts-navigator-handle {
691
- stroke: var(--vaadin-charts-contrast-20pct, hsla(214, 53%, 23%, 0.16));
692
- fill: var(--vaadin-charts-background, #fff);
693
- cursor: ew-resize;
694
- }
695
-
696
- :where([styled-mode]) .highcharts-navigator-series {
697
- fill: var(--vaadin-charts-color-1, #1676f3);
698
- stroke: var(--vaadin-charts-color-1, #1676f3);
699
- }
700
-
701
- :where([styled-mode]) .highcharts-navigator-series .highcharts-graph {
702
- stroke-width: 1px;
703
- }
704
-
705
- :where([styled-mode]) .highcharts-navigator-series .highcharts-area {
706
- fill-opacity: 0.05;
707
- }
708
-
709
- :where([styled-mode]) .highcharts-navigator-xaxis .highcharts-axis-line {
710
- stroke-width: 0;
711
- }
712
-
713
- :where([styled-mode]) .highcharts-navigator-xaxis .highcharts-grid-line {
714
- stroke-width: 1px;
715
- stroke: var(--vaadin-charts-grid-line, hsla(214, 53%, 23%, 0.16));
716
- }
717
-
718
- :where([styled-mode]) .highcharts-navigator-xaxis.highcharts-axis-labels {
719
- fill: var(--vaadin-charts-secondary-label, hsla(214, 42%, 18%, 0.72));
720
- }
721
-
722
- :where([styled-mode]) .highcharts-navigator-yaxis .highcharts-grid-line {
723
- stroke-width: 0;
724
- }
725
-
726
- :where([styled-mode]) .highcharts-scrollbar-thumb {
727
- fill: var(--vaadin-charts-contrast-20pct, hsla(214, 53%, 23%, 0.16));
728
- }
729
-
730
- :where([styled-mode]) .highcharts-scrollbar-button {
731
- fill: var(--vaadin-charts-background, #fff);
732
- }
733
-
734
- :where([styled-mode]) .highcharts-scrollbar-arrow {
735
- fill: var(--vaadin-charts-data-label, hsla(214, 40%, 16%, 0.94));
736
- }
737
-
738
- :where([styled-mode]) .highcharts-scrollbar-rifles {
739
- stroke: var(--vaadin-charts-data-label, hsla(214, 40%, 16%, 0.94));
740
- stroke-width: 1px;
741
- }
742
-
743
- :where([styled-mode]) .highcharts-scrollbar-track {
744
- fill: var(--vaadin-charts-contrast-5pct, hsla(214, 61%, 25%, 0.05));
745
- }
746
-
747
- :where([styled-mode]) .highcharts-button {
748
- fill: var(--vaadin-charts-button-background, hsla(214, 61%, 25%, 0.05));
749
- cursor: default;
750
- transition: fill 250ms;
751
- }
752
-
753
- :where([styled-mode]) .highcharts-button text {
754
- fill: var(--vaadin-charts-button-label, hsl(214, 90%, 52%));
755
- font-weight: 600;
756
- }
757
-
758
- :where([styled-mode]) .highcharts-button-hover {
759
- transition: fill 0ms;
760
- fill: var(--vaadin-charts-button-hover-background, hsla(214, 90%, 52%, 0.1));
761
- stroke-width: 0;
762
- }
763
-
764
- :where([styled-mode]) .highcharts-button-hover text {
765
- fill: var(--vaadin-charts-button-label, hsl(214, 90%, 52%));
766
- }
767
-
768
- :where([styled-mode]) .highcharts-button-pressed {
769
- fill: var(--vaadin-charts-button-active-background, hsl(214, 90%, 52%));
770
- }
771
-
772
- :where([styled-mode]) .highcharts-button-pressed text {
773
- fill: var(--vaadin-charts-button-active-label, #fff);
774
- }
775
-
776
- :where([styled-mode]) .highcharts-button-disabled text {
777
- fill: var(--vaadin-charts-button-label, hsl(214, 90%, 52%));
778
- }
779
-
780
- :where([styled-mode]) .highcharts-range-selector-buttons > text {
781
- fill: var(--vaadin-charts-secondary-label, hsla(214, 42%, 18%, 0.72));
782
- }
783
-
784
- :where([styled-mode]) .highcharts-range-selector-buttons .highcharts-button {
785
- stroke-width: 0;
786
- }
787
-
788
- :where([styled-mode]) .highcharts-range-label rect {
789
- fill: none;
790
- }
791
-
792
- :where([styled-mode]) .highcharts-range-label text {
793
- fill: var(--vaadin-charts-secondary-label, hsla(214, 42%, 18%, 0.72));
794
- }
795
-
796
- :where([styled-mode]) .highcharts-range-input rect {
797
- fill: var(--vaadin-charts-contrast-10pct, hsla(214, 57%, 24%, 0.1));
798
- rx: 2;
799
- ry: 2;
800
- }
801
-
802
- :where([styled-mode]) .highcharts-range-input:hover rect {
803
- fill: var(--vaadin-charts-contrast-20pct, hsla(214, 53%, 23%, 0.16));
804
- transition: fill 250ms;
805
- }
806
-
807
- :where([styled-mode]) .highcharts-range-input text {
808
- fill: var(--vaadin-charts-data-label, hsla(214, 40%, 16%, 0.94));
809
- }
810
-
811
- :where([styled-mode]) input.highcharts-range-selector {
812
- position: absolute;
813
- border: 0;
814
- width: 1px;
815
- /* Chrome needs a pixel to see it */
816
- height: 1px;
817
- padding: 0;
818
- text-align: center;
819
- left: -9em;
820
- /* #4798 */
821
- }
822
-
823
- :where([styled-mode]) .highcharts-crosshair-label text {
824
- fill: var(--vaadin-charts-background, #fff);
825
- font-size: 1.1em;
826
- }
827
-
828
- :where([styled-mode]) .highcharts-crosshair-label .highcharts-label-box {
829
- fill: inherit;
830
- }
831
-
832
- :where([styled-mode]) .highcharts-candlestick-series .highcharts-point {
833
- stroke: var(--vaadin-charts-contrast-60pct, hsla(214, 43%, 19%, 0.61));
834
- stroke-width: 1px;
835
- }
836
-
837
- :where([styled-mode]) .highcharts-candlestick-series .highcharts-point-up {
838
- fill: var(--vaadin-charts-color-positive, #15c15d);
839
- }
840
-
841
- :where([styled-mode]) .highcharts-candlestick-series .highcharts-point-down {
842
- fill: var(--vaadin-charts-color-negative, #e24932);
843
- }
844
-
845
- :where([styled-mode]) .highcharts-ohlc-series .highcharts-point-hover {
846
- stroke-width: 3px;
847
- }
848
-
849
- :where([styled-mode]) .highcharts-flags-series .highcharts-point .highcharts-label-box {
850
- stroke: var(--vaadin-charts-grid-line, hsla(214, 53%, 23%, 0.16));
851
- fill: var(--vaadin-charts-background, #fff);
852
- transition: fill 250ms;
853
- }
854
-
855
- :where([styled-mode]) .highcharts-flags-series .highcharts-point-hover .highcharts-label-box {
856
- stroke: var(--vaadin-charts-contrast-60pct, hsla(214, 43%, 19%, 0.61));
857
- fill: var(--vaadin-charts-background, #fff);
858
- }
859
-
860
- :where([styled-mode]) .highcharts-flags-series .highcharts-point text {
861
- fill: var(--vaadin-charts-data-label, hsla(214, 40%, 16%, 0.94));
862
- font-size: 0.9em;
863
- font-weight: normal;
864
- }
865
-
866
- :where([styled-mode]) .highcharts-flags-series .highcharts-point-hover text {
867
- fill: var(--vaadin-charts-title-label, hsl(214, 35%, 15%));
868
- }
869
-
870
- /* Highmaps */
871
- :where([styled-mode]) .highcharts-map-series .highcharts-point {
872
- transition:
873
- fill 500ms,
874
- fill-opacity 500ms,
875
- stroke-width 250ms;
876
- stroke: var(--vaadin-charts-contrast-20pct, hsla(214, 53%, 23%, 0.16));
877
- }
878
-
879
- :where([styled-mode]) .highcharts-map-series .highcharts-point-hover {
880
- transition:
881
- fill 0ms,
882
- fill-opacity 0ms;
883
- fill-opacity: 0.5;
884
- stroke-width: 2px;
885
- }
886
-
887
- :where([styled-mode]) .highcharts-mapline-series .highcharts-point {
888
- fill: none;
889
- }
890
-
891
- :where([styled-mode]) .highcharts-heatmap-series .highcharts-point {
892
- stroke-width: 0;
893
- }
894
-
895
- :where([styled-mode]) .highcharts-map-navigation {
896
- font-size: 1.3em;
897
- font-weight: normal;
898
- text-align: center;
899
- }
900
-
901
- :where([styled-mode]) .highcharts-coloraxis {
902
- stroke-width: 0;
903
- }
904
-
905
- :where([styled-mode]) .highcharts-coloraxis-grid .highcharts-grid-line {
906
- stroke: var(--vaadin-charts-background, #fff);
907
- }
908
-
909
- :where([styled-mode]) .highcharts-coloraxis-marker {
910
- fill: var(--vaadin-charts-axis-label, hsla(214, 42%, 18%, 0.72));
911
- stroke-width: 0;
912
- }
913
-
914
- :where([styled-mode]) .highcharts-null-point {
915
- fill: var(--vaadin-charts-contrast-5pct, hsla(214, 61%, 25%, 0.05));
916
- stroke: var(--vaadin-charts-contrast-60pct, hsla(214, 43%, 19%, 0.61));
917
- }
918
-
919
- /* 3d charts */
920
- :where([styled-mode]) .highcharts-3d-frame {
921
- fill: transparent;
922
- }
923
-
924
- /* Exporting module */
925
- :where([styled-mode]) .highcharts-contextbutton {
926
- fill: #fff;
927
- /* needed to capture hover */
928
- stroke: none;
929
- stroke-linecap: round;
930
- }
931
-
932
- :where([styled-mode]) .highcharts-contextbutton:hover {
933
- fill: #e6e6e6;
934
- stroke: #e6e6e6;
935
- }
936
-
937
- :where([styled-mode]) .highcharts-button-symbol {
938
- stroke: var(--vaadin-charts-secondary-label, hsla(214, 42%, 18%, 0.72));
939
- stroke-width: 3px;
940
- }
941
-
942
- :where([styled-mode]) .highcharts-menu {
943
- border: 1px solid #999;
944
- background: #fff;
945
- padding: 5px 0;
946
- box-shadow: 3px 3px 10px #888;
947
- }
948
-
949
- :where([styled-mode]) .highcharts-menu-item {
950
- padding: 0.5em 1em;
951
- background: none;
952
- color: var(--vaadin-charts-button-label, hsl(214, 90%, 52%));
953
- cursor: pointer;
954
- transition:
955
- background 250ms,
956
- color 250ms;
957
- }
958
-
959
- :where([styled-mode]) .highcharts-menu-item:hover {
960
- background: #335cad;
961
- color: #fff;
962
- }
963
-
964
- /* Drilldown module */
965
- :where([styled-mode]) .highcharts-drilldown-point {
966
- cursor: pointer;
967
- }
968
-
969
- :where([styled-mode]) .highcharts-drilldown-data-label text,
970
- :where([styled-mode]) text.highcharts-drilldown-data-label,
971
- :where([styled-mode]) .highcharts-drilldown-axis-label {
972
- cursor: pointer;
973
- fill: var(--vaadin-charts-button-label, hsl(214, 90%, 52%));
974
- font-weight: normal;
975
- text-decoration: underline;
976
- }
977
-
978
- /* No-data module */
979
- :where([styled-mode]) .highcharts-no-data text {
980
- font-weight: normal;
981
- font-size: 1rem;
982
- fill: var(--vaadin-charts-secondary-label, hsla(214, 42%, 18%, 0.72));
983
- }
984
-
985
- /* Drag-panes module */
986
- :where([styled-mode]) .highcharts-axis-resizer {
987
- cursor: ns-resize;
988
- stroke: black;
989
- stroke-width: 2px;
990
- }
991
-
992
- /* Bullet type series */
993
- :where([styled-mode]) .highcharts-bullet-target {
994
- stroke-width: 0;
995
- }
996
-
997
- /* Lineargauge type series */
998
- :where([styled-mode]) .highcharts-lineargauge-target {
999
- stroke-width: 1px;
1000
- stroke: var(--vaadin-charts-contrast-60pct, hsla(214, 43%, 19%, 0.61));
1001
- }
1002
-
1003
- :where([styled-mode]) .highcharts-lineargauge-target-line {
1004
- stroke-width: 1px;
1005
- stroke: var(--vaadin-charts-contrast-60pct, hsla(214, 43%, 19%, 0.61));
1006
- }
1007
-
1008
- /* Annotations module */
1009
- :where([styled-mode]) .highcharts-annotation-label-box {
1010
- stroke-width: 1px;
1011
- stroke: var(--vaadin-charts-contrast, hsl(214, 35%, 15%));
1012
- fill: var(--vaadin-charts-contrast, hsl(214, 35%, 15%));
1013
- fill-opacity: 0.75;
1014
- }
1015
-
1016
- :where([styled-mode]) .highcharts-annotation-label text {
1017
- fill: var(--vaadin-charts-disabled-label, hsla(214, 50%, 22%, 0.26));
1018
- }
1019
-
1020
- /* Gantt */
1021
- :where([styled-mode]) .highcharts-treegrid-node-collapsed,
1022
- :where([styled-mode]) .highcharts-treegrid-node-expanded {
1023
- cursor: pointer;
1024
- }
1025
-
1026
- :where([styled-mode]) .highcharts-point-connecting-path {
1027
- fill: none;
1028
- }
1029
-
1030
- :where([styled-mode]) .highcharts-grid-axis .highcharts-tick {
1031
- stroke-width: 1px;
1032
- }
1033
-
1034
- :where([styled-mode]) .highcharts-grid-axis .highcharts-axis-line {
1035
- stroke-width: 1px;
1036
- }
1037
-
1038
- /* Workaround for https://github.com/highcharts/highcharts/issues/22490 */
1039
- :where([styled-mode]) .highcharts-gantt-series .highcharts-partfill-overlay {
1040
- fill: hsla(0, 0%, 0%, 0.3);
1041
- stroke: hsla(0, 0%, 0%, 0.3);
1042
- }
1043
-
1044
- /* RTL styles */
1045
- :host([dir='rtl']) :where([styled-mode]) .highcharts-container {
1046
- text-align: right;
1047
- }
1048
-
1049
- :host([dir='rtl']) :where([styled-mode]) input.highcharts-range-selector {
1050
- left: auto;
1051
- right: -9em;
1052
- }
1053
-
1054
- :host([dir='rtl']) :where([styled-mode]) .highcharts-menu {
1055
- box-shadow: -3px 3px 10px #888;
1056
- }
1057
-
1058
- /* https://github.com/highcharts/highcharts/issues/16282 */
1059
- /* without this the resize callback always calls __reflow */
1060
- ul[aria-hidden='false'] {
1061
- margin: 0;
1062
- }
1063
- `;