diff --git a/src/app/app.component.scss b/src/app/app.component.scss index 8b13789179..5a9b8df543 100644 --- a/src/app/app.component.scss +++ b/src/app/app.component.scss @@ -1 +1,18 @@ +// Sticky Footer +.outer-wrapper { + display: flex; + margin: 0; +} + +.inner-wrapper { + flex: 1 1 auto; + flex-flow: column nowrap; + display: flex; + min-height: 100vh; + flex-direction: column; +} + +.main-content { + flex: 1 0 auto; +} diff --git a/src/app/core/footer/footer.component.scss b/src/app/core/footer/footer.component.scss index 7bf635070e..697d24b8e7 100644 --- a/src/app/core/footer/footer.component.scss +++ b/src/app/core/footer/footer.component.scss @@ -1,11 +1,17 @@ @import '../../../styles/variables.scss'; +@import '../../../../node_modules/bootstrap/scss/_variables.scss'; + +$footer-bg: $gray-lighter; +$footer-border: 1px solid darken($footer-bg, 10%); +$footer-padding: $spacer * 1.5; .footer { - /* just for demo */ - background-color: #F8F8F8; - border-top: 1px solid #E7E7E7; + background-color: $footer-bg; + border-top: $footer-border; text-align:center; - padding:20px; - /* just for demo */ + padding: $footer-padding; + p { + margin: 0; + } } diff --git a/src/styles/main.scss b/src/styles/main.scss index 4b7fd3bf1a..a150af617b 100644 --- a/src/styles/main.scss +++ b/src/styles/main.scss @@ -8,22 +8,3 @@ html { position: relative; min-height: 100%; } - -// Sticky Footer - -.outer-wrapper { - display: flex; - margin: 0; -} - -.inner-wrapper { - flex: 1 1 auto; - flex-flow: column nowrap; - display: flex; - min-height: 100vh; - flex-direction: column; -} - -.main-content { - flex: 1 0 auto; -}