aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/dashboard/dashboard.css
diff options
context:
space:
mode:
Diffstat (limited to 'docs/examples/dashboard/dashboard.css')
-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;
}