diff --git a/src/scss/partials/d3.scss b/src/scss/partials/d3.scss index 9b167c9a..7e757130 100644 --- a/src/scss/partials/d3.scss +++ b/src/scss/partials/d3.scss @@ -58,23 +58,32 @@ z-index: 3; pointer-events: all; stroke: $gray-light; - &.current { - stroke: $secondary; - stroke-width: 2px; - } - &.previousStory, &.guideLine { - fill-opacity: 0.3; - z-index: -1; - } &.domain { stroke: #fff; } - &.previousStory { - stroke-dasharray: 10; - stroke: $black; - stroke-width: 2; - } } + + .current { + polygon, rect, path { + stroke: $secondary; + stroke-width: 2px; + } + } + + .previousStory { + polygon, rect, path { + stroke-dasharray: 10; + stroke: $black; + stroke-width: 2; + } + } + .previousStory, .guideLine { + polygon, rect, path { + fill-opacity: 0.3; + z-index: -1; + } + } + rect.view { fill-opacity: 0; }