From 2376da40fb020289bcec4d2fe49ca2dc6f4eae97 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 8 Jan 2012 03:11:51 -0800 Subject: cleanup organization of tabbable nav section --- docs/components.html | 53 +++++++++++++--------------------------------------- 1 file changed, 13 insertions(+), 40 deletions(-) (limited to 'docs/components.html') diff --git a/docs/components.html b/docs/components.html index bd8753401..3208e2390 100644 --- a/docs/components.html +++ b/docs/components.html @@ -262,23 +262,13 @@

What's included

-

Bring your tabs to life with a simple plugin to toggle between content via tabs. Bootstrap integrates tabbable tabs in four styles:

-
    -
  • top (default)
  • -
  • right
  • -
  • bottom
  • -
  • left
  • -
+

Bring your tabs to life with a simple plugin to toggle between content via tabs. Bootstrap integrates tabbable tabs in four styles: top (default), right, bottom, and left.

Changing between them is easy and only requires changing very little markup.

-
-

Custom jQuery plugin

-

All tabbable tabs are powered by our lightweight jQuery plugin. Read more about how to bring tabbable tabs to life on the javascript docs page.

-

Get the javascript →

-
+

Tabbable example

To make tabs tabbable, wrap the .tabs in another div with class .tabbable.

-
+
-
-

Straightforward markup

-

Using tabbable tabs requires a wrapping div, a set of tabs, and a set of tabbable panes of content.

+
+
+

Custom jQuery plugin

+

All tabbable tabs are powered by our lightweight jQuery plugin. Read more about how to bring tabbable tabs to life on the javascript docs page.

+

Get the javascript →

+
+
+ +

Straightforward markup

+

Using tabbable tabs requires a wrapping div, a set of tabs, and a set of tabbable panes of content.

 <div class="tabbable">
   <ul class="nav tabs">
@@ -315,8 +312,6 @@
   </div>
 </div>
 
- -

Tabbable in any direction

@@ -809,28 +804,6 @@ - -
- - -
- - - - - - - -
-- cgit v1.2.3 From 21eb2dac8a650ba13dabb41fd2d221ff918cdd30 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 8 Jan 2012 03:18:48 -0800 Subject: add icons in nav list example and markup --- docs/components.html | 36 ++++++++++++++++++++++++++++++++---- 1 file changed, 32 insertions(+), 4 deletions(-) (limited to 'docs/components.html') diff --git a/docs/components.html b/docs/components.html index 3208e2390..2a9d15846 100644 --- a/docs/components.html +++ b/docs/components.html @@ -222,9 +222,12 @@

Application-style navigation

Nav lists provide a simple and easy way to build groups of nav links with optional headers. They're best used in sidebars like the Finder in OS X.

Structurally, they're built on the same core nav styles as tabs and pills, so usage and customization are straightforward.

+

With icons

+

Nav lists are also easy to equip with icons. Add the proper <i> tag with class and you're set.

-

Example sidebar navigation

+

Example nav list

+

Take a list of links and add class="nav list":

-
-
-

Simple markup

 <ul class="nav list">
   <li class="nav-header">
@@ -253,6 +253,34 @@
   </li>
   ...
 </ul>
+
+
+
+

Example with icons

+

Same example, but with <i> tags for icons.

+
+ +
+
+<ul class="nav list">
+  ...
+  <li>
+    <a href="#">
+      <i class="book"></i>
+      Library
+    </a>
+  </li>
+  ...
+</ul>
 
-- cgit v1.2.3