Note we currently don't have a way to get the votes by mail, so that section is always blank.
85 lines
1.4 KiB
SCSS
85 lines
1.4 KiB
SCSS
.participation-stats {
|
|
|
|
.sidebar {
|
|
border-right: 1px solid $border;
|
|
|
|
ul {
|
|
margin-left: $line-height / 2;
|
|
margin-top: 0;
|
|
padding: 0;
|
|
}
|
|
}
|
|
|
|
.section-title {
|
|
font-size: rem-calc(24);
|
|
border-bottom: 1px solid $border;
|
|
}
|
|
|
|
.stats-group {
|
|
margin-bottom: $line-height;
|
|
margin-top: $line-height;
|
|
}
|
|
|
|
.number-with-info {
|
|
display: inline-block;
|
|
|
|
&::before {
|
|
display: inline-block;
|
|
margin-right: $line-height / 2;
|
|
}
|
|
|
|
&.total-participants::before {
|
|
content: image-url('stats_users.png');
|
|
}
|
|
|
|
&.male::before {
|
|
content: image-url('stats_man.png');
|
|
}
|
|
|
|
&.female::before {
|
|
content: image-url('stats_woman.png');
|
|
}
|
|
|
|
&.web::before {
|
|
content: image-url('stats_web.png');
|
|
}
|
|
|
|
&.booth::before {
|
|
content: image-url('stats_booth.png');
|
|
}
|
|
|
|
&.mail::before {
|
|
content: image-url('stats_mail.png');
|
|
}
|
|
|
|
.content {
|
|
display: inline-block;
|
|
margin-right: $line-height * 2;
|
|
}
|
|
|
|
.number {
|
|
display: block;
|
|
font-size: rem-calc(60);
|
|
font-weight: bold;
|
|
line-height: rem-calc(60);
|
|
}
|
|
|
|
.info {
|
|
color: $text-medium;
|
|
font-style: italic;
|
|
}
|
|
}
|
|
|
|
.progress {
|
|
background: #ebf0f4;
|
|
border-radius: rem-calc(20);
|
|
height: $line-height / 2;
|
|
}
|
|
|
|
.progress-meter {
|
|
background: #52a4ee;
|
|
border-bottom-left-radius: rem-calc(20);
|
|
border-top-left-radius: rem-calc(20);
|
|
}
|
|
}
|