-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2540 from fedspendingtransparency/qat
Sprint 131 Production Deployment (Agency Stats π π π )
- Loading branch information
Showing
89 changed files
with
1,814 additions
and
2,410 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
.fy-summary { | ||
padding-top: rem(50); | ||
.fy-summary__heading { | ||
font-size: rem(14); | ||
line-height: rem(16); | ||
margin: 0; | ||
@include media($medium-screen) { // Desktop | ||
font-size: rem(18); | ||
font-weight: $font-semibold; | ||
line-height: rem(23); | ||
} | ||
} | ||
hr { | ||
height: rem(1); | ||
background-color: $color-gray-light; | ||
margin-top: rem(5); | ||
} | ||
.fy-summary__row { // Desktop | ||
@include display(flex); | ||
padding: rem(30) 0 rem(22); | ||
.fy-summary__col { | ||
@include flex (1 1 25%); | ||
padding: 0 rem(10); | ||
border-right: solid rem(1) $color-gray-lighter; | ||
&:first-of-type { | ||
padding-left: 0; | ||
} | ||
&:last-of-type { | ||
padding-right: 0; | ||
border-right: 0; | ||
} | ||
} | ||
} | ||
.usa-dt-carousel { // Mobile | ||
padding-top: rem(25); | ||
} | ||
@import './visualizationSection'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
src/_scss/pages/agencyV2/overview/_visualizationSection.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
.visualization-section { | ||
text-align: center; | ||
height: 100%; | ||
.visualization-section__subtitle { | ||
padding-bottom: rem(8); | ||
} | ||
.visualization-section__data { | ||
font-size: rem(27); | ||
font-weight: $font-semibold; | ||
line-height: rem(34); | ||
padding-bottom: rem(5); | ||
} | ||
.visualization-section__secondary-data { | ||
font-size: $small-font-size; | ||
padding-bottom: rem(12); | ||
} | ||
.visualization-section__viz-wrapper { | ||
height: rem(208); | ||
@include display(flex); | ||
@include align-items(center); | ||
@include justify-content(center); | ||
/* TODO - remove placeholder styling once all four | ||
visualizations are implemented */ | ||
.viz-placeholder { | ||
padding: rem(40) 0; | ||
} | ||
} | ||
.visualization-section__label { | ||
padding-top: rem(15); | ||
} | ||
@include media($medium-screen) { | ||
// Desktop | ||
.visualization-section__data { | ||
font-size: rem(30); | ||
line-height: rem(38); | ||
padding-bottom: rem(10); | ||
} | ||
} | ||
} |
39 changes: 39 additions & 0 deletions
39
src/_scss/pages/agencyV2/visualizations/_totalObligationsOverTime.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
.total-obligations-over-time-visualization-container { | ||
.usda-message { | ||
padding: 0; | ||
margin-bottom: rem(100); | ||
} | ||
.total-obligations-over-time-svg { | ||
.total-obligations-over-time-svg-body { | ||
.paths { | ||
.path { | ||
stroke: $color-cool-blue; | ||
stroke-width: 1; | ||
fill: none; | ||
} | ||
.area-path { | ||
fill: $color-cool-blue-lightest; | ||
&.jon { | ||
stroke: $color-cool-blue; | ||
stroke-width: 1; | ||
fill: none; | ||
} | ||
} | ||
} | ||
.total-obligations-over-time-svg-axis { | ||
line { | ||
stroke: $color-gray-light; | ||
stroke-width: 1; | ||
} | ||
.x-axis { | ||
.x-axis-labels { | ||
text { | ||
font-size: rem(14); | ||
text-anchor: middle; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
.usa-da-data-dictionary-page { | ||
@import 'all'; | ||
@import 'layouts/default/default'; | ||
@import 'layouts/default/stickyHeader/header'; | ||
|
||
#main-content { | ||
@import '../../mixins/fullSectionWrap'; | ||
@import '../../components/pageLoading'; | ||
@include fullSectionWrap(($global-mrg * 2), ($global-mrg * 2)); | ||
|
||
background-color: $color-white; | ||
box-shadow: $container-shadow; | ||
border-top: 1px solid $color-gray-border; | ||
border-right: 1px solid $color-gray-border; | ||
border-bottom: 1px solid $color-gray-border; | ||
padding: rem(30) rem(20); | ||
|
||
.data-dictionary { | ||
@include media($medium-screen) { | ||
padding: 0 rem(30); | ||
} | ||
.data-dictionary__title { | ||
margin-top: 0; | ||
font-weight: 400; | ||
} | ||
.data-dictionary__intro { | ||
font-size: $small-font-size; | ||
} | ||
.data-dictionary__search-download { | ||
@include display(flex); | ||
@include justify-content(space-between); | ||
} | ||
.data-dictionary__download { | ||
@include align-self(center); | ||
padding-bottom: rem(5); | ||
.data-dictionary__download-link { | ||
@include display(flex); | ||
@include align-items(center); | ||
.data-dictionary__download-icon { | ||
@include display(flex); | ||
@include flex(0 0 auto); | ||
height: rem(15); | ||
width: rem(15); | ||
padding-right: rem(5); | ||
.usa-da-spreadsheet { | ||
height: rem(15); | ||
width: rem(15); | ||
} | ||
} | ||
font-size: $small-font-size; | ||
} | ||
} | ||
|
||
.data-dictionary__table-wrapper { | ||
@import './_dictionaryTable'; | ||
} | ||
@import './_searchBar'; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,4 +22,8 @@ | |
|
||
@import "./_disclaimer"; | ||
@import "./_message"; | ||
@import 'components/Note'; | ||
.default-note { | ||
padding-top: 0; | ||
} | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import { apiRequest } from '../helpers/apiRequest'; | ||
|
||
export const fetchDataDictionary = () => apiRequest({ | ||
url: 'v2/references/data_dictionary/' | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.