Skip to content

Commit

Permalink
Text edits + cleanups.
Browse files Browse the repository at this point in the history
  • Loading branch information
evoluteur committed Apr 26, 2024
1 parent 9d894cb commit 8493e54
Show file tree
Hide file tree
Showing 19 changed files with 5,507 additions and 5,030 deletions.
637 changes: 308 additions & 329 deletions css/madeleinology.css

Large diffs are not rendered by default.

112 changes: 58 additions & 54 deletions css/radar-chart.css
Original file line number Diff line number Diff line change
@@ -1,60 +1,64 @@
.radar-chart .level {
stroke: grey;
stroke-width: 0.5;
}
.radar-chart {
.level {
stroke: grey;
stroke-width: 0.5;
}

.radar-chart .axis line {
stroke: grey;
stroke-width: 1;
}
.radar-chart .axis .legend {
font-family: sans-serif;
font-size: 10px;
}
.radar-chart .axis .legend.top {
dy:1em;
}
.radar-chart .axis .legend.left {
text-anchor: start;
}
.radar-chart .axis .legend.middle {
text-anchor: middle;
}
.radar-chart .axis .legend.right {
text-anchor: end;
}
.axis line {
stroke: grey;
stroke-width: 1;
}
.axis .legend {
font-family: sans-serif;
font-size: 10px;
}
.axis .legend.top {
dy: 1em;
}
.axis .legend.left {
text-anchor: start;
}
.axis .legend.middle {
text-anchor: middle;
}
.axis .legend.right {
text-anchor: end;
}

.radar-chart .tooltip {
font-family: sans-serif;
font-size: 13px;
transition: opacity 200ms;
opacity: 0;
}
.radar-chart .tooltip.visible {
opacity: 1;
}
.tooltip {
font-family: sans-serif;
font-size: 13px;
transition: opacity 200ms;
opacity: 0;
}
.tooltip.visible {
opacity: 1;
}

/* area transition when hovering */
.radar-chart .area {
stroke-width: 2;
fill-opacity: 0.5;
}
.radar-chart.focus .area {
fill-opacity: 0.1;
}
.radar-chart.focus .area.focused {
fill-opacity: 0.7;
}
/* area transition when hovering */
.area {
stroke-width: 2;
fill-opacity: 0.5;
}
&.focus .area {
fill-opacity: 0.1;
}
&.focus .area.focused {
fill-opacity: 0.7;
}

.radar-chart .circle {
fill-opacity: 0.9;
}
.circle {
fill-opacity: 0.9;
}

/* transitions */
.radar-chart .area, .radar-chart .circle {
transition: opacity 300ms, fill-opacity 200ms;
opacity: 1;
/* transitions */
.area,
.circle {
transition: opacity 300ms, fill-opacity 200ms;
opacity: 1;
}
.d3-enter,
.d3-exit {
opacity: 0;
}
}
.radar-chart .d3-enter, .radar-chart .d3-exit {
opacity: 0;
}
Loading

0 comments on commit 8493e54

Please sign in to comment.