diff options
| author | Mark Otto <[email protected]> | 2013-02-28 23:20:25 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-02-28 23:20:58 -0800 |
| commit | 5a30e52aac451369bf9a6abfc34c3c5d10b304d3 (patch) | |
| tree | a670e98960be0455056f4ef033a556bf37fca5e3 /docs | |
| parent | 4418c82888745139d4adf0b5ecf8c5b1b3d3c39c (diff) | |
| download | bootstrap-5a30e52aac451369bf9a6abfc34c3c5d10b304d3.tar.xz bootstrap-5a30e52aac451369bf9a6abfc34c3c5d10b304d3.zip | |
Fixes #6995: Add disabled navbar nav link support
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/assets/css/bootstrap.css | 15 | ||||
| -rw-r--r-- | docs/components.html | 4 |
2 files changed, 17 insertions, 2 deletions
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 <ul class="nav"> <li class="active"><a href="#">Home</a></li> <li><a href="#">Link</a></li> - <li><a href="#">Link</a></li> + <li class="disabled"><a href="#">Disabled</a></li> </ul> </div> </div><!-- /example --> @@ -813,7 +813,7 @@ title: Components <ul class="nav"> <li class="active"><a href="#">Home</a></li> <li><a href="#">Link</a></li> - <li><a href="#">Link</a></li> + <li class="disabled"><a href="#">Disabled</a></li> </ul> {% endhighlight %} <p>You can easily add dividers to your nav links with an empty list item and a simple class. Just add the appropriate class to <code><li></code> elements between links. Dividers will be horizontal to start, but at resolutions above 768px they become vertical with the navigation.</p> |
