use separate opacity css for Qt 5.9/Chromium 56
Fixes black area on alternate Mac build: https://forums.ankiweb.net/t/statistics-bug-line-graph-graphic/3745
This commit is contained in:
parent
1dd6fed0e5
commit
bbbd3e95c5
@ -4,13 +4,17 @@
|
|||||||
@use '../scss/core';
|
@use '../scss/core';
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
--area-fill: #00000008;
|
--area-fill: #000000;
|
||||||
--area-stroke: #00000015;
|
--area-fill-opacity: 0.03;
|
||||||
|
--area-stroke: #000000;
|
||||||
|
--area-stroke-opacity: 0.08;
|
||||||
}
|
}
|
||||||
|
|
||||||
:root[class*="night-mode"] {
|
:root[class*="night-mode"] {
|
||||||
--area-fill: #ffffff15;
|
--area-fill: #ffffff;
|
||||||
--area-stroke: #00000030;
|
--area-fill-opacity: 0.08;
|
||||||
|
--area-stroke: #000000;
|
||||||
|
--area-stroke-opacity: 0.18;
|
||||||
}
|
}
|
||||||
|
|
||||||
.graph-tooltip {
|
.graph-tooltip {
|
||||||
@ -115,7 +119,9 @@
|
|||||||
.graph .area {
|
.graph .area {
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
fill: var(--area-fill);
|
fill: var(--area-fill);
|
||||||
|
fill-opacity: var(--area-fill-opacity);
|
||||||
stroke: var(--area-stroke);
|
stroke: var(--area-stroke);
|
||||||
|
stroke-opacity: var(--area-stroke-opacity);
|
||||||
}
|
}
|
||||||
|
|
||||||
.hoverzone rect {
|
.hoverzone rect {
|
||||||
|
Loading…
Reference in New Issue
Block a user