2013-12-08 04:51:25 +00:00
|
|
|
/*
|
|
|
|
* Base structure
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* Move down content because we have a fixed navbar that is 50px tall */
|
|
|
|
body {
|
|
|
|
padding-top: 50px;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Global add-ons
|
|
|
|
*/
|
|
|
|
|
|
|
|
.sub-header {
|
|
|
|
padding-bottom: 10px;
|
|
|
|
border-bottom: 1px solid #eee;
|
|
|
|
}
|
|
|
|
|
2014-03-02 21:19:44 +00:00
|
|
|
/*
|
|
|
|
* Top navigation
|
|
|
|
* Hide default border to remove 1px line.
|
|
|
|
*/
|
|
|
|
.navbar-fixed-top {
|
2014-03-04 22:35:23 +00:00
|
|
|
border: 0;
|
2014-03-02 21:19:44 +00:00
|
|
|
}
|
2013-12-08 04:51:25 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Sidebar
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* Hide for mobile, show later */
|
|
|
|
.sidebar {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
|
|
.sidebar {
|
|
|
|
position: fixed;
|
2014-02-07 10:44:04 +00:00
|
|
|
top: 51px;
|
2013-12-08 04:51:25 +00:00
|
|
|
bottom: 0;
|
2014-01-31 12:20:33 +00:00
|
|
|
left: 0;
|
2013-12-08 04:51:25 +00:00
|
|
|
z-index: 1000;
|
|
|
|
display: block;
|
2014-02-07 10:44:04 +00:00
|
|
|
padding: 20px;
|
2014-02-07 09:27:07 +00:00
|
|
|
overflow-x: hidden;
|
2014-02-07 09:33:27 +00:00
|
|
|
overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
|
2013-12-08 04:51:25 +00:00
|
|
|
background-color: #f5f5f5;
|
|
|
|
border-right: 1px solid #eee;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Sidebar navigation */
|
|
|
|
.nav-sidebar {
|
|
|
|
margin-right: -21px; /* 20px padding + 1px border */
|
|
|
|
margin-bottom: 20px;
|
2014-01-31 12:20:33 +00:00
|
|
|
margin-left: -20px;
|
2013-12-08 04:51:25 +00:00
|
|
|
}
|
|
|
|
.nav-sidebar > li > a {
|
|
|
|
padding-right: 20px;
|
2014-01-31 12:20:33 +00:00
|
|
|
padding-left: 20px;
|
2013-12-08 04:51:25 +00:00
|
|
|
}
|
2014-02-21 23:06:21 +00:00
|
|
|
.nav-sidebar > .active > a,
|
|
|
|
.nav-sidebar > .active > a:hover,
|
|
|
|
.nav-sidebar > .active > a:focus {
|
2013-12-08 04:51:25 +00:00
|
|
|
color: #fff;
|
|
|
|
background-color: #428bca;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Main content
|
|
|
|
*/
|
|
|
|
|
|
|
|
.main {
|
|
|
|
padding: 20px;
|
|
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
|
|
.main {
|
2014-01-31 04:39:12 +00:00
|
|
|
padding-right: 40px;
|
2014-01-31 12:20:33 +00:00
|
|
|
padding-left: 40px;
|
2013-12-08 04:51:25 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Placeholder dashboard ideas
|
|
|
|
*/
|
|
|
|
|
|
|
|
.placeholders {
|
|
|
|
margin-bottom: 30px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.placeholders h4 {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
.placeholder {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
.placeholder img {
|
2014-02-01 21:46:55 +00:00
|
|
|
display: inline-block;
|
2013-12-08 04:51:25 +00:00
|
|
|
border-radius: 50%;
|
|
|
|
}
|