css moved to app.component.scss

variables added within footer.component.scss
This commit is contained in:
Giuseppe Digilio
2017-02-14 10:55:21 +01:00
parent f86869a70e
commit e857cbb964
3 changed files with 28 additions and 24 deletions

View File

@@ -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;
}

View File

@@ -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;
}
}

View File

@@ -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;
}