From 7ef7547a1421825cb73382ad6317aba8affe3dc8 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 20 Feb 2012 12:38:49 -0800 Subject: add horizontal divider support to nav list, including documentation for it, per #2106 --- docs/templates/pages/components.mustache | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'docs/templates') diff --git a/docs/templates/pages/components.mustache b/docs/templates/pages/components.mustache index dcf5212a8..a8aaeeff5 100644 --- a/docs/templates/pages/components.mustache +++ b/docs/templates/pages/components.mustache @@ -466,8 +466,18 @@

{{_i}}Application-style navigation{{/i}}

{{_i}}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.{{/i}}

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

+

{{_i}}With icons{{/i}}

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

+

{{_i}}Horizontal dividers{{/i}}

+

{{_i}}Add a horizontal divider by creating an empty list item with the class .divider, like so:{{/i}}

+
+<ul class="nav nav-list">
+  ...
+  <li class="divider"></li>
+  ...
+</ul>
+

{{_i}}Example nav list{{/i}}

@@ -481,6 +491,7 @@
  • {{_i}}Profile{{/i}}
  • {{_i}}Settings{{/i}}
  • +
  • {{_i}}Help{{/i}}
  • @@ -511,6 +522,7 @@
  • {{_i}}Profile{{/i}}
  • {{_i}}Settings{{/i}}
  • +
  • {{_i}}Help{{/i}}
  • -- cgit v1.2.3