aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/dashboard
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-03-08 20:34:29 -0800
committerMark Otto <[email protected]>2014-03-08 20:34:29 -0800
commitef5d8e98e2e9aa87496eef8359667f7e052ae636 (patch)
tree0d202235247562f094df841960170b1245ea728b /docs/examples/dashboard
parentdc5917bedfda321b72310209d2807ea10347f7ed (diff)
parente4d13e238d0d6ea241f4e77328f6551206d17362 (diff)
downloadbootstrap-ef5d8e98e2e9aa87496eef8359667f7e052ae636.tar.xz
bootstrap-ef5d8e98e2e9aa87496eef8359667f7e052ae636.zip
Merge branch 'master' into sr-only-focusable
Conflicts: dist/css/bootstrap.css
Diffstat (limited to 'docs/examples/dashboard')
-rw-r--r--docs/examples/dashboard/dashboard.css17
1 files changed, 14 insertions, 3 deletions
diff --git a/docs/examples/dashboard/dashboard.css b/docs/examples/dashboard/dashboard.css
index 565aff50e..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;
+ 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;
}
@@ -50,7 +59,9 @@ body {
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;
}