Merge pull request #4513 from consul/obsolete_colors

Remove unused CSS to set colors
This commit is contained in:
Javi Martín
2021-06-29 19:57:22 +02:00
committed by GitHub
5 changed files with 6 additions and 162 deletions

View File

@@ -116,6 +116,7 @@ $table-header: #ecf1f6;
}
.menu .menu-text {
padding: 0;
h1 {
margin-top: $line-height / 2;
@@ -133,12 +134,11 @@ $table-header: #ecf1f6;
}
a {
color: #000 !important;
line-height: $line-height !important;
@include breakpoint(medium) {
line-height: $line-height !important;
}
display: inline-block;
font-family: "Lato" !important;
font-size: rem-calc(24);
font-weight: lighter;
padding: 0;
}
}
@@ -194,11 +194,6 @@ $table-header: #ecf1f6;
&.with-button {
line-height: $line-height * 2;
.button {
@include brand-text;
background: #fff;
}
}
}
@@ -478,16 +473,6 @@ code {
font-size: $base-font-size;
}
.verified {
color: $check;
a {
border-bottom: 1px dotted $check;
color: $check;
font-size: rem-calc(12);
}
}
.archived {
color: $text-medium;
font-size: rem-calc(12);

View File

@@ -352,10 +352,6 @@
a {
@include brand-text;
~ a {
color: $text;
}
}
[class^="icon-"] {

View File

@@ -139,25 +139,6 @@ a {
}
}
.f-dropdown {
li a {
font-size: $small-font-size;
&:hover {
color: $link-hover;
}
}
li:hover,
.f-dropdown li:focus {
background: #fff;
}
&.open {
outline: none;
}
}
.margin {
margin-bottom: $line-height;
margin-top: $line-height;
@@ -569,33 +550,6 @@ body > header,
padding-right: rem-calc(15);
}
.menu .menu-text {
padding: 0;
a {
color: #fff;
display: inline-block;
font-family: "Lato" !important;
font-size: rem-calc(24);
font-weight: lighter;
line-height: $line-height * 2;
padding: 0;
@include breakpoint(medium) {
line-height: rem-calc(80);
margin-top: 0;
}
img {
@include breakpoint(medium) {
margin-right: $line-height / 2;
margin-top: 0;
}
}
}
}
.menu > li {
display: block;
width: 100%;
@@ -629,7 +583,6 @@ body > header,
.has-submenu {
&.is-active a {
color: #fff;
font-weight: bold;
}
}
@@ -704,7 +657,6 @@ body > header,
.top-links {
background: $dark;
color: #fff;
font-size: $small-font-size;
padding-right: $line-height / 2;
@@ -873,7 +825,6 @@ body > header,
// ----------
footer {
color: $text;
.logo a {
font-family: "Lato" !important;

View File

@@ -149,7 +149,6 @@
}
.percentage {
color: $text;
font-size: $tiny-font-size;
position: absolute;
right: 6px;
@@ -180,7 +179,6 @@
}
.total-supports {
color: $text;
display: block;
font-weight: bold;
text-align: center;
@@ -720,7 +718,6 @@
.proposal-description,
.investment-project-description,
.budget-investment-description {
color: $text;
font-size: rem-calc(13);
height: rem-calc(72);
line-height: $line-height;
@@ -742,10 +739,6 @@
position: absolute;
width: 100%;
}
p {
color: $text;
}
}
.divider {
@@ -1235,16 +1228,6 @@
margin-bottom: 0;
}
h1,
h2,
h3,
.back,
.icon-angle-left,
p,
a {
color: $text;
}
.tagline {
display: block;
font-size: $small-font-size;
@@ -1527,36 +1510,6 @@
// 07. Proposals successful
// -------------------------
.dark-heading {
background: #2d3e50;
color: #fff;
@include breakpoint(medium) {
padding-bottom: $line-height;
}
p {
&.title {
color: #ffd200;
}
&.title-date {
font-size: rem-calc(24);
font-weight: bold;
}
}
.info {
background: #314253;
padding-top: $line-height;
@include breakpoint(medium) {
border-top: rem-calc(6) solid #ffd200;
}
}
}
.successful .panel {
.icon-successful {
@@ -1607,21 +1560,6 @@
.polls-show-header {
background: #fafafa;
.callout {
&.warning a {
color: $color-warning;
}
&.primary a {
color: $color-info;
}
&.alert a {
color: $color-alert;
}
}
}
.poll-more-info,
@@ -1851,10 +1789,6 @@
h3 {
padding-top: $line-height;
a {
color: $text;
}
}
}
@@ -1895,18 +1829,6 @@
.polls-results-stats {
.sidebar {
.menu:not(.vertical) {
padding: 0;
li a {
color: $link;
line-height: $line-height;
}
}
}
table {
table-layout: fixed;

View File

@@ -201,15 +201,5 @@ table {
.success {
background: #c1fdd2;
}
.border-left-success {
background: #c1fdd2;
border-left: 2px solid #58ff87;
}
.border-right-success {
background: #c1fdd2;
border-right: 2px solid #58ff87;
}
}
}