From 5a30e52aac451369bf9a6abfc34c3c5d10b304d3 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Thu, 28 Feb 2013 23:20:25 -0800 Subject: Fixes #6995: Add disabled navbar nav link support --- docs/assets/css/bootstrap.css | 15 +++++++++++++++ docs/components.html | 4 ++-- 2 files changed, 17 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index c078ea4af..ba2b7d01b 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -2991,6 +2991,7 @@ button.close { .nav > .disabled > a:hover, .nav > .disabled > a:focus { + color: #999999; text-decoration: none; cursor: default; background-color: transparent; @@ -3149,6 +3150,13 @@ button.close { background-color: #d5d5d5; } +.navbar .nav > .disabled > a, +.navbar .nav > .disabled > a:hover, +.navbar .nav > .disabled > a:focus { + color: #cccccc; + background-color: transparent; +} + .navbar-static-top { border-radius: 0; } @@ -3307,6 +3315,13 @@ button.close { background-color: #080808; } +.navbar-inverse .nav > .disabled > a, +.navbar-inverse .nav > .disabled > a:hover, +.navbar-inverse .nav > .disabled > a:focus { + color: #444444; + background-color: transparent; +} + .navbar-inverse .navbar-toggle { border-color: #333; } diff --git a/docs/components.html b/docs/components.html index b60dd1621..5727a1759 100644 --- a/docs/components.html +++ b/docs/components.html @@ -805,7 +805,7 @@ title: Components @@ -813,7 +813,7 @@ title: Components {% endhighlight %}

You can easily add dividers to your nav links with an empty list item and a simple class. Just add the appropriate class to <li> elements between links. Dividers will be horizontal to start, but at resolutions above 768px they become vertical with the navigation.

-- cgit v1.2.3