funding screen base styles

This commit is contained in:
Andrew Croce 2018-08-20 15:10:51 -04:00
parent 03bf7c9dc0
commit ca2db7b58f
2 changed files with 63 additions and 0 deletions

View File

@ -38,3 +38,4 @@
@import 'sections/projects_list';
@import 'sections/project_edit';
@import 'sections/member_edit';
@import 'sections/funding';

View File

@ -0,0 +1,62 @@
.funding-summary-row {
@include media($medium-screen) {
@include grid-row;
.funding-summary-row__col {
@include grid-pad;
flex-grow: 1;
.panel {
padding: $gap * 2;
&.spend-summary {
.row {
justify-content: space-between;
}
.spend-summary__heading {
@include h3;
margin: 0 $gap 0 0;
}
.spend-summary__budget {
margin: 0 0 0 $gap;
> div {
text-align: right;
margin: 0 0 ($gap / 2) 0;
dd, dt {
display: inline;
}
dt {
color: $color-gray;
margin-right: $gap;
font-weight: normal;
}
dd {
font-weight: bold;
}
}
}
meter {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
width: 100%;
height: 3rem;
display: block;
background: $color-gray-lightest;
}
meter::-webkit-meter-bar {
background: $color-primary;
}
}
}
}
}
}