Remove unused CSS

* The `gender-and-channel` class isn't use since commit e3063cd24f
* The `first-comment` class added in commit e5fb90f954 was never used
* The `additional-info` class added in commit d47ce39b37 was never used
* The `title-quote` class isn't use since commit f317514258
* The `big-number` class added in commit aa1ed87725 was never used
* The `big-number-stat` class isn't used since commit cf32dcd6d5
* The `budget-investment-amount` and `budget-investment-description`
classes added in commit 4ade8325d7 were never used
* The `debate-quiz` class isn't use since commit d679c1eb79
* The `enquiries-list` class isn't use since commit 6aa96c4471
* The `investment-project-content` class isn't use since commit d0b8fef6b3
* The `leave-comment` class isn't use since commit ff6285d114
* The `poll-question-show` class isn't use since commit 8277e3cc2b
* The `questions-callout` class isn't use since commit ddf8d5f811
* The `budget-investments-inner` class isn't used since commit c6a9ffc19
* The `map-attributtion` class isn't use since commit 5a09b79da4
* The `postfix` class isn't use since commit 3752f3a53b
* The `translation-locale` added in commit a6e8fecc16 was never used
* The `changes-link`, `comment-advice`, `show-comments` and `comment-votes-number`
classes aren't use since commit d679c1eb79
This commit is contained in:
taitus
2025-01-15 16:59:03 +01:00
parent d84044cd73
commit e094dc17d6
7 changed files with 5 additions and 221 deletions

View File

@@ -30,12 +30,4 @@
ul li { ul li {
margin-bottom: 0; margin-bottom: 0;
} }
.comments {
.first-comment {
margin-bottom: $line-height;
margin-top: $line-height;
}
}
} }

View File

@@ -560,10 +560,6 @@
display: inline; display: inline;
} }
.title-quote {
display: inline-block;
}
.poster-footer { .poster-footer {
border-left: 2px solid $border; border-left: 2px solid $border;
color: $text-medium; color: $text-medium;
@@ -646,11 +642,6 @@
font-size: rem-calc(45); font-size: rem-calc(45);
margin-bottom: $line-height * 2; margin-bottom: $line-height * 2;
} }
.title-quote {
display: inline-block;
font-size: rem-calc(50);
}
} }
.poster-footer { .poster-footer {

View File

@@ -153,10 +153,6 @@ button,
color: $color-alert; color: $color-alert;
} }
.postfix.button {
padding: 0;
}
.clear { .clear {
clear: both; clear: both;
} }
@@ -1017,10 +1013,6 @@ form {
} }
} }
.translation-locale {
padding-top: $line-height;
}
// 07. Callout // 07. Callout
// ----------- // -----------
@@ -1286,22 +1278,12 @@ form {
width: 14px; width: 14px;
} }
} }
.map-attributtion {
height: auto;
visibility: visible;
}
} }
.map-marker { .map-marker {
visibility: hidden; visibility: hidden;
} }
.map-attributtion {
height: 0;
visibility: hidden;
}
// 10. Officials levels // 10. Officials levels
// -------------------- // --------------------
@@ -1959,8 +1941,7 @@ table {
} }
.debates-inner, .debates-inner,
.proposals-inner, .proposals-inner {
.budget-investments-inner {
max-height: rem-calc(350); max-height: rem-calc(350);
@include breakpoint(small) { @include breakpoint(small) {
@@ -2000,8 +1981,7 @@ table {
} }
.debates-inner, .debates-inner,
.proposals-inner, .proposals-inner {
.budget-investments-inner {
border: 1px solid $border; border: 1px solid $border;
margin-right: $line-height; margin-right: $line-height;
max-height: rem-calc(500); max-height: rem-calc(500);

View File

@@ -556,19 +556,6 @@
.calc-text { .calc-text {
border-right: 0; border-right: 0;
.show-comments {
background: #fafafa;
border: 1px solid $border;
margin-bottom: rem-calc(16);
padding: rem-calc(4) rem-calc(40) rem-calc(4) rem-calc(4);
width: 105%;
p {
margin-bottom: 0;
}
}
} }
.calc-comments { .calc-comments {
@@ -627,26 +614,6 @@
margin-top: rem-calc(16); margin-top: rem-calc(16);
padding-bottom: rem-calc(64); padding-bottom: rem-calc(64);
.comment-advice {
background: #dfdfdf;
border-left: 1px solid #d0d0d0;
border-right: 1px solid #d0d0d0;
border-top: 1px solid #d0d0d0;
display: inline-block;
font-size: $small-font-size;
padding: rem-calc(8);
width: 100%;
.icon-proposals {
color: #838383;
}
a {
color: #87a3b9;
text-decoration: underline;
}
}
textarea { textarea {
border-bottom: 1px solid #d0d0d0; border-bottom: 1px solid #d0d0d0;
border-left: 1px solid #d0d0d0; border-left: 1px solid #d0d0d0;
@@ -710,16 +677,6 @@
color: #838383; color: #838383;
display: inline-block; display: inline-block;
float: right; float: right;
.comment-votes-number {
display: inline-block;
margin-right: rem-calc(4);
&::after {
content: "|";
margin-left: rem-calc(4);
}
}
} }
} }
} }
@@ -746,37 +703,6 @@
} }
} }
} }
.changes-link {
display: block;
font-size: $small-font-size;
margin-left: rem-calc(16);
@include breakpoint(medium) {
display: inline-block;
}
a {
span {
text-decoration: underline;
}
.icon-external {
color: #999;
line-height: 0;
margin-left: rem-calc(8);
text-decoration: none;
vertical-align: sub;
}
&:active,
&:focus,
&:hover {
text-decoration: none;
}
}
}
} }
// 07. Legislation comments // 07. Legislation comments

