cs-2022-class-profile/components/PieChart.module.css

26 lines
358 B
CSS
Raw Normal View History

2022-06-18 22:35:39 -04:00
.piePath {
2022-07-27 23:27:09 -04:00
fill: var(--tertiary-background);
}
2022-06-18 22:35:39 -04:00
.labelPath {
2022-07-27 23:27:09 -04:00
fill-opacity: 0;
2022-06-18 22:35:39 -04:00
}
.pieText,
.labelText {
2022-07-06 19:44:48 -04:00
fill: var(--label);
2022-06-18 20:55:04 -04:00
font-weight: 800;
2022-06-18 22:35:39 -04:00
}
.pieText {
display: none;
2022-06-18 20:46:00 -04:00
}
2022-07-27 23:27:09 -04:00
.group:hover > .piePath {
2022-07-06 19:44:48 -04:00
fill: var(--primary-accent);
2022-08-09 18:00:22 -04:00
filter: drop-shadow(0px 0px calc(6rem / 16) var(--primary-accent));
2022-06-18 20:46:00 -04:00
}
2022-08-09 18:00:22 -04:00
.group:hover .pieText {
display: inline;
}