* The `gender-and-channel` class isn't use since commite3063cd24f* The `first-comment` class added in commite5fb90f954was never used * The `additional-info` class added in commitd47ce39b37was never used * The `title-quote` class isn't use since commitf317514258* The `big-number` class added in commitaa1ed87725was never used * The `big-number-stat` class isn't used since commitcf32dcd6d5* The `budget-investment-amount` and `budget-investment-description` classes added in commit4ade8325d7were never used * The `debate-quiz` class isn't use since commitd679c1eb79* The `enquiries-list` class isn't use since commit6aa96c4471* The `investment-project-content` class isn't use since commitd0b8fef6b3* The `leave-comment` class isn't use since commitff6285d114* The `poll-question-show` class isn't use since commit8277e3cc2b* The `questions-callout` class isn't use since commitddf8d5f811* The `budget-investments-inner` class isn't used since commitc6a9ffc19* The `map-attributtion` class isn't use since commit5a09b79da4* The `postfix` class isn't use since commit3752f3a53b* The `translation-locale` added in commita6e8fecc16was never used * The `changes-link`, `comment-advice`, `show-comments` and `comment-votes-number` classes aren't use since commitd679c1eb79
163 lines
2.7 KiB
SCSS
163 lines
2.7 KiB
SCSS
.participation-stats {
|
|
|
|
@include breakpoint(medium) {
|
|
|
|
.stats-content {
|
|
border-left: 1px solid $border;
|
|
}
|
|
}
|
|
|
|
.sidebar {
|
|
border-bottom: 1px solid $border;
|
|
margin-bottom: $line-height;
|
|
|
|
@include breakpoint(medium) {
|
|
border-bottom: 0;
|
|
}
|
|
|
|
ul {
|
|
margin-left: calc($line-height / 2);
|
|
margin-top: 0;
|
|
padding: 0;
|
|
}
|
|
}
|
|
|
|
.section-title {
|
|
border-bottom: 1px solid $border;
|
|
font-size: rem-calc(24);
|
|
}
|
|
|
|
.stats-group {
|
|
margin-bottom: $line-height;
|
|
margin-top: $line-height;
|
|
}
|
|
|
|
.number-with-info {
|
|
display: inline-block;
|
|
|
|
&::before {
|
|
display: inline-block;
|
|
margin-right: calc($line-height / 2);
|
|
vertical-align: top;
|
|
}
|
|
|
|
&.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");
|
|
}
|
|
|
|
&.total-investments::before {
|
|
content: image-url("stats_investments.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(36);
|
|
font-weight: bold;
|
|
line-height: rem-calc(36);
|
|
}
|
|
|
|
.info {
|
|
color: $text-medium;
|
|
font-size: $small-font-size;
|
|
font-style: italic;
|
|
}
|
|
|
|
&.total-participants {
|
|
|
|
.number {
|
|
font-size: rem-calc(60);
|
|
line-height: rem-calc(60);
|
|
}
|
|
}
|
|
}
|
|
|
|
.progress {
|
|
background: #ebf0f4;
|
|
border-radius: rem-calc(20);
|
|
height: calc($line-height / 2);
|
|
}
|
|
|
|
.progress-meter {
|
|
background: #52a4ee;
|
|
border-bottom-left-radius: rem-calc(20);
|
|
border-top-left-radius: rem-calc(20);
|
|
}
|
|
}
|
|
|
|
.stats-numbers {
|
|
p {
|
|
color: $text-medium;
|
|
font-size: rem-calc(13);
|
|
padding: rem-calc(6);
|
|
text-transform: uppercase;
|
|
|
|
&.featured {
|
|
background: $info-bg;
|
|
border: 1px solid $info-border;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.number {
|
|
color: $body-font-color;
|
|
font-size: rem-calc(30);
|
|
font-weight: bold;
|
|
}
|
|
}
|
|
}
|
|
|
|
table {
|
|
|
|
&.survey-districts {
|
|
|
|
@include breakpoint(medium down) {
|
|
thead {
|
|
font-size: rem-calc(12);
|
|
|
|
th {
|
|
width: 25%;
|
|
word-break: break-all;
|
|
}
|
|
}
|
|
}
|
|
|
|
tr th {
|
|
border: 1px solid $border;
|
|
text-align: center;
|
|
}
|
|
|
|
.phase-subheader {
|
|
font-size: rem-calc(11);
|
|
font-weight: normal;
|
|
}
|
|
|
|
.success {
|
|
background: #c1fdd2;
|
|
}
|
|
}
|
|
}
|