View File

@@ -60,10 +60,6 @@
@include brand-color; @include brand-color;
} }
.additional-info {
margin-bottom: $line-height;
}
a:not(.button) { a:not(.button) {
text-decoration: underline; text-decoration: underline;
} }

View File

@@ -161,10 +161,8 @@
.debate-show, .debate-show,
.proposal-show, .proposal-show,
.poll-question-show,
.budget-investment-show, .budget-investment-show,
.polls-show, .polls-show,
.debate-quiz,
.draft-panels, .draft-panels,
.debate-questions, .debate-questions,
.communities-show, .communities-show,
@@ -305,11 +303,6 @@
@include supports; @include supports;
} }
.leave-comment {
display: inline-block;
margin-top: rem-calc(24);
}
.tags { .tags {
@extend %tags; @extend %tags;
} }
@@ -499,7 +492,6 @@
.debate-content, .debate-content,
.proposal-content, .proposal-content,
.investment-project-content,
.budget-investment-content { .budget-investment-content {
margin: 0; margin: 0;
min-height: rem-calc(180); min-height: rem-calc(180);
@@ -560,8 +552,7 @@
.debate-description, .debate-description,
.proposal-description, .proposal-description,
.investment-project-description, .investment-project-description {
.budget-investment-description {
font-size: rem-calc(13); font-size: rem-calc(13);
height: rem-calc(72); height: rem-calc(72);
line-height: $line-height; line-height: $line-height;
@@ -652,8 +643,7 @@
.supports { .supports {
.investment-project-amount, .investment-project-amount {
.budget-investment-amount {
color: $budget; color: $budget;
font-size: rem-calc(20); font-size: rem-calc(20);
font-weight: bold; font-weight: bold;
@@ -875,8 +865,7 @@
// ------------ // ------------
.featured-debates, .featured-debates,
.featured-proposals, .featured-proposals {
.enquiries-list {
padding: calc($line-height / 2) 0; padding: calc($line-height / 2) 0;
@include breakpoint(medium) { @include breakpoint(medium) {
@@ -1158,19 +1147,7 @@
} }
} }
.big-number {
color: $budget;
font-size: rem-calc(60);
line-height: rem-calc(120);
@include breakpoint(large) {
font-size: rem-calc(90);
line-height: rem-calc(240);
}
}
.ballot { .ballot {
h2, h2,
h3 { h3 {
font-weight: normal; font-weight: normal;
@@ -1278,16 +1255,6 @@
@include full-width-background; @include full-width-background;
background: $highlight; background: $highlight;
} }
.big-number-stat {
font-size: rem-calc(60);
font-weight: bold;
line-height: rem-calc(60);
&.budget {
color: $budget;
}
}
} }
// 07. Proposals successful // 07. Proposals successful
@@ -1470,10 +1437,6 @@
position: relative; position: relative;
} }
.questions-callout {
font-size: $base-font-size;
}
.section-title-divider { .section-title-divider {
border-bottom: 1px solid #eee; border-bottom: 1px solid #eee;
margin: $line-height 0; margin: $line-height 0;

View File

@@ -107,70 +107,6 @@
border-bottom-left-radius: rem-calc(20); border-bottom-left-radius: rem-calc(20);
border-top-left-radius: rem-calc(20); border-top-left-radius: rem-calc(20);
} }
.gender-and-channel {
thead,
tbody {
border: 0;
}
thead,
tr,
th {
background-color: transparent;
}
td,
th {
text-align: center;
text-transform: uppercase;
&::before {
display: inline-block;
transform: scale(0.6);
vertical-align: middle;
}
}
th {
font-size: rem-calc(21);
font-weight: bold;
&.gender {
opacity: 0;
}
&.web::before {
content: image-url("stats_web.png");
}
&.booth::before {
content: image-url("stats_booth.png");
}
&.mail::before {
content: image-url("stats_mail.png");
}
}
td {
&.gender {
font-size: rem-calc(21);
font-weight: bold;
text-align: left;
}
&.male::before {
content: image-url("stats_man.png");
}
&.female::before {
content: image-url("stats_woman.png");
}
}
}
} }
.stats-numbers { .stats-numbers {