Use traditional marker shape for points (fixes #172)

This commit is contained in:
John Firebaugh
2013-03-14 11:21:58 -07:00
parent 468869c9c8
commit 364d93693b
4 changed files with 97 additions and 32 deletions
+12 -10
View File
@@ -29,12 +29,10 @@ use {
/* points */
g.point circle {
fill:#fff;
}
g.point image {
pointer-events: none;
g.point .stroke {
stroke: #444;
stroke-width: 1;
fill: #fff;
}
g.point .shadow {
@@ -44,13 +42,17 @@ g.point .shadow {
transition: transform 100ms linear;
-moz-transition: fill 100ms linear;
}
.behavior-hover g.point.hover:not(.selected) .shadow {
fill: #f6634f;
fill-opacity: 0.5;
stroke-width: 8;
stroke: #f6634f;
stroke-opacity: 0.5;
}
g.point.selected .shadow {
fill: #f6634f;
fill-opacity: 0.7;
stroke-width: 8;
stroke: #f6634f;
stroke-opacity: 0.7;
}
g.point.active, g.point.active * {