From 449dd83ec32ab0cda37614006573be1e099f6133 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 21 Feb 2014 15:06:21 -0800 Subject: Fixes #12735: Fix sidebar hover state in Dashboard example --- docs/examples/dashboard/dashboard.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'docs/examples/dashboard') diff --git a/docs/examples/dashboard/dashboard.css b/docs/examples/dashboard/dashboard.css index 70c7029cc..ef6c0cfdb 100644 --- a/docs/examples/dashboard/dashboard.css +++ b/docs/examples/dashboard/dashboard.css @@ -52,7 +52,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; } -- cgit v1.2.3 From 80ce694b2499f45142b9746aa862cf288ce38e5e Mon Sep 17 00:00:00 2001 From: avindra Date: Sun, 2 Mar 2014 16:19:44 -0500 Subject: Fix for stray 1px line under top navigation If you add an "active" class to one of the
  • elements in the top navigation, and style it so that active tabs have a different color, it becomes clear that there is a 1 pixel stray line under the navigation. This style fixes that. --- docs/examples/dashboard/dashboard.css | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs/examples/dashboard') diff --git a/docs/examples/dashboard/dashboard.css b/docs/examples/dashboard/dashboard.css index ef6c0cfdb..22e3fdef6 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 -- cgit v1.2.3 From a4df36317407fdbef1458a1c5e59b088b85d72c4 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Tue, 4 Mar 2014 14:35:23 -0800 Subject: grunt after merging #12917 --- docs/examples/dashboard/dashboard.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/examples/dashboard') diff --git a/docs/examples/dashboard/dashboard.css b/docs/examples/dashboard/dashboard.css index 22e3fdef6..e0e3632b8 100644 --- a/docs/examples/dashboard/dashboard.css +++ b/docs/examples/dashboard/dashboard.css @@ -22,7 +22,7 @@ body { * Hide default border to remove 1px line. */ .navbar-fixed-top { - border:0; + border: 0; } /* -- cgit v1.2.3