2016-07-10 02:02:48 +00:00
|
|
|
/* Sticky footer hacks */
|
|
|
|
html, body {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#wrap {
|
|
|
|
min-height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#main {
|
|
|
|
overflow:auto;
|
|
|
|
padding-bottom:60px; /* this needs to be bigger than footer height*/
|
|
|
|
}
|
|
|
|
|
|
|
|
footer {
|
|
|
|
position: relative;
|
|
|
|
margin-top: -50px; /* negative value of footer height */
|
|
|
|
height: 50px;
|
|
|
|
clear:both;
|
|
|
|
padding-top:20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Remove the navbar's default margin-bottom and rounded borders */
|
2016-06-30 23:41:58 +00:00
|
|
|
.navbar {
|
|
|
|
margin-bottom: 0;
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Set height of the grid so .sidenav can be 100% (adjust as needed) */
|
2016-07-10 02:02:48 +00:00
|
|
|
.row.content {
|
|
|
|
height: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2016-06-30 23:41:58 +00:00
|
|
|
|
|
|
|
/* Set gray background color and 100% height */
|
|
|
|
.sidenav {
|
|
|
|
padding-top: 20px;
|
|
|
|
background-color: #f1f1f1;
|
2016-07-10 02:02:48 +00:00
|
|
|
margin-bottom: -9999px;
|
|
|
|
padding-bottom: 9999px;
|
2016-06-30 23:41:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Set black background color, white text and some padding */
|
|
|
|
footer {
|
|
|
|
background-color: #555;
|
|
|
|
color: white;
|
|
|
|
padding: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* On small screens, set height to 'auto' for sidenav and grid */
|
|
|
|
@media screen and (max-width: 767px) {
|
|
|
|
.sidenav {
|
|
|
|
height: auto;
|
|
|
|
padding: 15px;
|
|
|
|
}
|
2016-07-10 02:02:48 +00:00
|
|
|
.row.content {height:auto;}
|
2016-06-30 23:41:58 +00:00
|
|
|
}
|