|
48 | 48 | stroke: var(--salt-category-10-subtle-borderColor); |
49 | 49 | } |
50 | 50 |
|
| 51 | +.highcharts-theme-salt .highcharts-color-10 { |
| 52 | + fill: var(--salt-category-11-bold-background); |
| 53 | + stroke: var(--salt-category-11-subtle-borderColor); |
| 54 | +} |
| 55 | + |
| 56 | +.highcharts-theme-salt .highcharts-color-11 { |
| 57 | + fill: var(--salt-category-12-bold-background); |
| 58 | + stroke: var(--salt-category-12-subtle-borderColor); |
| 59 | +} |
| 60 | + |
| 61 | +.highcharts-theme-salt .highcharts-color-12 { |
| 62 | + fill: var(--salt-category-13-bold-background); |
| 63 | + stroke: var(--salt-category-13-subtle-borderColor); |
| 64 | +} |
| 65 | + |
| 66 | +.highcharts-theme-salt .highcharts-color-13 { |
| 67 | + fill: var(--salt-category-14-bold-background); |
| 68 | + stroke: var(--salt-category-14-subtle-borderColor); |
| 69 | +} |
| 70 | + |
| 71 | +.highcharts-theme-salt .highcharts-color-14 { |
| 72 | + fill: var(--salt-category-15-bold-background); |
| 73 | + stroke: var(--salt-category-15-subtle-borderColor); |
| 74 | +} |
| 75 | + |
| 76 | +.highcharts-theme-salt .highcharts-color-15 { |
| 77 | + fill: var(--salt-category-16-bold-background); |
| 78 | + stroke: var(--salt-category-16-subtle-borderColor); |
| 79 | +} |
| 80 | + |
| 81 | +.highcharts-theme-salt .highcharts-color-16 { |
| 82 | + fill: var(--salt-category-17-bold-background); |
| 83 | + stroke: var(--salt-category-17-subtle-borderColor); |
| 84 | +} |
| 85 | + |
| 86 | +.highcharts-theme-salt .highcharts-color-17 { |
| 87 | + fill: var(--salt-category-18-bold-background); |
| 88 | + stroke: var(--salt-category-18-subtle-borderColor); |
| 89 | +} |
| 90 | + |
| 91 | +.highcharts-theme-salt .highcharts-color-18 { |
| 92 | + fill: var(--salt-category-19-bold-background); |
| 93 | + stroke: var(--salt-category-19-subtle-borderColor); |
| 94 | +} |
| 95 | + |
| 96 | +.highcharts-theme-salt .highcharts-color-19 { |
| 97 | + fill: var(--salt-category-20-bold-background); |
| 98 | + stroke: var(--salt-category-20-subtle-borderColor); |
| 99 | +} |
| 100 | + |
| 101 | +.highcharts-theme-salt .highcharts-container { |
| 102 | + font-family: var(--salt-text-fontFamily); |
| 103 | +} |
| 104 | + |
51 | 105 | .highcharts-theme-salt .highcharts-grid-line { |
52 | 106 | stroke: var(--salt-separable-tertiary-borderColor); |
53 | 107 | } |
|
70 | 124 |
|
71 | 125 | /* Deselected legend state, requires !important to override default styles, which also use !important */ |
72 | 126 | .highcharts-theme-salt .highcharts-legend-item-hidden * { |
73 | | - stroke: revert !important; |
74 | 127 | fill: revert !important; |
75 | 128 | opacity: 0.2; |
76 | 129 | } |
77 | 130 |
|
| 131 | +/* Unset stroke for the path in a line series legend - specific to line chart and isolated as it adds incorrect stroke to pie chart legend */ |
| 132 | +.highcharts-theme-salt .highcharts-line-series.highcharts-legend-item-hidden path { |
| 133 | + stroke: revert !important; |
| 134 | +} |
| 135 | + |
| 136 | +/* Maintain full opacity on legend items during hover. Only reduce opacity when item is hidden */ |
| 137 | +.highcharts-theme-salt .highcharts-legend-series-active .highcharts-legend-item:not(.highcharts-legend-item-hidden) *, |
| 138 | +.highcharts-theme-salt .highcharts-legend-point-active .highcharts-legend-item:not(.highcharts-legend-item-hidden) * { |
| 139 | + opacity: 1; |
| 140 | +} |
| 141 | + |
78 | 142 | .highcharts-theme-salt .highcharts-legend-item > text, |
79 | 143 | .highcharts-theme-salt .highcharts-legend-item span { |
80 | 144 | fill: var(--salt-content-secondary-foreground); |
|
117 | 181 | fill: var(--salt-content-secondary-foreground-disabled); |
118 | 182 | } |
119 | 183 |
|
| 184 | +.highcharts-theme-salt circle.highcharts-legend-nav-active, |
| 185 | +.highcharts-theme-salt circle.highcharts-legend-nav-inactive { |
| 186 | + fill: transparent; |
| 187 | +} |
| 188 | + |
120 | 189 | .highcharts-theme-salt text.highcharts-legend-navigation { |
121 | 190 | fill: var(--salt-content-secondary-foreground); |
122 | 191 | font-weight: var(--salt-text-label-fontWeight); |
|
125 | 194 | font-family: var(--salt-text-label-fontFamily); |
126 | 195 | } |
127 | 196 |
|
| 197 | +/* Override default stroke for line chart data series hover point circle */ |
128 | 198 | .highcharts-theme-salt .highcharts-point { |
129 | 199 | stroke: var(--salt-color-white); |
130 | 200 | } |
| 201 | + |
| 202 | +/* Override default stroke for pie chart segment border */ |
| 203 | +.highcharts-theme-salt .highcharts-pie-series .highcharts-point { |
| 204 | + stroke: var(--salt-container-primary-background); |
| 205 | +} |
| 206 | + |
| 207 | +/* Data connector line for Donut/Pie chart */ |
| 208 | +.highcharts-theme-salt .highcharts-data-label-connector { |
| 209 | + fill: none; |
| 210 | +} |
| 211 | + |
| 212 | +/* Removes extra hover style for Donut/Pie */ |
| 213 | +.highcharts-theme-salt .highcharts-halo { |
| 214 | + display: none; |
| 215 | +} |
| 216 | + |
| 217 | +/* Reduces opacity of deselected segments for Donut/Pie */ |
| 218 | +.highcharts-theme-salt .highcharts-point-inactive { |
| 219 | + opacity: 0.25; |
| 220 | +} |
0 commit comments