Skip to content

Commit

Permalink
fix styles on current, prevStory polygons
Browse files Browse the repository at this point in the history
  • Loading branch information
bgschiller committed Aug 31, 2017
1 parent 01f19b0 commit 656a18e
Showing 1 changed file with 22 additions and 13 deletions.
35 changes: 22 additions & 13 deletions src/scss/partials/d3.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 656a18e

Please sign in to comment.