diff --git a/scss/atat.scss b/scss/atat.scss index 85d20bd8..579c2260 100644 --- a/scss/atat.scss +++ b/scss/atat.scss @@ -6,8 +6,10 @@ @import 'base/buttons'; @import 'base/tables'; +@import 'components/site_action'; @import 'components/empty_state'; -@import 'sections/layout'; -@import 'sections/login'; - +@import 'sections/main'; +@import 'sections/navigation'; +@import 'sections/footer'; +@import 'sections/login'; \ No newline at end of file diff --git a/scss/base/_forms.scss b/scss/base/_forms.scss index e69de29b..31f2f705 100644 --- a/scss/base/_forms.scss +++ b/scss/base/_forms.scss @@ -0,0 +1,12 @@ +from { + margin-bottom: 3rem; +} + +.usa-date-input label { + margin-top: 0; +} + + +.input-label { + margin-top: 1rem; +} diff --git a/scss/base/_typography.scss b/scss/base/_typography.scss index 53184bac..943bd060 100644 --- a/scss/base/_typography.scss +++ b/scss/base/_typography.scss @@ -7,4 +7,12 @@ h1, h2, h3, h4, h5, h6 { left: 1rem; } +} + +h1 { + margin-top: 0.5em; +} + +label { + font-style: italic; } \ No newline at end of file diff --git a/scss/base/_variables.scss b/scss/base/_variables.scss index e69de29b..b5fc0d92 100644 --- a/scss/base/_variables.scss +++ b/scss/base/_variables.scss @@ -0,0 +1 @@ +$nav-width: 300px; \ No newline at end of file diff --git a/scss/components/_site_action.scss b/scss/components/_site_action.scss new file mode 100644 index 00000000..98af0b18 --- /dev/null +++ b/scss/components/_site_action.scss @@ -0,0 +1,15 @@ +.site-action { + border-bottom: 1px solid $color-gray-lightest; + display: block; + padding-top: 0.5rem; + padding-bottom: 0.5rem; + margin-top: 0.25rem; + + a { + font-size: 1.3rem; + text-transform: uppercase; + text-decoration: none; + color: $color-primary !important; + } + +} \ No newline at end of file diff --git a/scss/sections/_footer.scss b/scss/sections/_footer.scss new file mode 100644 index 00000000..58ac49ce --- /dev/null +++ b/scss/sections/_footer.scss @@ -0,0 +1,9 @@ +footer { + position: fixed; + bottom: 0; + width: 100%; + padding-top: 0.5rem; + padding-bottom: 1em; + background-color: $color-gray-lightest; + border-top: 1px solid $color-gray-lighter; +} \ No newline at end of file diff --git a/scss/sections/_layout.scss b/scss/sections/_layout.scss deleted file mode 100644 index 17fbbed7..00000000 --- a/scss/sections/_layout.scss +++ /dev/null @@ -1,17 +0,0 @@ -.content { - -} - -header { - -} - -section { - -} - -footer { - position: fixed; - bottom: 0; - width: 100%; -} \ No newline at end of file diff --git a/scss/sections/_main.scss b/scss/sections/_main.scss new file mode 100644 index 00000000..9fb92a24 --- /dev/null +++ b/scss/sections/_main.scss @@ -0,0 +1,3 @@ +section { + margin-bottom: 10rem; +} \ No newline at end of file diff --git a/scss/sections/_navigation.scss b/scss/sections/_navigation.scss new file mode 100644 index 00000000..02ed3b22 --- /dev/null +++ b/scss/sections/_navigation.scss @@ -0,0 +1,16 @@ +.usa-navbar { + height: 5rem; + width: 5%; +} + +.usa-nav { + padding-top: 1rem; + padding-left: 0; +} + +.usa-nav-primary { + + li:last-child { + padding-left: 3rem; + } +} \ No newline at end of file diff --git a/templates/base.html.to b/templates/base.html.to index d52ce5ec..2c99539c 100644 --- a/templates/base.html.to +++ b/templates/base.html.to @@ -13,11 +13,11 @@ {% include 'header.html.to' %} -