aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/dashboard
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-03-06 22:40:25 -0800
committerMark Otto <[email protected]>2014-03-06 22:40:25 -0800
commit12c619f5b9149a4d3f4d24efe106504b6a8a5004 (patch)
treedacdd064110d04b8195151c08ef4e5713ba3ea24 /docs/examples/dashboard
parentf4dd6221d4e7a8eaa9cd8ebe0457ad016f5058cc (diff)
parent7e299c6a49bced5d2c2581a5504ddf7dbcaf041f (diff)
downloadbootstrap-12c619f5b9149a4d3f4d24efe106504b6a8a5004.tar.xz
bootstrap-12c619f5b9149a4d3f4d24efe106504b6a8a5004.zip
Merge branch 'master' into boulox-responsive-embed
Conflicts: dist/css/bootstrap.css.map dist/css/bootstrap.min.css docs/assets/js/customize.min.js docs/assets/js/docs.min.js docs/css.html docs/dist/css/bootstrap.css.map docs/dist/css/bootstrap.min.css
Diffstat (limited to 'docs/examples/dashboard')
-rw-r--r--docs/examples/dashboard/dashboard.css26
-rw-r--r--docs/examples/dashboard/index.html6
2 files changed, 22 insertions, 10 deletions
diff --git a/docs/examples/dashboard/dashboard.css b/docs/examples/dashboard/dashboard.css
index 750124bf8..e0e3632b8 100644
--- a/docs/examples/dashboard/dashboard.css
+++ b/docs/examples/dashboard/dashboard.css
@@ -17,6 +17,13 @@ body {
border-bottom: 1px solid #eee;
}
+/*
+ * Top navigation
+ * Hide default border to remove 1px line.
+ */
+.navbar-fixed-top {
+ border: 0;
+}
/*
* Sidebar
@@ -29,12 +36,14 @@ body {
@media (min-width: 768px) {
.sidebar {
position: fixed;
- top: 0;
- left: 0;
+ top: 51px;
bottom: 0;
+ left: 0;
z-index: 1000;
display: block;
- padding: 70px 20px 20px;
+ padding: 20px;
+ overflow-x: hidden;
+ overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
background-color: #f5f5f5;
border-right: 1px solid #eee;
}
@@ -42,15 +51,17 @@ body {
/* Sidebar navigation */
.nav-sidebar {
- margin-left: -20px;
margin-right: -21px; /* 20px padding + 1px border */
margin-bottom: 20px;
+ margin-left: -20px;
}
.nav-sidebar > li > a {
- padding-left: 20px;
padding-right: 20px;
+ padding-left: 20px;
}
-.nav-sidebar > .active > a {
+.nav-sidebar > .active > a,
+.nav-sidebar > .active > a:hover,
+.nav-sidebar > .active > a:focus {
color: #fff;
background-color: #428bca;
}
@@ -65,8 +76,8 @@ body {
}
@media (min-width: 768px) {
.main {
+ padding-right: 40px;
padding-left: 40px;
- pading-right: 40px;
}
}
.main .page-header {
@@ -89,5 +100,6 @@ body {
margin-bottom: 20px;
}
.placeholder img {
+ display: inline-block;
border-radius: 50%;
}
diff --git a/docs/examples/dashboard/index.html b/docs/examples/dashboard/index.html
index d06644878..1d5508878 100644
--- a/docs/examples/dashboard/index.html
+++ b/docs/examples/dashboard/index.html
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<link rel="shortcut icon" href="../../assets/ico/favicon.ico">
@@ -236,8 +236,8 @@
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
- <script src="https://code.jquery.com/jquery-1.10.2.min.js"></script>
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="../../dist/js/bootstrap.min.js"></script>
- <script src="../../assets/js/holder.js"></script>
+ <script src="../../assets/js/docs.min.js"></script>
</body>
</html>