0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-02 14:24:19 +01:00
Bootstrap/docs/4.0/examples/dashboard/dashboard.css

71 lines
914 B
CSS
Raw Normal View History

2013-12-08 05:51:25 +01:00
/*
* Base structure
*/
/* Move down content because we have a fixed navbar that is 3.5rem tall */
2013-12-08 05:51:25 +01:00
body {
padding-top: 3.5rem;
2013-12-08 05:51:25 +01:00
}
/*
2016-11-26 05:23:11 +01:00
* Typography
2013-12-08 05:51:25 +01:00
*/
2016-11-26 05:23:11 +01:00
h1 {
margin-bottom: 20px;
padding-bottom: 9px;
2013-12-08 05:51:25 +01:00
border-bottom: 1px solid #eee;
}
/*
* Sidebar
*/
.sidebar {
2016-11-26 05:23:11 +01:00
position: fixed;
top: 51px;
bottom: 0;
left: 0;
z-index: 1000;
padding: 20px;
overflow-x: hidden;
overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
border-right: 1px solid #eee;
2013-12-08 05:51:25 +01:00
}
/* Sidebar navigation */
2016-11-26 05:23:11 +01:00
.sidebar {
padding-left: 0;
padding-right: 0;
2013-12-08 05:51:25 +01:00
}
2016-11-26 05:23:11 +01:00
.sidebar .nav {
margin-bottom: 20px;
}
2013-12-08 05:51:25 +01:00
2016-11-26 05:23:11 +01:00
.sidebar .nav-item {
width: 100%;
2013-12-08 05:51:25 +01:00
}
2016-11-26 05:23:11 +01:00
.sidebar .nav-item + .nav-item {
margin-left: 0;
2013-12-08 05:51:25 +01:00
}
2016-11-26 05:23:11 +01:00
.sidebar .nav-link {
border-radius: 0;
}
2013-12-08 05:51:25 +01:00
/*
2016-11-26 05:23:11 +01:00
* Dashboard
2013-12-08 05:51:25 +01:00
*/
2016-11-26 05:23:11 +01:00
/* Placeholders */
2013-12-08 05:51:25 +01:00
.placeholders {
2016-11-26 05:23:11 +01:00
padding-bottom: 3rem;
2013-12-08 05:51:25 +01:00
}
2016-11-26 05:23:11 +01:00
2013-12-08 05:51:25 +01:00
.placeholder img {
2016-11-26 05:23:11 +01:00
padding-top: 1.5rem;
padding-bottom: 1.5rem;
2013-12-08 05:51:25 +01:00
}