143 lines
No EOL
2.1 KiB
CSS
Executable file
143 lines
No EOL
2.1 KiB
CSS
Executable file
/*
|
|
* Base structure
|
|
*/
|
|
|
|
/* Move down content because we have a fixed navbar that is 50px tall */
|
|
body {
|
|
padding-top: 50px;
|
|
padding-bottom: 30px;
|
|
}
|
|
|
|
|
|
/*
|
|
* Global add-ons
|
|
*/
|
|
|
|
.sub-header {
|
|
padding-bottom: 10px;
|
|
border-bottom: 1px solid #222;
|
|
}
|
|
|
|
/*
|
|
* Top navigation
|
|
* Hide default border to remove 1px line.
|
|
*/
|
|
.navbar-fixed-top {
|
|
border: 0;
|
|
font-size: 12px;
|
|
}
|
|
|
|
/*
|
|
* Sidebar
|
|
*/
|
|
|
|
/* Hide for mobile, show later */
|
|
.sidebar {
|
|
display: none;
|
|
}
|
|
@media (min-width: 768px) {
|
|
.sidebar {
|
|
position: fixed;
|
|
top: 50px;
|
|
bottom: 0;
|
|
left: 0;
|
|
z-index: 1000;
|
|
display: block;
|
|
overflow-x: hidden;
|
|
overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
|
|
background-color: RGB(41, 56, 70);
|
|
border: 0;
|
|
border-radius: 0;
|
|
}
|
|
}
|
|
|
|
/* Sidebar navigation */
|
|
.nav-sidebar {
|
|
margin-right: -21px; /* 20px padding + 1px border */
|
|
margin-bottom: 20px;
|
|
margin-left: -20px;
|
|
border-top: 1px solid RGB(37,49,61);
|
|
}
|
|
|
|
.nav-sidebar>li>ul {
|
|
padding: 0;
|
|
}
|
|
|
|
.nav-sidebar>li>ul>li>a {
|
|
display: block;
|
|
padding: 10px 15px 10px 30px;
|
|
text-decoration: none;
|
|
outline: none;
|
|
color: RGB(157,168,186);
|
|
border-left: 10px solid green;
|
|
}
|
|
|
|
.nav-sidebar>li>ul>li>a:hover {
|
|
color: #fff;
|
|
background-color: RGB(37,49,61);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.nav-sidebar>li>a {
|
|
padding-right: 20px;
|
|
padding-left: 20px;
|
|
outline: none;
|
|
color: RGB(157,168,186);
|
|
}
|
|
|
|
.nav-sidebar>li>a:hover,
|
|
.nav-sidebar>li>a:focus {
|
|
color: white;
|
|
background-color: RGB(37,49,61);
|
|
text-decoration: none;
|
|
}
|
|
|
|
/*
|
|
* Main content
|
|
*/
|
|
|
|
.main {
|
|
padding: 20px;
|
|
}
|
|
@media (min-width: 768px) {
|
|
.main {
|
|
padding-right: 40px;
|
|
padding-left: 40px;
|
|
}
|
|
}
|
|
.main .page-header {
|
|
margin-top: 0;
|
|
}
|
|
|
|
/*
|
|
* Placeholder dashboard ideas
|
|
*/
|
|
|
|
.placeholders {
|
|
margin-bottom: 30px;
|
|
text-align: center;
|
|
}
|
|
.placeholders h4 {
|
|
margin-bottom: 0;
|
|
}
|
|
.placeholder {
|
|
margin-bottom: 20px;
|
|
}
|
|
.placeholder img {
|
|
display: inline-block;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
|
|
/*
|
|
* Custom
|
|
*/
|
|
|
|
footer{
|
|
padding-top: 50px;
|
|
}
|
|
|
|
.chart {
|
|
width: 100%;
|
|
min-height: 450px;
|
|
} |