aboutsummaryrefslogtreecommitdiff
path: root/javascript.html
diff options
context:
space:
mode:
authorJulian Thilo <[email protected]>2013-08-18 23:05:56 +0200
committerJulian Thilo <[email protected]>2013-08-18 23:05:56 +0200
commitabca00870f862d024a943b2c563bd42ff3f8418f (patch)
treeee96b05aa6fb8e69449dc942a94235c7aef66a49 /javascript.html
parent9b66e6b0f4e642609e8b7ba2b8590d2c31fe0469 (diff)
downloadbootstrap-abca00870f862d024a943b2c563bd42ff3f8418f.tar.xz
bootstrap-abca00870f862d024a943b2c563bd42ff3f8418f.zip
Add a .navbar-default class for default colors
* Extract color styles from .navbar { } and put them into .navbar-default { } * Change variable names * Change the docs accordingly (i.e., add the .navbar-default class to all default navbars) * Change customizer accordingly
Diffstat (limited to 'javascript.html')
-rw-r--r--javascript.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/javascript.html b/javascript.html
index 883bbb929..9e85c7742 100644
--- a/javascript.html
+++ b/javascript.html
@@ -355,7 +355,7 @@ $('#myModal').on('hidden.bs.modal', function () {
<h3>Within a navbar</h3>
<div class="bs-example">
- <nav id="navbar-example" class="navbar navbar-static" role="navigation">
+ <nav id="navbar-example" class="navbar navbar-default navbar-static" role="navigation">
<div class="navbar-header">
<button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bs-js-navbar-collapse">
<span class="sr-only">Toggle navigation</span>
@@ -526,7 +526,7 @@ $('#myDropdown').on('show.bs.dropdown', function () {
<h2 id="scrollspy-examples">Example in navbar</h2>
<p>The ScrollSpy plugin is for automatically updating nav targets based on scroll position. Scroll the area below the navbar and watch the active class change. The dropdown sub items will be highlighted as well.</p>
<div class="bs-example">
- <nav id="navbar-example2" class="navbar navbar-static" role="navigation">
+ <nav id="navbar-example2" class="navbar navbar-default navbar-static" role="navigation">
<div class="navbar-header">
<button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bs-js-navbar-scrollspy">
<span class="sr-only">Toggle navigation</span>