From ae255447f24ef3dc995ee7939e1c8704160f0055 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Sun, 5 Jan 2014 12:55:03 -0800 Subject: [PATCH] add .container(-fluid) to remaining navbar examples for consistency/accuracy follow-up to 93a4d6cc5ecdc1cbc09c4b8af2e587f4480b36cf --- docs/components.html | 340 +++++++++++++++++--------------- docs/examples/navbar/index.html | 68 +++---- docs/javascript.html | 140 ++++++------- 3 files changed, 284 insertions(+), 264 deletions(-) diff --git a/docs/components.html b/docs/components.html index f838481702..bb4464cb41 100644 --- a/docs/components.html +++ b/docs/components.html @@ -1270,108 +1270,112 @@ lead: "Over a dozen reusable components built to provide iconography, dropdowns,
{% highlight html %} {% endhighlight %} @@ -1391,22 +1395,24 @@ lead: "Over a dozen reusable components built to provide iconography, dropdowns,

As a heads up, .navbar-form shares much of its code with .form-inline via mixin. Some form controls, like input groups, may require fixed widths to be show up properly within a navbar.

@@ -1434,17 +1440,19 @@ lead: "Over a dozen reusable components built to provide iconography, dropdowns,

Add the .navbar-btn class to <button> elements not residing in a <form> to vertically center them in the navbar.

@@ -1461,17 +1469,19 @@ lead: "Over a dozen reusable components built to provide iconography, dropdowns,

Wrap strings of text in an element with .navbar-text, usually on a <p> tag for proper leading and color.

@@ -1484,17 +1494,19 @@ lead: "Over a dozen reusable components built to provide iconography, dropdowns,

For folks using standard links that are not within the regular navbar navigation component, use the .navbar-link class to add the proper colors for the default and inverse navbar options.

@@ -1637,25 +1649,27 @@ body { padding-bottom: 70px; }

Modify the look of the navbar by adding .navbar-inverse.

{% highlight html %} diff --git a/docs/examples/navbar/index.html b/docs/examples/navbar/index.html index 2ff133f7d6..3abc93ccae 100644 --- a/docs/examples/navbar/index.html +++ b/docs/examples/navbar/index.html @@ -32,39 +32,41 @@ diff --git a/docs/javascript.html b/docs/javascript.html index 4fe058e095..d7035d6612 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -431,51 +431,53 @@ $('#myModal').on('hidden.bs.modal', function (e) {

Within a navbar

@@ -606,29 +608,31 @@ $('#myDropdown').on('show.bs.dropdown', function () {

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.