From e1c67b149f7189f72acc5ca3e25d02f9dcd27e35 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Thu, 2 May 2013 23:13:43 -0700 Subject: More navbar CSS and docs cleanup * Rearrange sections * Add code snippets for text and links in navbars * Add .navbar-link back in * Add mention of .navbar-text, but it still needs to be re-implemented * Update nav to reflect new order --- docs/_includes/docs-nav.html | 3 ++- docs/docs.html | 43 +++++++++++++++++++++++++++++++++++-------- 2 files changed, 37 insertions(+), 9 deletions(-) (limited to 'docs') diff --git a/docs/_includes/docs-nav.html b/docs/_includes/docs-nav.html index ebeb0d828..2c001a3f4 100644 --- a/docs/_includes/docs-nav.html +++ b/docs/_includes/docs-nav.html @@ -122,8 +122,9 @@
  • Nav links
  • Forms in navbars
  • Buttons in navbars
  • -
  • Component alignment
  • Text in navbars
  • +
  • Links in navbars
  • +
  • Component alignment
  • Fixed top navbar
  • Fixed bottom navbar
  • Static top navbar
  • diff --git a/docs/docs.html b/docs/docs.html index e4f711381..3b092f804 100644 --- a/docs/docs.html +++ b/docs/docs.html @@ -3488,9 +3488,9 @@ For example, <section> should be wrapped as inline. @@ -3508,7 +3508,7 @@ For example, <section> should be wrapped as inline. @@ -3526,16 +3526,43 @@ For example, <section> should be wrapped as inline.

    For buttons not residing in a <form>, add this class to vertically center buttons within a navbar.

    - -

    Align nav links, search form, or text, use the .pull-left or .pull-right utility classes. Both classes will add a CSS float in the specified direction.

    -

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

    +
    + +
    +{% highlight html linenos %} + +{% endhighlight %} + + +

    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.

    +
    + +
    +{% highlight html linenos %} + +{% endhighlight %} + + +

    Align nav links, search form, or text, use the .pull-left or .pull-right utility classes. Both classes will add a CSS float in the specified direction.

    Optional display variations

    -- cgit v1.2.3