Merge branch 'master' into ui/tooltips

This commit is contained in:
luisgov
2018-08-13 15:05:08 -04:00
committed by GitHub
57 changed files with 1021 additions and 208 deletions

View File

@@ -17,6 +17,7 @@
@import 'elements/labels';
@import 'elements/diff';
@import 'elements/tooltip';
@import 'elements/kpi';
@import 'components/topbar';
@import 'components/global_layout';

View File

@@ -79,7 +79,7 @@
margin-left: $gap;
}
}
.usa-input__title {
display: flex;
align-items: center;
@@ -90,7 +90,7 @@
margin-left: $gap/2;
}
}
.usa-input__help {
@include h4;
font-weight: normal;

25
styles/elements/_kpi.scss Normal file
View File

@@ -0,0 +1,25 @@
.kpi {
margin-bottom: $gap;
.kpi__item {
@include panel-base;
text-align: center;
margin: $gap;
padding: $gap * 2;
&:first-child {
margin-left: -$gap;
}
&:last-child {
margin-right: -$gap;
}
}
.kpi__item__value {
@include h1;
padding-bottom: $gap / 2;
}
}

View File

@@ -29,6 +29,19 @@
}
}
@mixin panel-row {
@include grid-row;
.col {
margin: 0 $site-margins-mobile * 2;
@include media($medium-screen) {
margin: 0 $site-margins * 2;
}
}
}
@mixin panel-actions {
padding: $gap;
}