Files
kredits-web/app/styles/components/_proposal-list.scss
T
basti 32714efeb9 Improve layout a bit.
WIP, because this is not ideal. But now it's readable at least.
2018-06-16 17:12:53 +02:00

73 lines
1.3 KiB
SCSS

ul.proposal-list {
clear: both;
width: 100%;
list-style: none;
li {
display: block;
padding: 1rem 1.2rem;
background-color: rgba(255,255,255,0.1);
font-size: 1.2rem;
border-bottom: 1px solid rgba(255,255,255,0.2);
&:first-of-type {
border-top: 1px solid rgba(255,255,255,0.2);
}
p {
margin: 0;
font-size: inherit;
line-height: 2rem;
&.meta {
margin-bottom: 0.5rem;
}
// &.description {
// line-height: 2rem;
// }
}
span {
font-size: inherit;
}
.description {
line-height: 1.4em;
}
.category {
color: $blue;
padding-right: 0.2rem;
&.community { color: $red; }
&.dev { color: $pink; }
&.design { color: $yellow; }
&.docs { color: $green; }
&.ops { color: $purple; }
}
.amount {
font-weight: 500;
}
.symbol {
font-size: 1rem;
font-weight: 500;
padding-left: 0.2rem;
}
.recipient {
font-weight: 500;
}
.votes {
font-size: 1rem;
color: $primaryColor;
padding-left: 0.5rem;
}
button {
float: right;
margin-top: 1.1rem;
height: 2rem;
line-height: 2rem;
padding: 0 0.6rem;
}
}
}