Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <markotto@twitter.com>2012-07-13 05:11:49 +0400
committerMark Otto <markotto@twitter.com>2012-07-13 05:11:49 +0400
commita12f0e551f7da763a9be23013d1b51c161a0f6f8 (patch)
treeb0d29f9a8410d90f8603961aee2ae43b364fb6f7
parent549d61fc289cb9efe5f8959e706e170b080663ba (diff)
overhaul docs on sub pages, clean up css and copy
-rw-r--r--docs/assets/css/docs.css42
-rw-r--r--docs/base-css.html2203
-rw-r--r--docs/components.html2654
-rw-r--r--docs/download.html4
-rw-r--r--docs/examples.html4
-rw-r--r--docs/extend.html145
-rw-r--r--docs/getting-started.html8
-rw-r--r--docs/index.html7
-rw-r--r--docs/javascript.html2375
-rw-r--r--docs/scaffolding.html708
-rw-r--r--docs/templates/layout.mustache4
-rw-r--r--docs/templates/pages/base-css.mustache2225
-rw-r--r--docs/templates/pages/components.mustache2684
-rw-r--r--docs/templates/pages/extend.mustache171
-rw-r--r--docs/templates/pages/getting-started.mustache4
-rw-r--r--docs/templates/pages/index.mustache5
-rw-r--r--docs/templates/pages/javascript.mustache2485
-rw-r--r--docs/templates/pages/scaffolding.mustache734
-rw-r--r--docs/upgrading.html4
19 files changed, 8167 insertions, 8299 deletions
diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css
index ff6e37fe01..35eb7b83cb 100644
--- a/docs/assets/css/docs.css
+++ b/docs/assets/css/docs.css
@@ -12,12 +12,8 @@
body {
position: relative;
- padding-top: 80px;
+ padding-top: 40px;
font-size: 14px;
- background-color: #fff;
- background-image: url(../img/grid-20px.png);
- background-repeat: repeat-x;
- background-position: 0 40px;
}
/* Code in headings */
@@ -87,7 +83,22 @@ hr.soften {
------------------------- */
.jumbotron {
position: relative;
+ padding: 40px 0;
+ color: #fff;
text-align: center;
+ text-shadow: 0 1px 5px rgba(0,0,0,.25), 0 0 30px rgba(0,0,0,.075);
+ background: #020031; /* Old browsers */
+ background: -moz-linear-gradient(45deg, #020031 0%, #6d3353 100%); /* FF3.6+ */
+ background: -webkit-gradient(linear, left bottom, right top, color-stop(0%,#020031), color-stop(100%,#6d3353)); /* Chrome,Safari4+ */
+ background: -webkit-linear-gradient(45deg, #020031 0%,#6d3353 100%); /* Chrome10+,Safari5.1+ */
+ background: -o-linear-gradient(45deg, #020031 0%,#6d3353 100%); /* Opera 11.10+ */
+ background: -ms-linear-gradient(45deg, #020031 0%,#6d3353 100%); /* IE10+ */
+ background: linear-gradient(45deg, #020031 0%,#6d3353 100%); /* W3C */
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#020031', endColorstr='#6d3353',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
+ -webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);
+ -moz-box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);
+ box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);
+
}
.jumbotron h1 {
font-size: 80px;
@@ -118,22 +129,8 @@ hr.soften {
------------------------- */
.masthead {
padding: 50px 0 60px;
- margin-top: -40px;
margin-bottom: 0;
color: #fff;
- text-align: center;
- text-shadow: 0 1px 5px rgba(0,0,0,.25), 0 0 30px rgba(0,0,0,.075);
- background: #020031; /* Old browsers */
- background: -moz-linear-gradient(45deg, #020031 0%, #6d3353 100%); /* FF3.6+ */
- background: -webkit-gradient(linear, left bottom, right top, color-stop(0%,#020031), color-stop(100%,#6d3353)); /* Chrome,Safari4+ */
- background: -webkit-linear-gradient(45deg, #020031 0%,#6d3353 100%); /* Chrome10+,Safari5.1+ */
- background: -o-linear-gradient(45deg, #020031 0%,#6d3353 100%); /* Opera 11.10+ */
- background: -ms-linear-gradient(45deg, #020031 0%,#6d3353 100%); /* IE10+ */
- background: linear-gradient(45deg, #020031 0%,#6d3353 100%); /* W3C */
- filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#020031', endColorstr='#6d3353',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
- -webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);
- -moz-box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);
- box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);
}
.masthead h1 {
font-size: 120px;
@@ -211,6 +208,9 @@ hr.soften {
.subhead h1 {
font-size: 60px;
}
+.subhead p {
+ margin-bottom: 10px;
+}
.subhead .navbar {
display: none;
}
@@ -736,7 +736,7 @@ form.bs-docs-example {
padding-top: 0;
}
/* Widen masthead and social buttons to fill body padding */
- .masthead {
+ .jumbotron {
margin-top: -20px; /* Offset bottom margin on .navbar */
}
}
@@ -750,7 +750,7 @@ form.bs-docs-example {
}
/* Widen masthead and social buttons to fill body padding */
- .masthead {
+ .jumbotron {
padding: 40px 20px;
margin-top: -20px; /* Offset bottom margin on .navbar */
margin-right: -20px;
diff --git a/docs/base-css.html b/docs/base-css.html
index b829dc3aef..fc04ea4c20 100644
--- a/docs/base-css.html
+++ b/docs/base-css.html
@@ -66,142 +66,143 @@
</div>
</div>
- <div class="container">
-
<!-- Subhead
================================================== -->
<header class="jumbotron subhead" id="overview">
- <h1>Base CSS</h1>
- <p class="lead">On top of the scaffolding, basic HTML elements are styled and enhanced with extensible classes to provide a fresh, consistent look and feel.</p>
+ <div class="container">
+ <h1>Base CSS</h1>
+ <p class="lead">On top of the scaffolding, basic HTML elements are styled and enhanced with extensible classes.</p>
+ </div>
</header>
+<div class="container">
-<!-- Docs nav
-================================================== -->
-<div class="row">
- <div class="span3 bs-docs-sidebar">
- <ul class="nav nav-list bs-docs-sidenav">
- <li><a href="#typography">Typography <i class="icon-chevron-right"></i></a></li>
- <li><a href="#code">Code <i class="icon-chevron-right"></i></a></li>
- <li><a href="#tables">Tables <i class="icon-chevron-right"></i></a></li>
- <li><a href="#forms">Forms <i class="icon-chevron-right"></i></a></li>
- <li><a href="#buttons">Buttons <i class="icon-chevron-right"></i></a></li>
- <li><a href="#icons">Icons by Glyphicons <i class="icon-chevron-right"></i></a></li>
- </ul>
- </div>
- <div class="span9">
+ <!-- Docs nav
+ ================================================== -->
+ <div class="row">
+ <div class="span3 bs-docs-sidebar">
+ <ul class="nav nav-list bs-docs-sidenav">
+ <li><a href="#typography">Typography <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#code">Code <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#tables">Tables <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#forms">Forms <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#buttons">Buttons <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#icons">Icons by Glyphicons <i class="icon-chevron-right"></i></a></li>
+ </ul>
+ </div>
+ <div class="span9">
- <!-- Typography
- ================================================== -->
- <section id="typography">
- <div class="page-header">
- <h1>Typography <small>Headings, paragraphs, lists, and other inline type elements</small></h1>
- </div>
+ <!-- Typography
+ ================================================== -->
+ <section id="typography">
+ <div class="page-header">
+ <h1>Typography <small>Headings, paragraphs, lists, and other inline type elements</small></h1>
+ </div>
- <h2>Headings</h2>
- <p>All HTML headings, <code>&lt;h1&gt;</code> through <code>&lt;h6&gt;</code> are available.</p>
- <div class="bs-docs-example">
- <h1>h1. Heading 1</h1>
- <h2>h2. Heading 2</h2>
- <h3>h3. Heading 3</h3>
- <h4>h4. Heading 4</h4>
- <h5>h5. Heading 5</h5>
- <h6>h6. Heading 6</h6>
- </div>
+ <h2>Headings</h2>
+ <p>All HTML headings, <code>&lt;h1&gt;</code> through <code>&lt;h6&gt;</code> are available.</p>
+ <div class="bs-docs-example">
+ <h1>h1. Heading 1</h1>
+ <h2>h2. Heading 2</h2>
+ <h3>h3. Heading 3</h3>
+ <h4>h4. Heading 4</h4>
+ <h5>h5. Heading 5</h5>
+ <h6>h6. Heading 6</h6>
+ </div>
- <h2>Body copy</h2>
- <p>Bootstrap's global default <code>font-size</code> is <strong>14px</strong>, with a <code>line-height</code> of <strong>20px</strong>. This is applied to the <code>&lt;body&gt;</code> and all paragraphs. In addition, <code>&lt;p&gt;</code> (paragraphs) receive a bottom margin of half their line-height (9px by default).</p>
- <div class="bs-docs-example">
- <p>Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula.</p>
- <p>Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec ullamcorper nulla non metus auctor fringilla. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Donec ullamcorper nulla non metus auctor fringilla.</p>
- <p>Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit.</p>
- </div>
+ <h2>Body copy</h2>
+ <p>Bootstrap's global default <code>font-size</code> is <strong>14px</strong>, with a <code>line-height</code> of <strong>20px</strong>. This is applied to the <code>&lt;body&gt;</code> and all paragraphs. In addition, <code>&lt;p&gt;</code> (paragraphs) receive a bottom margin of half their line-height (9px by default).</p>
+ <div class="bs-docs-example">
+ <p>Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula.</p>
+ <p>Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec ullamcorper nulla non metus auctor fringilla. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Donec ullamcorper nulla non metus auctor fringilla.</p>
+ <p>Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit.</p>
+ </div>
- <h3>Lead body copy</h3>
- <p>Make a paragraph stand out by adding <code>.lead</code>.</p>
- <div class="bs-docs-example">
- <p class="lead">Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.</p>
- </div>
+ <h3>Lead body copy</h3>
+ <p>Make a paragraph stand out by adding <code>.lead</code>.</p>
+ <div class="bs-docs-example">
+ <p class="lead">Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.</p>
+ </div>
- <h2>Built with Less</h2>
- <p>The typographic scale is based on two LESS variables in <strong>variables.less</strong>: <code>@baseFontSize</code> and <code>@baseLineHeight</code>. The first is the base font-size used throughout and the second is the base line-height. We use those variables and some simple math to create the margins, paddings, and line-heights of all our type and more. Customize them and Bootstrap adapts.</p>
+ <h2>Built with Less</h2>
+ <p>The typographic scale is based on two LESS variables in <strong>variables.less</strong>: <code>@baseFontSize</code> and <code>@baseLineHeight</code>. The first is the base font-size used throughout and the second is the base line-height. We use those variables and some simple math to create the margins, paddings, and line-heights of all our type and more. Customize them and Bootstrap adapts.</p>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h2>Emphasis</h2>
- <p>Make use of HTML's default emphasis tags, <code>&lt;strong&gt;</code> and <code>&lt;em&gt;</code>.</p>
+ <h2>Emphasis</h2>
+ <p>Make use of HTML's default emphasis tags, <code>&lt;strong&gt;</code> and <code>&lt;em&gt;</code>.</p>
- <h3><code>&lt;strong&gt;</code></h3>
- <p>For emphasizing a snippet of text with <strong>important</strong></p>
- <div class="bs-docs-example">
- <p>The following snippet of text is <strong>rendered as bold text</strong>.</p>
- </div>
+ <h3><code>&lt;strong&gt;</code></h3>
+ <p>For emphasizing a snippet of text with <strong>important</strong></p>
+ <div class="bs-docs-example">
+ <p>The following snippet of text is <strong>rendered as bold text</strong>.</p>
+ </div>
<pre class="prettyprint">
&lt;strong&gt;rendered as bold text&lt;/strong&gt;
</pre>
- <h3><code>&lt;em&gt;</code></h3>
- <p>For emphasizing a snippet of text with <em>stress</em></p>
- <div class="bs-docs-example">
- <p>The following snippet of text is <em>rendered as italicized text</em>.</p>
- </div>
- <pre class="prettyprint">
- &lt;em&gt;rendered as italicized text&lt;/em&gt;
- </pre>
+ <h3><code>&lt;em&gt;</code></h3>
+ <p>For emphasizing a snippet of text with <em>stress</em></p>
+ <div class="bs-docs-example">
+ <p>The following snippet of text is <em>rendered as italicized text</em>.</p>
+ </div>
+<pre class="prettyprint">
+&lt;em&gt;rendered as italicized text&lt;/em&gt;
+</pre>
- <p><span class="label label-info">Heads up!</span> Feel free to use <code>&lt;b&gt;</code> and <code>&lt;i&gt;</code> in HTML5. <code>&lt;b&gt;</code> is meant to highlight words or phrases without conveying additional importance while <code>&lt;i&gt;</code> is mostly for voice, technical terms, etc.</p>
+ <p><span class="label label-info">Heads up!</span> Feel free to use <code>&lt;b&gt;</code> and <code>&lt;i&gt;</code> in HTML5. <code>&lt;b&gt;</code> is meant to highlight words or phrases without conveying additional importance while <code>&lt;i&gt;</code> is mostly for voice, technical terms, etc.</p>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h2>Abbreviations</h2>
- <p>Stylized implemenation of HTML's <code>&lt;abbr&gt;</code> element for abbreviations and acronyms to show the expanded version on hover. Abbreviations with a <code>title</code> attribute have a light dotted bottom border and a help cursor on hover, providing additional context on hover.</p>
+ <h2>Abbreviations</h2>
+ <p>Stylized implemenation of HTML's <code>&lt;abbr&gt;</code> element for abbreviations and acronyms to show the expanded version on hover. Abbreviations with a <code>title</code> attribute have a light dotted bottom border and a help cursor on hover, providing additional context on hover.</p>
- <h3><code>&lt;abbr&gt;</code></h3>
- <p>For expanded text on long hover of an abbreviation, include the <code>title</code> attribute.</p>
- <div class="bs-docs-example">
- <p>An abbreviation of the word attribute is <abbr title="attribute">attr</abbr>.</p>
- </div>
+ <h3><code>&lt;abbr&gt;</code></h3>
+ <p>For expanded text on long hover of an abbreviation, include the <code>title</code> attribute.</p>
+ <div class="bs-docs-example">
+ <p>An abbreviation of the word attribute is <abbr title="attribute">attr</abbr>.</p>
+ </div>
<pre class="prettyprint">
&lt;abbr title="attribute"&gt;attr&lt;/abbr&gt;
</pre>
- <h3><code>&lt;abbr class="initialism"&gt;</code></h3>
- <p>Add <code>.initialism</code> to an abbreviation for a slightly smaller font-size.</p>
- <div class="bs-docs-example">
- <p><abbr title="HyperText Markup Language" class="initialism">HTML</abbr> is the best thing since sliced bread.</p>
- </div>
+ <h3><code>&lt;abbr class="initialism"&gt;</code></h3>
+ <p>Add <code>.initialism</code> to an abbreviation for a slightly smaller font-size.</p>
+ <div class="bs-docs-example">
+ <p><abbr title="HyperText Markup Language" class="initialism">HTML</abbr> is the best thing since sliced bread.</p>
+ </div>
<pre class="prettyprint">
&lt;abbr title="attribute" class="initialism"&gt;attr&lt;/abbr&gt;
</pre>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h2>Addresses</h2>
- <p>Present contact information for the nearest ancestor or the entire body of work.</p>
+ <h2>Addresses</h2>
+ <p>Present contact information for the nearest ancestor or the entire body of work.</p>
- <h3><code>&lt;address&gt;</code></h3>
- <p>Preserve formatting by ending all lines with <code>&lt;br&gt;</code>.</p>
- <div class="bs-docs-example">
- <address>
- <strong>Twitter, Inc.</strong><br>
- 795 Folsom Ave, Suite 600<br>
- San Francisco, CA 94107<br>
- <abbr title="Phone">P:</abbr> (123) 456-7890
- </address>
- <address>
- <strong>Full Name</strong><br>
- <a href="mailto:#">first.last@gmail.com</a>
- </address>
- </div>
+ <h3><code>&lt;address&gt;</code></h3>
+ <p>Preserve formatting by ending all lines with <code>&lt;br&gt;</code>.</p>
+ <div class="bs-docs-example">
+ <address>
+ <strong>Twitter, Inc.</strong><br>
+ 795 Folsom Ave, Suite 600<br>
+ San Francisco, CA 94107<br>
+ <abbr title="Phone">P:</abbr> (123) 456-7890
+ </address>
+ <address>
+ <strong>Full Name</strong><br>
+ <a href="mailto:#">first.last@gmail.com</a>
+ </address>
+ </div>
<pre class="prettyprint linenums">
&lt;address&gt;
&lt;strong&gt;Twitter, Inc.&lt;/strong&gt;&lt;br&gt;
@@ -217,36 +218,36 @@
</pre>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h2>Blockquotes</h2>
- <p>For quoting blocks of content from another source within your document.</p>
+ <h2>Blockquotes</h2>
+ <p>For quoting blocks of content from another source within your document.</p>
- <h3>Default blockqoute</h3>
- <p>Wrap <code>&lt;blockquote&gt;</code> around any <abbr title="HyperText Markup Language">HTML</abbr> as the quote. For straight quotes we recommend a <code>&lt;p&gt;</code>.</p>
- <div class="bs-docs-example">
- <blockquote>
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
- </blockquote>
- </div>
+ <h3>Default blockqoute</h3>
+ <p>Wrap <code>&lt;blockquote&gt;</code> around any <abbr title="HyperText Markup Language">HTML</abbr> as the quote. For straight quotes we recommend a <code>&lt;p&gt;</code>.</p>
+ <div class="bs-docs-example">
+ <blockquote>
+ <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
+ </blockquote>
+ </div>
<pre class="prettyprint linenums">
&lt;blockquote&gt;
&lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.&lt;/p&gt;
&lt;/blockquote&gt;
</pre>
- <h3>Blockquote options</h3>
- <p>Style and content changes for simple variations on a standard blockquote.</p>
+ <h3>Blockquote options</h3>
+ <p>Style and content changes for simple variations on a standard blockquote.</p>
- <h4>Naming a source</h4>
- <p>Add <code>&lt;small&gt;</code> tag for identifying the source. Wrap the name of the source work in <code>&lt;cite&gt;</code>.</p>
- <div class="bs-docs-example">
- <blockquote>
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
- <small>Someone famous in <cite title="Source Title">Source Title</cite></small>
- </blockquote>
- </div>
+ <h4>Naming a source</h4>
+ <p>Add <code>&lt;small&gt;</code> tag for identifying the source. Wrap the name of the source work in <code>&lt;cite&gt;</code>.</p>
+ <div class="bs-docs-example">
+ <blockquote>
+ <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
+ <small>Someone famous in <cite title="Source Title">Source Title</cite></small>
+ </blockquote>
+ </div>
<pre class="prettyprint linenums">
&lt;blockquote&gt;
&lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.&lt;/p&gt;
@@ -254,14 +255,14 @@
&lt;/blockquote&gt;
</pre>
- <h4>Alternate displays</h4>
- <p>Use <code>.pull-left</code> and <code>.pull-right</code> classes for floated, right-aligned blockquote content.</p>
- <div class="bs-docs-example" style="overflow: hidden;">
- <blockquote class="pull-right">
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
- <small>Someone famous in <cite title="Source Title">Source Title</cite></small>
- </blockquote>
- </div>
+ <h4>Alternate displays</h4>
+ <p>Use <code>.pull-left</code> and <code>.pull-right</code> classes for floated, right-aligned blockquote content.</p>
+ <div class="bs-docs-example" style="overflow: hidden;">
+ <blockquote class="pull-right">
+ <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
+ <small>Someone famous in <cite title="Source Title">Source Title</cite></small>
+ </blockquote>
+ </div>
<pre class="prettyprint linenums">
&lt;blockquote class="pull-right"&gt;
&lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.&lt;/p&gt;
@@ -270,16 +271,63 @@
</pre>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <!-- Lists -->
- <h2>Lists</h2>
+ <!-- Lists -->
+ <h2>Lists</h2>
- <h3>Unordered</h3>
- <p>A list of items in which the order does <em>not</em> explicitly matter.</p>
+ <h3>Unordered</h3>
+ <p>A list of items in which the order does <em>not</em> explicitly matter.</p>
+ <div class="bs-docs-example">
+ <ul>
+ <li>Lorem ipsum dolor sit amet</li>
+ <li>Consectetur adipiscing elit</li>
+ <li>Integer molestie lorem at massa</li>
+ <li>Facilisis in pretium nisl aliquet</li>
+ <li>Nulla volutpat aliquam velit
+ <ul>
+ <li>Phasellus iaculis neque</li>
+ <li>Purus sodales ultricies</li>
+ <li>Vestibulum laoreet porttitor sem</li>
+ <li>Ac tristique libero volutpat at</li>
+ </ul>
+ </li>
+ <li>Faucibus porta lacus fringilla vel</li>
+ <li>Aenean sit amet erat nunc</li>
+ <li>Eget porttitor lorem</li>
+ </ul>
+ </div>
+<pre class="prettyprint linenums">
+&lt;ul&gt;
+ &lt;li&gt;...&lt;/li&gt;
+&lt;/ul&gt;
+</pre>
+
+ <h3>Ordered</h3>
+ <p>A list of items in which the order <em>does</em> explicitly matter.</p>
+ <div class="bs-docs-example">
+ <ol>
+ <li>Lorem ipsum dolor sit amet</li>
+ <li>Consectetur adipiscing elit</li>
+ <li>Integer molestie lorem at massa</li>
+ <li>Facilisis in pretium nisl aliquet</li>
+ <li>Nulla volutpat aliquam velit</li>
+ <li>Faucibus porta lacus fringilla vel</li>
+ <li>Aenean sit amet erat nunc</li>
+ <li>Eget porttitor lorem</li>
+ </ol>
+ </div>
+<pre class="prettyprint linenums">
+&lt;ol&gt;
+ &lt;li&gt;...&lt;/li&gt;
+&lt;/ol&gt;
+</pre>
+
+ <h3>Unstyled</h3>
+ <p>A list of items with no <code>list-style</code> or additional left padding.</p>
<div class="bs-docs-example">
- <ul>
+ <ul class="unstyled">
<li>Lorem ipsum dolor sit amet</li>
<li>Consectetur adipiscing elit</li>
<li>Integer molestie lorem at massa</li>
@@ -298,122 +346,75 @@
</ul>
</div>
<pre class="prettyprint linenums">
-&lt;ul&gt;
+&lt;ul class="unstyled"&gt;
&lt;li&gt;...&lt;/li&gt;
&lt;/ul&gt;
</pre>
- <h3>Ordered</h3>
- <p>A list of items in which the order <em>does</em> explicitly matter.</p>
+ <h3>Description</h3>
+ <p>A list of terms with their associated descriptions.</p>
<div class="bs-docs-example">
- <ol>
- <li>Lorem ipsum dolor sit amet</li>
- <li>Consectetur adipiscing elit</li>
- <li>Integer molestie lorem at massa</li>
- <li>Facilisis in pretium nisl aliquet</li>
- <li>Nulla volutpat aliquam velit</li>
- <li>Faucibus porta lacus fringilla vel</li>
- <li>Aenean sit amet erat nunc</li>
- <li>Eget porttitor lorem</li>
- </ol>
+ <dl>
+ <dt>Description lists</dt>
+ <dd>A description list is perfect for defining terms.</dd>
+ <dt>Euismod</dt>
+ <dd>Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.</dd>
+ <dd>Donec id elit non mi porta gravida at eget metus.</dd>
+ <dt>Malesuada porta</dt>
+ <dd>Etiam porta sem malesuada magna mollis euismod.</dd>
+ </dl>
</div>
<pre class="prettyprint linenums">
-&lt;ol&gt;
- &lt;li&gt;...&lt;/li&gt;
-&lt;/ol&gt;
-</pre>
-
- <h3>Unstyled</h3>
- <p>A list of items with no <code>list-style</code> or additional left padding.</p>
- <div class="bs-docs-example">
- <ul class="unstyled">
- <li>Lorem ipsum dolor sit amet</li>
- <li>Consectetur adipiscing elit</li>
- <li>Integer molestie lorem at massa</li>
- <li>Facilisis in pretium nisl aliquet</li>
- <li>Nulla volutpat aliquam velit
- <ul>
- <li>Phasellus iaculis neque</li>
- <li>Purus sodales ultricies</li>
- <li>Vestibulum laoreet porttitor sem</li>
- <li>Ac tristique libero volutpat at</li>
- </ul>
- </li>
- <li>Faucibus porta lacus fringilla vel</li>
- <li>Aenean sit amet erat nunc</li>
- <li>Eget porttitor lorem</li>
- </ul>
- </div>
-<pre class="prettyprint linenums">
-&lt;ul class="unstyled"&gt;
- &lt;li&gt;...&lt;/li&gt;
-&lt;/ul&gt;
-</pre>
-
- <h3>Description</h3>
- <p>A list of terms with their associated descriptions.</p>
- <div class="bs-docs-example">
- <dl>
- <dt>Description lists</dt>
- <dd>A description list is perfect for defining terms.</dd>
- <dt>Euismod</dt>
- <dd>Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.</dd>
- <dd>Donec id elit non mi porta gravida at eget metus.</dd>
- <dt>Malesuada porta</dt>
- <dd>Etiam porta sem malesuada magna mollis euismod.</dd>
- </dl>
- </div>
-<pre class="prettyprint linenums">
&lt;dl&gt;
&lt;dt&gt;...&lt;/dt&gt;
&lt;dd&gt;...&lt;/dd&gt;
&lt;/dl&gt;
</pre>
- <h4>Horizontal description</h4>
- <p>Make terms and descriptions in <code>&lt;dl&gt;</code> line up side-by-side.</p>
- <div class="bs-docs-example">
- <dl class="dl-horizontal">
- <dt>Description lists</dt>
- <dd>A description list is perfect for defining terms.</dd>
- <dt>Euismod</dt>
- <dd>Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.</dd>
- <dd>Donec id elit non mi porta gravida at eget metus.</dd>
- <dt>Malesuada porta</dt>
- <dd>Etiam porta sem malesuada magna mollis euismod.</dd>
- <dt>Felis euismod semper eget lacinia</dt>
- <dd>Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</dd>
- </dl>
- </div>
+ <h4>Horizontal description</h4>
+ <p>Make terms and descriptions in <code>&lt;dl&gt;</code> line up side-by-side.</p>
+ <div class="bs-docs-example">
+ <dl class="dl-horizontal">
+ <dt>Description lists</dt>
+ <dd>A description list is perfect for defining terms.</dd>
+ <dt>Euismod</dt>
+ <dd>Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.</dd>
+ <dd>Donec id elit non mi porta gravida at eget metus.</dd>
+ <dt>Malesuada porta</dt>
+ <dd>Etiam porta sem malesuada magna mollis euismod.</dd>
+ <dt>Felis euismod semper eget lacinia</dt>
+ <dd>Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</dd>
+ </dl>
+ </div>
<pre class="prettyprint linenums">
&lt;dl class="dl-horizontal"&gt;
&lt;dt&gt;...&lt;/dt&gt;
&lt;dd&gt;...&lt;/dd&gt;
&lt;/dl&gt;
</pre>
- <p>
- <span class="label label-info">Heads up!</span>
- Horizontal description lists will truncate terms that are too long to fit in the left column fix <code>text-overflow</code>. In narrower viewports, they will change to the default stacked layout.
- </p>
- </section>
+ <p>
+ <span class="label label-info">Heads up!</span>
+ Horizontal description lists will truncate terms that are too long to fit in the left column fix <code>text-overflow</code>. In narrower viewports, they will change to the default stacked layout.
+ </p>
+ </section>
- <!-- Code
- ================================================== -->
- <section id="code">
- <div class="page-header">
- <h1>Code <small>Inline and block code snippets</small></h1>
- </div>
+ <!-- Code
+ ================================================== -->
+ <section id="code">
+ <div class="page-header">
+ <h1>Code <small>Inline and block code snippets</small></h1>
+ </div>
- <h2>Inline</h2>
- <p>Wrap inline snippets of code with <code>&lt;code&gt;</code>.</p>
+ <h2>Inline</h2>
+ <p>Wrap inline snippets of code with <code>&lt;code&gt;</code>.</p>
<pre class="prettyprint linenums">
For example, &lt;code&gt;section&lt;/code&gt; should be wrapped as inline.
</pre>
- <h2>Basic block</h2>
- <p>Use <code>&lt;pre&gt;</code> for multiple lines of code. Be sure to escape any angle brackets in the code for proper rendering.</p>
+ <h2>Basic block</h2>
+ <p>Use <code>&lt;pre&gt;</code> for multiple lines of code. Be sure to escape any angle brackets in the code for proper rendering.</p>
<pre>
&lt;p&gt;Sample text here...&lt;/p&gt;
</pre>
@@ -422,53 +423,53 @@ For example, &lt;code&gt;section&lt;/code&gt; should be wrapped as inline.
&amp;lt;p&amp;gt;Sample text here...&amp;lt;/p&amp;gt;
&lt;/pre&gt;
</pre>
- <p><strong>Note:</strong> Be sure to keep code within <code>&lt;pre&gt;</code> tags as close to the left as possible; it will render all tabs.</p>
- <p>You may optionally add the <code>.pre-scrollable</code> class which will set a max-height of 350px and provide a y-axis scrollbar.</p>
- </section>
+ <p><strong>Note:</strong> Be sure to keep code within <code>&lt;pre&gt;</code> tags as close to the left as possible; it will render all tabs.</p>
+ <p>You may optionally add the <code>.pre-scrollable</code> class which will set a max-height of 350px and provide a y-axis scrollbar.</p>
+ </section>
- <!-- Tables
- ================================================== -->
- <section id="tables">
- <div class="page-header">
- <h1>Tables <small>For, you guessed it, tabular data</small></h1>
- </div>
+ <!-- Tables
+ ================================================== -->
+ <section id="tables">
+ <div class="page-header">
+ <h1>Tables <small>For, you guessed it, tabular data</small></h1>
+ </div>
- <h2>Default styles</h2>
- <p>For basic styling&mdash;light padding and only horizontal dividers&mdash;add the base class <code>.table</code> to any <code>&lt;table&gt;</code>.</p>
- <div class="bs-docs-example">
- <table class="table">
- <thead>
- <tr>
- <th>#</th>
- <th>First Name</th>
- <th>Last Name</th>
- <th>Username</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>1</td>
- <td>Mark</td>
- <td>Otto</td>
- <td>@mdo</td>
- </tr>
- <tr>
- <td>2</td>
- <td>Jacob</td>
- <td>Thornton</td>
- <td>@fat</td>
- </tr>
- <tr>
- <td>3</td>
- <td>Larry</td>
- <td>the Bird</td>
- <td>@twitter</td>
- </tr>
- </tbody>
- </table>
- </div>
+ <h2>Default styles</h2>
+ <p>For basic styling&mdash;light padding and only horizontal dividers&mdash;add the base class <code>.table</code> to any <code>&lt;table&gt;</code>.</p>
+ <div class="bs-docs-example">
+ <table class="table">
+ <thead>
+ <tr>
+ <th>#</th>
+ <th>First Name</th>
+ <th>Last Name</th>
+ <th>Username</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>1</td>
+ <td>Mark</td>
+ <td>Otto</td>
+ <td>@mdo</td>
+ </tr>
+ <tr>
+ <td>2</td>
+ <td>Jacob</td>
+ <td>Thornton</td>
+ <td>@fat</td>
+ </tr>
+ <tr>
+ <td>3</td>
+ <td>Larry</td>
+ <td>the Bird</td>
+ <td>@twitter</td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
<pre class="prettyprint linenums">
&lt;table class="table"&gt;
…
@@ -476,251 +477,251 @@ For example, &lt;code&gt;section&lt;/code&gt; should be wrapped as inline.
</pre>
- <hr class="bs-docs-separator">
-
-
- <h2>Optional classes</h2>
- <p>Add any of the follow classes to the <code>.table</code> base class.</p>
-
- <h3><code>.table-striped</code></h3>
- <p>Adds zebra-striping to any table row within the <code>&lt;tbody&gt;</code> via the <code>:nth-child</code> CSS selector (not available in IE7-IE8).</p>
- <div class="bs-docs-example">
- <table class="table table-striped">
- <thead>
- <tr>
- <th>#</th>
- <th>First Name</th>
- <th>Last Name</th>
- <th>Username</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>1</td>
- <td>Mark</td>
- <td>Otto</td>
- <td>@mdo</td>
- </tr>
- <tr>
- <td>2</td>
- <td>Jacob</td>
- <td>Thornton</td>
- <td>@fat</td>
- </tr>
- <tr>
- <td>3</td>
- <td>Larry</td>
- <td>the Bird</td>
- <td>@twitter</td>
- </tr>
- </tbody>
- </table>
- </div>
+ <hr class="bs-docs-separator">
+
+
+ <h2>Optional classes</h2>
+ <p>Add any of the follow classes to the <code>.table</code> base class.</p>
+
+ <h3><code>.table-striped</code></h3>
+ <p>Adds zebra-striping to any table row within the <code>&lt;tbody&gt;</code> via the <code>:nth-child</code> CSS selector (not available in IE7-IE8).</p>
+ <div class="bs-docs-example">
+ <table class="table table-striped">
+ <thead>
+ <tr>
+ <th>#</th>
+ <th>First Name</th>
+ <th>Last Name</th>
+ <th>Username</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>1</td>
+ <td>Mark</td>
+ <td>Otto</td>
+ <td>@mdo</td>
+ </tr>
+ <tr>
+ <td>2</td>
+ <td>Jacob</td>
+ <td>Thornton</td>
+ <td>@fat</td>
+ </tr>
+ <tr>
+ <td>3</td>
+ <td>Larry</td>
+ <td>the Bird</td>
+ <td>@twitter</td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
<pre class="prettyprint linenums" style="margin-bottom: 18px;">
&lt;table class="table table-striped"&gt;
…
&lt;/table&gt;
</pre>
- <h3><code>.table-bordered</code></h3>
- <p>Add borders and rounded corners to the table.</p>
- <div class="bs-docs-example">
- <table class="table table-bordered">
- <thead>
- <tr>
- <th>#</th>
- <th>First Name</th>
- <th>Last Name</th>
- <th>Username</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td rowspan="2">1</td>
- <td>Mark</td>
- <td>Otto</td>
- <td>@mdo</td>
- </tr>
- <tr>
- <td>Mark</td>
- <td>Otto</td>
- <td>@TwBootstrap</td>
- </tr>
- <tr>
- <td>2</td>
- <td>Jacob</td>
- <td>Thornton</td>
- <td>@fat</td>
- </tr>
- <tr>
- <td>3</td>
- <td colspan="2">Larry the Bird</td>
- <td>@twitter</td>
- </tr>
- </tbody>
- </table>
- </div>
+ <h3><code>.table-bordered</code></h3>
+ <p>Add borders and rounded corners to the table.</p>
+ <div class="bs-docs-example">
+ <table class="table table-bordered">
+ <thead>
+ <tr>
+ <th>#</th>
+ <th>First Name</th>
+ <th>Last Name</th>
+ <th>Username</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td rowspan="2">1</td>
+ <td>Mark</td>
+ <td>Otto</td>
+ <td>@mdo</td>
+ </tr>
+ <tr>
+ <td>Mark</td>
+ <td>Otto</td>
+ <td>@TwBootstrap</td>
+ </tr>
+ <tr>
+ <td>2</td>
+ <td>Jacob</td>
+ <td>Thornton</td>
+ <td>@fat</td>
+ </tr>
+ <tr>
+ <td>3</td>
+ <td colspan="2">Larry the Bird</td>
+ <td>@twitter</td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
<pre class="prettyprint linenums">
&lt;table class="table table-bordered"&gt;
…
&lt;/table&gt;
</pre>
- <h3><code>.table-hover</code></h3>
- <p>Enable a hover state on table rows within a <code>&lt;tbody&gt;</code>.</p>
- <div class="bs-docs-example">
- <table class="table table-hover">
+ <h3><code>.table-hover</code></h3>
+ <p>Enable a hover state on table rows within a <code>&lt;tbody&gt;</code>.</p>
+ <div class="bs-docs-example">
+ <table class="table table-hover">
+ <thead>
+ <tr>
+ <th>#</th>
+ <th>First Name</th>
+ <th>Last Name</th>
+ <th>Username</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>1</td>
+ <td>Mark</td>
+ <td>Otto</td>
+ <td>@mdo</td>
+ </tr>
+ <tr>
+ <td>2</td>
+ <td>Jacob</td>
+ <td>Thornton</td>
+ <td>@fat</td>
+ </tr>
+ <tr>
+ <td>3</td>
+ <td colspan="2">Larry the Bird</td>
+ <td>@twitter</td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+<pre class="prettyprint linenums" style="margin-bottom: 18px;">
+&lt;table class="table table-hover"&gt;
+ …
+&lt;/table&gt;
+</pre>
+
+ <h3><code>.table-condensed</code></h3>
+ <p>Makes tables more compact by cutting cell padding in half.</p>
+ <div class="bs-docs-example">
+ <table class="table table-condensed">
+ <thead>
+ <tr>
+ <th>#</th>
+ <th>First Name</th>
+ <th>Last Name</th>
+ <th>Username</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>1</td>
+ <td>Mark</td>
+ <td>Otto</td>
+ <td>@mdo</td>
+ </tr>
+ <tr>
+ <td>2</td>
+ <td>Jacob</td>
+ <td>Thornton</td>
+ <td>@fat</td>
+ </tr>
+ <tr>
+ <td>3</td>
+ <td colspan="2">Larry the Bird</td>
+ <td>@twitter</td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+<pre class="prettyprint linenums" style="margin-bottom: 18px;">
+&lt;table class="table table-condensed"&gt;
+ …
+&lt;/table&gt;
+</pre>
+
+
+ <hr class="bs-docs-separator">
+
+
+ <h2>Supported table markup</h2>
+ <p>List of supported table HTML elements and how they should be used.</p>
+ <table class="table table-bordered table-striped">
+ <colgroup>
+ <col class="span1">
+ <col class="span7">
+ </colgroup>
<thead>
<tr>
- <th>#</th>
- <th>First Name</th>
- <th>Last Name</th>
- <th>Username</th>
+ <th>Tag</th>
+ <th>Description</th>
</tr>
</thead>
<tbody>
<tr>
- <td>1</td>
- <td>Mark</td>
- <td>Otto</td>
- <td>@mdo</td>
+ <td>
+ <code>&lt;table&gt;</code>
+ </td>
+ <td>
+ Wrapping element for displaying data in a tabular format
+ </td>
</tr>
<tr>
- <td>2</td>
- <td>Jacob</td>
- <td>Thornton</td>
- <td>@fat</td>
+ <td>
+ <code>&lt;thead&gt;</code>
+ </td>
+ <td>
+ Container element for table header rows (<code>&lt;tr&gt;</code>) to label table columns
+ </td>
</tr>
<tr>
- <td>3</td>
- <td colspan="2">Larry the Bird</td>
- <td>@twitter</td>
+ <td>
+ <code>&lt;tbody&gt;</code>
+ </td>
+ <td>
+ Container element for table rows (<code>&lt;tr&gt;</code>) in the body of the table
+ </td>
</tr>
- </tbody>
- </table>
- </div>
-<pre class="prettyprint linenums" style="margin-bottom: 18px;">
-&lt;table class="table table-hover"&gt;
- …
-&lt;/table&gt;
-</pre>
-
- <h3><code>.table-condensed</code></h3>
- <p>Makes tables more compact by cutting cell padding in half.</p>
- <div class="bs-docs-example">
- <table class="table table-condensed">
- <thead>
<tr>
- <th>#</th>
- <th>First Name</th>
- <th>Last Name</th>
- <th>Username</th>
+ <td>
+ <code>&lt;tr&gt;</code>
+ </td>
+ <td>
+ Container element for a set of table cells (<code>&lt;td&gt;</code> or <code>&lt;th&gt;</code>) that appears on a single row
+ </td>
</tr>
- </thead>
- <tbody>
<tr>
- <td>1</td>
- <td>Mark</td>
- <td>Otto</td>
- <td>@mdo</td>
+ <td>
+ <code>&lt;td&gt;</code>
+ </td>
+ <td>
+ Default table cell
+ </td>
</tr>
<tr>
- <td>2</td>
- <td>Jacob</td>
- <td>Thornton</td>
- <td>@fat</td>
+ <td>
+ <code>&lt;th&gt;</code>
+ </td>
+ <td>
+ Special table cell for column (or row, depending on scope and placement) labels<br>
+ Must be used within a <code>&lt;thead&gt;</code>
+ </td>
</tr>
<tr>
- <td>3</td>
- <td colspan="2">Larry the Bird</td>
- <td>@twitter</td>
+ <td>
+ <code>&lt;caption&gt;</code>
+ </td>
+ <td>
+ Description or summary of what the table holds, especially useful for screen readers
+ </td>
</tr>
</tbody>
</table>
- </div>
-<pre class="prettyprint linenums" style="margin-bottom: 18px;">
-&lt;table class="table table-condensed"&gt;
- …
-&lt;/table&gt;
-</pre>
-
-
- <hr class="bs-docs-separator">
-
-
- <h2>Supported table markup</h2>
- <p>List of supported table HTML elements and how they should be used.</p>
- <table class="table table-bordered table-striped">
- <colgroup>
- <col class="span1">
- <col class="span7">
- </colgroup>
- <thead>
- <tr>
- <th>Tag</th>
- <th>Description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>
- <code>&lt;table&gt;</code>
- </td>
- <td>
- Wrapping element for displaying data in a tabular format
- </td>
- </tr>
- <tr>
- <td>
- <code>&lt;thead&gt;</code>
- </td>
- <td>
- Container element for table header rows (<code>&lt;tr&gt;</code>) to label table columns
- </td>
- </tr>
- <tr>
- <td>
- <code>&lt;tbody&gt;</code>
- </td>
- <td>
- Container element for table rows (<code>&lt;tr&gt;</code>) in the body of the table
- </td>
- </tr>
- <tr>
- <td>
- <code>&lt;tr&gt;</code>
- </td>
- <td>
- Container element for a set of table cells (<code>&lt;td&gt;</code> or <code>&lt;th&gt;</code>) that appears on a single row
- </td>
- </tr>
- <tr>
- <td>
- <code>&lt;td&gt;</code>
- </td>
- <td>
- Default table cell
- </td>
- </tr>
- <tr>
- <td>
- <code>&lt;th&gt;</code>
- </td>
- <td>
- Special table cell for column (or row, depending on scope and placement) labels<br>
- Must be used within a <code>&lt;thead&gt;</code>
- </td>
- </tr>
- <tr>
- <td>
- <code>&lt;caption&gt;</code>
- </td>
- <td>
- Description or summary of what the table holds, especially useful for screen readers
- </td>
- </tr>
- </tbody>
- </table>
<pre class="prettyprint linenums">
&lt;table&gt;
&lt;thead&gt;
@@ -738,29 +739,29 @@ For example, &lt;code&gt;section&lt;/code&gt; should be wrapped as inline.
&lt;/table&gt;
</pre>
- </section>
+ </section>
- <!-- Forms
- ================================================== -->
- <section id="forms">
- <div class="page-header">
- <h1>Forms</h1>
- </div>
+ <!-- Forms
+ ================================================== -->
+ <section id="forms">
+ <div class="page-header">
+ <h1>Forms</h1>
+ </div>
- <h2>Default styles</h2>
- <p>Individual form controls receive styling, but without any required base class on the <code>&lt;form&gt;</code> or large changes in markup. Results in stacked, left-aligned labels on top of form controls.</p>
- <form class="bs-docs-example">
- <legend>Legend</legend>
- <label>Label name</label>
- <input type="text" placeholder="Type something…">
- <p class="help-block">Example block-level help text here.</p>
- <label class="checkbox">
- <input type="checkbox"> Check me out
- </label>
- <button type="submit" class="btn">Submit</button>
- </form>
+ <h2>Default styles</h2>
+ <p>Individual form controls receive styling, but without any required base class on the <code>&lt;form&gt;</code> or large changes in markup. Results in stacked, left-aligned labels on top of form controls.</p>
+ <form class="bs-docs-example">
+ <legend>Legend</legend>
+ <label>Label name</label>
+ <input type="text" placeholder="Type something…">
+ <p class="help-block">Example block-level help text here.</p>
+ <label class="checkbox">
+ <input type="checkbox"> Check me out
+ </label>
+ <button type="submit" class="btn">Submit</button>
+ </form>
<pre class="prettyprint linenums">
&lt;form class="well"&gt;
&lt;label&gt;Label name&lt;/label&gt;
@@ -774,18 +775,18 @@ For example, &lt;code&gt;section&lt;/code&gt; should be wrapped as inline.
</pre>
- <hr class="bs-docs-separator"></hr>
+ <hr class="bs-docs-separator"></hr>
- <h2>Optional layouts</h2>
- <p>Included with Bootstrap are three optional form layouts for common use cases.</p>
+ <h2>Optional layouts</h2>
+ <p>Included with Bootstrap are three optional form layouts for common use cases.</p>
- <h3>Search form</h3>
- <p>Add <code>.form-search</code> to the form and <code>.search-query</code> to the <code>&lt;input&gt;</code> for an extra-rounded text input.</p>
- <form class="bs-docs-example form-search">
- <input type="text" class="input-medium search-query">
- <button type="submit" class="btn">Search</button>
- </form>
+ <h3>Search form</h3>
+ <p>Add <code>.form-search</code> to the form and <code>.search-query</code> to the <code>&lt;input&gt;</code> for an extra-rounded text input.</p>
+ <form class="bs-docs-example form-search">
+ <input type="text" class="input-medium search-query">
+ <button type="submit" class="btn">Search</button>
+ </form>
<pre class="prettyprint linenums">
&lt;form class="form-search"&gt;
&lt;input type="text" class="input-medium search-query"&gt;
@@ -793,16 +794,16 @@ For example, &lt;code&gt;section&lt;/code&gt; should be wrapped as inline.
&lt;/form&gt;
</pre>
- <h3>Inline form</h3>
- <p>Add <code>.form-inline</code> for left-aligned labels and inline-block controls for a compact layout.</p>
- <form class="bs-docs-example form-inline">
- <input type="text" class="input-small" placeholder="Email">
- <input type="password" class="input-small" placeholder="Password">
- <label class="checkbox">
- <input type="checkbox"> Remember me
- </label>
- <button type="submit" class="btn">Sign in</button>
- </form>
+ <h3>Inline form</h3>
+ <p>Add <code>.form-inline</code> for left-aligned labels and inline-block controls for a compact layout.</p>
+ <form class="bs-docs-example form-inline">
+ <input type="text" class="input-small" placeholder="Email">
+ <input type="password" class="input-small" placeholder="Password">
+ <label class="checkbox">
+ <input type="checkbox"> Remember me
+ </label>
+ <button type="submit" class="btn">Sign in</button>
+ </form>
<pre class="prettyprint linenums">
&lt;form class="form-inline"&gt;
&lt;input type="text" class="input-small" placeholder="Email"&gt;
@@ -814,37 +815,37 @@ For example, &lt;code&gt;section&lt;/code&gt; should be wrapped as inline.
&lt;/form&gt;
</pre>
- <h3>Horizontal form</h3>
- <p>Right align labels and float them to the left to make them appear on the same line as controls. Requires the most markup changes from a default form:</p>
- <ul>
- <li>Add <code>.form-horizontal</code> to the form</li>
- <li>Wrap labels and controls in <code>.control-group</code></li>
- <li>Add <code>.control-label</code> to the label</li>
- <li>Wrap any associated controls in <code>.controls</code> for proper alignment</li>
- </ul>
- <form class="bs-docs-example form-horizontal">
- <legend>Legend</legend>
- <div class="control-group">
- <label class="control-label" for="">Email</label>
- <div class="controls">
- <input type="text" placeholder="Email">
+ <h3>Horizontal form</h3>
+ <p>Right align labels and float them to the left to make them appear on the same line as controls. Requires the most markup changes from a default form:</p>
+ <ul>
+ <li>Add <code>.form-horizontal</code> to the form</li>
+ <li>Wrap labels and controls in <code>.control-group</code></li>
+ <li>Add <code>.control-label</code> to the label</li>
+ <li>Wrap any associated controls in <code>.controls</code> for proper alignment</li>
+ </ul>
+ <form class="bs-docs-example form-horizontal">
+ <legend>Legend</legend>
+ <div class="control-group">
+ <label class="control-label" for="">Email</label>
+ <div class="controls">
+ <input type="text" placeholder="Email">
+ </div>
</div>
- </div>
- <div class="control-group">
- <label class="control-label" for="">Password</label>
- <div class="controls">
- <input type="password" placeholder="Password">
+ <div class="control-group">
+ <label class="control-label" for="">Password</label>
+ <div class="controls">
+ <input type="password" placeholder="Password">
+ </div>
</div>
- </div>
- <div class="control-group">
- <div class="controls">
- <label class="checkbox">
- <input type="checkbox"> Remember me
- </label>
- <button type="submit" class="btn">Sign in</button>
+ <div class="control-group">
+ <div class="controls">
+ <label class="checkbox">
+ <input type="checkbox"> Remember me
+ </label>
+ <button type="submit" class="btn">Sign in</button>
+ </div>
</div>
- </div>
- </form>
+ </form>
<pre class="prettyprint linenums">
&lt;form class="form-horizontal"&gt;
&lt;div class="control-group"&gt;
@@ -871,49 +872,49 @@ For example, &lt;code&gt;section&lt;/code&gt; should be wrapped as inline.
</pre>
- <hr class="bs-docs-separator"></hr>
+ <hr class="bs-docs-separator"></hr>
- <h2>Supported form controls</h2>
- <p>Examples of standard form controls supported in an example form layout.</p>
+ <h2>Supported form controls</h2>
+ <p>Examples of standard form controls supported in an example form layout.</p>
- <h3>Inputs</h3>
- <p>Most common form control, text-based input fields. Includes support for all HTML5 types: text, password, datetime, datetime-local, date, month, time, week, number, email, url, search, tel, and color.</p>
- <p>Requires the use of a specified <code>type</code> at all times.</p>
- <form class="bs-docs-example form-inline">
- <input type="text" placeholder="Text input">
- </form>
+ <h3>Inputs</h3>
+ <p>Most common form control, text-based input fields. Includes support for all HTML5 types: text, password, datetime, datetime-local, date, month, time, week, number, email, url, search, tel, and color.</p>
+ <p>Requires the use of a specified <code>type</code> at all times.</p>
+ <form class="bs-docs-example form-inline">
+ <input type="text" placeholder="Text input">
+ </form>
<pre class="prettyprint linenums">
&lt;input type="text" placeholder="Text input"&gt;
</pre>
- <h3>Textarea</h3>
- <p>Form control which supports multiple lines of text. Change <code>row</code> attribute as necessary.</p>
- <form class="bs-docs-example form-inline">
- <textarea rows="3"></textarea>
- </form>
+ <h3>Textarea</h3>
+ <p>Form control which supports multiple lines of text. Change <code>row</code> attribute as necessary.</p>
+ <form class="bs-docs-example form-inline">
+ <textarea rows="3"></textarea>
+ </form>
<pre class="prettyprint linenums">
&lt;textarea id="textarea" rows="3"&gt;&lt;/textarea&gt;
</pre>
- <h3>Checkboxes and radios</h3>
- <p>Checkboxes are for selecting one or several options in a list while radios are for selecting one option from many.</p>
- <h4>Default (stacked)</h4>
- <form class="bs-docs-example">
- <label class="checkbox">
- <input type="checkbox" value="">
- Option one is this and that&mdash;be sure to include why it's great
- </label>
- <br>
- <label class="radio">
- <input type="radio" name="optionsRadios" id="optionsRadios1" value="option1" checked>
- Option one is this and that&mdash;be sure to include why it's great
- </label>
- <label class="radio">
- <input type="radio" name="optionsRadios" id="optionsRadios2" value="option2">
- Option two can be something else and selecting it will deselect option one
- </label>
- </form>
+ <h3>Checkboxes and radios</h3>
+ <p>Checkboxes are for selecting one or several options in a list while radios are for selecting one option from many.</p>
+ <h4>Default (stacked)</h4>
+ <form class="bs-docs-example">
+ <label class="checkbox">
+ <input type="checkbox" value="">
+ Option one is this and that&mdash;be sure to include why it's great
+ </label>
+ <br>
+ <label class="radio">
+ <input type="radio" name="optionsRadios" id="optionsRadios1" value="option1" checked>
+ Option one is this and that&mdash;be sure to include why it's great
+ </label>
+ <label class="radio">
+ <input type="radio" name="optionsRadios" id="optionsRadios2" value="option2">
+ Option two can be something else and selecting it will deselect option one
+ </label>
+ </form>
<pre class="prettyprint linenums">
&lt;label class="checkbox"&gt;
&lt;input type="checkbox" value=""&gt;
@@ -930,19 +931,19 @@ For example, &lt;code&gt;section&lt;/code&gt; should be wrapped as inline.
&lt;/label&gt;
</pre>
- <h4>Inline checkboxes</h4>
- <p>Add the <code>.inline</code> class to a series of checkboxes or radios for controls appear on the same line.</p>
- <form class="bs-docs-example">
- <label class="checkbox inline">
- <input type="checkbox" id="inlineCheckbox1" value="option1"> 1
- </label>
- <label class="checkbox inline">
- <input type="checkbox" id="inlineCheckbox2" value="option2"> 2
- </label>
- <label class="checkbox inline">
- <input type="checkbox" id="inlineCheckbox3" value="option3"> 3
- </label>
- </form>
+ <h4>Inline checkboxes</h4>
+ <p>Add the <code>.inline</code> class to a series of checkboxes or radios for controls appear on the same line.</p>
+ <form class="bs-docs-example">
+ <label class="checkbox inline">
+ <input type="checkbox" id="inlineCheckbox1" value="option1"> 1
+ </label>
+ <label class="checkbox inline">
+ <input type="checkbox" id="inlineCheckbox2" value="option2"> 2
+ </label>
+ <label class="checkbox inline">
+ <input type="checkbox" id="inlineCheckbox3" value="option3"> 3
+ </label>
+ </form>
<pre class="prettyprint linenums">
&lt;label class="checkbox inline"&gt;
&lt;input type="checkbox" id="inlineCheckbox1" value="option1"&gt; 1
@@ -955,25 +956,25 @@ For example, &lt;code&gt;section&lt;/code&gt; should be wrapped as inline.
&lt;/label&gt;
</pre>
- <h3>Selects</h3>
- <p>Use the default option or specify a <code>multiple="multiple"</code> to show multiple options at once.</p>
- <form class="bs-docs-example">
- <select>
- <option>something</option>
- <option>2</option>
- <option>3</option>
- <option>4</option>
- <option>5</option>
- </select>
- <br>
- <select>
- <option>1</option>
- <option>2</option>
- <option>3</option>
- <option>4</option>
- <option>5</option>
- </select>
- </form>
+ <h3>Selects</h3>
+ <p>Use the default option or specify a <code>multiple="multiple"</code> to show multiple options at once.</p>
+ <form class="bs-docs-example">
+ <select>
+ <option>something</option>
+ <option>2</option>
+ <option>3</option>
+ <option>4</option>
+ <option>5</option>
+ </select>
+ <br>
+ <select>
+ <option>1</option>
+ <option>2</option>
+ <option>3</option>
+ <option>4</option>
+ <option>5</option>
+ </select>
+ </form>
<pre class="prettyprint linenums">
&lt;select&gt;
&lt;option&gt;something&lt;/option&gt;
@@ -993,28 +994,28 @@ For example, &lt;code&gt;section&lt;/code&gt; should be wrapped as inline.
</pre>
- <hr class="bs-docs-separator"></hr>
+ <hr class="bs-docs-separator"></hr>
- <h2>Extending form controls</h2>
- <p>Adding on top of existing browser controls, Bootstrap includes other useful form components.</p>
+ <h2>Extending form controls</h2>
+ <p>Adding on top of existing browser controls, Bootstrap includes other useful form components.</p>
- <h3>Prepended and appended inputs</h3>
- <p>Add text or buttons before or after any text-based input. Do note that <code>select</code> elements are not supported here.</p>
+ <h3>Prepended and appended inputs</h3>
+ <p>Add text or buttons before or after any text-based input. Do note that <code>select</code> elements are not supported here.</p>
- <h4>Default options</h4>
- <p>Wrap a <code>.add-on</code> and an <code>input</code> with one of two classes to prepend or append text to an input.</p>
- <form class="bs-docs-example">
- <div class="input-prepend">
- <span class="add-on">@</span>
- <input class="span2" id="prependedInput" size="16" type="text" placeholder="Username">
- </div>
- <br>
- <div class="input-append">
- <input class="span2" id="appendedInput" size="16" type="text">
- <span class="add-on">.00</span>
- </div>
- </form>
+ <h4>Default options</h4>
+ <p>Wrap a <code>.add-on</code> and an <code>input</code> with one of two classes to prepend or append text to an input.</p>
+ <form class="bs-docs-example">
+ <div class="input-prepend">
+ <span class="add-on">@</span>
+ <input class="span2" id="prependedInput" size="16" type="text" placeholder="Username">
+ </div>
+ <br>
+ <div class="input-append">
+ <input class="span2" id="appendedInput" size="16" type="text">
+ <span class="add-on">.00</span>
+ </div>
+ </form>
<pre class="prettyprint linenums">
&lt;div class="input-prepend"&gt;
&lt;span class="add-on"&gt;@&lt;/span&gt;&lt;input class="span2" id="prependedInput" size="16" type="text" placeholder="Username"&gt;
@@ -1024,35 +1025,35 @@ For example, &lt;code&gt;section&lt;/code&gt; should be wrapped as inline.
&lt;/div&gt;
</pre>
- <h4>Combined</h4>
- <p>Use both classes and two instances of <code>.add-on</code> to prepend and append an input.</p>
- <form class="bs-docs-example form-inline">
- <div class="input-prepend input-append">
- <span class="add-on">$</span>
- <input class="span2" id="appendedPrependedInput" size="16" type="text">
- <span class="add-on">.00</span>
- </div>
- </form>
+ <h4>Combined</h4>
+ <p>Use both classes and two instances of <code>.add-on</code> to prepend and append an input.</p>
+ <form class="bs-docs-example form-inline">
+ <div class="input-prepend input-append">
+ <span class="add-on">$</span>
+ <input class="span2" id="appendedPrependedInput" size="16" type="text">
+ <span class="add-on">.00</span>
+ </div>
+ </form>
<pre class="prettyprint linenums">
&lt;div class="input-prepend input-append"&gt;
&lt;span class="add-on"&gt;$&lt;/span&gt;&lt;input class="span2" id="appendedPrependedInput" size="16" type="text"&gt;&lt;span class="add-on"&gt;.00&lt;/span&gt;
&lt;/div&gt;
</pre>
- <h4>Buttons instead of text</h4>
- <p>Instead of a <code>&lt;span&gt;</code> with text, use a <code>.btn</code> to attach a button (or two) to an input.</p>
- <form class="bs-docs-example">
- <div class="input-append">
- <input class="span2" id="appendedInputButton" size="16" type="text">
- <button class="btn" type="button">Go!</button>
- </div>
- <br>
- <div class="input-append">
- <input class="span2" id="appendedInputButtons" size="16" type="text">
- <button class="btn" type="button">Search</button>
- <button class="btn" type="button">Options</button>
- </div>
- </form>
+ <h4>Buttons instead of text</h4>
+ <p>Instead of a <code>&lt;span&gt;</code> with text, use a <code>.btn</code> to attach a button (or two) to an input.</p>
+ <form class="bs-docs-example">
+ <div class="input-append">
+ <input class="span2" id="appendedInputButton" size="16" type="text">
+ <button class="btn" type="button">Go!</button>
+ </div>
+ <br>
+ <div class="input-append">
+ <input class="span2" id="appendedInputButtons" size="16" type="text">
+ <button class="btn" type="button">Search</button>
+ <button class="btn" type="button">Options</button>
+ </div>
+ </form>
<pre class="prettyprint linenums">
&lt;div class="input-append"&gt;
&lt;input class="span2" id="appendedInputButton" size="16" type="text"&gt;&lt;button class="btn" type="button"&gt;Go!&lt;/button&gt;
@@ -1063,17 +1064,17 @@ For example, &lt;code&gt;section&lt;/code&gt; should be wrapped as inline.
&lt;/div&gt;
</pre>
- <h4>Search form</h4>
- <form class="bs-docs-example form-search">
- <div class="input-append">
- <input type="text" class="span2 search-query">
- <button type="submit" class="btn">Search</button>
- </div>
- <div class="input-prepend">
- <button type="submit" class="btn">Search</button>
- <input type="text" class="span2 search-query">
- </div>
- </form>
+ <h4>Search form</h4>
+ <form class="bs-docs-example form-search">
+ <div class="input-append">
+ <input type="text" class="span2 search-query">
+ <button type="submit" class="btn">Search</button>
+ </div>
+ <div class="input-prepend">
+ <button type="submit" class="btn">Search</button>
+ <input type="text" class="span2 search-query">
+ </div>
+ </form>
<pre class="prettyprint linenums">
&lt;form class="form-search"&gt;
&lt;input type="text" class="span2 search-query"&gt;
@@ -1081,20 +1082,20 @@ For example, &lt;code&gt;section&lt;/code&gt; should be wrapped as inline.
&lt;/form&gt;
</pre>
- <h3>Control sizing</h3>
- <p>Use relative sizing classes like <code>.input-large</code> or match your inputs to the grid column sizes using <code>.span*</code> classes.</p>
-
- <h4>Relative sizing</h4>
- <form class="bs-docs-example" style="padding-bottom: 15px;">
- <div class="controls docs-input-sizes">
- <input class="input-mini" type="text" placeholder=".input-mini">
- <input class="input-small" type="text" placeholder=".input-small">
- <input class="input-medium" type="text" placeholder=".input-medium">
- <input class="input-large" type="text" placeholder=".input-large">
- <input class="input-xlarge" type="text" placeholder=".input-xlarge">
- <input class="input-xxlarge" type="text" placeholder=".input-xxlarge">
- </div>
- </form>
+ <h3>Control sizing</h3>
+ <p>Use relative sizing classes like <code>.input-large</code> or match your inputs to the grid column sizes using <code>.span*</code> classes.</p>
+
+ <h4>Relative sizing</h4>
+ <form class="bs-docs-example" style="padding-bottom: 15px;">
+ <div class="controls docs-input-sizes">
+ <input class="input-mini" type="text" placeholder=".input-mini">
+ <input class="input-small" type="text" placeholder=".input-small">
+ <input class="input-medium" type="text" placeholder=".input-medium">
+ <input class="input-large" type="text" placeholder=".input-large">
+ <input class="input-xlarge" type="text" placeholder=".input-xlarge">
+ <input class="input-xxlarge" type="text" placeholder=".input-xxlarge">
+ </div>
+ </form>
<pre class="prettyprint linenums">
&lt;input class="input-mini" type="text"&gt;
&lt;input class="input-small" type="text"&gt;
@@ -1103,68 +1104,68 @@ For example, &lt;code&gt;section&lt;/code&gt; should be wrapped as inline.
&lt;input class="input-xlarge" type="text"&gt;
&lt;input class="input-xxlarge" type="text"&gt;
</pre>
- <p>
- <span class="label label-info">Heads up!</span> In future versions, we'll be altering the use of these relative input classes to match our button sizes. For example, <code>.input-large</code> will increase the padding and font-size of an input.
- </p>
-
- <h4>Grid sizing</h4>
- <p>Use <code>.span1</code> to <code>.span12</code> for inputs that match the same sizes of the grid columns.</p>
- <form class="bs-docs-example" style="padding-bottom: 15px;">
- <div class="controls docs-input-sizes">
- <input class="span1" type="text" placeholder=".span1">
- <input class="span2" type="text" placeholder=".span2">
- <input class="span3" type="text" placeholder=".span3">
- <select class="span1">
- <option>1</option>
- <option>2</option>
- <option>3</option>
- <option>4</option>
- <option>5</option>
- </select>
- <select class="span2">
- <option>1</option>
- <option>2</option>
- <option>3</option>
- <option>4</option>
- <option>5</option>
- </select>
- <select class="span3">
- <option>1</option>
- <option>2</option>
- <option>3</option>
- <option>4</option>
- <option>5</option>
- </select>
- </div>
- </form>
+ <p>
+ <span class="label label-info">Heads up!</span> In future versions, we'll be altering the use of these relative input classes to match our button sizes. For example, <code>.input-large</code> will increase the padding and font-size of an input.
+ </p>
+
+ <h4>Grid sizing</h4>
+ <p>Use <code>.span1</code> to <code>.span12</code> for inputs that match the same sizes of the grid columns.</p>
+ <form class="bs-docs-example" style="padding-bottom: 15px;">
+ <div class="controls docs-input-sizes">
+ <input class="span1" type="text" placeholder=".span1">
+ <input class="span2" type="text" placeholder=".span2">
+ <input class="span3" type="text" placeholder=".span3">
+ <select class="span1">
+ <option>1</option>
+ <option>2</option>
+ <option>3</option>
+ <option>4</option>
+ <option>5</option>
+ </select>
+ <select class="span2">
+ <option>1</option>
+ <option>2</option>
+ <option>3</option>
+ <option>4</option>
+ <option>5</option>
+ </select>
+ <select class="span3">
+ <option>1</option>
+ <option>2</option>
+ <option>3</option>
+ <option>4</option>
+ <option>5</option>
+ </select>
+ </div>
+ </form>
<pre class="prettyprint linenums">
&lt;input class="span1" type="text"&gt;
&lt;input class="span2" type="text"&gt;
&lt;input class="span3" type="text"&gt;
</pre>
- <p>For multiple grid inputs per line, <strong>use the <code>.controls-row</code> modifier class for proper spacing</strong>. It floats the inputs to collapse white-space, sets the proper margins, and the clears the float.</p>
- <form class="bs-docs-example" style="padding-bottom: 15px;">
- <div class="controls">
- <input class="span5" type="text" placeholder=".span5">
- </div>
- <div class="controls controls-row">
- <input class="span4" type="text" placeholder=".span4">
- <input class="span1" type="text" placeholder=".span1">
- </div>
- <div class="controls controls-row">
- <input class="span3" type="text" placeholder=".span3">
- <input class="span2" type="text" placeholder=".span2">
- </div>
- <div class="controls controls-row">
- <input class="span2" type="text" placeholder=".span2">
- <input class="span3" type="text" placeholder=".span3">
- </div>
- <div class="controls controls-row">
- <input class="span1" type="text" placeholder=".span1">
- <input class="span4" type="text" placeholder=".span4">
- </div>
- </form>
+ <p>For multiple grid inputs per line, <strong>use the <code>.controls-row</code> modifier class for proper spacing</strong>. It floats the inputs to collapse white-space, sets the proper margins, and the clears the float.</p>
+ <form class="bs-docs-example" style="padding-bottom: 15px;">
+ <div class="controls">
+ <input class="span5" type="text" placeholder=".span5">
+ </div>
+ <div class="controls controls-row">
+ <input class="span4" type="text" placeholder=".span4">
+ <input class="span1" type="text" placeholder=".span1">
+ </div>
+ <div class="controls controls-row">
+ <input class="span3" type="text" placeholder=".span3">
+ <input class="span2" type="text" placeholder=".span2">
+ </div>
+ <div class="controls controls-row">
+ <input class="span2" type="text" placeholder=".span2">
+ <input class="span3" type="text" placeholder=".span3">
+ </div>
+ <div class="controls controls-row">
+ <input class="span1" type="text" placeholder=".span1">
+ <input class="span4" type="text" placeholder=".span4">
+ </div>
+ </form>
<pre class="prettyprint linenums">
&lt;div class="controls controls-row"&gt;
&lt;input class="span4" type="text" placeholder=".span4"&gt;
@@ -1172,23 +1173,23 @@ For example, &lt;code&gt;section&lt;/code&gt; should be wrapped as inline.
&lt;/div&gt;
</pre>
- <h3>Uneditable inputs</h3>
- <p>Present data in a form that's not editable without using actual form markup.</p>
- <form class="bs-docs-example">
- <span class="input-xlarge uneditable-input">Some value here</span>
- </form>
+ <h3>Uneditable inputs</h3>
+ <p>Present data in a form that's not editable without using actual form markup.</p>
+ <form class="bs-docs-example">
+ <span class="input-xlarge uneditable-input">Some value here</span>
+ </form>
<pre class="prettyprint linenums">
&lt;span class="input-xlarge uneditable-input"&gt;Some value here&lt;/span&gt;
</pre>
- <h3>Form actions</h3>
- <p>End a form with a group of actions (buttons). When placed within a <code>.form-horizontal</code>, the buttons will automatically indent to line up with the form controls.</p>
- <form class="bs-docs-example">
- <div class="form-actions">
- <button type="submit" class="btn btn-primary">Save changes</button>
- <button type="button" class="btn">Cancel</button>
- </div>
- </form>
+ <h3>Form actions</h3>
+ <p>End a form with a group of actions (buttons). When placed within a <code>.form-horizontal</code>, the buttons will automatically indent to line up with the form controls.</p>
+ <form class="bs-docs-example">
+ <div class="form-actions">
+ <button type="submit" class="btn btn-primary">Save changes</button>
+ <button type="button" class="btn">Cancel</button>
+ </div>
+ </form>
<pre class="prettyprint linenums">
&lt;div class="form-actions"&gt;
&lt;button type="submit" class="btn btn-primary"&gt;Save changes&lt;/button&gt;
@@ -1196,76 +1197,76 @@ For example, &lt;code&gt;section&lt;/code&gt; should be wrapped as inline.
&lt;/div&gt;
</pre>
- <h3>Help text</h3>
- <p>Inline and block level support for help text that appears around form controls.</p>
- <h4>Inline help</h4>
- <form class="bs-docs-example form-inline">
- <input type="text"> <span class="help-inline">Inline help text</span>
- </form>
+ <h3>Help text</h3>
+ <p>Inline and block level support for help text that appears around form controls.</p>
+ <h4>Inline help</h4>
+ <form class="bs-docs-example form-inline">
+ <input type="text"> <span class="help-inline">Inline help text</span>
+ </form>
<pre class="prettyprint linenums">
&lt;span class="help-inline"&gt;Inline help text&lt;/span&gt;
</pre>
- <h4>Block help</h4>
- <form class="bs-docs-example form-inline">
- <input type="text">
- <span class="help-block">A longer block of help text that breaks onto a new line and may extend beyond one line.</span>
- </form>
+ <h4>Block help</h4>
+ <form class="bs-docs-example form-inline">
+ <input type="text">
+ <span class="help-block">A longer block of help text that breaks onto a new line and may extend beyond one line.</span>
+ </form>
<pre class="prettyprint linenums">
&lt;span class="help-block"&gt;A longer block of help text that breaks onto a new line and may extend beyond one line.&lt;/span&gt;
</pre>
- <hr class="bs-docs-separator"></hr>
+ <hr class="bs-docs-separator"></hr>
- <h2>Form control states</h2>
- <p>Provide feedback to users or visitors with basic feedback states on form controls and labels.</p>
+ <h2>Form control states</h2>
+ <p>Provide feedback to users or visitors with basic feedback states on form controls and labels.</p>
- <h3>Input focus</h3>
- <p>We remove the default <code>outline</code> styles on some form controls and apply a <code>box-shadow</code> in its place for <code>:focus</code>.</p>
- <form class="bs-docs-example form-inline">
- <input class="input-xlarge focused" id="focusedInput" type="text" value="This is focused...">
- </form>
+ <h3>Input focus</h3>
+ <p>We remove the default <code>outline</code> styles on some form controls and apply a <code>box-shadow</code> in its place for <code>:focus</code>.</p>
+ <form class="bs-docs-example form-inline">
+ <input class="input-xlarge focused" id="focusedInput" type="text" value="This is focused...">
+ </form>
<pre class="prettyprint linenums">
&lt;input class="input-xlarge" id="focusedInput" type="text" value="This is focused..."&gt;
</pre>
- <h3>Disabled inputs</h3>
- <p>Add the <code>disabled</code> attribute on an input to prevent user input and trigger a slightly different look.</p>
- <form class="bs-docs-example form-inline">
- <input class="input-xlarge" id="disabledInput" type="text" placeholder="Disabled input here…" disabled>
- </form>
+ <h3>Disabled inputs</h3>
+ <p>Add the <code>disabled</code> attribute on an input to prevent user input and trigger a slightly different look.</p>
+ <form class="bs-docs-example form-inline">
+ <input class="input-xlarge" id="disabledInput" type="text" placeholder="Disabled input here…" disabled>
+ </form>
<pre class="prettyprint linenums">
&lt;input class="input-xlarge" id="disabledInput" type="text" placeholder="Disabled input here..." disabled&gt;
</pre>
- <h3>Validation states</h3>
- <p>Bootstrap includes validation styles for error, warning, and success messages. To use, add the appropriate class to the surrounding <code>.control-group</code>.</p>
+ <h3>Validation states</h3>
+ <p>Bootstrap includes validation styles for error, warning, and success messages. To use, add the appropriate class to the surrounding <code>.control-group</code>.</p>
- <form class="bs-docs-example form-horizontal">
- <div class="control-group warning">
- <label class="control-label" for="inputWarning">Input with warning</label>
- <div class="controls">
- <input type="text" id="inputWarning">
- <span class="help-inline">Something may have gone wrong</span>
+ <form class="bs-docs-example form-horizontal">
+ <div class="control-group warning">
+ <label class="control-label" for="inputWarning">Input with warning</label>
+ <div class="controls">
+ <input type="text" id="inputWarning">
+ <span class="help-inline">Something may have gone wrong</span>
+ </div>
</div>
- </div>
- <div class="control-group error">
- <label class="control-label" for="inputError">Input with error</label>
- <div class="controls">
- <input type="text" id="inputError">
- <span class="help-inline">Please correct the error</span>
+ <div class="control-group error">
+ <label class="control-label" for="inputError">Input with error</label>
+ <div class="controls">
+ <input type="text" id="inputError">
+ <span class="help-inline">Please correct the error</span>
+ </div>
</div>
- </div>
- <div class="control-group success">
- <label class="control-label" for="inputSuccess">Input with success</label>
- <div class="controls">
- <input type="text" id="inputSuccess">
- <span class="help-inline">Woohoo!</span>
+ <div class="control-group success">
+ <label class="control-label" for="inputSuccess">Input with success</label>
+ <div class="controls">
+ <input type="text" id="inputSuccess">
+ <span class="help-inline">Woohoo!</span>
+ </div>
</div>
- </div>
- </form>
+ </form>
<pre class="prettyprint linenums">
&lt;div class="control-group warning"&gt;
&lt;label class="control-label" for="inputWarning"&gt;Input with warning&lt;/label&gt;
@@ -1290,133 +1291,133 @@ For example, &lt;code&gt;section&lt;/code&gt; should be wrapped as inline.
&lt;/div&gt;
</pre>
- </section>
+ </section>
- <!-- Buttons
- ================================================== -->
- <section id="buttons">
- <div class="page-header">
- <h1>Buttons</h1>
- </div>
+ <!-- Buttons
+ ================================================== -->
+ <section id="buttons">
+ <div class="page-header">
+ <h1>Buttons</h1>
+ </div>
- <h2>Default buttons</h2>
- <p>Button styles can be applied to anything with the <code>.btn</code> class applied. However, typically you'll want to apply these to only <code>&lt;a&gt;</code> and <code>&lt;button&gt;</code> elements for the best rendering.</p>
- <table class="table table-bordered table-striped">
- <thead>
- <tr>
- <th>Button</th>
- <th>class=""</th>
- <th>Description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><button type="button" class="btn">Default</button></td>
- <td><code>btn</code></td>
- <td>Standard gray button with gradient</td>
- </tr>
- <tr>
- <td><button type="button" class="btn btn-primary">Primary</button></td>
- <td><code>btn btn-primary</code></td>
- <td>Provides extra visual weight and identifies the primary action in a set of buttons</td>
- </tr>
- <tr>
- <td><button type="button" class="btn btn-info">Info</button></td>
- <td><code>btn btn-info</code></td>
- <td>Used as an alternative to the default styles</td>
- </tr>
- <tr>
- <td><button type="button" class="btn btn-success">Success</button></td>
- <td><code>btn btn-success</code></td>
- <td>Indicates a successful or positive action</td>
- </tr>
- <tr>
- <td><button type="button" class="btn btn-warning">Warning</button></td>
- <td><code>btn btn-warning</code></td>
- <td>Indicates caution should be taken with this action</td>
- </tr>
- <tr>
- <td><button type="button" class="btn btn-danger">Danger</button></td>
- <td><code>btn btn-danger</code></td>
- <td>Indicates a dangerous or potentially negative action</td>
- </tr>
- <tr>
- <td><button type="button" class="btn btn-inverse">Inverse</button></td>
- <td><code>btn btn-inverse</code></td>
- <td>Alternate dark gray button, not tied to a semantic action or use</td>
- </tr>
- </tbody>
- </table>
-
- <h4>Cross browser compatibility</h4>
- <p>IE9 doesn't crop background gradients on rounded corners, so we remove it. Related, IE9 jankifies disabled <code>button</code> elements, rendering text gray with a nasty text-shadow that we cannot fix.</p>
-
-
- <hr class="bs-docs-separator">
-
-
- <h2>Button sizes</h2>
- <p>Fancy larger or smaller buttons? Add <code>.btn-large</code>, <code>.btn-small</code>, or <code>.btn-mini</code> for two additional sizes.</p>
- <p>
- <button type="button" class="btn btn-large btn-primary">Primary action</button>
- <button type="button" class="btn btn-large">Action</button>
- </p>
- <p>
- <button type="button" class="btn btn-small btn-primary">Primary action</button>
- <button type="button" class="btn btn-small">Action</button>
- </p>
- <p>
- <button type="button" class="btn btn-mini btn-primary">Primary action</button>
- <button type="button" class="btn btn-mini">Action</button>
- </p>
+ <h2>Default buttons</h2>
+ <p>Button styles can be applied to anything with the <code>.btn</code> class applied. However, typically you'll want to apply these to only <code>&lt;a&gt;</code> and <code>&lt;button&gt;</code> elements for the best rendering.</p>
+ <table class="table table-bordered table-striped">
+ <thead>
+ <tr>
+ <th>Button</th>
+ <th>class=""</th>
+ <th>Description</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td><button type="button" class="btn">Default</button></td>
+ <td><code>btn</code></td>
+ <td>Standard gray button with gradient</td>
+ </tr>
+ <tr>
+ <td><button type="button" class="btn btn-primary">Primary</button></td>
+ <td><code>btn btn-primary</code></td>
+ <td>Provides extra visual weight and identifies the primary action in a set of buttons</td>
+ </tr>
+ <tr>
+ <td><button type="button" class="btn btn-info">Info</button></td>
+ <td><code>btn btn-info</code></td>
+ <td>Used as an alternative to the default styles</td>
+ </tr>
+ <tr>
+ <td><button type="button" class="btn btn-success">Success</button></td>
+ <td><code>btn btn-success</code></td>
+ <td>Indicates a successful or positive action</td>
+ </tr>
+ <tr>
+ <td><button type="button" class="btn btn-warning">Warning</button></td>
+ <td><code>btn btn-warning</code></td>
+ <td>Indicates caution should be taken with this action</td>
+ </tr>
+ <tr>
+ <td><button type="button" class="btn btn-danger">Danger</button></td>
+ <td><code>btn btn-danger</code></td>
+ <td>Indicates a dangerous or potentially negative action</td>
+ </tr>
+ <tr>
+ <td><button type="button" class="btn btn-inverse">Inverse</button></td>
+ <td><code>btn btn-inverse</code></td>
+ <td>Alternate dark gray button, not tied to a semantic action or use</td>
+ </tr>
+ </tbody>
+ </table>
+ <h4>Cross browser compatibility</h4>
+ <p>IE9 doesn't crop background gradients on rounded corners, so we remove it. Related, IE9 jankifies disabled <code>button</code> elements, rendering text gray with a nasty text-shadow that we cannot fix.</p>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h2>Disabled state</h2>
- <p>Make buttons look unclickable by fading them back 50%.</p>
- <h3>Anchor element</h3>
- <p>Add the <code>.disabled</code> class to <code>&lt;a&gt;</code> buttons.</p>
- <p class="bs-docs-example">
- <a href="#" class="btn btn-large btn-primary disabled">Primary link</a>
- <a href="#" class="btn btn-large disabled">Link</a>
- </p>
+ <h2>Button sizes</h2>
+ <p>Fancy larger or smaller buttons? Add <code>.btn-large</code>, <code>.btn-small</code>, or <code>.btn-mini</code> for two additional sizes.</p>
+ <p>
+ <button type="button" class="btn btn-large btn-primary">Primary action</button>
+ <button type="button" class="btn btn-large">Action</button>
+ </p>
+ <p>
+ <button type="button" class="btn btn-small btn-primary">Primary action</button>
+ <button type="button" class="btn btn-small">Action</button>
+ </p>
+ <p>
+ <button type="button" class="btn btn-mini btn-primary">Primary action</button>
+ <button type="button" class="btn btn-mini">Action</button>
+ </p>
+
+
+ <hr class="bs-docs-separator">
+
+
+ <h2>Disabled state</h2>
+ <p>Make buttons look unclickable by fading them back 50%.</p>
+
+ <h3>Anchor element</h3>
+ <p>Add the <code>.disabled</code> class to <code>&lt;a&gt;</code> buttons.</p>
+ <p class="bs-docs-example">
+ <a href="#" class="btn btn-large btn-primary disabled">Primary link</a>
+ <a href="#" class="btn btn-large disabled">Link</a>
+ </p>
<pre class="prettyprint linenums">
&lt;a href="#" class="btn btn-large btn-primary disabled"&gt;Primary link&lt;/a&gt;
&lt;a href="#" class="btn btn-large disabled"&gt;Link&lt;/a&gt;
</pre>
- <p>
- <span class="label label-info">Heads up!</span>
- We use <code>.disabled</code> as a utility class here, similar to the common <code>.active</code> class, so no prefix is required.
- </p>
-
- <h3>Button element</h3>
- <p>Add the <code>disabled</code> attribute to <code>&lt;button&gt;</code> buttons.</p>
- <p class="bs-docs-example">
- <button type="button" class="btn btn-large btn-primary disabled" disabled="disabled">Primary button</button>
- <button type="button" class="btn btn-large" disabled>Button</button>
- </p>
+ <p>
+ <span class="label label-info">Heads up!</span>
+ We use <code>.disabled</code> as a utility class here, similar to the common <code>.active</code> class, so no prefix is required.
+ </p>
+
+ <h3>Button element</h3>
+ <p>Add the <code>disabled</code> attribute to <code>&lt;button&gt;</code> buttons.</p>
+ <p class="bs-docs-example">
+ <button type="button" class="btn btn-large btn-primary disabled" disabled="disabled">Primary button</button>
+ <button type="button" class="btn btn-large" disabled>Button</button>
+ </p>
<pre class="prettyprint linenums">
&lt;button type="button" class="btn btn-large btn-primary disabled" disabled="disabled"&gt;Primary button&lt;/button&gt;
&lt;button type="button" class="btn btn-large" disabled&gt;Button&lt;/button&gt;
</pre>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h2>One class, multiple tags</h2>
- <p>Use the <code>.btn</code> class on an <code>&lt;a&gt;</code>, <code>&lt;button&gt;</code>, or <code>&lt;input&gt;</code> element.</p>
- <form class="bs-docs-example">
- <a class="btn" href="">Link</a>
- <button class="btn" type="submit">Button</button>
- <input class="btn" type="button" value="Input">
- <input class="btn" type="submit" value="Submit">
- </form>
+ <h2>One class, multiple tags</h2>
+ <p>Use the <code>.btn</code> class on an <code>&lt;a&gt;</code>, <code>&lt;button&gt;</code>, or <code>&lt;input&gt;</code> element.</p>
+ <form class="bs-docs-example">
+ <a class="btn" href="">Link</a>
+ <button class="btn" type="submit">Button</button>
+ <input class="btn" type="button" value="Input">
+ <input class="btn" type="submit" value="Submit">
+ </form>
<pre class="prettyprint linenums">
&lt;a class="btn" href=""&gt;Link&lt;/a&gt;
&lt;button class="btn" type="submit"&gt;
@@ -1427,251 +1428,251 @@ For example, &lt;code&gt;section&lt;/code&gt; should be wrapped as inline.
&lt;input class="btn" type="submit"
value="Submit"&gt;
</pre>
- <p>As a best practice, try to match the element for you context to ensure matching cross-browser rendering. If you have an <code>input</code>, use an <code>&lt;input type="submit"&gt;</code> for your button.</p>
+ <p>As a best practice, try to match the element for you context to ensure matching cross-browser rendering. If you have an <code>input</code>, use an <code>&lt;input type="submit"&gt;</code> for your button.</p>
- </section>
+ </section>
- <!-- Icons
- ================================================== -->
- <section id="icons">
- <div class="page-header">
- <h1>Icons <small>Graciously provided by <a href="http://glyphicons.com" target="_blank">Glyphicons</a></small></h1>
- </div>
+ <!-- Icons
+ ================================================== -->
+ <section id="icons">
+ <div class="page-header">
+ <h1>Icons <small>Graciously provided by <a href="http://glyphicons.com" target="_blank">Glyphicons</a></small></h1>
+ </div>
- <h2>Icon glyphs</h2>
- <p>140 icons in sprite form, available in dark gray (default) and white, provided by <a href="http://glyphicons.com" target="_blank">Glyphicons</a>.</p>
- <ul class="the-icons clearfix">
- <li><i class="icon-glass"></i> icon-glass</li>
- <li><i class="icon-music"></i> icon-music</li>
- <li><i class="icon-search"></i> icon-search</li>
- <li><i class="icon-envelope"></i> icon-envelope</li>
- <li><i class="icon-heart"></i> icon-heart</li>
- <li><i class="icon-star"></i> icon-star</li>
- <li><i class="icon-star-empty"></i> icon-star-empty</li>
- <li><i class="icon-user"></i> icon-user</li>
- <li><i class="icon-film"></i> icon-film</li>
- <li><i class="icon-th-large"></i> icon-th-large</li>
- <li><i class="icon-th"></i> icon-th</li>
- <li><i class="icon-th-list"></i> icon-th-list</li>
- <li><i class="icon-ok"></i> icon-ok</li>
- <li><i class="icon-remove"></i> icon-remove</li>
- <li><i class="icon-zoom-in"></i> icon-zoom-in</li>
- <li><i class="icon-zoom-out"></i> icon-zoom-out</li>
- <li><i class="icon-off"></i> icon-off</li>
- <li><i class="icon-signal"></i> icon-signal</li>
- <li><i class="icon-cog"></i> icon-cog</li>
- <li><i class="icon-trash"></i> icon-trash</li>
- <li><i class="icon-home"></i> icon-home</li>
- <li><i class="icon-file"></i> icon-file</li>
- <li><i class="icon-time"></i> icon-time</li>
- <li><i class="icon-road"></i> icon-road</li>
- <li><i class="icon-download-alt"></i> icon-download-alt</li>
- <li><i class="icon-download"></i> icon-download</li>
- <li><i class="icon-upload"></i> icon-upload</li>
- <li><i class="icon-inbox"></i> icon-inbox</li>
-
- <li><i class="icon-play-circle"></i> icon-play-circle</li>
- <li><i class="icon-repeat"></i> icon-repeat</li>
- <li><i class="icon-refresh"></i> icon-refresh</li>
- <li><i class="icon-list-alt"></i> icon-list-alt</li>
- <li><i class="icon-lock"></i> icon-lock</li>
- <li><i class="icon-flag"></i> icon-flag</li>
- <li><i class="icon-headphones"></i> icon-headphones</li>
- <li><i class="icon-volume-off"></i> icon-volume-off</li>
- <li><i class="icon-volume-down"></i> icon-volume-down</li>
- <li><i class="icon-volume-up"></i> icon-volume-up</li>
- <li><i class="icon-qrcode"></i> icon-qrcode</li>
- <li><i class="icon-barcode"></i> icon-barcode</li>
- <li><i class="icon-tag"></i> icon-tag</li>
- <li><i class="icon-tags"></i> icon-tags</li>
- <li><i class="icon-book"></i> icon-book</li>
- <li><i class="icon-bookmark"></i> icon-bookmark</li>
- <li><i class="icon-print"></i> icon-print</li>
- <li><i class="icon-camera"></i> icon-camera</li>
- <li><i class="icon-font"></i> icon-font</li>
- <li><i class="icon-bold"></i> icon-bold</li>
- <li><i class="icon-italic"></i> icon-italic</li>
- <li><i class="icon-text-height"></i> icon-text-height</li>
- <li><i class="icon-text-width"></i> icon-text-width</li>
- <li><i class="icon-align-left"></i> icon-align-left</li>
- <li><i class="icon-align-center"></i> icon-align-center</li>
- <li><i class="icon-align-right"></i> icon-align-right</li>
- <li><i class="icon-align-justify"></i> icon-align-justify</li>
- <li><i class="icon-list"></i> icon-list</li>
-
- <li><i class="icon-indent-left"></i> icon-indent-left</li>
- <li><i class="icon-indent-right"></i> icon-indent-right</li>
- <li><i class="icon-facetime-video"></i> icon-facetime-video</li>
- <li><i class="icon-picture"></i> icon-picture</li>
- <li><i class="icon-pencil"></i> icon-pencil</li>
- <li><i class="icon-map-marker"></i> icon-map-marker</li>
- <li><i class="icon-adjust"></i> icon-adjust</li>
- <li><i class="icon-tint"></i> icon-tint</li>
- <li><i class="icon-edit"></i> icon-edit</li>
- <li><i class="icon-share"></i> icon-share</li>
- <li><i class="icon-check"></i> icon-check</li>
- <li><i class="icon-move"></i> icon-move</li>
- <li><i class="icon-step-backward"></i> icon-step-backward</li>
- <li><i class="icon-fast-backward"></i> icon-fast-backward</li>
- <li><i class="icon-backward"></i> icon-backward</li>
- <li><i class="icon-play"></i> icon-play</li>
- <li><i class="icon-pause"></i> icon-pause</li>
- <li><i class="icon-stop"></i> icon-stop</li>
- <li><i class="icon-forward"></i> icon-forward</li>
- <li><i class="icon-fast-forward"></i> icon-fast-forward</li>
- <li><i class="icon-step-forward"></i> icon-step-forward</li>
- <li><i class="icon-eject"></i> icon-eject</li>
- <li><i class="icon-chevron-left"></i> icon-chevron-left</li>
- <li><i class="icon-chevron-right"></i> icon-chevron-right</li>
- <li><i class="icon-plus-sign"></i> icon-plus-sign</li>
- <li><i class="icon-minus-sign"></i> icon-minus-sign</li>
- <li><i class="icon-remove-sign"></i> icon-remove-sign</li>
- <li><i class="icon-ok-sign"></i> icon-ok-sign</li>
-
- <li><i class="icon-question-sign"></i> icon-question-sign</li>
- <li><i class="icon-info-sign"></i> icon-info-sign</li>
- <li><i class="icon-screenshot"></i> icon-screenshot</li>
- <li><i class="icon-remove-circle"></i> icon-remove-circle</li>
- <li><i class="icon-ok-circle"></i> icon-ok-circle</li>
- <li><i class="icon-ban-circle"></i> icon-ban-circle</li>
- <li><i class="icon-arrow-left"></i> icon-arrow-left</li>
- <li><i class="icon-arrow-right"></i> icon-arrow-right</li>
- <li><i class="icon-arrow-up"></i> icon-arrow-up</li>
- <li><i class="icon-arrow-down"></i> icon-arrow-down</li>
- <li><i class="icon-share-alt"></i> icon-share-alt</li>
- <li><i class="icon-resize-full"></i> icon-resize-full</li>
- <li><i class="icon-resize-small"></i> icon-resize-small</li>
- <li><i class="icon-plus"></i> icon-plus</li>
- <li><i class="icon-minus"></i> icon-minus</li>
- <li><i class="icon-asterisk"></i> icon-asterisk</li>
- <li><i class="icon-exclamation-sign"></i> icon-exclamation-sign</li>
- <li><i class="icon-gift"></i> icon-gift</li>
- <li><i class="icon-leaf"></i> icon-leaf</li>
- <li><i class="icon-fire"></i> icon-fire</li>
- <li><i class="icon-eye-open"></i> icon-eye-open</li>
- <li><i class="icon-eye-close"></i> icon-eye-close</li>
- <li><i class="icon-warning-sign"></i> icon-warning-sign</li>
- <li><i class="icon-plane"></i> icon-plane</li>
- <li><i class="icon-calendar"></i> icon-calendar</li>
- <li><i class="icon-random"></i> icon-random</li>
- <li><i class="icon-comment"></i> icon-comment</li>
- <li><i class="icon-magnet"></i> icon-magnet</li>
-
- <li><i class="icon-chevron-up"></i> icon-chevron-up</li>
- <li><i class="icon-chevron-down"></i> icon-chevron-down</li>
- <li><i class="icon-retweet"></i> icon-retweet</li>
- <li><i class="icon-shopping-cart"></i> icon-shopping-cart</li>
- <li><i class="icon-folder-close"></i> icon-folder-close</li>
- <li><i class="icon-folder-open"></i> icon-folder-open</li>
- <li><i class="icon-resize-vertical"></i> icon-resize-vertical</li>
- <li><i class="icon-resize-horizontal"></i> icon-resize-horizontal</li>
- <li><i class="icon-hdd"></i> icon-hdd</li>
- <li><i class="icon-bullhorn"></i> icon-bullhorn</li>
- <li><i class="icon-bell"></i> icon-bell</li>
- <li><i class="icon-certificate"></i> icon-certificate</li>
- <li><i class="icon-thumbs-up"></i> icon-thumbs-up</li>
- <li><i class="icon-thumbs-down"></i> icon-thumbs-down</li>
- <li><i class="icon-hand-right"></i> icon-hand-right</li>
- <li><i class="icon-hand-left"></i> icon-hand-left</li>
- <li><i class="icon-hand-up"></i> icon-hand-up</li>
- <li><i class="icon-hand-down"></i> icon-hand-down</li>
- <li><i class="icon-circle-arrow-right"></i> icon-circle-arrow-right</li>
- <li><i class="icon-circle-arrow-left"></i> icon-circle-arrow-left</li>
- <li><i class="icon-circle-arrow-up"></i> icon-circle-arrow-up</li>
- <li><i class="icon-circle-arrow-down"></i> icon-circle-arrow-down</li>
- <li><i class="icon-globe"></i> icon-globe</li>
- <li><i class="icon-wrench"></i> icon-wrench</li>
- <li><i class="icon-tasks"></i> icon-tasks</li>
- <li><i class="icon-filter"></i> icon-filter</li>
- <li><i class="icon-briefcase"></i> icon-briefcase</li>
- <li><i class="icon-fullscreen"></i> icon-fullscreen</li>
- </ul>
+ <h2>Icon glyphs</h2>
+ <p>140 icons in sprite form, available in dark gray (default) and white, provided by <a href="http://glyphicons.com" target="_blank">Glyphicons</a>.</p>
+ <ul class="the-icons clearfix">
+ <li><i class="icon-glass"></i> icon-glass</li>
+ <li><i class="icon-music"></i> icon-music</li>
+ <li><i class="icon-search"></i> icon-search</li>
+ <li><i class="icon-envelope"></i> icon-envelope</li>
+ <li><i class="icon-heart"></i> icon-heart</li>
+ <li><i class="icon-star"></i> icon-star</li>
+ <li><i class="icon-star-empty"></i> icon-star-empty</li>
+ <li><i class="icon-user"></i> icon-user</li>
+ <li><i class="icon-film"></i> icon-film</li>
+ <li><i class="icon-th-large"></i> icon-th-large</li>
+ <li><i class="icon-th"></i> icon-th</li>
+ <li><i class="icon-th-list"></i> icon-th-list</li>
+ <li><i class="icon-ok"></i> icon-ok</li>
+ <li><i class="icon-remove"></i> icon-remove</li>
+ <li><i class="icon-zoom-in"></i> icon-zoom-in</li>
+ <li><i class="icon-zoom-out"></i> icon-zoom-out</li>
+ <li><i class="icon-off"></i> icon-off</li>
+ <li><i class="icon-signal"></i> icon-signal</li>
+ <li><i class="icon-cog"></i> icon-cog</li>
+ <li><i class="icon-trash"></i> icon-trash</li>
+ <li><i class="icon-home"></i> icon-home</li>
+ <li><i class="icon-file"></i> icon-file</li>
+ <li><i class="icon-time"></i> icon-time</li>
+ <li><i class="icon-road"></i> icon-road</li>
+ <li><i class="icon-download-alt"></i> icon-download-alt</li>
+ <li><i class="icon-download"></i> icon-download</li>
+ <li><i class="icon-upload"></i> icon-upload</li>
+ <li><i class="icon-inbox"></i> icon-inbox</li>
+
+ <li><i class="icon-play-circle"></i> icon-play-circle</li>
+ <li><i class="icon-repeat"></i> icon-repeat</li>
+ <li><i class="icon-refresh"></i> icon-refresh</li>
+ <li><i class="icon-list-alt"></i> icon-list-alt</li>
+ <li><i class="icon-lock"></i> icon-lock</li>
+ <li><i class="icon-flag"></i> icon-flag</li>
+ <li><i class="icon-headphones"></i> icon-headphones</li>
+ <li><i class="icon-volume-off"></i> icon-volume-off</li>
+ <li><i class="icon-volume-down"></i> icon-volume-down</li>
+ <li><i class="icon-volume-up"></i> icon-volume-up</li>
+ <li><i class="icon-qrcode"></i> icon-qrcode</li>
+ <li><i class="icon-barcode"></i> icon-barcode</li>
+ <li><i class="icon-tag"></i> icon-tag</li>
+ <li><i class="icon-tags"></i> icon-tags</li>
+ <li><i class="icon-book"></i> icon-book</li>
+ <li><i class="icon-bookmark"></i> icon-bookmark</li>
+ <li><i class="icon-print"></i> icon-print</li>
+ <li><i class="icon-camera"></i> icon-camera</li>
+ <li><i class="icon-font"></i> icon-font</li>
+ <li><i class="icon-bold"></i> icon-bold</li>
+ <li><i class="icon-italic"></i> icon-italic</li>
+ <li><i class="icon-text-height"></i> icon-text-height</li>
+ <li><i class="icon-text-width"></i> icon-text-width</li>
+ <li><i class="icon-align-left"></i> icon-align-left</li>
+ <li><i class="icon-align-center"></i> icon-align-center</li>
+ <li><i class="icon-align-right"></i> icon-align-right</li>
+ <li><i class="icon-align-justify"></i> icon-align-justify</li>
+ <li><i class="icon-list"></i> icon-list</li>
+
+ <li><i class="icon-indent-left"></i> icon-indent-left</li>
+ <li><i class="icon-indent-right"></i> icon-indent-right</li>
+ <li><i class="icon-facetime-video"></i> icon-facetime-video</li>
+ <li><i class="icon-picture"></i> icon-picture</li>
+ <li><i class="icon-pencil"></i> icon-pencil</li>
+ <li><i class="icon-map-marker"></i> icon-map-marker</li>
+ <li><i class="icon-adjust"></i> icon-adjust</li>
+ <li><i class="icon-tint"></i> icon-tint</li>
+ <li><i class="icon-edit"></i> icon-edit</li>
+ <li><i class="icon-share"></i> icon-share</li>
+ <li><i class="icon-check"></i> icon-check</li>
+ <li><i class="icon-move"></i> icon-move</li>
+ <li><i class="icon-step-backward"></i> icon-step-backward</li>
+ <li><i class="icon-fast-backward"></i> icon-fast-backward</li>
+ <li><i class="icon-backward"></i> icon-backward</li>
+ <li><i class="icon-play"></i> icon-play</li>
+ <li><i class="icon-pause"></i> icon-pause</li>
+ <li><i class="icon-stop"></i> icon-stop</li>
+ <li><i class="icon-forward"></i> icon-forward</li>
+ <li><i class="icon-fast-forward"></i> icon-fast-forward</li>
+ <li><i class="icon-step-forward"></i> icon-step-forward</li>
+ <li><i class="icon-eject"></i> icon-eject</li>
+ <li><i class="icon-chevron-left"></i> icon-chevron-left</li>
+ <li><i class="icon-chevron-right"></i> icon-chevron-right</li>
+ <li><i class="icon-plus-sign"></i> icon-plus-sign</li>
+ <li><i class="icon-minus-sign"></i> icon-minus-sign</li>
+ <li><i class="icon-remove-sign"></i> icon-remove-sign</li>
+ <li><i class="icon-ok-sign"></i> icon-ok-sign</li>
+
+ <li><i class="icon-question-sign"></i> icon-question-sign</li>
+ <li><i class="icon-info-sign"></i> icon-info-sign</li>
+ <li><i class="icon-screenshot"></i> icon-screenshot</li>
+ <li><i class="icon-remove-circle"></i> icon-remove-circle</li>
+ <li><i class="icon-ok-circle"></i> icon-ok-circle</li>
+ <li><i class="icon-ban-circle"></i> icon-ban-circle</li>
+ <li><i class="icon-arrow-left"></i> icon-arrow-left</li>
+ <li><i class="icon-arrow-right"></i> icon-arrow-right</li>
+ <li><i class="icon-arrow-up"></i> icon-arrow-up</li>
+ <li><i class="icon-arrow-down"></i> icon-arrow-down</li>
+ <li><i class="icon-share-alt"></i> icon-share-alt</li>
+ <li><i class="icon-resize-full"></i> icon-resize-full</li>
+ <li><i class="icon-resize-small"></i> icon-resize-small</li>
+ <li><i class="icon-plus"></i> icon-plus</li>
+ <li><i class="icon-minus"></i> icon-minus</li>
+ <li><i class="icon-asterisk"></i> icon-asterisk</li>
+ <li><i class="icon-exclamation-sign"></i> icon-exclamation-sign</li>
+ <li><i class="icon-gift"></i> icon-gift</li>
+ <li><i class="icon-leaf"></i> icon-leaf</li>
+ <li><i class="icon-fire"></i> icon-fire</li>
+ <li><i class="icon-eye-open"></i> icon-eye-open</li>
+ <li><i class="icon-eye-close"></i> icon-eye-close</li>
+ <li><i class="icon-warning-sign"></i> icon-warning-sign</li>
+ <li><i class="icon-plane"></i> icon-plane</li>
+ <li><i class="icon-calendar"></i> icon-calendar</li>
+ <li><i class="icon-random"></i> icon-random</li>
+ <li><i class="icon-comment"></i> icon-comment</li>
+ <li><i class="icon-magnet"></i> icon-magnet</li>
+
+ <li><i class="icon-chevron-up"></i> icon-chevron-up</li>
+ <li><i class="icon-chevron-down"></i> icon-chevron-down</li>
+ <li><i class="icon-retweet"></i> icon-retweet</li>
+ <li><i class="icon-shopping-cart"></i> icon-shopping-cart</li>
+ <li><i class="icon-folder-close"></i> icon-folder-close</li>
+ <li><i class="icon-folder-open"></i> icon-folder-open</li>
+ <li><i class="icon-resize-vertical"></i> icon-resize-vertical</li>
+ <li><i class="icon-resize-horizontal"></i> icon-resize-horizontal</li>
+ <li><i class="icon-hdd"></i> icon-hdd</li>
+ <li><i class="icon-bullhorn"></i> icon-bullhorn</li>
+ <li><i class="icon-bell"></i> icon-bell</li>
+ <li><i class="icon-certificate"></i> icon-certificate</li>
+ <li><i class="icon-thumbs-up"></i> icon-thumbs-up</li>
+ <li><i class="icon-thumbs-down"></i> icon-thumbs-down</li>
+ <li><i class="icon-hand-right"></i> icon-hand-right</li>
+ <li><i class="icon-hand-left"></i> icon-hand-left</li>
+ <li><i class="icon-hand-up"></i> icon-hand-up</li>
+ <li><i class="icon-hand-down"></i> icon-hand-down</li>
+ <li><i class="icon-circle-arrow-right"></i> icon-circle-arrow-right</li>
+ <li><i class="icon-circle-arrow-left"></i> icon-circle-arrow-left</li>
+ <li><i class="icon-circle-arrow-up"></i> icon-circle-arrow-up</li>
+ <li><i class="icon-circle-arrow-down"></i> icon-circle-arrow-down</li>
+ <li><i class="icon-globe"></i> icon-globe</li>
+ <li><i class="icon-wrench"></i> icon-wrench</li>
+ <li><i class="icon-tasks"></i> icon-tasks</li>
+ <li><i class="icon-filter"></i> icon-filter</li>
+ <li><i class="icon-briefcase"></i> icon-briefcase</li>
+ <li><i class="icon-fullscreen"></i> icon-fullscreen</li>
+ </ul>
- <h3>Glyphicons attribution</h3>
- <p><a href="http://glyphicons.com/">Glyphicons</a> Halflings are normally not available for free, but an arrangement between Bootstrap and the Glyphicons creators have made this possible at not cost to you as developers. As a thank you, we ask you to include an optional link back to <a href="http://glyphicons.com/">Glyphicons</a> whenever practical.</p>
+ <h3>Glyphicons attribution</h3>
+ <p><a href="http://glyphicons.com/">Glyphicons</a> Halflings are normally not available for free, but an arrangement between Bootstrap and the Glyphicons creators have made this possible at not cost to you as developers. As a thank you, we ask you to include an optional link back to <a href="http://glyphicons.com/">Glyphicons</a> whenever practical.</p>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h2>How to use</h2>
- <p>All icons require an <code>&lt;i&gt;</code> tag with a unique class, prefixed with <code>icon-</code>. To use, place the following code just about anywhere:</p>
+ <h2>How to use</h2>
+ <p>All icons require an <code>&lt;i&gt;</code> tag with a unique class, prefixed with <code>icon-</code>. To use, place the following code just about anywhere:</p>
<pre class="prettyprint linenums">
&lt;i class="icon-search"&gt;&lt;/i&gt;
</pre>
- <p>There are also styles available for inverted (white) icons, made ready with one extra class:</p>
+ <p>There are also styles available for inverted (white) icons, made ready with one extra class:</p>
<pre class="prettyprint linenums">
&lt;i class="icon-search icon-white"&gt;&lt;/i&gt;
</pre>
- <p>
- <span class="label label-info">Heads up!</span>
- When using beside strings of text, as in buttons or nav links, be sure to leave a space after the <code>&lt;i&gt;</code> tag for proper spacing.
- </p>
+ <p>
+ <span class="label label-info">Heads up!</span>
+ When using beside strings of text, as in buttons or nav links, be sure to leave a space after the <code>&lt;i&gt;</code> tag for proper spacing.
+ </p>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h2>Icon examples</h2>
- <p>Use them in buttons, button groups for a toolbar, navigation, or prepended form inputs.</p>
+ <h2>Icon examples</h2>
+ <p>Use them in buttons, button groups for a toolbar, navigation, or prepended form inputs.</p>
- <h4>Buttons</h4>
- <div class="bs-docs-example">
- <div class="btn-toolbar" style="margin-bottom: 9px">
- <div class="btn-group">
- <a class="btn" href="#"><i class="icon-align-left"></i></a>
- <a class="btn" href="#"><i class="icon-align-center"></i></a>
- <a class="btn" href="#"><i class="icon-align-right"></i></a>
- <a class="btn" href="#"><i class="icon-align-justify"></i></a>
- </div>
- <div class="btn-group">
- <a class="btn btn-primary" href="#"><i class="icon-user icon-white"></i> User</a>
- <a class="btn btn-primary dropdown-toggle" data-toggle="dropdown" href="#"><span class="caret"></span></a>
- <ul class="dropdown-menu">
- <li><a href="#"><i class="icon-pencil"></i> Edit</a></li>
- <li><a href="#"><i class="icon-trash"></i> Delete</a></li>
- <li><a href="#"><i class="icon-ban-circle"></i> Ban</a></li>
- <li class="divider"></li>
- <li><a href="#"><i class="i"></i> Make admin</a></li>
- </ul>
+ <h4>Buttons</h4>
+ <div class="bs-docs-example">
+ <div class="btn-toolbar" style="margin-bottom: 9px">
+ <div class="btn-group">
+ <a class="btn" href="#"><i class="icon-align-left"></i></a>
+ <a class="btn" href="#"><i class="icon-align-center"></i></a>
+ <a class="btn" href="#"><i class="icon-align-right"></i></a>
+ <a class="btn" href="#"><i class="icon-align-justify"></i></a>
+ </div>
+ <div class="btn-group">
+ <a class="btn btn-primary" href="#"><i class="icon-user icon-white"></i> User</a>
+ <a class="btn btn-primary dropdown-toggle" data-toggle="dropdown" href="#"><span class="caret"></span></a>
+ <ul class="dropdown-menu">
+ <li><a href="#"><i class="icon-pencil"></i> Edit</a></li>
+ <li><a href="#"><i class="icon-trash"></i> Delete</a></li>
+ <li><a href="#"><i class="icon-ban-circle"></i> Ban</a></li>
+ <li class="divider"></li>
+ <li><a href="#"><i class="i"></i> Make admin</a></li>
+ </ul>
+ </div>
</div>
</div>
- </div>
- <h4>Navigation</h4>
- <div class="bs-docs-example">
- <div class="well" style="padding: 8px 0; margin-bottom: 0;">
- <ul class="nav nav-list">
- <li class="active"><a href="#"><i class="icon-home icon-white"></i> Home</a></li>
- <li><a href="#"><i class="icon-book"></i> Library</a></li>
- <li><a href="#"><i class="icon-pencil"></i> Applications</a></li>
- <li><a href="#"><i class="i"></i> Misc</a></li>
- </ul>
+ <h4>Navigation</h4>
+ <div class="bs-docs-example">
+ <div class="well" style="padding: 8px 0; margin-bottom: 0;">
+ <ul class="nav nav-list">
+ <li class="active"><a href="#"><i class="icon-home icon-white"></i> Home</a></li>
+ <li><a href="#"><i class="icon-book"></i> Library</a></li>
+ <li><a href="#"><i class="icon-pencil"></i> Applications</a></li>
+ <li><a href="#"><i class="i"></i> Misc</a></li>
+ </ul>
+ </div>
</div>
- </div>
- <h4>Form fields</h4>
- <form class="bs-docs-example form-horizontal">
- <div class="control-group">
- <label class="control-label" for="inputIcon">Email address</label>
- <div class="controls">
- <div class="input-prepend">
- <span class="add-on"><i class="icon-envelope"></i></span><input class="span2" id="inputIcon" type="text">
+ <h4>Form fields</h4>
+ <form class="bs-docs-example form-horizontal">
+ <div class="control-group">
+ <label class="control-label" for="inputIcon">Email address</label>
+ <div class="controls">
+ <div class="input-prepend">
+ <span class="add-on"><i class="icon-envelope"></i></span><input class="span2" id="inputIcon" type="text">
+ </div>
</div>
</div>
- </div>
- </form>
+ </form>
- </section>
+ </section>
+ </div>
</div>
-</div>
- </div>
+</div>
diff --git a/docs/components.html b/docs/components.html
index b176a6d7eb..ca8cfe2ddc 100644
--- a/docs/components.html
+++ b/docs/components.html
@@ -66,62 +66,62 @@
</div>
</div>
- <div class="container">
-
<!-- Subhead
================================================== -->
<header class="jumbotron subhead" id="overview">
- <h1>Components</h1>
- <p class="lead">Dozens of reusable components are built into Bootstrap to provide navigation, alerts, popovers, and much more.</p>
+ <div class="container">
+ <h1>Components</h1>
+ <p class="lead">Dozens of reusable components built to provide navigation, alerts, popovers, and more.</p>
+ </div>
</header>
-
-
-<!-- Docs nav
-================================================== -->
-<div class="row">
- <div class="span3 bs-docs-sidebar">
- <ul class="nav nav-list bs-docs-sidenav">
- <li><a href="#dropdowns">Dropdowns <i class="icon-chevron-right"></i></a></li>
- <li><a href="#buttonGroups">Button groups <i class="icon-chevron-right"></i></a></li>
- <li><a href="#buttonDropdowns">Button dropdowns <i class="icon-chevron-right"></i></a></li>
- <li><a href="#navs">Navs <i class="icon-chevron-right"></i></a></li>
- <li><a href="#navbar">Navbar <i class="icon-chevron-right"></i></a></li>
- <li><a href="#breadcrumbs">Breadcrumbs <i class="icon-chevron-right"></i></a></li>
- <li><a href="#pagination">Pagination <i class="icon-chevron-right"></i></a></li>
- <li><a href="#labels">Labels <i class="icon-chevron-right"></i></a></li>
- <li><a href="#badges">Badges <i class="icon-chevron-right"></i></a></li>
- <li><a href="#typography">Typography <i class="icon-chevron-right"></i></a></li>
- <li><a href="#thumbnails">Thumbnails <i class="icon-chevron-right"></i></a></li>
- <li><a href="#alerts">Alerts <i class="icon-chevron-right"></i></a></li>
- <li><a href="#progress">Progress bars <i class="icon-chevron-right"></i></a></li>
- <li><a href="#misc">Misc <i class="icon-chevron-right"></i></a></li>
- </ul>
- </div>
- <div class="span9">
+<div class="container">
+
+
+ <!-- Docs nav
+ ================================================== -->
+ <div class="row">
+ <div class="span3 bs-docs-sidebar">
+ <ul class="nav nav-list bs-docs-sidenav">
+ <li><a href="#dropdowns">Dropdowns <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#buttonGroups">Button groups <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#buttonDropdowns">Button dropdowns <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#navs">Navs <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#navbar">Navbar <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#breadcrumbs">Breadcrumbs <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#pagination">Pagination <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#labels-badges">Labels and badges <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#typography">Typography <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#thumbnails">Thumbnails <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#alerts">Alerts <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#progress">Progress bars <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#misc">Misc <i class="icon-chevron-right"></i></a></li>
+ </ul>
+ </div>
+ <div class="span9">
- <!-- Dropdowns
- ================================================== -->
- <section id="dropdowns">
- <div class="page-header">
- <h1>Dropdown menus</h1>
- </div>
+ <!-- Dropdowns
+ ================================================== -->
+ <section id="dropdowns">
+ <div class="page-header">
+ <h1>Dropdown menus</h1>
+ </div>
- <h2>Example</h2>
- <p>An isolated (without dropdown toggle) dropdown menu example, designed to be used with the <a href="./javascript.html#dropdowns">dropdown javascript plugin</a>.</p>
- <div class="bs-docs-example">
- <div class="dropdown clearfix">
- <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu" style="display: block; position: static; margin-bottom: 5px;">
- <li><a tabindex="-1" href="#">Action</a></li>
- <li><a tabindex="-1" href="#">Another action</a></li>
- <li><a tabindex="-1" href="#">Something else here</a></li>
- <li class="divider"></li>
- <li><a tabindex="-1" href="#">Separated link</a></li>
- </ul>
+ <h2>Example</h2>
+ <p>An isolated (without dropdown toggle) dropdown menu example, designed to be used with the <a href="./javascript.html#dropdowns">dropdown javascript plugin</a>.</p>
+ <div class="bs-docs-example">
+ <div class="dropdown clearfix">
+ <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu" style="display: block; position: static; margin-bottom: 5px;">
+ <li><a tabindex="-1" href="#">Action</a></li>
+ <li><a tabindex="-1" href="#">Another action</a></li>
+ <li><a tabindex="-1" href="#">Something else here</a></li>
+ <li class="divider"></li>
+ <li><a tabindex="-1" href="#">Separated link</a></li>
+ </ul>
+ </div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu"&gt;
&lt;li&gt;&lt;a tabindex="-1" href="#"&gt;Action&lt;/a&gt;&lt;/li&gt;
@@ -133,11 +133,11 @@
</pre>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h2>Markup</h2>
- <p>Dropdowns require...</p>
+ <h2>Markup</h2>
+ <p>Dropdowns require...</p>
<pre class="prettyprint linenums">
&lt;ul class="nav nav-pills"&gt;
@@ -159,50 +159,50 @@
&lt;/ul&gt;</pre>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h2>Options</h2>
- <p>...</p>
+ <h2>Options</h2>
+ <p>...</p>
- <h3>Dropup menus</h3>
- <p>...</p>
+ <h3>Dropup menus</h3>
+ <p>...</p>
- <h3>Aligning the menus</h3>
- <p>...</p>
+ <h3>Aligning the menus</h3>
+ <p>...</p>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h2>Usage</h2>
- <p>...</p>
+ <h2>Usage</h2>
+ <p>...</p>
- </section>
+ </section>
- <!-- Button Groups
- ================================================== -->
- <section id="buttonGroups">
- <div class="page-header">
- <h1>Button groups</h1>
- </div>
+ <!-- Button Groups
+ ================================================== -->
+ <section id="buttonGroups">
+ <div class="page-header">
+ <h1>Button groups</h1>
+ </div>
- <h2>Examples</h2>
- <p>Two basic options, along with two more specific variations.</p>
+ <h2>Examples</h2>
+ <p>Two basic options, along with two more specific variations.</p>
- <h3>Single button group</h3>
- <p>Wrap a series of buttons with <code>.btn</code> in <code>.btn-group</code>.</p>
- <div class="bs-docs-example">
- <div class="btn-group" style="margin: 9px 0 5px;">
- <button class="btn">Left</button>
- <button class="btn">Middle</button>
- <button class="btn">Right</button>
+ <h3>Single button group</h3>
+ <p>Wrap a series of buttons with <code>.btn</code> in <code>.btn-group</code>.</p>
+ <div class="bs-docs-example">
+ <div class="btn-group" style="margin: 9px 0 5px;">
+ <button class="btn">Left</button>
+ <button class="btn">Middle</button>
+ <button class="btn">Right</button>
+ </div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="btn-group"&gt;
&lt;button class="btn"&gt;1&lt;/button&gt;
@@ -211,26 +211,26 @@
&lt;/div&gt;
</pre>
- <h3>Multiple button groups</h3>
- <p>Combine sets of <code>&lt;div class="btn-group"&gt;</code> into a <code>&lt;div class="btn-toolbar"&gt;</code> for more complex components.</p>
- <div class="bs-docs-example">
- <div class="btn-toolbar" style="margin: 0;">
- <div class="btn-group">
- <button class="btn">1</button>
- <button class="btn">2</button>
- <button class="btn">3</button>
- <button class="btn">4</button>
- </div>
- <div class="btn-group">
- <button class="btn">5</button>
- <button class="btn">6</button>
- <button class="btn">7</button>
- </div>
- <div class="btn-group">
- <button class="btn">8</button>
+ <h3>Multiple button groups</h3>
+ <p>Combine sets of <code>&lt;div class="btn-group"&gt;</code> into a <code>&lt;div class="btn-toolbar"&gt;</code> for more complex components.</p>
+ <div class="bs-docs-example">
+ <div class="btn-toolbar" style="margin: 0;">
+ <div class="btn-group">
+ <button class="btn">1</button>
+ <button class="btn">2</button>
+ <button class="btn">3</button>
+ <button class="btn">4</button>
+ </div>
+ <div class="btn-group">
+ <button class="btn">5</button>
+ <button class="btn">6</button>
+ <button class="btn">7</button>
+ </div>
+ <div class="btn-group">
+ <button class="btn">8</button>
+ </div>
</div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="btn-toolbar"&gt;
&lt;div class="btn-group"&gt;
@@ -239,16 +239,16 @@
&lt;/div&gt;
</pre>
- <h3>Vertical button groups</h3>
- <p>Make a set of buttons appear vertically stacked rather than horizontally.</p>
- <div class="bs-docs-example">
- <div class="btn-group btn-group-vertical">
- <button type="button" class="btn"><i class="icon-align-left"></i></button>
- <button type="button" class="btn"><i class="icon-align-center"></i></button>
- <button type="button" class="btn"><i class="icon-align-right"></i></button>
- <button type="button" class="btn"><i class="icon-align-justify"></i></button>
+ <h3>Vertical button groups</h3>
+ <p>Make a set of buttons appear vertically stacked rather than horizontally.</p>
+ <div class="bs-docs-example">
+ <div class="btn-group btn-group-vertical">
+ <button type="button" class="btn"><i class="icon-align-left"></i></button>
+ <button type="button" class="btn"><i class="icon-align-center"></i></button>
+ <button type="button" class="btn"><i class="icon-align-right"></i></button>
+ <button type="button" class="btn"><i class="icon-align-justify"></i></button>
+ </div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="btn-group btn-group-vertical"&gt;
...
@@ -256,102 +256,102 @@
</pre>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h4>Checkbox and radio flavors</h4>
- <p>Button groups can also function as radios, where only one button may be active, or checkboxes, where any number of buttons may be active. View <a href="./javascript.html#buttons">the Javascript docs</a> for that.</p>
+ <h4>Checkbox and radio flavors</h4>
+ <p>Button groups can also function as radios, where only one button may be active, or checkboxes, where any number of buttons may be active. View <a href="./javascript.html#buttons">the Javascript docs</a> for that.</p>
- <h4>Dropdowns in button groups</h4>
- <p><span class="label label-info">Heads up!</span> Buttons with dropdowns must be individually wrapped in their own <code>.btn-group</code> within a <code>.btn-toolbar</code> for proper rendering.</p>
- </section>
+ <h4>Dropdowns in button groups</h4>
+ <p><span class="label label-info">Heads up!</span> Buttons with dropdowns must be individually wrapped in their own <code>.btn-group</code> within a <code>.btn-toolbar</code> for proper rendering.</p>
+ </section>
- <!-- Split button dropdowns
- ================================================== -->
- <section id="buttonDropdowns">
- <div class="page-header">
- <h1>Button dropdown menus</h1>
- </div>
+ <!-- Split button dropdowns
+ ================================================== -->
+ <section id="buttonDropdowns">
+ <div class="page-header">
+ <h1>Button dropdown menus</h1>
+ </div>
- <h2>Overview and examples</h2>
- <p>Use any button to trigger a dropdown menu by placing it within a <code>.btn-group</code> and providing the proper menu markup.</p>
- <div class="bs-docs-example">
- <div class="btn-toolbar" style="margin: 0;">
- <div class="btn-group">
- <button class="btn dropdown-toggle" data-toggle="dropdown">Action <span class="caret"></span></button>
- <ul class="dropdown-menu">
- <li><a href="#">Action</a></li>
- <li><a href="#">Another action</a></li>
- <li><a href="#">Something else here</a></li>
- <li class="divider"></li>
- <li><a href="#">Separated link</a></li>
- </ul>
- </div><!-- /btn-group -->
- <div class="btn-group">
- <button class="btn btn-primary dropdown-toggle" data-toggle="dropdown">Action <span class="caret"></span></button>
- <ul class="dropdown-menu">
- <li><a href="#">Action</a></li>
- <li><a href="#">Another action</a></li>
- <li><a href="#">Something else here</a></li>
- <li class="divider"></li>
- <li><a href="#">Separated link</a></li>
- </ul>
- </div><!-- /btn-group -->
- <div class="btn-group">
- <button class="btn btn-danger dropdown-toggle" data-toggle="dropdown">Danger <span class="caret"></span></button>
- <ul class="dropdown-menu">
- <li><a href="#">Action</a></li>
- <li><a href="#">Another action</a></li>
- <li><a href="#">Something else here</a></li>
- <li class="divider"></li>
- <li><a href="#">Separated link</a></li>
- </ul>
- </div><!-- /btn-group -->
- <div class="btn-group">
- <button class="btn btn-warning dropdown-toggle" data-toggle="dropdown">Warning <span class="caret"></span></button>
- <ul class="dropdown-menu">
- <li><a href="#">Action</a></li>
- <li><a href="#">Another action</a></li>
- <li><a href="#">Something else here</a></li>
- <li class="divider"></li>
- <li><a href="#">Separated link</a></li>
- </ul>
- </div><!-- /btn-group -->
- <div class="btn-group">
- <button class="btn btn-success dropdown-toggle" data-toggle="dropdown">Success <span class="caret"></span></button>
- <ul class="dropdown-menu">
- <li><a href="#">Action</a></li>
- <li><a href="#">Another action</a></li>
- <li><a href="#">Something else here</a></li>
- <li class="divider"></li>
- <li><a href="#">Separated link</a></li>
- </ul>
- </div><!-- /btn-group -->
- <div class="btn-group">
- <button class="btn btn-info dropdown-toggle" data-toggle="dropdown">Info <span class="caret"></span></button>
- <ul class="dropdown-menu">
- <li><a href="#">Action</a></li>
- <li><a href="#">Another action</a></li>
- <li><a href="#">Something else here</a></li>
- <li class="divider"></li>
- <li><a href="#">Separated link</a></li>
- </ul>
- </div><!-- /btn-group -->
- <div class="btn-group">
- <button class="btn btn-inverse dropdown-toggle" data-toggle="dropdown">Inverse <span class="caret"></span></button>
- <ul class="dropdown-menu">
- <li><a href="#">Action</a></li>
- <li><a href="#">Another action</a></li>
- <li><a href="#">Something else here</a></li>
- <li class="divider"></li>
- <li><a href="#">Separated link</a></li>
- </ul>
- </div><!-- /btn-group -->
- </div><!-- /btn-toolbar -->
- </div>
+ <h2>Overview and examples</h2>
+ <p>Use any button to trigger a dropdown menu by placing it within a <code>.btn-group</code> and providing the proper menu markup.</p>
+ <div class="bs-docs-example">
+ <div class="btn-toolbar" style="margin: 0;">
+ <div class="btn-group">
+ <button class="btn dropdown-toggle" data-toggle="dropdown">Action <span class="caret"></span></button>
+ <ul class="dropdown-menu">
+ <li><a href="#">Action</a></li>
+ <li><a href="#">Another action</a></li>
+ <li><a href="#">Something else here</a></li>
+ <li class="divider"></li>
+ <li><a href="#">Separated link</a></li>
+ </ul>
+ </div><!-- /btn-group -->
+ <div class="btn-group">
+ <button class="btn btn-primary dropdown-toggle" data-toggle="dropdown">Action <span class="caret"></span></button>
+ <ul class="dropdown-menu">
+ <li><a href="#">Action</a></li>
+ <li><a href="#">Another action</a></li>
+ <li><a href="#">Something else here</a></li>
+ <li class="divider"></li>
+ <li><a href="#">Separated link</a></li>
+ </ul>
+ </div><!-- /btn-group -->
+ <div class="btn-group">
+ <button class="btn btn-danger dropdown-toggle" data-toggle="dropdown">Danger <span class="caret"></span></button>
+ <ul class="dropdown-menu">
+ <li><a href="#">Action</a></li>
+ <li><a href="#">Another action</a></li>
+ <li><a href="#">Something else here</a></li>
+ <li class="divider"></li>
+ <li><a href="#">Separated link</a></li>
+ </ul>
+ </div><!-- /btn-group -->
+ <div class="btn-group">
+ <button class="btn btn-warning dropdown-toggle" data-toggle="dropdown">Warning <span class="caret"></span></button>
+ <ul class="dropdown-menu">
+ <li><a href="#">Action</a></li>
+ <li><a href="#">Another action</a></li>
+ <li><a href="#">Something else here</a></li>
+ <li class="divider"></li>
+ <li><a href="#">Separated link</a></li>
+ </ul>
+ </div><!-- /btn-group -->
+ <div class="btn-group">
+ <button class="btn btn-success dropdown-toggle" data-toggle="dropdown">Success <span class="caret"></span></button>
+ <ul class="dropdown-menu">
+ <li><a href="#">Action</a></li>
+ <li><a href="#">Another action</a></li>
+ <li><a href="#">Something else here</a></li>
+ <li class="divider"></li>
+ <li><a href="#">Separated link</a></li>
+ </ul>
+ </div><!-- /btn-group -->
+ <div class="btn-group">
+ <button class="btn btn-info dropdown-toggle" data-toggle="dropdown">Info <span class="caret"></span></button>
+ <ul class="dropdown-menu">
+ <li><a href="#">Action</a></li>
+ <li><a href="#">Another action</a></li>
+ <li><a href="#">Something else here</a></li>
+ <li class="divider"></li>
+ <li><a href="#">Separated link</a></li>
+ </ul>
+ </div><!-- /btn-group -->
+ <div class="btn-group">
+ <button class="btn btn-inverse dropdown-toggle" data-toggle="dropdown">Inverse <span class="caret"></span></button>
+ <ul class="dropdown-menu">
+ <li><a href="#">Action</a></li>
+ <li><a href="#">Another action</a></li>
+ <li><a href="#">Something else here</a></li>
+ <li class="divider"></li>
+ <li><a href="#">Separated link</a></li>
+ </ul>
+ </div><!-- /btn-group -->
+ </div><!-- /btn-toolbar -->
+ </div>
<pre class="prettyprint linenums">
&lt;div class="btn-group"&gt;
&lt;a class="btn dropdown-toggle" data-toggle="dropdown" href="#"&gt;
@@ -364,134 +364,134 @@
&lt;/div&gt;
</pre>
- <h3>Works with all button sizes</h3>
- <p>Button dropdowns work at any size. your button sizes to <code>.btn-large</code>, <code>.btn-small</code>, or <code>.btn-mini</code>.</p>
- <div class="bs-docs-example">
- <div class="btn-toolbar" style="margin: 0;">
- <div class="btn-group">
- <button class="btn btn-large dropdown-toggle" data-toggle="dropdown">Large button <span class="caret"></span></button>
- <ul class="dropdown-menu">
- <li><a href="#">Action</a></li>
- <li><a href="#">Another action</a></li>
- <li><a href="#">Something else here</a></li>
- <li class="divider"></li>
- <li><a href="#">Separated link</a></li>
- </ul>
- </div><!-- /btn-group -->
- <div class="btn-group">
- <button class="btn btn-small dropdown-toggle" data-toggle="dropdown">Small button <span class="caret"></span></button>
- <ul class="dropdown-menu">
- <li><a href="#">Action</a></li>
- <li><a href="#">Another action</a></li>
- <li><a href="#">Something else here</a></li>
- <li class="divider"></li>
- <li><a href="#">Separated link</a></li>
- </ul>
- </div><!-- /btn-group -->
- <div class="btn-group">
- <button class="btn btn-mini dropdown-toggle" data-toggle="dropdown">Mini button <span class="caret"></span></button>
- <ul class="dropdown-menu">
- <li><a href="#">Action</a></li>
- <li><a href="#">Another action</a></li>
- <li><a href="#">Something else here</a></li>
- <li class="divider"></li>
- <li><a href="#">Separated link</a></li>
- </ul>
- </div><!-- /btn-group -->
- </div><!-- /btn-toolbar -->
- </div>
+ <h3>Works with all button sizes</h3>
+ <p>Button dropdowns work at any size. your button sizes to <code>.btn-large</code>, <code>.btn-small</code>, or <code>.btn-mini</code>.</p>
+ <div class="bs-docs-example">
+ <div class="btn-toolbar" style="margin: 0;">
+ <div class="btn-group">
+ <button class="btn btn-large dropdown-toggle" data-toggle="dropdown">Large button <span class="caret"></span></button>
+ <ul class="dropdown-menu">
+ <li><a href="#">Action</a></li>
+ <li><a href="#">Another action</a></li>
+ <li><a href="#">Something else here</a></li>
+ <li class="divider"></li>
+ <li><a href="#">Separated link</a></li>
+ </ul>
+ </div><!-- /btn-group -->
+ <div class="btn-group">
+ <button class="btn btn-small dropdown-toggle" data-toggle="dropdown">Small button <span class="caret"></span></button>
+ <ul class="dropdown-menu">
+ <li><a href="#">Action</a></li>
+ <li><a href="#">Another action</a></li>
+ <li><a href="#">Something else here</a></li>
+ <li class="divider"></li>
+ <li><a href="#">Separated link</a></li>
+ </ul>
+ </div><!-- /btn-group -->
+ <div class="btn-group">
+ <button class="btn btn-mini dropdown-toggle" data-toggle="dropdown">Mini button <span class="caret"></span></button>
+ <ul class="dropdown-menu">
+ <li><a href="#">Action</a></li>
+ <li><a href="#">Another action</a></li>
+ <li><a href="#">Something else here</a></li>
+ <li class="divider"></li>
+ <li><a href="#">Separated link</a></li>
+ </ul>
+ </div><!-- /btn-group -->
+ </div><!-- /btn-toolbar -->
+ </div>
- <h3>Requires javascript</h3>
- <p>Button dropdowns require the <a href="./javascript.html#dropdowns">Bootstrap dropdown plugin</a> to function.</p>
- <p>In some cases&mdash;like mobile&mdash;dropdown menus will extend outside the viewport. You need to resolve the alignment manually or with custom javascript.</p>
+ <h3>Requires javascript</h3>
+ <p>Button dropdowns require the <a href="./javascript.html#dropdowns">Bootstrap dropdown plugin</a> to function.</p>
+ <p>In some cases&mdash;like mobile&mdash;dropdown menus will extend outside the viewport. You need to resolve the alignment manually or with custom javascript.</p>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h2>Split button dropdowns</h2>
- <p>Building on the button group styles and markup, we can easily create a split button. Split buttons feature a standard action on the left and a dropdown toggle on the right with contextual links.</p>
- <div class="bs-docs-example">
- <div class="btn-toolbar" style="margin: 0;">
- <div class="btn-group">
- <button class="btn">Action</button>
- <button class="btn dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
- <ul class="dropdown-menu">
- <li><a href="#">Action</a></li>
- <li><a href="#">Another action</a></li>
- <li><a href="#">Something else here</a></li>
- <li class="divider"></li>
- <li><a href="#">Separated link</a></li>
- </ul>
- </div><!-- /btn-group -->
- <div class="btn-group">
- <button class="btn btn-primary">Action</button>
- <button class="btn btn-primary dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
- <ul class="dropdown-menu">
- <li><a href="#">Action</a></li>
- <li><a href="#">Another action</a></li>
- <li><a href="#">Something else here</a></li>
- <li class="divider"></li>
- <li><a href="#">Separated link</a></li>
- </ul>
- </div><!-- /btn-group -->
- <div class="btn-group">
- <button class="btn btn-danger">Danger</button>
- <button class="btn btn-danger dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
- <ul class="dropdown-menu">
- <li><a href="#">Action</a></li>
- <li><a href="#">Another action</a></li>
- <li><a href="#">Something else here</a></li>
- <li class="divider"></li>
- <li><a href="#">Separated link</a></li>
- </ul>
- </div><!-- /btn-group -->
- <div class="btn-group">
- <button class="btn btn-warning">Warning</button>
- <button class="btn btn-warning dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
- <ul class="dropdown-menu">
- <li><a href="#">Action</a></li>
- <li><a href="#">Another action</a></li>
- <li><a href="#">Something else here</a></li>
- <li class="divider"></li>
- <li><a href="#">Separated link</a></li>
- </ul>
- </div><!-- /btn-group -->
- <div class="btn-group">
- <button class="btn btn-success">Success</button>
- <button class="btn btn-success dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
- <ul class="dropdown-menu">
- <li><a href="#">Action</a></li>
- <li><a href="#">Another action</a></li>
- <li><a href="#">Something else here</a></li>
- <li class="divider"></li>
- <li><a href="#">Separated link</a></li>
- </ul>
- </div><!-- /btn-group -->
- <div class="btn-group">
- <button class="btn btn-info">Info</button>
- <button class="btn btn-info dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
- <ul class="dropdown-menu">
- <li><a href="#">Action</a></li>
- <li><a href="#">Another action</a></li>
- <li><a href="#">Something else here</a></li>
- <li class="divider"></li>
- <li><a href="#">Separated link</a></li>
- </ul>
- </div><!-- /btn-group -->
- <div class="btn-group">
- <button class="btn btn-inverse">Inverse</button>
- <button class="btn btn-inverse dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
- <ul class="dropdown-menu">
- <li><a href="#">Action</a></li>
- <li><a href="#">Another action</a></li>
- <li><a href="#">Something else here</a></li>
- <li class="divider"></li>
- <li><a href="#">Separated link</a></li>
- </ul>
- </div><!-- /btn-group -->
- </div><!-- /btn-toolbar -->
- </div>
+ <h2>Split button dropdowns</h2>
+ <p>Building on the button group styles and markup, we can easily create a split button. Split buttons feature a standard action on the left and a dropdown toggle on the right with contextual links.</p>
+ <div class="bs-docs-example">
+ <div class="btn-toolbar" style="margin: 0;">
+ <div class="btn-group">
+ <button class="btn">Action</button>
+ <button class="btn dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
+ <ul class="dropdown-menu">
+ <li><a href="#">Action</a></li>
+ <li><a href="#">Another action</a></li>
+ <li><a href="#">Something else here</a></li>
+ <li class="divider"></li>
+ <li><a href="#">Separated link</a></li>
+ </ul>
+ </div><!-- /btn-group -->
+ <div class="btn-group">
+ <button class="btn btn-primary">Action</button>
+ <button class="btn btn-primary dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
+ <ul class="dropdown-menu">
+ <li><a href="#">Action</a></li>
+ <li><a href="#">Another action</a></li>
+ <li><a href="#">Something else here</a></li>
+ <li class="divider"></li>
+ <li><a href="#">Separated link</a></li>
+ </ul>
+ </div><!-- /btn-group -->
+ <div class="btn-group">
+ <button class="btn btn-danger">Danger</button>
+ <button class="btn btn-danger dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
+ <ul class="dropdown-menu">
+ <li><a href="#">Action</a></li>
+ <li><a href="#">Another action</a></li>
+ <li><a href="#">Something else here</a></li>
+ <li class="divider"></li>
+ <li><a href="#">Separated link</a></li>
+ </ul>
+ </div><!-- /btn-group -->
+ <div class="btn-group">
+ <button class="btn btn-warning">Warning</button>
+ <button class="btn btn-warning dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
+ <ul class="dropdown-menu">
+ <li><a href="#">Action</a></li>
+ <li><a href="#">Another action</a></li>
+ <li><a href="#">Something else here</a></li>
+ <li class="divider"></li>
+ <li><a href="#">Separated link</a></li>
+ </ul>
+ </div><!-- /btn-group -->
+ <div class="btn-group">
+ <button class="btn btn-success">Success</button>
+ <button class="btn btn-success dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
+ <ul class="dropdown-menu">
+ <li><a href="#">Action</a></li>
+ <li><a href="#">Another action</a></li>
+ <li><a href="#">Something else here</a></li>
+ <li class="divider"></li>
+ <li><a href="#">Separated link</a></li>
+ </ul>
+ </div><!-- /btn-group -->
+ <div class="btn-group">
+ <button class="btn btn-info">Info</button>
+ <button class="btn btn-info dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
+ <ul class="dropdown-menu">
+ <li><a href="#">Action</a></li>
+ <li><a href="#">Another action</a></li>
+ <li><a href="#">Something else here</a></li>
+ <li class="divider"></li>
+ <li><a href="#">Separated link</a></li>
+ </ul>
+ </div><!-- /btn-group -->
+ <div class="btn-group">
+ <button class="btn btn-inverse">Inverse</button>
+ <button class="btn btn-inverse dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
+ <ul class="dropdown-menu">
+ <li><a href="#">Action</a></li>
+ <li><a href="#">Another action</a></li>
+ <li><a href="#">Something else here</a></li>
+ <li class="divider"></li>
+ <li><a href="#">Separated link</a></li>
+ </ul>
+ </div><!-- /btn-group -->
+ </div><!-- /btn-toolbar -->
+ </div>
<pre class="prettyprint linenums">
&lt;div class="btn-group"&gt;
&lt;button class="btn"&gt;Action&lt;/button&gt;
@@ -504,49 +504,49 @@
&lt;/div&gt;
</pre>
- <h3>Sizes</h3>
- <p>Utilize the extra button classes <code>.btn-mini</code>, <code>.btn-small</code>, or <code>.btn-large</code> for sizing.</p>
- <div class="bs-docs-example">
- <div class="btn-toolbar">
- <div class="btn-group">
- <button class="btn btn-large">Large action</button>
- <button class="btn btn-large dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
- <ul class="dropdown-menu">
- <li><a href="#">Action</a></li>
- <li><a href="#">Another action</a></li>
- <li><a href="#">Something else here</a></li>
- <li class="divider"></li>
- <li><a href="#">Separated link</a></li>
- </ul>
- </div><!-- /btn-group -->
- </div><!-- /btn-toolbar -->
- <div class="btn-toolbar">
- <div class="btn-group">
- <button class="btn btn-small">Small action</button>
- <button class="btn btn-small dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
- <ul class="dropdown-menu">
- <li><a href="#">Action</a></li>
- <li><a href="#">Another action</a></li>
- <li><a href="#">Something else here</a></li>
- <li class="divider"></li>
- <li><a href="#">Separated link</a></li>
- </ul>
- </div><!-- /btn-group -->
- </div><!-- /btn-toolbar -->
- <div class="btn-toolbar">
- <div class="btn-group">
- <button class="btn btn-mini">Mini action</button>
- <button class="btn btn-mini dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
- <ul class="dropdown-menu">
- <li><a href="#">Action</a></li>
- <li><a href="#">Another action</a></li>
- <li><a href="#">Something else here</a></li>
- <li class="divider"></li>
- <li><a href="#">Separated link</a></li>
- </ul>
- </div><!-- /btn-group -->
- </div><!-- /btn-toolbar -->
- </div>
+ <h3>Sizes</h3>
+ <p>Utilize the extra button classes <code>.btn-mini</code>, <code>.btn-small</code>, or <code>.btn-large</code> for sizing.</p>
+ <div class="bs-docs-example">
+ <div class="btn-toolbar">
+ <div class="btn-group">
+ <button class="btn btn-large">Large action</button>
+ <button class="btn btn-large dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
+ <ul class="dropdown-menu">
+ <li><a href="#">Action</a></li>
+ <li><a href="#">Another action</a></li>
+ <li><a href="#">Something else here</a></li>
+ <li class="divider"></li>
+ <li><a href="#">Separated link</a></li>
+ </ul>
+ </div><!-- /btn-group -->
+ </div><!-- /btn-toolbar -->
+ <div class="btn-toolbar">
+ <div class="btn-group">
+ <button class="btn btn-small">Small action</button>
+ <button class="btn btn-small dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
+ <ul class="dropdown-menu">
+ <li><a href="#">Action</a></li>
+ <li><a href="#">Another action</a></li>
+ <li><a href="#">Something else here</a></li>
+ <li class="divider"></li>
+ <li><a href="#">Separated link</a></li>
+ </ul>
+ </div><!-- /btn-group -->
+ </div><!-- /btn-toolbar -->
+ <div class="btn-toolbar">
+ <div class="btn-group">
+ <button class="btn btn-mini">Mini action</button>
+ <button class="btn btn-mini dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
+ <ul class="dropdown-menu">
+ <li><a href="#">Action</a></li>
+ <li><a href="#">Another action</a></li>
+ <li><a href="#">Something else here</a></li>
+ <li class="divider"></li>
+ <li><a href="#">Separated link</a></li>
+ </ul>
+ </div><!-- /btn-group -->
+ </div><!-- /btn-toolbar -->
+ </div>
<pre class="prettyprint linenums">
&lt;div class="btn-group"&gt;
&lt;button class="btn btn-mini"&gt;Action&lt;/button&gt;
@@ -559,34 +559,34 @@
&lt;/div&gt;
</pre>
- <h3>Dropup menus</h3>
- <p>Dropdown menus can also be toggled from the bottom up by adding a single class to the immediate parent of <code>.dropdown-menu</code>. It will flip the direction of the <code>.caret</code> and reposition the menu itself to move from the bottom up instead of top down.</p>
- <div class="bs-docs-example">
- <div class="btn-toolbar" style="margin: 0;">
- <div class="btn-group dropup">
- <button class="btn">Dropup</button>
- <button class="btn dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
- <ul class="dropdown-menu">
- <li><a href="#">Action</a></li>
- <li><a href="#">Another action</a></li>
- <li><a href="#">Something else here</a></li>
- <li class="divider"></li>
- <li><a href="#">Separated link</a></li>
- </ul>
- </div><!-- /btn-group -->
- <div class="btn-group dropup">
- <button class="btn primary">Right dropup</button>
- <button class="btn primary dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
- <ul class="dropdown-menu pull-right">
- <li><a href="#">Action</a></li>
- <li><a href="#">Another action</a></li>
- <li><a href="#">Something else here</a></li>
- <li class="divider"></li>
- <li><a href="#">Separated link</a></li>
- </ul>
- </div><!-- /btn-group -->
+ <h3>Dropup menus</h3>
+ <p>Dropdown menus can also be toggled from the bottom up by adding a single class to the immediate parent of <code>.dropdown-menu</code>. It will flip the direction of the <code>.caret</code> and reposition the menu itself to move from the bottom up instead of top down.</p>
+ <div class="bs-docs-example">
+ <div class="btn-toolbar" style="margin: 0;">
+ <div class="btn-group dropup">
+ <button class="btn">Dropup</button>
+ <button class="btn dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
+ <ul class="dropdown-menu">
+ <li><a href="#">Action</a></li>
+ <li><a href="#">Another action</a></li>
+ <li><a href="#">Something else here</a></li>
+ <li class="divider"></li>
+ <li><a href="#">Separated link</a></li>
+ </ul>
+ </div><!-- /btn-group -->
+ <div class="btn-group dropup">
+ <button class="btn primary">Right dropup</button>
+ <button class="btn primary dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
+ <ul class="dropdown-menu pull-right">
+ <li><a href="#">Action</a></li>
+ <li><a href="#">Another action</a></li>
+ <li><a href="#">Something else here</a></li>
+ <li class="divider"></li>
+ <li><a href="#">Separated link</a></li>
+ </ul>
+ </div><!-- /btn-group -->
+ </div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="btn-group dropup"&gt;
&lt;button class="btn"&gt;Dropup&lt;/button&gt;
@@ -599,29 +599,29 @@
&lt;/div&gt;
</pre>
- </section>
+ </section>
- <!-- Nav, Tabs, & Pills
- ================================================== -->
- <section id="navs">
- <div class="page-header">
- <h1>Nav: tabs, pills, and lists</small></h1>
- </div>
+ <!-- Nav, Tabs, & Pills
+ ================================================== -->
+ <section id="navs">
+ <div class="page-header">
+ <h1>Nav: tabs, pills, and lists</small></h1>
+ </div>
- <h2>Lightweight defaults <small>Same markup, different classes</small></h2>
- <p>All nav components here&mdash;tabs, pills, and lists&mdash;<strong>share the same base markup and styles</strong> through the <code>.nav</code> class.</p>
+ <h2>Lightweight defaults <small>Same markup, different classes</small></h2>
+ <p>All nav components here&mdash;tabs, pills, and lists&mdash;<strong>share the same base markup and styles</strong> through the <code>.nav</code> class.</p>
- <h3>Basic tabs</h3>
- <p>Take a regular <code>&lt;ul&gt;</code> of links and add <code>.nav-tabs</code>:</p>
- <div class="bs-docs-example">
- <ul class="nav nav-tabs">
- <li class="active"><a href="#">Home</a></li>
- <li><a href="#">Profile</a></li>
- <li><a href="#">Messages</a></li>
- </ul>
- </div>
+ <h3>Basic tabs</h3>
+ <p>Take a regular <code>&lt;ul&gt;</code> of links and add <code>.nav-tabs</code>:</p>
+ <div class="bs-docs-example">
+ <ul class="nav nav-tabs">
+ <li class="active"><a href="#">Home</a></li>
+ <li><a href="#">Profile</a></li>
+ <li><a href="#">Messages</a></li>
+ </ul>
+ </div>
<pre class="prettyprint linenums">
&lt;ul class="nav nav-tabs"&gt;
&lt;li class="active"&gt;
@@ -632,15 +632,15 @@
&lt;/ul&gt;
</pre>
- <h3>Basic pills</h3>
- <p>Take that same HTML, but use <code>.nav-pills</code> instead:</p>
- <div class="bs-docs-example">
- <ul class="nav nav-pills">
- <li class="active"><a href="#">Home</a></li>
- <li><a href="#">Profile</a></li>
- <li><a href="#">Messages</a></li>
- </ul>
- </div>
+ <h3>Basic pills</h3>
+ <p>Take that same HTML, but use <code>.nav-pills</code> instead:</p>
+ <div class="bs-docs-example">
+ <ul class="nav nav-pills">
+ <li class="active"><a href="#">Home</a></li>
+ <li><a href="#">Profile</a></li>
+ <li><a href="#">Messages</a></li>
+ </ul>
+ </div>
<pre class="prettyprint linenums">
&lt;ul class="nav nav-pills"&gt;
&lt;li class="active"&gt;
@@ -651,15 +651,15 @@
&lt;/ul&gt;
</pre>
- <h3>Disabled state</h3>
- <p>For any nav component (tabs, pills, or list), add <code>.disabled</code> for <strong>gray links and no hover effects</strong>. Links will remain clickable, however, unless custom javascript is implemented to prevent those clicks.</p>
- <div class="bs-docs-example">
- <ul class="nav nav-pills">
- <li><a href="#">Clickable link</a></li>
- <li><a href="#">Clickable link</a></li>
- <li class="disabled"><a href="#">Disabled link</a></li>
- </ul>
- </div>
+ <h3>Disabled state</h3>
+ <p>For any nav component (tabs, pills, or list), add <code>.disabled</code> for <strong>gray links and no hover effects</strong>. Links will remain clickable, however, unless custom javascript is implemented to prevent those clicks.</p>
+ <div class="bs-docs-example">
+ <ul class="nav nav-pills">
+ <li><a href="#">Clickable link</a></li>
+ <li><a href="#">Clickable link</a></li>
+ <li class="disabled"><a href="#">Disabled link</a></li>
+ </ul>
+ </div>
<pre class="prettyprint linenums">
&lt;ul class="nav nav-pills"&gt;
...
@@ -668,38 +668,38 @@
&lt;/ul&gt;
</pre>
- <h3>Component alignment</h3>
- <p>To align nav links, use the <code>.pull-left</code> or <code>.pull-right</code> utility classes. Both classes will add a CSS float in the specified direction.</p>
+ <h3>Component alignment</h3>
+ <p>To align nav links, use the <code>.pull-left</code> or <code>.pull-right</code> utility classes. Both classes will add a CSS float in the specified direction.</p>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h2>Stackable</h2>
- <p>As tabs and pills are horizontal by default, just add a second class, <code>.nav-stacked</code>, to make them appear vertically stacked.</p>
+ <h2>Stackable</h2>
+ <p>As tabs and pills are horizontal by default, just add a second class, <code>.nav-stacked</code>, to make them appear vertically stacked.</p>
- <h3>Stacked tabs</h3>
- <div class="bs-docs-example">
- <ul class="nav nav-tabs nav-stacked">
- <li class="active"><a href="#">Home</a></li>
- <li><a href="#">Profile</a></li>
- <li><a href="#">Messages</a></li>
- </ul>
- </div>
+ <h3>Stacked tabs</h3>
+ <div class="bs-docs-example">
+ <ul class="nav nav-tabs nav-stacked">
+ <li class="active"><a href="#">Home</a></li>
+ <li><a href="#">Profile</a></li>
+ <li><a href="#">Messages</a></li>
+ </ul>
+ </div>
<pre class="prettyprint linenums">
&lt;ul class="nav nav-tabs nav-stacked"&gt;
...
&lt;/ul&gt;
</pre>
- <h3>Stacked pills</h3>
- <div class="bs-docs-example">
- <ul class="nav nav-pills nav-stacked">
- <li class="active"><a href="#">Home</a></li>
- <li><a href="#">Profile</a></li>
- <li><a href="#">Messages</a></li>
- </ul>
- </div>
+ <h3>Stacked pills</h3>
+ <div class="bs-docs-example">
+ <ul class="nav nav-pills nav-stacked">
+ <li class="active"><a href="#">Home</a></li>
+ <li><a href="#">Profile</a></li>
+ <li><a href="#">Messages</a></li>
+ </ul>
+ </div>
<pre class="prettyprint linenums">
&lt;ul class="nav nav-pills nav-stacked"&gt;
...
@@ -707,29 +707,29 @@
</pre>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h2>Dropdowns</h2>
- <p>Add dropdown menus with a little extra HTML and the <a href="./javascript.html#dropdowns">dropdowns javascript plugin</a>.</p>
+ <h2>Dropdowns</h2>
+ <p>Add dropdown menus with a little extra HTML and the <a href="./javascript.html#dropdowns">dropdowns javascript plugin</a>.</p>
- <h3>Tabs with dropdowns</h3>
- <div class="bs-docs-example">
- <ul class="nav nav-tabs">
- <li class="active"><a href="#">Home</a></li>
- <li><a href="#">Help</a></li>
- <li class="dropdown">
- <a class="dropdown-toggle" data-toggle="dropdown" href="#">Dropdown <b class="caret"></b></a>
- <ul class="dropdown-menu">
- <li><a href="#">Action</a></li>
- <li><a href="#">Another action</a></li>
- <li><a href="#">Something else here</a></li>
- <li class="divider"></li>
- <li><a href="#">Separated link</a></li>
- </ul>
- </li>
- </ul>
- </div>
+ <h3>Tabs with dropdowns</h3>
+ <div class="bs-docs-example">
+ <ul class="nav nav-tabs">
+ <li class="active"><a href="#">Home</a></li>
+ <li><a href="#">Help</a></li>
+ <li class="dropdown">
+ <a class="dropdown-toggle" data-toggle="dropdown" href="#">Dropdown <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+ <li><a href="#">Action</a></li>
+ <li><a href="#">Another action</a></li>
+ <li><a href="#">Something else here</a></li>
+ <li class="divider"></li>
+ <li><a href="#">Separated link</a></li>
+ </ul>
+ </li>
+ </ul>
+ </div>
<pre class="prettyprint linenums">
&lt;ul class="nav nav-tabs"&gt;
&lt;li class="dropdown"&gt;
@@ -746,23 +746,23 @@
&lt;/ul&gt;
</pre>
- <h3>Pills with dropdowns</h3>
- <div class="bs-docs-example">
- <ul class="nav nav-pills">
- <li class="active"><a href="#">Home</a></li>
- <li><a href="#">Help</a></li>
- <li class="dropdown">
- <a class="dropdown-toggle" data-toggle="dropdown" href="#">Dropdown <b class="caret"></b></a>
- <ul class="dropdown-menu">
- <li><a href="#">Action</a></li>
- <li><a href="#">Another action</a></li>
- <li><a href="#">Something else here</a></li>
- <li class="divider"></li>
- <li><a href="#">Separated link</a></li>
- </ul>
- </li>
- </ul>
- </div>
+ <h3>Pills with dropdowns</h3>
+ <div class="bs-docs-example">
+ <ul class="nav nav-pills">
+ <li class="active"><a href="#">Home</a></li>
+ <li><a href="#">Help</a></li>
+ <li class="dropdown">
+ <a class="dropdown-toggle" data-toggle="dropdown" href="#">Dropdown <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+ <li><a href="#">Action</a></li>
+ <li><a href="#">Another action</a></li>
+ <li><a href="#">Something else here</a></li>
+ <li class="divider"></li>
+ <li><a href="#">Separated link</a></li>
+ </ul>
+ </li>
+ </ul>
+ </div>
<pre class="prettyprint linenums">
&lt;ul class="nav nav-pills"&gt;
&lt;li class="dropdown"&gt;
@@ -780,29 +780,29 @@
</pre>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h2>Nav lists</h2>
- <p>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.</p>
+ <h2>Nav lists</h2>
+ <p>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.</p>
- <h3>Example nav list</h3>
- <p>Take a list of links and add <code>class="nav nav-list"</code>:</p>
- <div class="bs-docs-example">
- <div class="well" style="max-width: 340px; padding: 8px 0;">
- <ul class="nav nav-list">
- <li class="nav-header">List header</li>
- <li class="active"><a href="#">Home</a></li>
- <li><a href="#">Library</a></li>
- <li><a href="#">Applications</a></li>
- <li class="nav-header">Another list header</li>
- <li><a href="#">Profile</a></li>
- <li><a href="#">Settings</a></li>
- <li class="divider"></li>
- <li><a href="#">Help</a></li>
- </ul>
- </div> <!-- /well -->
- </div>
+ <h3>Example nav list</h3>
+ <p>Take a list of links and add <code>class="nav nav-list"</code>:</p>
+ <div class="bs-docs-example">
+ <div class="well" style="max-width: 340px; padding: 8px 0;">
+ <ul class="nav nav-list">
+ <li class="nav-header">List header</li>
+ <li class="active"><a href="#">Home</a></li>
+ <li><a href="#">Library</a></li>
+ <li><a href="#">Applications</a></li>
+ <li class="nav-header">Another list header</li>
+ <li><a href="#">Profile</a></li>
+ <li><a href="#">Settings</a></li>
+ <li class="divider"></li>
+ <li><a href="#">Help</a></li>
+ </ul>
+ </div> <!-- /well -->
+ </div>
<pre class="prettyprint linenums">
&lt;ul class="nav nav-list"&gt;
&lt;li class="nav-header"&gt;List header&lt;/li&gt;
@@ -811,50 +811,50 @@
...
&lt;/ul&gt;
</pre>
- <p>
- <span class="label label-info">Note</span>
- For nesting within a nav list, include <code>class="nav nav-list"</code> on any nested <code>&lt;ul&gt;</code>.
- </p>
+ <p>
+ <span class="label label-info">Note</span>
+ For nesting within a nav list, include <code>class="nav nav-list"</code> on any nested <code>&lt;ul&gt;</code>.
+ </p>
- <h3>Horizontal dividers</h3>
- <p>Add a horizontal divider by creating an empty list item with the class <code>.divider</code>, like so:</p>
+ <h3>Horizontal dividers</h3>
+ <p>Add a horizontal divider by creating an empty list item with the class <code>.divider</code>, like so:</p>
<pre class="prettyprint linenums">
&lt;ul class="nav nav-list"&gt;
...
&lt;li class="divider"&gt;&lt;/li&gt;
...
&lt;/ul&gt;
- </pre>
+</pre>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h2>Tabbable nav</h2>
- <p>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.</p>
+ <h2>Tabbable nav</h2>
+ <p>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.</p>
- <h3>Tabbable example</h3>
- <p>To make tabs tabbable, create a <code>.tab-pane</code> with unique ID for every tab and wrap them in <code>.tab-content</code>.</p>
- <div class="bs-docs-example">
- <div class="tabbable" style="margin-bottom: 18px;">
- <ul class="nav nav-tabs">
- <li class="active"><a href="#tab1" data-toggle="tab">Section 1</a></li>
- <li><a href="#tab2" data-toggle="tab">Section 2</a></li>
- <li><a href="#tab3" data-toggle="tab">Section 3</a></li>
- </ul>
- <div class="tab-content" style="padding-bottom: 9px; border-bottom: 1px solid #ddd;">
- <div class="tab-pane active" id="tab1">
- <p>I'm in Section 1.</p>
- </div>
- <div class="tab-pane" id="tab2">
- <p>Howdy, I'm in Section 2.</p>
- </div>
- <div class="tab-pane" id="tab3">
- <p>What up girl, this is Section 3.</p>
+ <h3>Tabbable example</h3>
+ <p>To make tabs tabbable, create a <code>.tab-pane</code> with unique ID for every tab and wrap them in <code>.tab-content</code>.</p>
+ <div class="bs-docs-example">
+ <div class="tabbable" style="margin-bottom: 18px;">
+ <ul class="nav nav-tabs">
+ <li class="active"><a href="#tab1" data-toggle="tab">Section 1</a></li>
+ <li><a href="#tab2" data-toggle="tab">Section 2</a></li>
+ <li><a href="#tab3" data-toggle="tab">Section 3</a></li>
+ </ul>
+ <div class="tab-content" style="padding-bottom: 9px; border-bottom: 1px solid #ddd;">
+ <div class="tab-pane active" id="tab1">
+ <p>I'm in Section 1.</p>
+ </div>
+ <div class="tab-pane" id="tab2">
+ <p>Howdy, I'm in Section 2.</p>
+ </div>
+ <div class="tab-pane" id="tab3">
+ <p>What up girl, this is Section 3.</p>
+ </div>
</div>
- </div>
- </div> <!-- /tabbable -->
- </div>
+ </div> <!-- /tabbable -->
+ </div>
<pre class="prettyprint linenums">
&lt;div class="tabbable"&gt; &lt;!-- Only required for left/right tabs --&gt;
&lt;ul class="nav nav-tabs"&gt;
@@ -872,36 +872,36 @@
&lt;/div&gt;
</pre>
- <h4>Fade in tabs</h4>
- <p>To make tabs fade in, add <code>.fade</code> to each <code>.tab-pane</code>.</p>
+ <h4>Fade in tabs</h4>
+ <p>To make tabs fade in, add <code>.fade</code> to each <code>.tab-pane</code>.</p>
- <h4>Requires jQuery plugin</h4>
- <p>All tabbable tabs are powered by our lightweight jQuery plugin. Read more about how to bring tabbable tabs to life <a href="./javascript.html#tabs">on the javascript docs page</a>.</p>
+ <h4>Requires jQuery plugin</h4>
+ <p>All tabbable tabs are powered by our lightweight jQuery plugin. Read more about how to bring tabbable tabs to life <a href="./javascript.html#tabs">on the javascript docs page</a>.</p>
- <h3>Tabbable in any direction</h3>
+ <h3>Tabbable in any direction</h3>
- <h4>Tabs on the bottom</h4>
- <p>Flip the order of the HTML and add a class to put tabs on the bottom.</p>
- <div class="bs-docs-example">
- <div class="tabbable tabs-below">
- <div class="tab-content">
- <div class="tab-pane active" id="A">
- <p>I'm in Section A.</p>
- </div>
- <div class="tab-pane" id="B">
- <p>Howdy, I'm in Section B.</p>
- </div>
- <div class="tab-pane" id="C">
- <p>What up girl, this is Section C.</p>
+ <h4>Tabs on the bottom</h4>
+ <p>Flip the order of the HTML and add a class to put tabs on the bottom.</p>
+ <div class="bs-docs-example">
+ <div class="tabbable tabs-below">
+ <div class="tab-content">
+ <div class="tab-pane active" id="A">
+ <p>I'm in Section A.</p>
+ </div>
+ <div class="tab-pane" id="B">
+ <p>Howdy, I'm in Section B.</p>
+ </div>
+ <div class="tab-pane" id="C">
+ <p>What up girl, this is Section C.</p>
+ </div>
</div>
- </div>
- <ul class="nav nav-tabs">
- <li class="active"><a href="#A" data-toggle="tab">Section 1</a></li>
- <li><a href="#B" data-toggle="tab">Section 2</a></li>
- <li><a href="#C" data-toggle="tab">Section 3</a></li>
- </ul>
- </div> <!-- /tabbable -->
- </div>
+ <ul class="nav nav-tabs">
+ <li class="active"><a href="#A" data-toggle="tab">Section 1</a></li>
+ <li><a href="#B" data-toggle="tab">Section 2</a></li>
+ <li><a href="#C" data-toggle="tab">Section 3</a></li>
+ </ul>
+ </div> <!-- /tabbable -->
+ </div>
<pre class="prettyprint linenums">
&lt;div class="tabbable tabs-below"&gt;
&lt;div class="tab-content"&gt;
@@ -913,28 +913,28 @@
&lt;/div&gt;
</pre>
- <h4>Tabs on the left</h4>
- <p>Swap the class to put tabs on the left.</p>
- <div class="bs-docs-example">
- <div class="tabbable tabs-left">
- <ul class="nav nav-tabs">
- <li class="active"><a href="#lA" data-toggle="tab">Section 1</a></li>
- <li><a href="#lB" data-toggle="tab">Section 2</a></li>
- <li><a href="#lC" data-toggle="tab">Section 3</a></li>
- </ul>
- <div class="tab-content">
- <div class="tab-pane active" id="lA">
- <p>I'm in Section A.</p>
- </div>
- <div class="tab-pane" id="lB">
- <p>Howdy, I'm in Section B.</p>
- </div>
- <div class="tab-pane" id="lC">
- <p>What up girl, this is Section C.</p>
+ <h4>Tabs on the left</h4>
+ <p>Swap the class to put tabs on the left.</p>
+ <div class="bs-docs-example">
+ <div class="tabbable tabs-left">
+ <ul class="nav nav-tabs">
+ <li class="active"><a href="#lA" data-toggle="tab">Section 1</a></li>
+ <li><a href="#lB" data-toggle="tab">Section 2</a></li>
+ <li><a href="#lC" data-toggle="tab">Section 3</a></li>
+ </ul>
+ <div class="tab-content">
+ <div class="tab-pane active" id="lA">
+ <p>I'm in Section A.</p>
+ </div>
+ <div class="tab-pane" id="lB">
+ <p>Howdy, I'm in Section B.</p>
+ </div>
+ <div class="tab-pane" id="lC">
+ <p>What up girl, this is Section C.</p>
+ </div>
</div>
- </div>
- </div> <!-- /tabbable -->
- </div>
+ </div> <!-- /tabbable -->
+ </div>
<pre class="prettyprint linenums">
&lt;div class="tabbable tabs-left"&gt;
&lt;ul class="nav nav-tabs"&gt;
@@ -946,28 +946,28 @@
&lt;/div&gt;
</pre>
- <h4>Tabs on the right</h4>
- <p>Swap the class to put tabs on the right.</p>
- <div class="bs-docs-example">
- <div class="tabbable tabs-right">
- <ul class="nav nav-tabs">
- <li class="active"><a href="#rA" data-toggle="tab">Section 1</a></li>
- <li><a href="#rB" data-toggle="tab">Section 2</a></li>
- <li><a href="#rC" data-toggle="tab">Section 3</a></li>
- </ul>
- <div class="tab-content">
- <div class="tab-pane active" id="rA">
- <p>I'm in Section A.</p>
- </div>
- <div class="tab-pane" id="rB">
- <p>Howdy, I'm in Section B.</p>
- </div>
- <div class="tab-pane" id="rC">
- <p>What up girl, this is Section C.</p>
+ <h4>Tabs on the right</h4>
+ <p>Swap the class to put tabs on the right.</p>
+ <div class="bs-docs-example">
+ <div class="tabbable tabs-right">
+ <ul class="nav nav-tabs">
+ <li class="active"><a href="#rA" data-toggle="tab">Section 1</a></li>
+ <li><a href="#rB" data-toggle="tab">Section 2</a></li>
+ <li><a href="#rC" data-toggle="tab">Section 3</a></li>
+ </ul>
+ <div class="tab-content">
+ <div class="tab-pane active" id="rA">
+ <p>I'm in Section A.</p>
+ </div>
+ <div class="tab-pane" id="rB">
+ <p>Howdy, I'm in Section B.</p>
+ </div>
+ <div class="tab-pane" id="rC">
+ <p>What up girl, this is Section C.</p>
+ </div>
</div>
- </div>
- </div> <!-- /tabbable -->
- </div>
+ </div> <!-- /tabbable -->
+ </div>
<pre class="prettyprint linenums">
&lt;div class="tabbable tabs-right"&gt;
&lt;ul class="nav nav-tabs"&gt;
@@ -979,32 +979,32 @@
&lt;/div&gt;
</pre>
- </section>
+ </section>
- <!-- Navbar
- ================================================== -->
- <section id="navbar">
- <div class="page-header">
- <h1>Navbar</h1>
- </div>
+ <!-- Navbar
+ ================================================== -->
+ <section id="navbar">
+ <div class="page-header">
+ <h1>Navbar</h1>
+ </div>
- <h2>Basic navbar</h2>
- <p>To start, navbars are static (not fixed to the top) and include support for a project name and basic navigation. Place one anywhere within a <code>.container</code>, which sets the width of your site and content.</p>
- <div class="bs-docs-example">
- <div class="navbar">
- <div class="navbar-inner">
- <a class="brand" href="#">Title</a>
- <ul class="nav">
- <li class="active"><a href="#">Home</a></li>
- <li><a href="#">Link</a></li>
- <li><a href="#">Link</a></li>
- </ul>
+ <h2>Basic navbar</h2>
+ <p>To start, navbars are static (not fixed to the top) and include support for a project name and basic navigation. Place one anywhere within a <code>.container</code>, which sets the width of your site and content.</p>
+ <div class="bs-docs-example">
+ <div class="navbar">
+ <div class="navbar-inner">
+ <a class="brand" href="#">Title</a>
+ <ul class="nav">
+ <li class="active"><a href="#">Home</a></li>
+ <li><a href="#">Link</a></li>
+ <li><a href="#">Link</a></li>
+ </ul>
+ </div>
</div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="navbar"&gt;
&lt;div class="navbar-inner"&gt;
@@ -1019,19 +1019,19 @@
</pre>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h2>Navbar components</h2>
+ <h2>Navbar components</h2>
- <h3>Brand</h3>
- <p>A simple link to show your brand or project name only requires an anchor tag.</p>
+ <h3>Brand</h3>
+ <p>A simple link to show your brand or project name only requires an anchor tag.</p>
<pre class="prettyprint linenums">
&lt;a class="brand" href="#"&gt;Project name&lt;/a&gt;
</pre>
- <h3>Nav links</h3>
- <p>Nav items are simple to add via unordered lists.</p>
+ <h3>Nav links</h3>
+ <p>Nav items are simple to add via unordered lists.</p>
<pre class="prettyprint linenums">
&lt;ul class="nav"&gt;
&lt;li class="active"&gt;
@@ -1041,7 +1041,7 @@
&lt;li&gt;&lt;a href="#"&gt;Link&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</pre>
- <p>You can easily add dividers to your nav links with an empty list item and a simple class. Just add this between links:</p>
+ <p>You can easily add dividers to your nav links with an empty list item and a simple class. Just add this between links:</p>
<pre class="prettyprint linenums">
&lt;ul class="nav"&gt;
...
@@ -1050,27 +1050,27 @@
&lt;/ul&gt;
</pre>
- <h3>Forms</h3>
- <p>To properly style and position a form within the navbar, add the appropriate classes as shown below. For a default form, include <code>.navbar-form</code> and either <code>.pull-left</code> or <code>.pull-right</code> to properly align it.</p>
+ <h3>Forms</h3>
+ <p>To properly style and position a form within the navbar, add the appropriate classes as shown below. For a default form, include <code>.navbar-form</code> and either <code>.pull-left</code> or <code>.pull-right</code> to properly align it.</p>
<pre class="prettyprint linenums">
&lt;form class="navbar-form pull-left"&gt;
&lt;input type="text" class="span2"&gt;
&lt;/form&gt;
</pre>
- <h3>Search form</h3>
- <p>For a more customized search form, add <code>.navbar-search</code> to the <code>form</code> and <code>.search-query</code> to the input for specialized styles in the navbar.</p>
+ <h3>Search form</h3>
+ <p>For a more customized search form, add <code>.navbar-search</code> to the <code>form</code> and <code>.search-query</code> to the input for specialized styles in the navbar.</p>
<pre class="prettyprint linenums">
&lt;form class="navbar-search pull-left"&gt;
&lt;input type="text" class="search-query" placeholder="Search"&gt;
&lt;/form&gt;
</pre>
- <h3>Component alignment</h3>
- <p>Align nav links, search form, or text, use the <code>.pull-left</code> or <code>.pull-right</code> utility classes. Both classes will add a CSS float in the specified direction.</p>
+ <h3>Component alignment</h3>
+ <p>Align nav links, search form, or text, use the <code>.pull-left</code> or <code>.pull-right</code> utility classes. Both classes will add a CSS float in the specified direction.</p>
- <h3>Using dropdowns</h3>
- <p>Add dropdowns and dropups to the nav with a bit of markup and the <a href="./javascript.html#dropdowns">dropdowns javascript plugin</a>.</p>
+ <h3>Using dropdowns</h3>
+ <p>Add dropdowns and dropups to the nav with a bit of markup and the <a href="./javascript.html#dropdowns">dropdowns javascript plugin</a>.</p>
<pre class="prettyprint linenums">
&lt;ul class="nav"&gt;
&lt;li class="dropdown"&gt;
@@ -1084,56 +1084,56 @@
&lt;/li&gt;
&lt;/ul&gt;
</pre>
- <p>Visit the <a href="./javascript.html#dropdowns">javascript dropdowns documentation</a> for more markup and information on calling dropdowns.</p>
+ <p>Visit the <a href="./javascript.html#dropdowns">javascript dropdowns documentation</a> for more markup and information on calling dropdowns.</p>
- <h3>Text</h3>
- <p>Wrap strings of text in an element with <code>.navbar-text</code>, usually on a <code>&lt;p&gt;</code> tag for proper leading and color.</p>
+ <h3>Text</h3>
+ <p>Wrap strings of text in an element with <code>.navbar-text</code>, usually on a <code>&lt;p&gt;</code> tag for proper leading and color.</p>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h2>Fixed navigation</h2>
- <p>Fix the navbar to the top or bottom of the viewport with an additional class on the outermost div, <code>.navbar</code>.</p>
+ <h2>Fixed navigation</h2>
+ <p>Fix the navbar to the top or bottom of the viewport with an additional class on the outermost div, <code>.navbar</code>.</p>
- <h3>Fixed to top</h3>
- <p>Add <code>.navbar-fixed-top</code> and remember to account for the hidden area underneath it by adding at least 40px <code>padding</code> to the <code>&lt;body&gt;</code>. Be sure to add this after the core Bootstrap CSS and before the optional responsive CSS.</p>
- <div class="bs-docs-example bs-navbar-top-example">
- <div class="navbar navbar-fixed-top" style="position: absolute;">
- <div class="navbar-inner">
- <div class="container" style="width: auto; padding: 0 20px;">
- <a class="brand" href="#">Title</a>
- <ul class="nav">
- <li class="active"><a href="#">Home</a></li>
- <li><a href="#">Link</a></li>
- <li><a href="#">Link</a></li>
- </ul>
+ <h3>Fixed to top</h3>
+ <p>Add <code>.navbar-fixed-top</code> and remember to account for the hidden area underneath it by adding at least 40px <code>padding</code> to the <code>&lt;body&gt;</code>. Be sure to add this after the core Bootstrap CSS and before the optional responsive CSS.</p>
+ <div class="bs-docs-example bs-navbar-top-example">
+ <div class="navbar navbar-fixed-top" style="position: absolute;">
+ <div class="navbar-inner">
+ <div class="container" style="width: auto; padding: 0 20px;">
+ <a class="brand" href="#">Title</a>
+ <ul class="nav">
+ <li class="active"><a href="#">Home</a></li>
+ <li><a href="#">Link</a></li>
+ <li><a href="#">Link</a></li>
+ </ul>
+ </div>
</div>
</div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="navbar navbar-fixed-top"&gt;
...
&lt;/div&gt;
</pre>
- <h3>Fixed to bottom</h3>
- <p>Add <code>.navbar-fixed-bottom</code> instead.</p>
- <div class="bs-docs-example bs-navbar-bottom-example">
- <div class="navbar navbar-fixed-bottom" style="position: absolute;">
- <div class="navbar-inner">
- <div class="container" style="width: auto; padding: 0 20px;">
- <a class="brand" href="#">Title</a>
- <ul class="nav">
- <li class="active"><a href="#">Home</a></li>
- <li><a href="#">Link</a></li>
- <li><a href="#">Link</a></li>
- </ul>
+ <h3>Fixed to bottom</h3>
+ <p>Add <code>.navbar-fixed-bottom</code> instead.</p>
+ <div class="bs-docs-example bs-navbar-bottom-example">
+ <div class="navbar navbar-fixed-bottom" style="position: absolute;">
+ <div class="navbar-inner">
+ <div class="container" style="width: auto; padding: 0 20px;">
+ <a class="brand" href="#">Title</a>
+ <ul class="nav">
+ <li class="active"><a href="#">Home</a></li>
+ <li><a href="#">Link</a></li>
+ <li><a href="#">Link</a></li>
+ </ul>
+ </div>
</div>
</div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="navbar navbar-fixed-bottom"&gt;
...
@@ -1141,61 +1141,61 @@
</pre>
- <hr class="bs-docs-separator">
-
-
- <h2>Responsive navbar</h2>
- <p>To implement a collapsing responsive navbar, wrap your navbar content in a containing div, <code>.nav-collapse.collapse</code>, and add the navbar toggle button, <code>.btn-navbar</code>.</p>
- <div class="bs-docs-example">
- <div class="navbar">
- <div class="navbar-inner">
- <div class="container">
- <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </a>
- <a class="brand" href="#">Title</a>
- <div class="nav-collapse">
- <ul class="nav">
- <li class="active"><a href="#">Home</a></li>
- <li><a href="#">Link</a></li>
- <li><a href="#">Link</a></li>
- <li class="dropdown">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
- <ul class="dropdown-menu">
- <li><a href="#">Action</a></li>
- <li><a href="#">Another action</a></li>
- <li><a href="#">Something else here</a></li>
- <li class="divider"></li>
- <li class="nav-header">Nav header</li>
- <li><a href="#">Separated link</a></li>
- <li><a href="#">One more separated link</a></li>
- </ul>
- </li>
- </ul>
- <form class="navbar-search pull-left" action="">
- <input type="text" class="search-query span2" placeholder="Search">
- </form>
- <ul class="nav pull-right">
- <li><a href="#">Link</a></li>
- <li class="divider-vertical"></li>
- <li class="dropdown">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
- <ul class="dropdown-menu">
- <li><a href="#">Action</a></li>
- <li><a href="#">Another action</a></li>
- <li><a href="#">Something else here</a></li>
- <li class="divider"></li>
- <li><a href="#">Separated link</a></li>
- </ul>
- </li>
- </ul>
- </div><!-- /.nav-collapse -->
- </div>
- </div><!-- /navbar-inner -->
- </div><!-- /navbar -->
- </div>
+ <hr class="bs-docs-separator">
+
+
+ <h2>Responsive navbar</h2>
+ <p>To implement a collapsing responsive navbar, wrap your navbar content in a containing div, <code>.nav-collapse.collapse</code>, and add the navbar toggle button, <code>.btn-navbar</code>.</p>
+ <div class="bs-docs-example">
+ <div class="navbar">
+ <div class="navbar-inner">
+ <div class="container">
+ <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </a>
+ <a class="brand" href="#">Title</a>
+ <div class="nav-collapse">
+ <ul class="nav">
+ <li class="active"><a href="#">Home</a></li>
+ <li><a href="#">Link</a></li>
+ <li><a href="#">Link</a></li>
+ <li class="dropdown">
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+ <li><a href="#">Action</a></li>
+ <li><a href="#">Another action</a></li>
+ <li><a href="#">Something else here</a></li>
+ <li class="divider"></li>
+ <li class="nav-header">Nav header</li>
+ <li><a href="#">Separated link</a></li>
+ <li><a href="#">One more separated link</a></li>
+ </ul>
+ </li>
+ </ul>
+ <form class="navbar-search pull-left" action="">
+ <input type="text" class="search-query span2" placeholder="Search">
+ </form>
+ <ul class="nav pull-right">
+ <li><a href="#">Link</a></li>
+ <li class="divider-vertical"></li>
+ <li class="dropdown">
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+ <li><a href="#">Action</a></li>
+ <li><a href="#">Another action</a></li>
+ <li><a href="#">Something else here</a></li>
+ <li class="divider"></li>
+ <li><a href="#">Separated link</a></li>
+ </ul>
+ </li>
+ </ul>
+ </div><!-- /.nav-collapse -->
+ </div>
+ </div><!-- /navbar-inner -->
+ </div><!-- /navbar -->
+ </div>
<pre class="prettyprint linenums">
&lt;div class="navbar"&gt;
&lt;div class="navbar-inner"&gt;
@@ -1220,99 +1220,99 @@
&lt;/div&gt;
&lt;/div&gt;
</pre>
- <div class="alert alert-info">
- <strong>Heads up!</strong> The responsive navbar requires the <a href="./javascript.html#collapse">collapse plugin</a> and <a href="./scaffolding.html#responsive">responsive Bootstrap CSS file</a>.
- </div>
-
-
- <hr class="bs-docs-separator">
+ <div class="alert alert-info">
+ <strong>Heads up!</strong> The responsive navbar requires the <a href="./javascript.html#collapse">collapse plugin</a> and <a href="./scaffolding.html#responsive">responsive Bootstrap CSS file</a>.
+ </div>
- <h2>Subnav variation</h2>
- <p>Modify the look of the navbar by adding <code>.navbar-subnav</code>. Perfect for a secondary nav, or just a replacement to the default dark navbar.</p>
- <div class="bs-docs-example">
- <div class="navbar navbar-subnav" style="position: static;">
- <div class="navbar-inner">
- <div class="container">
- <a class="btn btn-navbar" data-toggle="collapse" data-target=".subnav-collapse">
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </a>
- <a class="brand" href="#">Title</a>
- <div class="nav-collapse subnav-collapse">
- <ul class="nav">
- <li class="active"><a href="#">Home</a></li>
- <li><a href="#">Link</a></li>
- <li><a href="#">Link</a></li>
- <li class="dropdown">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
- <ul class="dropdown-menu">
- <li><a href="#">Action</a></li>
- <li><a href="#">Another action</a></li>
- <li><a href="#">Something else here</a></li>
- <li class="divider"></li>
- <li class="nav-header">Nav header</li>
- <li><a href="#">Separated link</a></li>
- <li><a href="#">One more separated link</a></li>
- </ul>
- </li>
- </ul>
- <form class="navbar-search pull-left" action="">
- <input type="text" class="search-query span2" placeholder="Search">
- </form>
- <ul class="nav pull-right">
- <li><a href="#">Link</a></li>
- <li class="divider-vertical"></li>
- <li class="dropdown">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
- <ul class="dropdown-menu">
- <li><a href="#">Action</a></li>
- <li><a href="#">Another action</a></li>
- <li><a href="#">Something else here</a></li>
- <li class="divider"></li>
- <li><a href="#">Separated link</a></li>
- </ul>
- </li>
- </ul>
- </div><!-- /.nav-collapse -->
- </div>
- </div><!-- /navbar-inner -->
- </div><!-- /navbar -->
- </div>
+ <hr class="bs-docs-separator">
+
+
+ <h2>Subnav variation</h2>
+ <p>Modify the look of the navbar by adding <code>.navbar-subnav</code>. Perfect for a secondary nav, or just a replacement to the default dark navbar.</p>
+ <div class="bs-docs-example">
+ <div class="navbar navbar-subnav" style="position: static;">
+ <div class="navbar-inner">
+ <div class="container">
+ <a class="btn btn-navbar" data-toggle="collapse" data-target=".subnav-collapse">
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </a>
+ <a class="brand" href="#">Title</a>
+ <div class="nav-collapse subnav-collapse">
+ <ul class="nav">
+ <li class="active"><a href="#">Home</a></li>
+ <li><a href="#">Link</a></li>
+ <li><a href="#">Link</a></li>
+ <li class="dropdown">
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+ <li><a href="#">Action</a></li>
+ <li><a href="#">Another action</a></li>
+ <li><a href="#">Something else here</a></li>
+ <li class="divider"></li>
+ <li class="nav-header">Nav header</li>
+ <li><a href="#">Separated link</a></li>
+ <li><a href="#">One more separated link</a></li>
+ </ul>
+ </li>
+ </ul>
+ <form class="navbar-search pull-left" action="">
+ <input type="text" class="search-query span2" placeholder="Search">
+ </form>
+ <ul class="nav pull-right">
+ <li><a href="#">Link</a></li>
+ <li class="divider-vertical"></li>
+ <li class="dropdown">
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+ <li><a href="#">Action</a></li>
+ <li><a href="#">Another action</a></li>
+ <li><a href="#">Something else here</a></li>
+ <li class="divider"></li>
+ <li><a href="#">Separated link</a></li>
+ </ul>
+ </li>
+ </ul>
+ </div><!-- /.nav-collapse -->
+ </div>
+ </div><!-- /navbar-inner -->
+ </div><!-- /navbar -->
+ </div>
<pre class="prettyprint linenums">
&lt;div class="navbar navbar-subnav"&gt;
...
&lt;/div&gt;
</pre>
- </section>
+ </section>
- <!-- Breadcrumbs
- ================================================== -->
- <section id="breadcrumbs">
- <div class="page-header">
- <h1>Breadcrumbs <small></small></h1>
- </div>
+ <!-- Breadcrumbs
+ ================================================== -->
+ <section id="breadcrumbs">
+ <div class="page-header">
+ <h1>Breadcrumbs <small></small></h1>
+ </div>
- <h2>Examples</h2>
- <p>A single example shown as it might be displayed across multiple pages.</p>
- <div class="bs-docs-example">
- <ul class="breadcrumb">
- <li class="active">Home</li>
- </ul>
- <ul class="breadcrumb">
- <li><a href="#">Home</a> <span class="divider">/</span></li>
- <li class="active">Library</li>
- </ul>
- <ul class="breadcrumb" style="margin-bottom: 5px;">
- <li><a href="#">Home</a> <span class="divider">/</span></li>
- <li><a href="#">Library</a> <span class="divider">/</span></li>
- <li class="active">Data</li>
- </ul>
- </div>
+ <h2>Examples</h2>
+ <p>A single example shown as it might be displayed across multiple pages.</p>
+ <div class="bs-docs-example">
+ <ul class="breadcrumb">
+ <li class="active">Home</li>
+ </ul>
+ <ul class="breadcrumb">
+ <li><a href="#">Home</a> <span class="divider">/</span></li>
+ <li class="active">Library</li>
+ </ul>
+ <ul class="breadcrumb" style="margin-bottom: 5px;">
+ <li><a href="#">Home</a> <span class="divider">/</span></li>
+ <li><a href="#">Library</a> <span class="divider">/</span></li>
+ <li class="active">Data</li>
+ </ul>
+ </div>
<pre class="prettyprint linenums">
&lt;ul class="breadcrumb"&gt;
&lt;li&gt;&lt;a href="#"&gt;Home&lt;/a&gt; &lt;span class="divider"&gt;/&lt;/span&gt;&lt;/li&gt;
@@ -1321,32 +1321,32 @@
&lt;/ul&gt;
</pre>
- </section>
+ </section>
- <!-- Pagination
- ================================================== -->
- <section id="pagination">
- <div class="page-header">
- <h1>Pagination <small>Two options for paging through content</small></h1>
- </div>
+ <!-- Pagination
+ ================================================== -->
+ <section id="pagination">
+ <div class="page-header">
+ <h1>Pagination <small>Two options for paging through content</small></h1>
+ </div>
- <h2>Standard pagination</h2>
- <p>Simple pagination inspired by Rdio, great for apps and search results. The large block is hard to miss, easily scalable, and provides large click areas.</p>
- <div class="bs-docs-example">
- <div class="pagination">
- <ul>
- <li><a href="#">&laquo;</a></li>
- <li><a href="#">1</a></li>
- <li><a href="#">2</a></li>
- <li><a href="#">3</a></li>
- <li><a href="#">4</a></li>
- <li><a href="#">5</a></li>
- <li><a href="#">&raquo;</a></li>
- </ul>
+ <h2>Standard pagination</h2>
+ <p>Simple pagination inspired by Rdio, great for apps and search results. The large block is hard to miss, easily scalable, and provides large click areas.</p>
+ <div class="bs-docs-example">
+ <div class="pagination">
+ <ul>
+ <li><a href="#">&laquo;</a></li>
+ <li><a href="#">1</a></li>
+ <li><a href="#">2</a></li>
+ <li><a href="#">3</a></li>
+ <li><a href="#">4</a></li>
+ <li><a href="#">5</a></li>
+ <li><a href="#">&raquo;</a></li>
+ </ul>
+ </div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="pagination"&gt;
&lt;ul&gt;
@@ -1361,26 +1361,26 @@
</pre>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h2>Options</h2>
+ <h2>Options</h2>
- <h3>Disabled and active states</h3>
- <p>Links are customizable for different circumstances. Use <code>.disabled</code> for unclickable links and <code>.active</code> to indicate the current page.</p>
- <div class="bs-docs-example">
- <div class="pagination pagination-centered">
- <ul>
- <li class="disabled"><a href="#">&laquo;</a></li>
- <li class="active"><a href="#">1</a></li>
- <li><a href="#">2</a></li>
- <li><a href="#">3</a></li>
- <li><a href="#">4</a></li>
- <li><a href="#">5</a></li>
- <li><a href="#">&raquo;</a></li>
- </ul>
+ <h3>Disabled and active states</h3>
+ <p>Links are customizable for different circumstances. Use <code>.disabled</code> for unclickable links and <code>.active</code> to indicate the current page.</p>
+ <div class="bs-docs-example">
+ <div class="pagination pagination-centered">
+ <ul>
+ <li class="disabled"><a href="#">&laquo;</a></li>
+ <li class="active"><a href="#">1</a></li>
+ <li><a href="#">2</a></li>
+ <li><a href="#">3</a></li>
+ <li><a href="#">4</a></li>
+ <li><a href="#">5</a></li>
+ <li><a href="#">&raquo;</a></li>
+ </ul>
+ </div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="pagination "&gt;
&lt;ul&gt;
@@ -1391,39 +1391,39 @@
&lt;/div&gt;
</pre>
- <h3>Alignment</h3>
- <p>Add one of two optional classes to change the alignment of pagination links: <code>.pagination-centered</code> and <code>.pagination-right</code>.</p>
- <div class="bs-docs-example">
- <div class="pagination pagination-centered">
- <ul>
- <li><a href="#">&laquo;</a></li>
- <li><a href="#">1</a></li>
- <li><a href="#">2</a></li>
- <li><a href="#">3</a></li>
- <li><a href="#">4</a></li>
- <li><a href="#">5</a></li>
- <li><a href="#">&raquo;</a></li>
- </ul>
+ <h3>Alignment</h3>
+ <p>Add one of two optional classes to change the alignment of pagination links: <code>.pagination-centered</code> and <code>.pagination-right</code>.</p>
+ <div class="bs-docs-example">
+ <div class="pagination pagination-centered">
+ <ul>
+ <li><a href="#">&laquo;</a></li>
+ <li><a href="#">1</a></li>
+ <li><a href="#">2</a></li>
+ <li><a href="#">3</a></li>
+ <li><a href="#">4</a></li>
+ <li><a href="#">5</a></li>
+ <li><a href="#">&raquo;</a></li>
+ </ul>
+ </div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="pagination pagination-centered"&gt;
...
&lt;/div&gt;
</pre>
- <div class="bs-docs-example">
- <div class="pagination pagination-right">
- <ul>
- <li><a href="#">&laquo;</a></li>
- <li><a href="#">1</a></li>
- <li><a href="#">2</a></li>
- <li><a href="#">3</a></li>
- <li><a href="#">4</a></li>
- <li><a href="#">5</a></li>
- <li><a href="#">&raquo;</a></li>
- </ul>
+ <div class="bs-docs-example">
+ <div class="pagination pagination-right">
+ <ul>
+ <li><a href="#">&laquo;</a></li>
+ <li><a href="#">1</a></li>
+ <li><a href="#">2</a></li>
+ <li><a href="#">3</a></li>
+ <li><a href="#">4</a></li>
+ <li><a href="#">5</a></li>
+ <li><a href="#">&raquo;</a></li>
+ </ul>
+ </div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="pagination pagination-right"&gt;
...
@@ -1431,20 +1431,20 @@
</pre>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h2>Pager</h2>
- <p>Quick previous and next links for simple pagination implementations with light markup and styles. It's great for simple sites like blogs or magazines.</p>
+ <h2>Pager</h2>
+ <p>Quick previous and next links for simple pagination implementations with light markup and styles. It's great for simple sites like blogs or magazines.</p>
- <h3>Default example</h3>
- <p>By default, the pager centers links.</p>
- <div class="bs-docs-example">
- <ul class="pager">
- <li><a href="#">Previous</a></li>
- <li><a href="#">Next</a></li>
- </ul>
- </div>
+ <h3>Default example</h3>
+ <p>By default, the pager centers links.</p>
+ <div class="bs-docs-example">
+ <ul class="pager">
+ <li><a href="#">Previous</a></li>
+ <li><a href="#">Next</a></li>
+ </ul>
+ </div>
<pre class="prettyprint linenums">
&lt;ul class="pager"&gt;
&lt;li&gt;&lt;a href="#"&gt;Previous&lt;/a&gt;&lt;/li&gt;
@@ -1452,14 +1452,14 @@
&lt;/ul&gt;
</pre>
- <h3>Aligned links</h3>
- <p>Alternatively, you can align each link to the sides:</p>
- <div class="bs-docs-example">
- <ul class="pager">
- <li class="previous"><a href="#">&larr; Older</a></li>
- <li class="next"><a href="#">Newer &rarr;</a></li>
- </ul>
- </div>
+ <h3>Aligned links</h3>
+ <p>Alternatively, you can align each link to the sides:</p>
+ <div class="bs-docs-example">
+ <ul class="pager">
+ <li class="previous"><a href="#">&larr; Older</a></li>
+ <li class="next"><a href="#">Newer &rarr;</a></li>
+ </ul>
+ </div>
<pre class="prettyprint linenums">
&lt;ul class="pager"&gt;
&lt;li class="previous"&gt;
@@ -1471,14 +1471,14 @@
&lt;/ul&gt;
</pre>
- <h3>Optional disabled state</h3>
- <p>Pager links also use the general <code>.disabled</code> utility class from the pagination.</p>
- <div class="bs-docs-example">
- <ul class="pager">
- <li class="previous disabled"><a href="#">&larr; Older</a></li>
- <li class="next"><a href="#">Newer &rarr;</a></li>
- </ul>
- </div>
+ <h3>Optional disabled state</h3>
+ <p>Pager links also use the general <code>.disabled</code> utility class from the pagination.</p>
+ <div class="bs-docs-example">
+ <ul class="pager">
+ <li class="previous disabled"><a href="#">&larr; Older</a></li>
+ <li class="next"><a href="#">Newer &rarr;</a></li>
+ </ul>
+ </div>
<pre class="prettyprint linenums">
&lt;ul class="pager"&gt;
&lt;li class="previous disabled"&gt;
@@ -1488,187 +1488,175 @@
&lt;/ul&gt;
</pre>
- </section>
+ </section>
- <!-- Labels
- ================================================== -->
- <section id="labels">
- <div class="page-header">
- <h1>Inline labels <small>Label and annotate text</small></h1>
- </div>
- <table class="table table-bordered table-striped">
- <thead>
- <tr>
- <th>Labels</th>
- <th>Markup</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>
- <span class="label">Default</span>
- </td>
- <td>
- <code>&lt;span class="label"&gt;Default&lt;/span&gt;</code>
- </td>
- </tr>
- <tr>
- <td>
- <span class="label label-success">Success</span>
- </td>
- <td>
- <code>&lt;span class="label label-success"&gt;Success&lt;/span&gt;</code>
- </td>
- </tr>
- <tr>
- <td>
- <span class="label label-warning">Warning</span>
- </td>
- <td>
- <code>&lt;span class="label label-warning"&gt;Warning&lt;/span&gt;</code>
- </td>
- </tr>
- <tr>
- <td>
- <span class="label label-important">Important</span>
- </td>
- <td>
- <code>&lt;span class="label label-important"&gt;Important&lt;/span&gt;</code>
- </td>
- </tr>
- <tr>
- <td>
- <span class="label label-info">Info</span>
- </td>
- <td>
- <code>&lt;span class="label label-info"&gt;Info&lt;/span&gt;</code>
- </td>
- </tr>
- <tr>
- <td>
- <span class="label label-inverse">Inverse</span>
- </td>
- <td>
- <code>&lt;span class="label label-inverse"&gt;Inverse&lt;/span&gt;</code>
- </td>
- </tr>
- </tbody>
- </table>
- </section>
-
-
-
- <!-- Badges
- ================================================== -->
- <section id="badges">
- <div class="page-header">
- <h1>Badges <small>Indicators and unread counts</small></h1>
- </div>
-
- <h3>About</h3>
- <p>Badges are small, simple components for displaying an indicator or count of some sort. They're commonly found in email clients like Mail.app or on mobile apps for push notifications.</p>
-
- <h3>Available classes</h3>
- <table class="table table-bordered table-striped">
- <thead>
- <tr>
- <th>Name</th>
- <th>Example</th>
- <th>Markup</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>
- Default
- </td>
- <td>
- <span class="badge">1</span>
- </td>
- <td>
- <code>&lt;span class="badge"&gt;1&lt;/span&gt;</code>
- </td>
- </tr>
- <tr>
- <td>
- Success
- </td>
- <td>
- <span class="badge badge-success">2</span>
- </td>
- <td>
- <code>&lt;span class="badge badge-success"&gt;2&lt;/span&gt;</code>
- </td>
- </tr>
- <tr>
- <td>
- Warning
- </td>
- <td>
- <span class="badge badge-warning">4</span>
- </td>
- <td>
- <code>&lt;span class="badge badge-warning"&gt;4&lt;/span&gt;</code>
- </td>
- </tr>
- <tr>
- <td>
- Important
- </td>
- <td>
- <span class="badge badge-important">6</span>
- </td>
- <td>
- <code>&lt;span class="badge badge-important"&gt;6&lt;/span&gt;</code>
- </td>
- </tr>
- <tr>
- <td>
- Info
- </td>
- <td>
- <span class="badge badge-info">8</span>
- </td>
- <td>
- <code>&lt;span class="badge badge-info"&gt;8&lt;/span&gt;</code>
- </td>
- </tr>
- <tr>
- <td>
- Inverse
- </td>
- <td>
- <span class="badge badge-inverse">10</span>
- </td>
- <td>
- <code>&lt;span class="badge badge-inverse"&gt;10&lt;/span&gt;</code>
- </td>
- </tr>
- </tbody>
- </table>
-
- </section>
-
-
-
- <!-- Typographic components
- ================================================== -->
- <section id="typography">
- <div class="page-header">
- <h1>Typographic components <small>Page header and hero unit for segmenting content</small></h1>
- </div>
+ <!-- Labels and badges
+ ================================================== -->
+ <section id="labels-badges">
+ <div class="page-header">
+ <h1>Labels and badges</h1>
+ </div>
+ <h3>Labels</h3>
+ <table class="table table-bordered table-striped">
+ <thead>
+ <tr>
+ <th>Labels</th>
+ <th>Markup</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>
+ <span class="label">Default</span>
+ </td>
+ <td>
+ <code>&lt;span class="label"&gt;Default&lt;/span&gt;</code>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <span class="label label-success">Success</span>
+ </td>
+ <td>
+ <code>&lt;span class="label label-success"&gt;Success&lt;/span&gt;</code>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <span class="label label-warning">Warning</span>
+ </td>
+ <td>
+ <code>&lt;span class="label label-warning"&gt;Warning&lt;/span&gt;</code>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <span class="label label-important">Important</span>
+ </td>
+ <td>
+ <code>&lt;span class="label label-important"&gt;Important&lt;/span&gt;</code>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <span class="label label-info">Info</span>
+ </td>
+ <td>
+ <code>&lt;span class="label label-info"&gt;Info&lt;/span&gt;</code>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <span class="label label-inverse">Inverse</span>
+ </td>
+ <td>
+ <code>&lt;span class="label label-inverse"&gt;Inverse&lt;/span&gt;</code>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+
+ <h3>Badges</h3>
+ <table class="table table-bordered table-striped">
+ <thead>
+ <tr>
+ <th>Name</th>
+ <th>Example</th>
+ <th>Markup</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>
+ Default
+ </td>
+ <td>
+ <span class="badge">1</span>
+ </td>
+ <td>
+ <code>&lt;span class="badge"&gt;1&lt;/span&gt;</code>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ Success
+ </td>
+ <td>
+ <span class="badge badge-success">2</span>
+ </td>
+ <td>
+ <code>&lt;span class="badge badge-success"&gt;2&lt;/span&gt;</code>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ Warning
+ </td>
+ <td>
+ <span class="badge badge-warning">4</span>
+ </td>
+ <td>
+ <code>&lt;span class="badge badge-warning"&gt;4&lt;/span&gt;</code>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ Important
+ </td>
+ <td>
+ <span class="badge badge-important">6</span>
+ </td>
+ <td>
+ <code>&lt;span class="badge badge-important"&gt;6&lt;/span&gt;</code>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ Info
+ </td>
+ <td>
+ <span class="badge badge-info">8</span>
+ </td>
+ <td>
+ <code>&lt;span class="badge badge-info"&gt;8&lt;/span&gt;</code>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ Inverse
+ </td>
+ <td>
+ <span class="badge badge-inverse">10</span>
+ </td>
+ <td>
+ <code>&lt;span class="badge badge-inverse"&gt;10&lt;/span&gt;</code>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+
+ </section>
+
+
+
+ <!-- Typographic components
+ ================================================== -->
+ <section id="typography">
+ <div class="page-header">
+ <h1>Typographic components</h1>
+ </div>
- <h2>Hero unit</h2>
- <p>A lightweight, flexible component called a hero unit to showcase content on your site. It works well on marketing and content-heavy sites.</p>
- <div class="bs-docs-example">
- <div class="hero-unit">
- <h1>Hello, world!</h1>
- <p>This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p>
- <p><a class="btn btn-primary btn-large">Learn more</a></p>
+ <h2>Hero unit</h2>
+ <p>A lightweight, flexible component to showcase key content on your site. It works well on marketing and content-heavy sites.</p>
+ <div class="bs-docs-example">
+ <div class="hero-unit">
+ <h1>Hello, world!</h1>
+ <p>This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p>
+ <p><a class="btn btn-primary btn-large">Learn more</a></p>
+ </div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="hero-unit"&gt;
&lt;h1&gt;Heading&lt;/h1&gt;
@@ -1681,105 +1669,105 @@
&lt;/div&gt;
</pre>
- <h2>Page header</h2>
- <p>A simple shell for an <code>h1</code> to appropriately space out and segment sections of content on a page. It can utilize the <code>h1</code>'s default <code>small</code>, element as well most other components (with additional styles).</p>
- <div class="bs-docs-example">
- <div class="page-header">
- <h1>Example page header <small>Subtext for header</small></h1>
+ <h2>Page header</h2>
+ <p>A simple shell for an <code>h1</code> to appropriately space out and segment sections of content on a page. It can utilize the <code>h1</code>'s default <code>small</code>, element as well most other components (with additional styles).</p>
+ <div class="bs-docs-example">
+ <div class="page-header">
+ <h1>Example page header <small>Subtext for header</small></h1>
+ </div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="page-header"&gt;
&lt;h1&gt;Example page header&lt;/h1&gt;
&lt;/div&gt;
</pre>
- </section>
+ </section>
- <!-- Thumbnails
- ================================================== -->
- <section id="thumbnails">
- <div class="page-header">
- <h1>Thumbnails <small>Grids of images, videos, text, and more</small></h1>
- </div>
+ <!-- Thumbnails
+ ================================================== -->
+ <section id="thumbnails">
+ <div class="page-header">
+ <h1>Thumbnails <small>Grids of images, videos, text, and more</small></h1>
+ </div>
- <h2>Default thumbnails</h2>
- <p>By default, Bootstrap's thumbnails are designed to showcase linked images with minimal required markup.</p>
- <div class="row-fluid">
- <ul class="thumbnails">
- <li class="span3">
- <a href="#" class="thumbnail">
- <img src="http://placehold.it/260x180" alt="">
- </a>
- </li>
- <li class="span3">
- <a href="#" class="thumbnail">
- <img src="http://placehold.it/260x180" alt="">
- </a>
- </li>
- <li class="span3">
- <a href="#" class="thumbnail">
- <img src="http://placehold.it/260x180" alt="">
- </a>
- </li>
- <li class="span3">
- <a href="#" class="thumbnail">
- <img src="http://placehold.it/260x180" alt="">
- </a>
- </li>
- </ul>
- </div>
+ <h2>Default thumbnails</h2>
+ <p>By default, Bootstrap's thumbnails are designed to showcase linked images with minimal required markup.</p>
+ <div class="row-fluid">
+ <ul class="thumbnails">
+ <li class="span3">
+ <a href="#" class="thumbnail">
+ <img src="http://placehold.it/260x180" alt="">
+ </a>
+ </li>
+ <li class="span3">
+ <a href="#" class="thumbnail">
+ <img src="http://placehold.it/260x180" alt="">
+ </a>
+ </li>
+ <li class="span3">
+ <a href="#" class="thumbnail">
+ <img src="http://placehold.it/260x180" alt="">
+ </a>
+ </li>
+ <li class="span3">
+ <a href="#" class="thumbnail">
+ <img src="http://placehold.it/260x180" alt="">
+ </a>
+ </li>
+ </ul>
+ </div>
- <h2>Highly customizable</h2>
- <p>With a bit of extra markup, it's possible to add any kind of HTML content like headings, paragraphs, or buttons into thumbnails.</p>
- <div class="row-fluid">
- <ul class="thumbnails">
- <li class="span4">
- <div class="thumbnail">
- <img src="http://placehold.it/300x200" alt="">
- <div class="caption">
- <h3>Thumbnail label</h3>
- <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
- <p><a href="#" class="btn btn-primary">Action</a> <a href="#" class="btn">Action</a></p>
+ <h2>Highly customizable</h2>
+ <p>With a bit of extra markup, it's possible to add any kind of HTML content like headings, paragraphs, or buttons into thumbnails.</p>
+ <div class="row-fluid">
+ <ul class="thumbnails">
+ <li class="span4">
+ <div class="thumbnail">
+ <img src="http://placehold.it/300x200" alt="">
+ <div class="caption">
+ <h3>Thumbnail label</h3>
+ <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
+ <p><a href="#" class="btn btn-primary">Action</a> <a href="#" class="btn">Action</a></p>
+ </div>
</div>
- </div>
- </li>
- <li class="span4">
- <div class="thumbnail">
- <img src="http://placehold.it/300x200" alt="">
- <div class="caption">
- <h3>Thumbnail label</h3>
- <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
- <p><a href="#" class="btn btn-primary">Action</a> <a href="#" class="btn">Action</a></p>
+ </li>
+ <li class="span4">
+ <div class="thumbnail">
+ <img src="http://placehold.it/300x200" alt="">
+ <div class="caption">
+ <h3>Thumbnail label</h3>
+ <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
+ <p><a href="#" class="btn btn-primary">Action</a> <a href="#" class="btn">Action</a></p>
+ </div>
</div>
- </div>
- </li>
- <li class="span4">
- <div class="thumbnail">
- <img src="http://placehold.it/300x200" alt="">
- <div class="caption">
- <h3>Thumbnail label</h3>
- <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
- <p><a href="#" class="btn btn-primary">Action</a> <a href="#" class="btn">Action</a></p>
+ </li>
+ <li class="span4">
+ <div class="thumbnail">
+ <img src="http://placehold.it/300x200" alt="">
+ <div class="caption">
+ <h3>Thumbnail label</h3>
+ <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
+ <p><a href="#" class="btn btn-primary">Action</a> <a href="#" class="btn">Action</a></p>
+ </div>
</div>
- </div>
- </li>
- </ul>
- </div>
+ </li>
+ </ul>
+ </div>
- <h3>Why use thumbnails</h3>
- <p>Thumbnails (previously <code>.media-grid</code> up until v1.4) are great for grids of photos or videos, image search results, retail products, portfolios, and much more. They can be links or static content.</p>
+ <h3>Why use thumbnails</h3>
+ <p>Thumbnails (previously <code>.media-grid</code> up until v1.4) are great for grids of photos or videos, image search results, retail products, portfolios, and much more. They can be links or static content.</p>
- <h3>Simple, flexible markup</h3>
- <p>Thumbnail markup is simple&mdash;a <code>ul</code> with any number of <code>li</code> elements is all that is required. It's also super flexible, allowing for any type of content with just a bit more markup to wrap your contents.</p>
+ <h3>Simple, flexible markup</h3>
+ <p>Thumbnail markup is simple&mdash;a <code>ul</code> with any number of <code>li</code> elements is all that is required. It's also super flexible, allowing for any type of content with just a bit more markup to wrap your contents.</p>
- <h3>Uses grid column sizes</h3>
- <p>Lastly, the thumbnails component uses existing grid system classes&mdash;like <code>.span2</code> or <code>.span3</code>&mdash;for control of thumbnail dimensions.</p>
+ <h3>Uses grid column sizes</h3>
+ <p>Lastly, the thumbnails component uses existing grid system classes&mdash;like <code>.span2</code> or <code>.span3</code>&mdash;for control of thumbnail dimensions.</p>
- <h2>The markup</h2>
- <p>As mentioned previously, the required markup for thumbnails is light and straightforward. Here's a look at the default setup <strong>for linked images</strong>:</p>
+ <h2>Markup</h2>
+ <p>As mentioned previously, the required markup for thumbnails is light and straightforward. Here's a look at the default setup <strong>for linked images</strong>:</p>
<pre class="prettyprint linenums">
&lt;ul class="thumbnails"&gt;
&lt;li class="span4"&gt;
@@ -1790,7 +1778,7 @@
...
&lt;/ul&gt;
</pre>
- <p>For custom HTML content in thumbnails, the markup changes slightly. To allow block level content anywhere, we swap the <code>&lt;a&gt;</code> for a <code>&lt;div&gt;</code> like so:</p>
+ <p>For custom HTML content in thumbnails, the markup changes slightly. To allow block level content anywhere, we swap the <code>&lt;a&gt;</code> for a <code>&lt;div&gt;</code> like so:</p>
<pre class="prettyprint linenums">
&lt;ul class="thumbnails"&gt;
&lt;li class="span4"&gt;
@@ -1804,65 +1792,55 @@
&lt;/ul&gt;
</pre>
- <h2>More examples</h2>
- <p>Explore all your options with the various grid classes available to you. You can also mix and match different sizes.</p>
- <ul class="thumbnails">
- <li class="span4">
- <a href="#" class="thumbnail">
- <img src="http://placehold.it/360x268" alt="">
- </a>
- </li>
- <li class="span2">
- <a href="#" class="thumbnail">
- <img src="http://placehold.it/160x120" alt="">
- </a>
- </li>
- <li class="span2">
- <a href="#" class="thumbnail">
- <img src="http://placehold.it/160x120" alt="">
- </a>
- </li>
- <li class="span2">
- <a href="#" class="thumbnail">
- <img src="http://placehold.it/160x120" alt="">
- </a>
- </li>
- <li class="span2">
- <a href="#" class="thumbnail">
- <img src="http://placehold.it/160x120" alt="">
- </a>
- </li>
- <li class="span2">
- <a href="#" class="thumbnail">
- <img src="http://placehold.it/160x120" alt="">
- </a>
- </li>
- <li class="span2">
- <a href="#" class="thumbnail">
- <img src="http://placehold.it/160x120" alt="">
- </a>
- </li>
- </ul>
+ <h2>More examples</h2>
+ <p>Explore all your options with the various grid classes available to you. You can also mix and match different sizes.</p>
+ <ul class="thumbnails">
+ <li class="span4">
+ <a href="#" class="thumbnail">
+ <img src="http://placehold.it/360x268" alt="">
+ </a>
+ </li>
+ <li class="span3">
+ <a href="#" class="thumbnail">
+ <img src="http://placehold.it/260x120" alt="">
+ </a>
+ </li>
+ <li class="span2">
+ <a href="#" class="thumbnail">
+ <img src="http://placehold.it/160x120" alt="">
+ </a>
+ </li>
+ <li class="span3">
+ <a href="#" class="thumbnail">
+ <img src="http://placehold.it/260x120" alt="">
+ </a>
+ </li>
+ <li class="span2">
+ <a href="#" class="thumbnail">
+ <img src="http://placehold.it/160x120" alt="">
+ </a>
+ </li>
+ </ul>
- </section>
+ </section>
- <!-- Alerts
- ================================================== -->
- <section id="alerts">
- <div class="page-header">
- <h1>Alerts <small>Styles for success, warning, and error messages</small></h1>
- </div>
+ <!-- Alerts
+ ================================================== -->
+ <section id="alerts">
+ <div class="page-header">
+ <h1>Alerts <small>Styles for success, warning, and error messages</small></h1>
+ </div>
- <h2>Default alert</h2>
- <p>Wrap any text and an optional dismiss button in <code>.alert</code> for a basic warning alert message.</p>
- <div class="bs-docs-example">
- <div class="alert">
- <button type="button" class="close" data-dismiss="alert">&times;</button>
- <strong>Warning!</strong> Best check yo self, you're not looking too good.
+ <h2>Default alert</h2>
+ <p>Wrap any text and an optional dismiss button in <code>.alert</code> for a basic warning alert message.</p>
+ <div class="bs-docs-example">
+ <div class="alert">
+ <button type="button" class="close" data-dismiss="alert">&times;</button>
+ <strong>Warning!</strong> Best check yo self, you're not looking too good.
+ </div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="alert"&gt;
&lt;button type="button" class="close" data-dismiss="alert"&gt;&times;&lt;/button&gt;
@@ -1870,32 +1848,32 @@
&lt;/div&gt;
</pre>
- <h3>Dismiss buttons</h3>
- <p>Mobile Safari and Mobile Opera browsers, in addition to the <code>data-dismiss="alert"</code> attribute, require an <code>href="#"</code> for the dismissal of alerts when using an <code>&lt;a&gt;</code> tag.</p>
+ <h3>Dismiss buttons</h3>
+ <p>Mobile Safari and Mobile Opera browsers, in addition to the <code>data-dismiss="alert"</code> attribute, require an <code>href="#"</code> for the dismissal of alerts when using an <code>&lt;a&gt;</code> tag.</p>
<pre class="prettyprint linenums">
&lt;a href="#" class="close" data-dismiss="alert"&gt;&times;&lt;/button&gt;
</pre>
- <p>Alternatively, you may use a <code>&lt;button&gt;</code> element with the data attribute, which we have opted to do for our docs. When using <code>&lt;button&gt;</code>, you must include <code>type="button"</code> or your forms may not submit.</p>
+ <p>Alternatively, you may use a <code>&lt;button&gt;</code> element with the data attribute, which we have opted to do for our docs. When using <code>&lt;button&gt;</code>, you must include <code>type="button"</code> or your forms may not submit.</p>
<pre class="prettyprint linenums">
&lt;button type="button" class="close" data-dismiss="alert"&gt;&times;&lt;/button&gt;
</pre>
- <h3>Dismiss alerts via javascript</h3>
- <p>Use the <a href="./javascript.html#alerts">alerts jQuery plugin</a> for quick and easy dismissal of alerts.</p>
+ <h3>Dismiss alerts via javascript</h3>
+ <p>Use the <a href="./javascript.html#alerts">alerts jQuery plugin</a> for quick and easy dismissal of alerts.</p>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h2>Options</h2>
- <p>For longer messages, increase the padding on the top and bottom of the alert wrapper by adding <code>.alert-block</code>.</p>
- <div class="bs-docs-example">
- <div class="alert alert-block">
- <button type="button" class="close" data-dismiss="alert">&times;</button>
- <h4>Warning!</h4>
- <p>Best check yo self, you're not looking too good. Nulla vitae elit libero, a pharetra augue. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.</p>
+ <h2>Options</h2>
+ <p>For longer messages, increase the padding on the top and bottom of the alert wrapper by adding <code>.alert-block</code>.</p>
+ <div class="bs-docs-example">
+ <div class="alert alert-block">
+ <button type="button" class="close" data-dismiss="alert">&times;</button>
+ <h4>Warning!</h4>
+ <p>Best check yo self, you're not looking too good. Nulla vitae elit libero, a pharetra augue. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.</p>
+ </div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="alert alert-block"&gt;
&lt;a class="close" data-dismiss="alert" href="#"&gt;&amp;times;&lt;/a&gt;
@@ -1905,97 +1883,97 @@
</pre>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h2>Contextual alternatives</h2>
- <p>Add optional classes to change an alert's connotation.</p>
+ <h2>Contextual alternatives</h2>
+ <p>Add optional classes to change an alert's connotation.</p>
- <h3>Error or danger</h3>
- <div class="bs-docs-example">
- <div class="alert alert-error">
- <button type="button" class="close" data-dismiss="alert">&times;</button>
- <strong>Oh snap!</strong> Change a few things up and try submitting again.
+ <h3>Error or danger</h3>
+ <div class="bs-docs-example">
+ <div class="alert alert-error">
+ <button type="button" class="close" data-dismiss="alert">&times;</button>
+ <strong>Oh snap!</strong> Change a few things up and try submitting again.
+ </div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="alert alert-error"&gt;
...
&lt;/div&gt;
</pre>
- <h3>Success</h3>
- <div class="bs-docs-example">
- <div class="alert alert-success">
- <button type="button" class="close" data-dismiss="alert">&times;</button>
- <strong>Well done!</strong> You successfully read this important alert message.
+ <h3>Success</h3>
+ <div class="bs-docs-example">
+ <div class="alert alert-success">
+ <button type="button" class="close" data-dismiss="alert">&times;</button>
+ <strong>Well done!</strong> You successfully read this important alert message.
+ </div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="alert alert-success"&gt;
...
&lt;/div&gt;
</pre>
- <h3>Information</h3>
- <div class="bs-docs-example">
- <div class="alert alert-info">
- <button type="button" class="close" data-dismiss="alert">&times;</button>
- <strong>Heads up!</strong> This alert needs your attention, but it's not super important.
+ <h3>Information</h3>
+ <div class="bs-docs-example">
+ <div class="alert alert-info">
+ <button type="button" class="close" data-dismiss="alert">&times;</button>
+ <strong>Heads up!</strong> This alert needs your attention, but it's not super important.
+ </div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="alert alert-info"&gt;
...
&lt;/div&gt;
</pre>
- </section>
+ </section>
- <!-- Progress bars
- ================================================== -->
- <section id="progress">
- <div class="page-header">
- <h1>Progress bars <small>For loading, redirecting, or action status</small></h1>
- </div>
+ <!-- Progress bars
+ ================================================== -->
+ <section id="progress">
+ <div class="page-header">
+ <h1>Progress bars <small>For loading, redirecting, or action status</small></h1>
+ </div>
- <h2>Examples and markup</h2>
+ <h2>Examples and markup</h2>
- <h3>Basic</h3>
- <p>Default progress bar with a vertical gradient.</p>
- <div class="bs-docs-example">
- <div class="progress">
- <div class="bar" style="width: 60%;"></div>
+ <h3>Basic</h3>
+ <p>Default progress bar with a vertical gradient.</p>
+ <div class="bs-docs-example">
+ <div class="progress">
+ <div class="bar" style="width: 60%;"></div>
+ </div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="progress"&gt;
&lt;div class="bar" style="width: 60%;"&gt;&lt;/div&gt;
&lt;/div&gt;
</pre>
- <h3>Striped</h3>
- <p>Uses a gradient to create a striped effect. Not available in IE7-8.</p>
- <div class="bs-docs-example">
- <div class="progress progress-striped">
- <div class="bar" style="width: 20%;"></div>
+ <h3>Striped</h3>
+ <p>Uses a gradient to create a striped effect. Not available in IE7-8.</p>
+ <div class="bs-docs-example">
+ <div class="progress progress-striped">
+ <div class="bar" style="width: 20%;"></div>
+ </div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="progress progress-striped"&gt;
&lt;div class="bar" style="width: 20%;"&gt;&lt;/div&gt;
&lt;/div&gt;
</pre>
- <h3>Animated</h3>
- <p>Add <code>.active</code> to <code>.progress-striped</code> to animate the stripes right to left. Not available in all versions of IE.</p>
- <div class="bs-docs-example">
- <div class="progress progress-striped active">
- <div class="bar" style="width: 45%"></div>
+ <h3>Animated</h3>
+ <p>Add <code>.active</code> to <code>.progress-striped</code> to animate the stripes right to left. Not available in all versions of IE.</p>
+ <div class="bs-docs-example">
+ <div class="progress progress-striped active">
+ <div class="bar" style="width: 45%"></div>
+ </div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="progress progress-striped active"&gt;
&lt;div class="bar" style="width: 40%;"&gt;&lt;/div&gt;
@@ -2003,27 +1981,27 @@
</pre>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h2>Options</h2>
+ <h2>Options</h2>
- <h3>Additional colors</h3>
- <p>Progress bars use some of the same button and alert classes for consistent styles.</p>
- <div class="bs-docs-example">
- <div class="progress progress-info" style="margin-bottom: 9px;">
- <div class="bar" style="width: 20%"></div>
- </div>
- <div class="progress progress-success" style="margin-bottom: 9px;">
- <div class="bar" style="width: 40%"></div>
- </div>
- <div class="progress progress-warning" style="margin-bottom: 9px;">
- <div class="bar" style="width: 60%"></div>
- </div>
- <div class="progress progress-danger">
- <div class="bar" style="width: 80%"></div>
+ <h3>Additional colors</h3>
+ <p>Progress bars use some of the same button and alert classes for consistent styles.</p>
+ <div class="bs-docs-example">
+ <div class="progress progress-info" style="margin-bottom: 9px;">
+ <div class="bar" style="width: 20%"></div>
+ </div>
+ <div class="progress progress-success" style="margin-bottom: 9px;">
+ <div class="bar" style="width: 40%"></div>
+ </div>
+ <div class="progress progress-warning" style="margin-bottom: 9px;">
+ <div class="bar" style="width: 60%"></div>
+ </div>
+ <div class="progress progress-danger">
+ <div class="bar" style="width: 80%"></div>
+ </div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="progress progress-info"&gt;
&lt;div class="bar" style="width: 20%"&gt;&lt;/div&gt;
@@ -2039,22 +2017,22 @@
&lt;/div&gt;
</pre>
- <h3>Striped bars</h3>
- <p>Similar to the solid colors, we have varied striped progress bars.</p>
- <div class="bs-docs-example">
- <div class="progress progress-info progress-striped" style="margin-bottom: 9px;">
- <div class="bar" style="width: 20%"></div>
- </div>
- <div class="progress progress-success progress-striped" style="margin-bottom: 9px;">
- <div class="bar" style="width: 40%"></div>
- </div>
- <div class="progress progress-warning progress-striped" style="margin-bottom: 9px;">
- <div class="bar" style="width: 60%"></div>
- </div>
- <div class="progress progress-danger progress-striped">
- <div class="bar" style="width: 80%"></div>
+ <h3>Striped bars</h3>
+ <p>Similar to the solid colors, we have varied striped progress bars.</p>
+ <div class="bs-docs-example">
+ <div class="progress progress-info progress-striped" style="margin-bottom: 9px;">
+ <div class="bar" style="width: 20%"></div>
+ </div>
+ <div class="progress progress-success progress-striped" style="margin-bottom: 9px;">
+ <div class="bar" style="width: 40%"></div>
+ </div>
+ <div class="progress progress-warning progress-striped" style="margin-bottom: 9px;">
+ <div class="bar" style="width: 60%"></div>
+ </div>
+ <div class="progress progress-danger progress-striped">
+ <div class="bar" style="width: 80%"></div>
+ </div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="progress progress-info progress-striped"&gt;
&lt;div class="bar" style="width: 20%"&gt;&lt;/div&gt;
@@ -2071,74 +2049,74 @@
</pre>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h2>Browser support</h2>
- <p>Progress bars use CSS3 gradients, transitions, and animations to achieve all their effects. These features are not supported in IE7-9 or older versions of Firefox.</p>
- <p>Opera and IE do not support animations at this time.</p>
+ <h2>Browser support</h2>
+ <p>Progress bars use CSS3 gradients, transitions, and animations to achieve all their effects. These features are not supported in IE7-9 or older versions of Firefox.</p>
+ <p>Opera and IE do not support animations at this time.</p>
- </section>
+ </section>
- <!-- Miscellaneous
- ================================================== -->
- <section id="misc">
- <div class="page-header">
- <h1>Miscellaneous <small>Lightweight utility components</small></h1>
- </div>
+ <!-- Miscellaneous
+ ================================================== -->
+ <section id="misc">
+ <div class="page-header">
+ <h1>Miscellaneous <small>Lightweight utility components</small></h1>
+ </div>
- <h2>Wells</h2>
- <p>Use the well as a simple effect on an element to give it an inset effect.</p>
- <div class="bs-docs-example">
- <div class="well">
- Look, I'm in a well!
+ <h2>Wells</h2>
+ <p>Use the well as a simple effect on an element to give it an inset effect.</p>
+ <div class="bs-docs-example">
+ <div class="well">
+ Look, I'm in a well!
+ </div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="well"&gt;
...
&lt;/div&gt;
</pre>
- <h3>Optional classes</h3>
- <p>Control padding and rounded corners with two optional modifier classes.</p>
- <div class="bs-docs-example">
- <div class="well well-large">
- Look, I'm in a well!
+ <h3>Optional classes</h3>
+ <p>Control padding and rounded corners with two optional modifier classes.</p>
+ <div class="bs-docs-example">
+ <div class="well well-large">
+ Look, I'm in a well!
+ </div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="well well-large"&gt;
...
&lt;/div&gt;
</pre>
- <div class="bs-docs-example">
- <div class="well well-small">
- Look, I'm in a well!
+ <div class="bs-docs-example">
+ <div class="well well-small">
+ Look, I'm in a well!
+ </div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="well well-small"&gt;
...
&lt;/div&gt;
</pre>
- <h2>Close icon</h2>
- <p>Use the generic close icon for dismissing content like modals and alerts.</p>
- <div class="bs-docs-example">
- <p><button class="close" style="float: none;">&times;</button></p>
- </div>
+ <h2>Close icon</h2>
+ <p>Use the generic close icon for dismissing content like modals and alerts.</p>
+ <div class="bs-docs-example">
+ <p><button class="close" style="float: none;">&times;</button></p>
+ </div>
<pre class="prettyprint linenums">&lt;button class="close"&gt;&amp;times;&lt;/button&gt;</pre>
- <p>iOS devices require an href="#" for click events if you rather use an anchor.</p>
+ <p>iOS devices require an href="#" for click events if you rather use an anchor.</p>
<pre class="prettyprint linenums">&lt;a class="close" href="#"&gt;&amp;times;&lt;/a&gt;</pre>
- <h2>Helper classes</h2>
- <p>Simple, focused classes for small display or behavior tweaks.</p>
+ <h2>Helper classes</h2>
+ <p>Simple, focused classes for small display or behavior tweaks.</p>
- <h4>.pull-left</h4>
- <p>Float an element left</p>
+ <h4>.pull-left</h4>
+ <p>Float an element left</p>
<pre class="prettyprint linenums">
class="pull-left"
</pre>
@@ -2148,8 +2126,8 @@ class="pull-left"
}
</pre>
- <h4>.pull-right</h4>
- <p>Float an element right</p>
+ <h4>.pull-right</h4>
+ <p>Float an element right</p>
<pre class="prettyprint linenums">
class="pull-right"
</pre>
@@ -2159,8 +2137,8 @@ class="pull-right"
}
</pre>
- <h4>.muted</h4>
- <p>Change an element's color to <code>#999</code></p>
+ <h4>.muted</h4>
+ <p>Change an element's color to <code>#999</code></p>
<pre class="prettyprint linenums">
class="muted"
</pre>
@@ -2170,8 +2148,8 @@ class="muted"
}
</pre>
- <h4>.clearfix</h4>
- <p>Clear the <code>float</code> on any element</p>
+ <h4>.clearfix</h4>
+ <p>Clear the <code>float</code> on any element</p>
<pre class="prettyprint linenums">
class="clearfix"
</pre>
@@ -2189,14 +2167,14 @@ class="clearfix"
}
</pre>
- </section>
+ </section>
+ </div>
</div>
-</div>
- </div>
+</div>
diff --git a/docs/download.html b/docs/download.html
index 6419d13175..2573b45c95 100644
--- a/docs/download.html
+++ b/docs/download.html
@@ -66,8 +66,6 @@
</div>
</div>
- <div class="container">
-
<!-- Masthead
================================================== -->
<header class="jumbotron subhead" id="overview">
@@ -416,8 +414,6 @@
</section><!-- /download -->
</form>
- </div>
-
<!-- Footer
diff --git a/docs/examples.html b/docs/examples.html
index 568d846c88..4dd06b14ac 100644
--- a/docs/examples.html
+++ b/docs/examples.html
@@ -66,8 +66,6 @@
</div>
</div>
- <div class="container">
-
<!-- Masthead
================================================== -->
<header class="jumbotron subhead" id="overview">
@@ -100,8 +98,6 @@
</li>
</ul>
- </div>
-
<!-- Footer
diff --git a/docs/extend.html b/docs/extend.html
index 71a9dddc2f..3ea7953fdc 100644
--- a/docs/extend.html
+++ b/docs/extend.html
@@ -66,113 +66,114 @@
</div>
</div>
- <div class="container">
-
<!-- Subhead
================================================== -->
<header class="jumbotron subhead" id="overview">
- <h1>Extending Bootstrap</h1>
- <p class="lead">Extend Bootstrap to take advantage of included styles and components, as well as LESS variables and mixins.</p>
+ <div class="container">
+ <h1>Extending Bootstrap</h1>
+ <p class="lead">Extend Bootstrap to take advantage of included styles and components, as well as LESS variables and mixins.</p>
+ <div>
</header>
+<div class="container">
-<!-- Docs nav
-================================================== -->
-<div class="row">
- <div class="span3 bs-docs-sidebar">
- <ul class="nav nav-list bs-docs-sidenav">
- <li><a href="#built-with-less">Built with LESS <i class="icon-chevron-right"></i></a></li>
- <li><a href="#compiling">Compiling Bootstrap <i class="icon-chevron-right"></i></a></li>
- <li><a href="#static-assets">Use as static assets <i class="icon-chevron-right"></i></a></li>
- </ul>
- </div>
- <div class="span9">
+ <!-- Docs nav
+ ================================================== -->
+ <div class="row">
+ <div class="span3 bs-docs-sidebar">
+ <ul class="nav nav-list bs-docs-sidenav">
+ <li><a href="#built-with-less">Built with LESS <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#compiling">Compiling Bootstrap <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#static-assets">Use as static assets <i class="icon-chevron-right"></i></a></li>
+ </ul>
+ </div>
+ <div class="span9">
- <!-- BUILT WITH LESS
- ================================================== -->
- <section id="built-with-less">
- <div class="page-header">
- <h1>Built with LESS</h1>
- </div>
+ <!-- BUILT WITH LESS
+ ================================================== -->
+ <section id="built-with-less">
+ <div class="page-header">
+ <h1>Built with LESS</h1>
+ </div>
- <h3>Why LESS?</h3>
- <p>Bootstrap is made with LESS at its core, a dynamic stylesheet language created by our good friend, <a href="http://cloudhead.io">Alexis Sellier</a>. It makes developing systems-based CSS faster, easier, and more fun.</p>
+ <h3>Why LESS?</h3>
+ <p>Bootstrap is made with LESS at its core, a dynamic stylesheet language created by our good friend, <a href="http://cloudhead.io">Alexis Sellier</a>. It makes developing systems-based CSS faster, easier, and more fun.</p>
- <h3>What's included?</h3>
- <p>As an extension of CSS, LESS includes variables, mixins for reusable snippets of code, operations for simple math, nesting, and even color functions.</p>
+ <h3>What's included?</h3>
+ <p>As an extension of CSS, LESS includes variables, mixins for reusable snippets of code, operations for simple math, nesting, and even color functions.</p>
- <h3>Learn more</h3>
- <img style="float: right; height: 36px;" src="assets/img/less-logo-large.png" alt="LESS CSS">
- <p>Visit the official website at <a href="http://lesscss.org">http://lesscss.org</a> to learn more.</p>
- </section>
+ <h3>Learn more</h3>
+ <img style="float: right; height: 36px;" src="assets/img/less-logo-large.png" alt="LESS CSS">
+ <p>Visit the official website at <a href="http://lesscss.org">http://lesscss.org</a> to learn more.</p>
+ </section>
- <!-- COMPILING LESS AND BOOTSTRAP
- ================================================== -->
- <section id="compiling">
- <div class="page-header">
- <h1>Compiling Bootstrap with LESS</h1>
- </div>
- <div class="alert alert-info">
- <strong>Note:</strong> If you're submitting a pull request to GitHub with modified CSS, you <strong>must</strong> recompile the CSS via any of these methods.
- </div>
+ <!-- COMPILING LESS AND BOOTSTRAP
+ ================================================== -->
+ <section id="compiling">
+ <div class="page-header">
+ <h1>Compiling Bootstrap with LESS</h1>
+ </div>
+ <div class="alert alert-info">
+ <strong>Note:</strong> If you're submitting a pull request to GitHub with modified CSS, you <strong>must</strong> recompile the CSS via any of these methods.
+ </div>
- <h2>Tools for compiling</h2>
+ <h2>Tools for compiling</h2>
- <h3>Node with makefile</h3>
- <p>Install the LESS command line compiler, JSHint, Recess, and uglify-js globally with npm by running the following command:</p>
- <pre>$ npm install -g less jshint recess uglify-js</pre>
- <p>Once installed just run <code>make</code> from the root of your bootstrap directory and you're all set.</p>
- <p>Additionally, if you have <a href="https://github.com/mynyml/watchr">watchr</a> installed, you may run <code>make watch</code> to have bootstrap automatically rebuilt every time you edit a file in the bootstrap lib (this isn't required, just a convenience method).</p>
+ <h3>Node with makefile</h3>
+ <p>Install the LESS command line compiler, JSHint, Recess, and uglify-js globally with npm by running the following command:</p>
+ <pre>$ npm install -g less jshint recess uglify-js</pre>
+ <p>Once installed just run <code>make</code> from the root of your bootstrap directory and you're all set.</p>
+ <p>Additionally, if you have <a href="https://github.com/mynyml/watchr">watchr</a> installed, you may run <code>make watch</code> to have bootstrap automatically rebuilt every time you edit a file in the bootstrap lib (this isn't required, just a convenience method).</p>
- <h3>Command line</h3>
- <p>Install the LESS command line tool via Node and run the following command:</p>
- <pre>$ lessc ./less/bootstrap.less > bootstrap.css</pre>
- <p>Be sure to include <code>--compress</code> in that command if you're trying to save some bytes!</p>
+ <h3>Command line</h3>
+ <p>Install the LESS command line tool via Node and run the following command:</p>
+ <pre>$ lessc ./less/bootstrap.less > bootstrap.css</pre>
+ <p>Be sure to include <code>--compress</code> in that command if you're trying to save some bytes!</p>
- <h3>Javascript</h3>
- <p><a href="http://lesscss.org/">Download the latest Less.js</a> and include the path to it (and Bootstrap) in the <code>&lt;head&gt;</code>.</p>
+ <h3>Javascript</h3>
+ <p><a href="http://lesscss.org/">Download the latest Less.js</a> and include the path to it (and Bootstrap) in the <code>&lt;head&gt;</code>.</p>
<pre class="prettyprint">
&lt;link rel="stylesheet/less" href="/path/to/bootstrap.less"&gt;
&lt;script src="/path/to/less.js"&gt;&lt;/script&gt;
</pre>
- <p>To recompile the .less files, just save them and reload your page. Less.js compiles them and stores them in local storage.</p>
+ <p>To recompile the .less files, just save them and reload your page. Less.js compiles them and stores them in local storage.</p>
- <h3>Unofficial Mac app</h3>
- <p><a href="http://incident57.com/less/">The unofficial Mac app</a> watches directories of .less files and compiles the code to local files after every save of a watched .less file.</p>
- <p>If you like, you can toggle preferences in the app for automatic minifying and which directory the compiled files end up in.</p>
+ <h3>Unofficial Mac app</h3>
+ <p><a href="http://incident57.com/less/">The unofficial Mac app</a> watches directories of .less files and compiles the code to local files after every save of a watched .less file.</p>
+ <p>If you like, you can toggle preferences in the app for automatic minifying and which directory the compiled files end up in.</p>
- <h3>More Mac apps</h3>
- <h4><a href="http://crunchapp.net/" target="_blank">Crunch</a></h4>
- <p>Crunch is a great looking LESS editor and compiler built on Adobe Air.</p>
- <h4><a href="http://incident57.com/codekit/" target="_blank">CodeKit</a></h4>
- <p>Created by the same guy as the unofficial Mac app, CodeKit is a Mac app that compiles LESS, SASS, Stylus, and CoffeeScript.</p>
- <h4><a href="http://wearekiss.com/simpless" target="_blank">Simpless</a></h4>
- <p>Mac, Linux, and PC app for drag and drop compiling of LESS files. Plus, the <a href="https://github.com/Paratron/SimpLESS" target="_blank">source code is on GitHub</a>.</p>
+ <h3>More Mac apps</h3>
+ <h4><a href="http://crunchapp.net/" target="_blank">Crunch</a></h4>
+ <p>Crunch is a great looking LESS editor and compiler built on Adobe Air.</p>
+ <h4><a href="http://incident57.com/codekit/" target="_blank">CodeKit</a></h4>
+ <p>Created by the same guy as the unofficial Mac app, CodeKit is a Mac app that compiles LESS, SASS, Stylus, and CoffeeScript.</p>
+ <h4><a href="http://wearekiss.com/simpless" target="_blank">Simpless</a></h4>
+ <p>Mac, Linux, and PC app for drag and drop compiling of LESS files. Plus, the <a href="https://github.com/Paratron/SimpLESS" target="_blank">source code is on GitHub</a>.</p>
- </section>
+ </section>
- <!-- Static assets
- ================================================== -->
- <section id="static-assets">
- <div class="page-header">
- <h1>Use as static assets</h1>
- </div>
- <p>...</p>
- </section>
+ <!-- Static assets
+ ================================================== -->
+ <section id="static-assets">
+ <div class="page-header">
+ <h1>Use as static assets</h1>
+ </div>
+ <p>...</p>
+ </section>
+ </div>
</div>
-</div>
- </div>
+</div>
diff --git a/docs/getting-started.html b/docs/getting-started.html
index 856964bd94..c0e99542e9 100644
--- a/docs/getting-started.html
+++ b/docs/getting-started.html
@@ -66,15 +66,17 @@
</div>
</div>
- <div class="container">
-
+</div>
<!-- Masthead
================================================== -->
<header class="jumbotron subhead" id="overview">
+ <div class="container">
<h1>Getting started</h1>
<p class="lead">Overview of the project, it's contents, and how to get started with a simple template.</p>
+</div>
</header>
+<div class="container">
<div class="row">
<div class="span3 bs-docs-sidebar">
<ul class="nav nav-list bs-docs-sidenav">
@@ -211,8 +213,6 @@
</div>
</div>
- </div>
-
<!-- Footer
diff --git a/docs/index.html b/docs/index.html
index 274a9df9ed..d059aaa3e7 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -66,16 +66,13 @@
</div>
</div>
- <div class="container">
-
-</div>
-
<div class="jumbotron masthead">
<div class="container">
<h1>Bootstrap</h1>
<p>Sleek, intuitive, and powerful front-end framework for faster and easier web development.</p>
<p><a href="assets/bootstrap.zip" class="btn btn-primary btn-large" >Download Bootstrap</a></p>
<ul class="masthead-links">
+ <li><a href="./getting-started.html" >Getting started</a></li>
<li><a href="./download.html" >Customize</a></li>
<li><a href="http://github.com/twitter/bootstrap" >GitHub project</a></li>
<li>Version 2.1.0</li>
@@ -158,7 +155,7 @@
</div><!-- /.marketing -->
- </div>
+</div>
diff --git a/docs/javascript.html b/docs/javascript.html
index 1792f75c41..21d0044b09 100644
--- a/docs/javascript.html
+++ b/docs/javascript.html
@@ -66,112 +66,113 @@
</div>
</div>
- <div class="container">
-
<!-- Subhead
================================================== -->
<header class="jumbotron subhead" id="overview">
- <h1>Javascript for Bootstrap</h1>
- <p class="lead">Bring Bootstrap's components to life&mdash;now with 12 custom <a href="http://jquery.com/" target="_blank">jQuery</a> plugins.
+ <div class="container">
+ <h1>Javascript for Bootstrap</h1>
+ <p class="lead">Bring Bootstrap's components to life&mdash;now with 12 custom jQuery plugins.
+ </div>
</header>
-
-
-<!-- Docs nav
-================================================== -->
-<div class="row">
- <div class="span3 bs-docs-sidebar">
- <ul class="nav nav-list bs-docs-sidenav">
- <li><a href="#transitions">Transitions <i class="icon-chevron-right"></i></a></li>
- <li><a href="#modals">Modal <i class="icon-chevron-right"></i></a></li>
- <li><a href="#dropdowns">Dropdown <i class="icon-chevron-right"></i></a></li>
- <li><a href="#scrollspy">Scrollspy <i class="icon-chevron-right"></i></a></li>
- <li><a href="#tabs">Tab <i class="icon-chevron-right"></i></a></li>
- <li><a href="#tooltips">Tooltip <i class="icon-chevron-right"></i></a></li>
- <li><a href="#popovers">Popover <i class="icon-chevron-right"></i></a></li>
- <li><a href="#alerts">Alert <i class="icon-chevron-right"></i></a></li>
- <li><a href="#buttons">Button <i class="icon-chevron-right"></i></a></li>
- <li><a href="#collapse">Collapse <i class="icon-chevron-right"></i></a></li>
- <li><a href="#carousel">Carousel <i class="icon-chevron-right"></i></a></li>
- <li><a href="#typeahead">Typeahead <i class="icon-chevron-right"></i></a></li>
- <li><a href="#affix">Affix <i class="icon-chevron-right"></i></a></li>
- </ul>
- </div>
- <div class="span9">
+<div class="container">
+
+
+ <!-- Docs nav
+ ================================================== -->
+ <div class="row">
+ <div class="span3 bs-docs-sidebar">
+ <ul class="nav nav-list bs-docs-sidenav">
+ <li><a href="#transitions">Transitions <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#modals">Modal <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#dropdowns">Dropdown <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#scrollspy">Scrollspy <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#tabs">Tab <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#tooltips">Tooltip <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#popovers">Popover <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#alerts">Alert <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#buttons">Button <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#collapse">Collapse <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#carousel">Carousel <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#typeahead">Typeahead <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#affix">Affix <i class="icon-chevron-right"></i></a></li>
+ </ul>
+ </div>
+ <div class="span9">
- <!-- Overview
- ================================================== -->
- <section id="overview">
- <div class="page-header">
- <h1>Javascript in Bootstrap</h1>
- </div>
+ <!-- Overview
+ ================================================== -->
+ <section id="overview">
+ <div class="page-header">
+ <h1>Javascript in Bootstrap</h1>
+ </div>
- <h3>Individual or compiled</h3>
- <p>If you have downloaded the latest version of Bootstrap, both <strong>bootstrap.js</strong> and <strong>bootstrap.min.js</strong> contain all of these plugins.</p>
+ <h3>Individual or compiled</h3>
+ <p>If you have downloaded the latest version of Bootstrap, both <strong>bootstrap.js</strong> and <strong>bootstrap.min.js</strong> contain all of these plugins.</p>
- <h3>Data attributes</h3>
- <p>...</p>
+ <h3>Data attributes</h3>
+ <p>...</p>
- <h3>Programmatic API</h3>
- <p>...</p>
+ <h3>Programmatic API</h3>
+ <p>...</p>
- </section>
+ </section>
- <!-- Transitions
- ================================================== -->
- <section id="transitions">
- <div class="page-header">
- <h1>Transitions <small>bootstrap-transition.js</small></h1>
- </div>
- <h3>About transitions</h3>
- <p>For simple transition effects, include bootstrap-transition.js once alongside the other JS files. If you're using the compiled (or minified) bootstrap.js, there is no need to include this&mdash;it's already there.</p>
- <h3>Use cases</h3>
- <p>A few examples of the transition plugin:</p>
- <ul>
- <li>Sliding or fading in modals</li>
- <li>Fading out tabs</li>
- <li>Fading out alerts</li>
- <li>Sliding carousel panes</li>
- </ul>
+ <!-- Transitions
+ ================================================== -->
+ <section id="transitions">
+ <div class="page-header">
+ <h1>Transitions <small>bootstrap-transition.js</small></h1>
+ </div>
+ <h3>About transitions</h3>
+ <p>For simple transition effects, include bootstrap-transition.js once alongside the other JS files. If you're using the compiled (or minified) bootstrap.js, there is no need to include this&mdash;it's already there.</p>
+ <h3>Use cases</h3>
+ <p>A few examples of the transition plugin:</p>
+ <ul>
+ <li>Sliding or fading in modals</li>
+ <li>Fading out tabs</li>
+ <li>Fading out alerts</li>
+ <li>Sliding carousel panes</li>
+ </ul>
- </section>
+ </section>
- <!-- Modal
- ================================================== -->
- <section id="modals">
- <div class="page-header">
- <h1>Modals <small>bootstrap-modal.js</small></h1>
- </div>
+ <!-- Modal
+ ================================================== -->
+ <section id="modals">
+ <div class="page-header">
+ <h1>Modals <small>bootstrap-modal.js</small></h1>
+ </div>
- <h2>Examples</h2>
- <p>Modals are streamlined, but flexible, dialog prompts with the minimum required functionality and smart defaults.</p>
+ <h2>Examples</h2>
+ <p>Modals are streamlined, but flexible, dialog prompts with the minimum required functionality and smart defaults.</p>
- <h3>Static example</h3>
- <p>A rendered modal with header, body, and set of actions in the footer.</p>
- <div class="bs-docs-example" style="background-color: #f5f5f5;">
- <div class="modal" style="position: relative; top: auto; left: auto; margin: 0 auto 20px; z-index: 1; max-width: 100%;">
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal">&times;</button>
- <h3>Modal header</h3>
- </div>
- <div class="modal-body">
- <p>One fine body…</p>
- </div>
- <div class="modal-footer">
- <a href="#" class="btn">Close</a>
- <a href="#" class="btn btn-primary">Save changes</a>
+ <h3>Static example</h3>
+ <p>A rendered modal with header, body, and set of actions in the footer.</p>
+ <div class="bs-docs-example" style="background-color: #f5f5f5;">
+ <div class="modal" style="position: relative; top: auto; left: auto; margin: 0 auto 20px; z-index: 1; max-width: 100%;">
+ <div class="modal-header">
+ <button type="button" class="close" data-dismiss="modal">&times;</button>
+ <h3>Modal header</h3>
+ </div>
+ <div class="modal-body">
+ <p>One fine body…</p>
+ </div>
+ <div class="modal-footer">
+ <a href="#" class="btn">Close</a>
+ <a href="#" class="btn btn-primary">Save changes</a>
+ </div>
</div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="modal hide fade"&gt;
&lt;div class="modal-header"&gt;
@@ -188,43 +189,43 @@
&lt;/div&gt;
</pre>
- <h3>Live demo</h3>
- <p>Toggle a modal via javascript by clicking the button below. It will slide down and fade in from the top of the page.</p>
- <!-- sample modal content -->
- <div id="myModal" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal">&times;</button>
- <h3 id="myModalLabel">Modal Heading</h3>
- </div>
- <div class="modal-body">
- <h4>Text in a modal</h4>
- <p>Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem.</p>
-
- <h4>Popover in a modal</h4>
- <p>This <a href="#" role="button" class="btn popover-test" title="A Title" data-content="And here's some amazing content. It's very engaging. right?">button</a> should trigger a popover on hover.</p>
-
- <h4>Tooltips in a modal</h4>
- <p><a href="#" class="tooltip-test" title="Tooltip">This link</a> and <a href="#" class="tooltip-test" title="Tooltip">that link</a> should have tooltips on hover.</p>
-
- <hr>
-
- <h4>Overflowing text to show optional scrollbar</h4>
- <p>We set a fixed <code>max-height</code> on the <code>.modal-body</code>. Watch it overflow with all this extra lorem ipsum text we've included.</p>
- <p>Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.</p>
- <p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.</p>
- <p>Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla.</p>
- <p>Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.</p>
- <p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.</p>
- <p>Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla.</p>
+ <h3>Live demo</h3>
+ <p>Toggle a modal via javascript by clicking the button below. It will slide down and fade in from the top of the page.</p>
+ <!-- sample modal content -->
+ <div id="myModal" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
+ <div class="modal-header">
+ <button type="button" class="close" data-dismiss="modal">&times;</button>
+ <h3 id="myModalLabel">Modal Heading</h3>
+ </div>
+ <div class="modal-body">
+ <h4>Text in a modal</h4>
+ <p>Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem.</p>
+
+ <h4>Popover in a modal</h4>
+ <p>This <a href="#" role="button" class="btn popover-test" title="A Title" data-content="And here's some amazing content. It's very engaging. right?">button</a> should trigger a popover on hover.</p>
+
+ <h4>Tooltips in a modal</h4>
+ <p><a href="#" class="tooltip-test" title="Tooltip">This link</a> and <a href="#" class="tooltip-test" title="Tooltip">that link</a> should have tooltips on hover.</p>
+
+ <hr>
+
+ <h4>Overflowing text to show optional scrollbar</h4>
+ <p>We set a fixed <code>max-height</code> on the <code>.modal-body</code>. Watch it overflow with all this extra lorem ipsum text we've included.</p>
+ <p>Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.</p>
+ <p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.</p>
+ <p>Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla.</p>
+ <p>Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.</p>
+ <p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.</p>
+ <p>Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla.</p>
+ </div>
+ <div class="modal-footer">
+ <a href="#" role="button" class="btn" data-dismiss="modal" >Close</a>
+ <a href="#" role="button" class="btn btn-primary">Save changes</a>
+ </div>
</div>
- <div class="modal-footer">
- <a href="#" role="button" class="btn" data-dismiss="modal" >Close</a>
- <a href="#" role="button" class="btn btn-primary">Save changes</a>
+ <div class="bs-docs-example" style="padding-bottom: 24px;">
+ <a data-toggle="modal" href="#myModal" class="btn btn-primary btn-large">Launch demo modal</a>
</div>
- </div>
- <div class="bs-docs-example" style="padding-bottom: 24px;">
- <a data-toggle="modal" href="#myModal" class="btn btn-primary btn-large">Launch demo modal</a>
- </div>
<pre class="prettyprint linenums">
&lt;-- Button to trigger modal --&gt;
&lt;a href="#myModal" role="button" class="btn" data-toggle="modal"&gt;Launch demo modal&lt;/a&gt;
@@ -246,214 +247,215 @@
</pre>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h2>Usage</h2>
+ <h2>Usage</h2>
- <h3>Via data attributes</h3>
- <p>Activate a modal without writing javascript. Set <code>data-toggle="modal"</code> on a controller element, like a button, along with a <code>data-target="#foo"</code> or <code>href="#foo"</code> to target a specific modal to toggle.</p>
+ <h3>Via data attributes</h3>
+ <p>Activate a modal without writing javascript. Set <code>data-toggle="modal"</code> on a controller element, like a button, along with a <code>data-target="#foo"</code> or <code>href="#foo"</code> to target a specific modal to toggle.</p>
<pre class="prettyprint linenums">
&lt;button type="button" data-toggle="modal" data-target="#myModal"&gt;Launch modal&lt;/button&gt;
</pre>
- <h3>Via javascript</h3>
- <p>Call a modal with id <code>myModal</code> with a single line of javascript:</p>
- <pre class="prettyprint linenums">$('#myModal').modal(options)</pre>
-
- <h3>Options</h3>
- <p>Options can be passed via data attributes or javascript. For data attributes, append the option name to <code>data-</code>, as in <code>data-backdrop=""</code>.</p>
- <table class="table table-bordered table-striped">
- <thead>
- <tr>
- <th style="width: 100px;">Name</th>
- <th style="width: 50px;">type</th>
- <th style="width: 50px;">default</th>
- <th>description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>backdrop</td>
- <td>boolean</td>
- <td>true</td>
- <td>Includes a modal-backdrop element. Alternatively, specify <code>static</code> for a backdrop which doesn't close the modal on click.</td>
- </tr>
- <tr>
- <td>keyboard</td>
- <td>boolean</td>
- <td>true</td>
- <td>Closes the modal when escape key is pressed</td>
- </tr>
- <tr>
- <td>show</td>
- <td>boolean</td>
- <td>true</td>
- <td>Shows the modal when initialized.</td>
- </tr>
- <tr>
- <td>remote</td>
- <td>path</td>
- <td>false</td>
- <td><p>If a remote url is provided, content will be loaded via jQuery's <code>load</code> method and injected into the <code>.modal-body</code>. If you're using the data api, you may alternatively use the <code>href</code> tag to specify the remote source. An example of this is shown below:</p>
- <pre class="prettyprint linenums"><code>&lt;a data-toggle="modal" href="remote.html" data-target="#modal"&gt;click me&lt;/a&gt;</code></pre></td>
- </tr>
- </tbody>
- </table>
-
- <h3>Methods</h3>
- <h4>.modal(options)</h4>
- <p>Activates your content as a modal. Accepts an optional options <code>object</code>.</p>
+ <h3>Via javascript</h3>
+ <p>Call a modal with id <code>myModal</code> with a single line of javascript:</p>
+ <pre class="prettyprint linenums">$('#myModal').modal(options)</pre>
+
+ <h3>Options</h3>
+ <p>Options can be passed via data attributes or javascript. For data attributes, append the option name to <code>data-</code>, as in <code>data-backdrop=""</code>.</p>
+ <table class="table table-bordered table-striped">
+ <thead>
+ <tr>
+ <th style="width: 100px;">Name</th>
+ <th style="width: 50px;">type</th>
+ <th style="width: 50px;">default</th>
+ <th>description</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>backdrop</td>
+ <td>boolean</td>
+ <td>true</td>
+ <td>Includes a modal-backdrop element. Alternatively, specify <code>static</code> for a backdrop which doesn't close the modal on click.</td>
+ </tr>
+ <tr>
+ <td>keyboard</td>
+ <td>boolean</td>
+ <td>true</td>
+ <td>Closes the modal when escape key is pressed</td>
+ </tr>
+ <tr>
+ <td>show</td>
+ <td>boolean</td>
+ <td>true</td>
+ <td>Shows the modal when initialized.</td>
+ </tr>
+ <tr>
+ <td>remote</td>
+ <td>path</td>
+ <td>false</td>
+ <td><p>If a remote url is provided, content will be loaded via jQuery's <code>load</code> method and injected into the <code>.modal-body</code>. If you're using the data api, you may alternatively use the <code>href</code> tag to specify the remote source. An example of this is shown below:</p>
+<pre class="prettyprint linenums"><code>&lt;a data-toggle="modal" href="remote.html" data-target="#modal"&gt;click me&lt;/a&gt;</code></pre></td>
+ </tr>
+ </tbody>
+ </table>
+
+ <h3>Methods</h3>
+ <h4>.modal(options)</h4>
+ <p>Activates your content as a modal. Accepts an optional options <code>object</code>.</p>
<pre class="prettyprint linenums">
$('#myModal').modal({
keyboard: false
})</pre>
- <h4>.modal('toggle')</h4>
- <p>Manually toggles a modal.</p>
- <pre class="prettyprint linenums">$('#myModal').modal('toggle')</pre>
- <h4>.modal('show')</h4>
- <p>Manually opens a modal.</p>
- <pre class="prettyprint linenums">$('#myModal').modal('show')</pre>
- <h4>.modal('hide')</h4>
- <p>Manually hides a modal.</p>
- <pre class="prettyprint linenums">$('#myModal').modal('hide')</pre>
- <h3>Events</h3>
- <p>Bootstrap's modal class exposes a few events for hooking into modal functionality.</p>
- <table class="table table-bordered table-striped">
- <thead>
- <tr>
- <th style="width: 150px;">Event</th>
- <th>Description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>show</td>
- <td>This event fires immediately when the <code>show</code> instance method is called.</td>
- </tr>
- <tr>
- <td>shown</td>
- <td>This event is fired when the modal has been made visible to the user (will wait for css transitions to complete).</td>
- </tr>
- <tr>
- <td>hide</td>
- <td>This event is fired immediately when the <code>hide</code> instance method has been called.</td>
- </tr>
- <tr>
- <td>hidden</td>
- <td>This event is fired when the modal has finished being hidden from the user (will wait for css transitions to complete).</td>
- </tr>
- </tbody>
- </table>
+ <h4>.modal('toggle')</h4>
+ <p>Manually toggles a modal.</p>
+ <pre class="prettyprint linenums">$('#myModal').modal('toggle')</pre>
+ <h4>.modal('show')</h4>
+ <p>Manually opens a modal.</p>
+ <pre class="prettyprint linenums">$('#myModal').modal('show')</pre>
+ <h4>.modal('hide')</h4>
+ <p>Manually hides a modal.</p>
+ <pre class="prettyprint linenums">$('#myModal').modal('hide')</pre>
+ <h3>Events</h3>
+ <p>Bootstrap's modal class exposes a few events for hooking into modal functionality.</p>
+ <table class="table table-bordered table-striped">
+ <thead>
+ <tr>
+ <th style="width: 150px;">Event</th>
+ <th>Description</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>show</td>
+ <td>This event fires immediately when the <code>show</code> instance method is called.</td>
+ </tr>
+ <tr>
+ <td>shown</td>
+ <td>This event is fired when the modal has been made visible to the user (will wait for css transitions to complete).</td>
+ </tr>
+ <tr>
+ <td>hide</td>
+ <td>This event is fired immediately when the <code>hide</code> instance method has been called.</td>
+ </tr>
+ <tr>
+ <td>hidden</td>
+ <td>This event is fired when the modal has finished being hidden from the user (will wait for css transitions to complete).</td>
+ </tr>
+ </tbody>
+ </table>
<pre class="prettyprint linenums">
$('#myModal').on('hidden', function () {
// do something…
-})</pre>
- </section>
+})
+</pre>
+ </section>
- <!-- Dropdown
- ================================================== -->
- <section id="dropdowns">
- <div class="page-header">
- <h1>Dropdowns <small>bootstrap-dropdown.js</small></h1>
- </div>
+ <!-- Dropdown
+ ================================================== -->
+ <section id="dropdowns">
+ <div class="page-header">
+ <h1>Dropdowns <small>bootstrap-dropdown.js</small></h1>
+ </div>
- <h2>Examples</h2>
- <p>Add dropdown menus to nearly anything with this simple plugin, including the navbar, tabs, and pills.</p>
-
- <h3>Within a navbar</h3>
- <div class="bs-docs-example">
- <div id="navbar-example" class="navbar navbar-static">
- <div class="navbar-inner">
- <div class="container" style="width: auto;">
- <a class="brand" href="#">Project Name</a>
- <ul class="nav" role="navigation">
- <li class="dropdown">
- <a id="drop1" href="#" role="button" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
- <ul class="dropdown-menu" role="menu" aria-labelledby="drop1">
- <li><a tabindex="-1" href="http://google.com">Action</a></li>
- <li><a tabindex="-1" href="#anotherAction">Another action</a></li>
- <li><a tabindex="-1" href="#">Something else here</a></li>
- <li class="divider"></li>
- <li><a tabindex="-1" href="#">Separated link</a></li>
- </ul>
- </li>
- <li class="dropdown">
- <a href="#" id="drop2" role="button" class="dropdown-toggle" data-toggle="dropdown">Dropdown 2 <b class="caret"></b></a>
- <ul class="dropdown-menu" role="menu" aria-labelledby="drop2">
- <li><a tabindex="-1" href="#">Action</a></li>
- <li><a tabindex="-1" href="#">Another action</a></li>
- <li><a tabindex="-1" href="#">Something else here</a></li>
- <li class="divider"></li>
- <li><a tabindex="-1" href="#">Separated link</a></li>
- </ul>
- </li>
+ <h2>Examples</h2>
+ <p>Add dropdown menus to nearly anything with this simple plugin, including the navbar, tabs, and pills.</p>
+
+ <h3>Within a navbar</h3>
+ <div class="bs-docs-example">
+ <div id="navbar-example" class="navbar navbar-static">
+ <div class="navbar-inner">
+ <div class="container" style="width: auto;">
+ <a class="brand" href="#">Project Name</a>
+ <ul class="nav" role="navigation">
+ <li class="dropdown">
+ <a id="drop1" href="#" role="button" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
+ <ul class="dropdown-menu" role="menu" aria-labelledby="drop1">
+ <li><a tabindex="-1" href="http://google.com">Action</a></li>
+ <li><a tabindex="-1" href="#anotherAction">Another action</a></li>
+ <li><a tabindex="-1" href="#">Something else here</a></li>
+ <li class="divider"></li>
+ <li><a tabindex="-1" href="#">Separated link</a></li>
+ </ul>
+ </li>
+ <li class="dropdown">
+ <a href="#" id="drop2" role="button" class="dropdown-toggle" data-toggle="dropdown">Dropdown 2 <b class="caret"></b></a>
+ <ul class="dropdown-menu" role="menu" aria-labelledby="drop2">
+ <li><a tabindex="-1" href="#">Action</a></li>
+ <li><a tabindex="-1" href="#">Another action</a></li>
+ <li><a tabindex="-1" href="#">Something else here</a></li>
+ <li class="divider"></li>
+ <li><a tabindex="-1" href="#">Separated link</a></li>
+ </ul>
+ </li>
+ </ul>
+ <ul class="nav pull-right">
+ <li id="fat-menu" class="dropdown">
+ <a href="#" id="drop3" role="button" class="dropdown-toggle" data-toggle="dropdown">Dropdown 3 <b class="caret"></b></a>
+ <ul class="dropdown-menu" role="menu" aria-labelledby="drop3">
+ <li><a tabindex="-1" href="#">Action</a></li>
+ <li><a tabindex="-1" href="#">Another action</a></li>
+ <li><a tabindex="-1" href="#">Something else here</a></li>
+ <li class="divider"></li>
+ <li><a tabindex="-1" href="#">Separated link</a></li>
+ </ul>
+ </li>
+ </ul>
+ </div>
+ </div>
+ </div> <!-- /navbar-example -->
+ </div>
+
+ <h3>Within tabs</h3>
+ <div class="bs-docs-example">
+ <ul class="nav nav-pills">
+ <li class="active"><a href="#">Regular link</a></li>
+ <li class="dropdown">
+ <a class="dropdown-toggle" id="drop4" role="button" data-toggle="dropdown" href="#">Dropdown <b class="caret"></b></a>
+ <ul id="menu1" class="dropdown-menu" role="menu" aria-labelledby="drop4">
+ <li><a tabindex="-1" href="#">Action</a></li>
+ <li><a tabindex="-1" href="#">Another action</a></li>
+ <li><a tabindex="-1" href="#">Something else here</a></li>
+ <li class="divider"></li>
+ <li><a tabindex="-1" href="#">Separated link</a></li>
</ul>
- <ul class="nav pull-right">
- <li id="fat-menu" class="dropdown">
- <a href="#" id="drop3" role="button" class="dropdown-toggle" data-toggle="dropdown">Dropdown 3 <b class="caret"></b></a>
- <ul class="dropdown-menu" role="menu" aria-labelledby="drop3">
- <li><a tabindex="-1" href="#">Action</a></li>
- <li><a tabindex="-1" href="#">Another action</a></li>
- <li><a tabindex="-1" href="#">Something else here</a></li>
- <li class="divider"></li>
- <li><a tabindex="-1" href="#">Separated link</a></li>
- </ul>
- </li>
+ </li>
+ <li class="dropdown">
+ <a class="dropdown-toggle" id="drop5" role="button" data-toggle="dropdown" href="#">Dropdown 2 <b class="caret"></b></a>
+ <ul id="menu2" class="dropdown-menu" role="menu" aria-labelledby="drop5">
+ <li><a tabindex="-1" href="#">Action</a></li>
+ <li><a tabindex="-1" href="#">Another action</a></li>
+ <li><a tabindex="-1" href="#">Something else here</a></li>
+ <li class="divider"></li>
+ <li><a tabindex="-1" href="#">Separated link</a></li>
</ul>
- </div>
- </div>
- </div> <!-- /navbar-example -->
- </div>
-
- <h3>Within tabs</h3>
- <div class="bs-docs-example">
- <ul class="nav nav-pills">
- <li class="active"><a href="#">Regular link</a></li>
- <li class="dropdown">
- <a class="dropdown-toggle" id="drop4" role="button" data-toggle="dropdown" href="#">Dropdown <b class="caret"></b></a>
- <ul id="menu1" class="dropdown-menu" role="menu" aria-labelledby="drop4">
- <li><a tabindex="-1" href="#">Action</a></li>
- <li><a tabindex="-1" href="#">Another action</a></li>
- <li><a tabindex="-1" href="#">Something else here</a></li>
- <li class="divider"></li>
- <li><a tabindex="-1" href="#">Separated link</a></li>
- </ul>
- </li>
- <li class="dropdown">
- <a class="dropdown-toggle" id="drop5" role="button" data-toggle="dropdown" href="#">Dropdown 2 <b class="caret"></b></a>
- <ul id="menu2" class="dropdown-menu" role="menu" aria-labelledby="drop5">
- <li><a tabindex="-1" href="#">Action</a></li>
- <li><a tabindex="-1" href="#">Another action</a></li>
- <li><a tabindex="-1" href="#">Something else here</a></li>
- <li class="divider"></li>
- <li><a tabindex="-1" href="#">Separated link</a></li>
- </ul>
- </li>
- <li class="dropdown">
- <a class="dropdown-toggle" id="drop5" role="button" data-toggle="dropdown" href="#">Dropdown 3 <b class="caret"></b></a>
- <ul id="menu3" class="dropdown-menu" role="menu" aria-labelledby="drop5">
- <li><a tabindex="-1" href="#">Action</a></li>
- <li><a tabindex="-1" href="#">Another action</a></li>
- <li><a tabindex="-1" href="#">Something else here</a></li>
- <li class="divider"></li>
- <li><a tabindex="-1" href="#">Separated link</a></li>
- </ul>
- </li>
- </ul> <!-- /tabs -->
- </div>
+ </li>
+ <li class="dropdown">
+ <a class="dropdown-toggle" id="drop5" role="button" data-toggle="dropdown" href="#">Dropdown 3 <b class="caret"></b></a>
+ <ul id="menu3" class="dropdown-menu" role="menu" aria-labelledby="drop5">
+ <li><a tabindex="-1" href="#">Action</a></li>
+ <li><a tabindex="-1" href="#">Another action</a></li>
+ <li><a tabindex="-1" href="#">Something else here</a></li>
+ <li class="divider"></li>
+ <li><a tabindex="-1" href="#">Separated link</a></li>
+ </ul>
+ </li>
+ </ul> <!-- /tabs -->
+ </div>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h2>Usage</h2>
+ <h2>Usage</h2>
- <h3>Via data attributes</h3>
- <p>Add <code>data-toggle="dropdown"</code> to a link or button to toggle a dropdown.</p>
+ <h3>Via data attributes</h3>
+ <p>Add <code>data-toggle="dropdown"</code> to a link or button to toggle a dropdown.</p>
<pre class="prettyprint linenums">
&lt;div class="dropdown"&gt;
&lt;a class="dropdown-toggle" href="#"&gt;Dropdown trigger&lt;/a&gt;
@@ -462,7 +464,7 @@ $('#myModal').on('hidden', function () {
&lt;/ul&gt;
&lt;/div&gt;
</pre>
- <p>To keep URLs intact, use the <code>data-target</code> attribute instead of <code>href="#"</code>.</p>
+ <p>To keep URLs intact, use the <code>data-target</code> attribute instead of <code>href="#"</code>.</p>
<pre class="prettyprint linenums">
&lt;div class="dropdown"&gt;
&lt;a class="dropdown-toggle" id="dLabel" role="button" data-toggle="dropdown" data-target="#" href="/page.html"&gt;
@@ -475,185 +477,185 @@ $('#myModal').on('hidden', function () {
&lt;/div&gt;
</pre>
- <h3>Via javascript</h3>
- <p>Call the dropdowns via javascript:</p>
- <pre class="prettyprint linenums">$('.dropdown-toggle').dropdown()</pre>
+ <h3>Via javascript</h3>
+ <p>Call the dropdowns via javascript:</p>
+ <pre class="prettyprint linenums">$('.dropdown-toggle').dropdown()</pre>
- <h3>Options</h3>
- <p><em>None</em></p>
+ <h3>Options</h3>
+ <p><em>None</em></p>
- <h3>Methods</h3>
- <h4>$().dropdown()</h4>
- <p>A programatic api for activating menus for a given navbar or tabbed navigation.</p>
- </section>
+ <h3>Methods</h3>
+ <h4>$().dropdown()</h4>
+ <p>A programatic api for activating menus for a given navbar or tabbed navigation.</p>
+ </section>
- <!-- ScrollSpy
- ================================================== -->
- <section id="scrollspy">
- <div class="page-header">
- <h1>ScrollSpy <small>bootstrap-scrollspy.js</small></h1>
- </div>
+ <!-- ScrollSpy
+ ================================================== -->
+ <section id="scrollspy">
+ <div class="page-header">
+ <h1>ScrollSpy <small>bootstrap-scrollspy.js</small></h1>
+ </div>
- <h2>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-docs-example">
- <div id="navbarExample" class="navbar navbar-static">
- <div class="navbar-inner">
- <div class="container" style="width: auto;">
- <a class="brand" href="#">Project Name</a>
- <ul class="nav">
- <li><a href="#fat">@fat</a></li>
- <li><a href="#mdo">@mdo</a></li>
- <li class="dropdown">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
- <ul class="dropdown-menu">
- <li><a href="#one">one</a></li>
- <li><a href="#two">two</a></li>
- <li class="divider"></li>
- <li><a href="#three">three</a></li>
- </ul>
- </li>
- </ul>
+ <h2>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-docs-example">
+ <div id="navbarExample" class="navbar navbar-static">
+ <div class="navbar-inner">
+ <div class="container" style="width: auto;">
+ <a class="brand" href="#">Project Name</a>
+ <ul class="nav">
+ <li><a href="#fat">@fat</a></li>
+ <li><a href="#mdo">@mdo</a></li>
+ <li class="dropdown">
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+ <li><a href="#one">one</a></li>
+ <li><a href="#two">two</a></li>
+ <li class="divider"></li>
+ <li><a href="#three">three</a></li>
+ </ul>
+ </li>
+ </ul>
+ </div>
</div>
</div>
+ <div data-spy="scroll" data-target="#navbarExample" data-offset="0" class="scrollspy-example">
+ <h4 id="fat">@fat</h4>
+ <p>Ad leggings keytar, brunch id art party dolor labore. Pitchfork yr enim lo-fi before they sold out qui. Tumblr farm-to-table bicycle rights whatever. Anim keffiyeh carles cardigan. Velit seitan mcsweeney's photo booth 3 wolf moon irure. Cosby sweater lomo jean shorts, williamsburg hoodie minim qui you probably haven't heard of them et cardigan trust fund culpa biodiesel wes anderson aesthetic. Nihil tattooed accusamus, cred irony biodiesel keffiyeh artisan ullamco consequat.</p>
+ <h4 id="mdo">@mdo</h4>
+ <p>Veniam marfa mustache skateboard, adipisicing fugiat velit pitchfork beard. Freegan beard aliqua cupidatat mcsweeney's vero. Cupidatat four loko nisi, ea helvetica nulla carles. Tattooed cosby sweater food truck, mcsweeney's quis non freegan vinyl. Lo-fi wes anderson +1 sartorial. Carles non aesthetic exercitation quis gentrify. Brooklyn adipisicing craft beer vice keytar deserunt.</p>
+ <h4 id="one">one</h4>
+ <p>Occaecat commodo aliqua delectus. Fap craft beer deserunt skateboard ea. Lomo bicycle rights adipisicing banh mi, velit ea sunt next level locavore single-origin coffee in magna veniam. High life id vinyl, echo park consequat quis aliquip banh mi pitchfork. Vero VHS est adipisicing. Consectetur nisi DIY minim messenger bag. Cred ex in, sustainable delectus consectetur fanny pack iphone.</p>
+ <h4 id="two">two</h4>
+ <p>In incididunt echo park, officia deserunt mcsweeney's proident master cleanse thundercats sapiente veniam. Excepteur VHS elit, proident shoreditch +1 biodiesel laborum craft beer. Single-origin coffee wayfarers irure four loko, cupidatat terry richardson master cleanse. Assumenda you probably haven't heard of them art party fanny pack, tattooed nulla cardigan tempor ad. Proident wolf nesciunt sartorial keffiyeh eu banh mi sustainable. Elit wolf voluptate, lo-fi ea portland before they sold out four loko. Locavore enim nostrud mlkshk brooklyn nesciunt.</p>
+ <h4 id="three">three</h4>
+ <p>Ad leggings keytar, brunch id art party dolor labore. Pitchfork yr enim lo-fi before they sold out qui. Tumblr farm-to-table bicycle rights whatever. Anim keffiyeh carles cardigan. Velit seitan mcsweeney's photo booth 3 wolf moon irure. Cosby sweater lomo jean shorts, williamsburg hoodie minim qui you probably haven't heard of them et cardigan trust fund culpa biodiesel wes anderson aesthetic. Nihil tattooed accusamus, cred irony biodiesel keffiyeh artisan ullamco consequat.</p>
+ <p>Keytar twee blog, culpa messenger bag marfa whatever delectus food truck. Sapiente synth id assumenda. Locavore sed helvetica cliche irony, thundercats you probably haven't heard of them consequat hoodie gluten-free lo-fi fap aliquip. Labore elit placeat before they sold out, terry richardson proident brunch nesciunt quis cosby sweater pariatur keffiyeh ut helvetica artisan. Cardigan craft beer seitan readymade velit. VHS chambray laboris tempor veniam. Anim mollit minim commodo ullamco thundercats.
+ </p>
+ </div>
</div>
- <div data-spy="scroll" data-target="#navbarExample" data-offset="0" class="scrollspy-example">
- <h4 id="fat">@fat</h4>
- <p>Ad leggings keytar, brunch id art party dolor labore. Pitchfork yr enim lo-fi before they sold out qui. Tumblr farm-to-table bicycle rights whatever. Anim keffiyeh carles cardigan. Velit seitan mcsweeney's photo booth 3 wolf moon irure. Cosby sweater lomo jean shorts, williamsburg hoodie minim qui you probably haven't heard of them et cardigan trust fund culpa biodiesel wes anderson aesthetic. Nihil tattooed accusamus, cred irony biodiesel keffiyeh artisan ullamco consequat.</p>
- <h4 id="mdo">@mdo</h4>
- <p>Veniam marfa mustache skateboard, adipisicing fugiat velit pitchfork beard. Freegan beard aliqua cupidatat mcsweeney's vero. Cupidatat four loko nisi, ea helvetica nulla carles. Tattooed cosby sweater food truck, mcsweeney's quis non freegan vinyl. Lo-fi wes anderson +1 sartorial. Carles non aesthetic exercitation quis gentrify. Brooklyn adipisicing craft beer vice keytar deserunt.</p>
- <h4 id="one">one</h4>
- <p>Occaecat commodo aliqua delectus. Fap craft beer deserunt skateboard ea. Lomo bicycle rights adipisicing banh mi, velit ea sunt next level locavore single-origin coffee in magna veniam. High life id vinyl, echo park consequat quis aliquip banh mi pitchfork. Vero VHS est adipisicing. Consectetur nisi DIY minim messenger bag. Cred ex in, sustainable delectus consectetur fanny pack iphone.</p>
- <h4 id="two">two</h4>
- <p>In incididunt echo park, officia deserunt mcsweeney's proident master cleanse thundercats sapiente veniam. Excepteur VHS elit, proident shoreditch +1 biodiesel laborum craft beer. Single-origin coffee wayfarers irure four loko, cupidatat terry richardson master cleanse. Assumenda you probably haven't heard of them art party fanny pack, tattooed nulla cardigan tempor ad. Proident wolf nesciunt sartorial keffiyeh eu banh mi sustainable. Elit wolf voluptate, lo-fi ea portland before they sold out four loko. Locavore enim nostrud mlkshk brooklyn nesciunt.</p>
- <h4 id="three">three</h4>
- <p>Ad leggings keytar, brunch id art party dolor labore. Pitchfork yr enim lo-fi before they sold out qui. Tumblr farm-to-table bicycle rights whatever. Anim keffiyeh carles cardigan. Velit seitan mcsweeney's photo booth 3 wolf moon irure. Cosby sweater lomo jean shorts, williamsburg hoodie minim qui you probably haven't heard of them et cardigan trust fund culpa biodiesel wes anderson aesthetic. Nihil tattooed accusamus, cred irony biodiesel keffiyeh artisan ullamco consequat.</p>
- <p>Keytar twee blog, culpa messenger bag marfa whatever delectus food truck. Sapiente synth id assumenda. Locavore sed helvetica cliche irony, thundercats you probably haven't heard of them consequat hoodie gluten-free lo-fi fap aliquip. Labore elit placeat before they sold out, terry richardson proident brunch nesciunt quis cosby sweater pariatur keffiyeh ut helvetica artisan. Cardigan craft beer seitan readymade velit. VHS chambray laboris tempor veniam. Anim mollit minim commodo ullamco thundercats.
- </p>
- </div>
- </div>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h2>Usage</h2>
+ <h2>Usage</h2>
- <h3>Via data attributes</h3>
- <p>To easily add scrollspy behavior to your topbar navigation, just add <code>data-spy="scroll"</code> to the element you want to spy on (most typically this would be the body) and <code>data-target=".navbar"</code> to select which nav to use.</p>
- <pre class="prettyprint linenums">&lt;body data-spy="scroll" data-target=".navbar"&gt;...&lt;/body&gt;</pre>
+ <h3>Via data attributes</h3>
+ <p>To easily add scrollspy behavior to your topbar navigation, just add <code>data-spy="scroll"</code> to the element you want to spy on (most typically this would be the body) and <code>data-target=".navbar"</code> to select which nav to use.</p>
+ <pre class="prettyprint linenums">&lt;body data-spy="scroll" data-target=".navbar"&gt;...&lt;/body&gt;</pre>
- <h3>Via javascript</h3>
- <p>Call the scrollspy via javascript:</p>
- <pre class="prettyprint linenums">$('#navbar').scrollspy()</pre>
+ <h3>Via javascript</h3>
+ <p>Call the scrollspy via javascript:</p>
+ <pre class="prettyprint linenums">$('#navbar').scrollspy()</pre>
- <div class="alert alert-info">
- <strong>Heads up!</strong>
- Navbar links must have resolvable id targets. For example, a <code>&lt;a href="#home"&gt;home&lt;/a&gt;</code> must correspond to something in the dom like <code>&lt;div id="home"&gt;&lt;/div&gt;</code>.
- </div>
+ <div class="alert alert-info">
+ <strong>Heads up!</strong>
+ Navbar links must have resolvable id targets. For example, a <code>&lt;a href="#home"&gt;home&lt;/a&gt;</code> must correspond to something in the dom like <code>&lt;div id="home"&gt;&lt;/div&gt;</code>.
+ </div>
- <h3>Methods</h3>
- <h4>.scrollspy('refresh')</h4>
- <p>When using scrollspy in conjunction with adding or removing of elements from the DOM, you'll need to call the refresh method like so:</p>
+ <h3>Methods</h3>
+ <h4>.scrollspy('refresh')</h4>
+ <p>When using scrollspy in conjunction with adding or removing of elements from the DOM, you'll need to call the refresh method like so:</p>
<pre class="prettyprint linenums">
$('[data-spy="scroll"]').each(function () {
var $spy = $(this).scrollspy('refresh')
});
</pre>
- <h3>Options</h3>
- <p>Options can be passed via data attributes or javascript. For data attributes, append the option name to <code>data-</code>, as in <code>data-offset=""</code>.</p>
- <table class="table table-bordered table-striped">
- <thead>
- <tr>
- <th style="width: 100px;">Name</th>
- <th style="width: 100px;">type</th>
- <th style="width: 50px;">default</th>
- <th>description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>offset</td>
- <td>number</td>
- <td>10</td>
- <td>Pixels to offset from top when calculating position of scroll.</td>
- </tr>
- </tbody>
- </table>
-
- <h3>Events</h3>
- <table class="table table-bordered table-striped">
- <thead>
- <tr>
- <th style="width: 150px;">Event</th>
- <th>Description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>activate</td>
- <td>This event fires whenever a new item becomes activated by the scrollspy.</td>
- </tr>
- </tbody>
- </table>
- </section>
-
-
-
- <!-- Tabs
- ================================================== -->
- <section id="tabs">
- <div class="page-header">
- <h1>Togglable tabs <small>bootstrap-tab.js</small></h1>
- </div>
+ <h3>Options</h3>
+ <p>Options can be passed via data attributes or javascript. For data attributes, append the option name to <code>data-</code>, as in <code>data-offset=""</code>.</p>
+ <table class="table table-bordered table-striped">
+ <thead>
+ <tr>
+ <th style="width: 100px;">Name</th>
+ <th style="width: 100px;">type</th>
+ <th style="width: 50px;">default</th>
+ <th>description</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>offset</td>
+ <td>number</td>
+ <td>10</td>
+ <td>Pixels to offset from top when calculating position of scroll.</td>
+ </tr>
+ </tbody>
+ </table>
+
+ <h3>Events</h3>
+ <table class="table table-bordered table-striped">
+ <thead>
+ <tr>
+ <th style="width: 150px;">Event</th>
+ <th>Description</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>activate</td>
+ <td>This event fires whenever a new item becomes activated by the scrollspy.</td>
+ </tr>
+ </tbody>
+ </table>
+ </section>
+
+
+
+ <!-- Tabs
+ ================================================== -->
+ <section id="tabs">
+ <div class="page-header">
+ <h1>Togglable tabs <small>bootstrap-tab.js</small></h1>
+ </div>
- <h2>Example tabs</h2>
- <p>Add quick, dynamic tab functionality to transiton through panes of local content, even via dropdown menus.</p>
- <div class="bs-docs-example">
- <ul id="myTab" class="nav nav-tabs">
- <li class="active"><a href="#home" data-toggle="tab">Home</a></li>
- <li><a href="#profile" data-toggle="tab">Profile</a></li>
- <li class="dropdown">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
- <ul class="dropdown-menu">
- <li><a href="#dropdown1" data-toggle="tab">@fat</a></li>
- <li><a href="#dropdown2" data-toggle="tab">@mdo</a></li>
- </ul>
- </li>
- </ul>
- <div id="myTabContent" class="tab-content">
- <div class="tab-pane fade in active" id="home">
- <p>Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi, qui irure terry richardson ex squid. Aliquip placeat salvia cillum iphone. Seitan aliquip quis cardigan american apparel, butcher voluptate nisi qui.</p>
- </div>
- <div class="tab-pane fade" id="profile">
- <p>Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid. Exercitation +1 labore velit, blog sartorial PBR leggings next level wes anderson artisan four loko farm-to-table craft beer twee. Qui photo booth letterpress, commodo enim craft beer mlkshk aliquip jean shorts ullamco ad vinyl cillum PBR. Homo nostrud organic, assumenda labore aesthetic magna delectus mollit. Keytar helvetica VHS salvia yr, vero magna velit sapiente labore stumptown. Vegan fanny pack odio cillum wes anderson 8-bit, sustainable jean shorts beard ut DIY ethical culpa terry richardson biodiesel. Art party scenester stumptown, tumblr butcher vero sint qui sapiente accusamus tattooed echo park.</p>
- </div>
- <div class="tab-pane fade" id="dropdown1">
- <p>Etsy mixtape wayfarers, ethical wes anderson tofu before they sold out mcsweeney's organic lomo retro fanny pack lo-fi farm-to-table readymade. Messenger bag gentrify pitchfork tattooed craft beer, iphone skateboard locavore carles etsy salvia banksy hoodie helvetica. DIY synth PBR banksy irony. Leggings gentrify squid 8-bit cred pitchfork. Williamsburg banh mi whatever gluten-free, carles pitchfork biodiesel fixie etsy retro mlkshk vice blog. Scenester cred you probably haven't heard of them, vinyl craft beer blog stumptown. Pitchfork sustainable tofu synth chambray yr.</p>
- </div>
- <div class="tab-pane fade" id="dropdown2">
- <p>Trust fund seitan letterpress, keytar raw denim keffiyeh etsy art party before they sold out master cleanse gluten-free squid scenester freegan cosby sweater. Fanny pack portland seitan DIY, art party locavore wolf cliche high life echo park Austin. Cred vinyl keffiyeh DIY salvia PBR, banh mi before they sold out farm-to-table VHS viral locavore cosby sweater. Lomo wolf viral, mustache readymade thundercats keffiyeh craft beer marfa ethical. Wolf salvia freegan, sartorial keffiyeh echo park vegan.</p>
+ <h2>Example tabs</h2>
+ <p>Add quick, dynamic tab functionality to transiton through panes of local content, even via dropdown menus.</p>
+ <div class="bs-docs-example">
+ <ul id="myTab" class="nav nav-tabs">
+ <li class="active"><a href="#home" data-toggle="tab">Home</a></li>
+ <li><a href="#profile" data-toggle="tab">Profile</a></li>
+ <li class="dropdown">
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+ <li><a href="#dropdown1" data-toggle="tab">@fat</a></li>
+ <li><a href="#dropdown2" data-toggle="tab">@mdo</a></li>
+ </ul>
+ </li>
+ </ul>
+ <div id="myTabContent" class="tab-content">
+ <div class="tab-pane fade in active" id="home">
+ <p>Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi, qui irure terry richardson ex squid. Aliquip placeat salvia cillum iphone. Seitan aliquip quis cardigan american apparel, butcher voluptate nisi qui.</p>
+ </div>
+ <div class="tab-pane fade" id="profile">
+ <p>Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid. Exercitation +1 labore velit, blog sartorial PBR leggings next level wes anderson artisan four loko farm-to-table craft beer twee. Qui photo booth letterpress, commodo enim craft beer mlkshk aliquip jean shorts ullamco ad vinyl cillum PBR. Homo nostrud organic, assumenda labore aesthetic magna delectus mollit. Keytar helvetica VHS salvia yr, vero magna velit sapiente labore stumptown. Vegan fanny pack odio cillum wes anderson 8-bit, sustainable jean shorts beard ut DIY ethical culpa terry richardson biodiesel. Art party scenester stumptown, tumblr butcher vero sint qui sapiente accusamus tattooed echo park.</p>
+ </div>
+ <div class="tab-pane fade" id="dropdown1">
+ <p>Etsy mixtape wayfarers, ethical wes anderson tofu before they sold out mcsweeney's organic lomo retro fanny pack lo-fi farm-to-table readymade. Messenger bag gentrify pitchfork tattooed craft beer, iphone skateboard locavore carles etsy salvia banksy hoodie helvetica. DIY synth PBR banksy irony. Leggings gentrify squid 8-bit cred pitchfork. Williamsburg banh mi whatever gluten-free, carles pitchfork biodiesel fixie etsy retro mlkshk vice blog. Scenester cred you probably haven't heard of them, vinyl craft beer blog stumptown. Pitchfork sustainable tofu synth chambray yr.</p>
+ </div>
+ <div class="tab-pane fade" id="dropdown2">
+ <p>Trust fund seitan letterpress, keytar raw denim keffiyeh etsy art party before they sold out master cleanse gluten-free squid scenester freegan cosby sweater. Fanny pack portland seitan DIY, art party locavore wolf cliche high life echo park Austin. Cred vinyl keffiyeh DIY salvia PBR, banh mi before they sold out farm-to-table VHS viral locavore cosby sweater. Lomo wolf viral, mustache readymade thundercats keffiyeh craft beer marfa ethical. Wolf salvia freegan, sartorial keffiyeh echo park vegan.</p>
+ </div>
</div>
</div>
- </div>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h2>Usage</h2>
- <p>Enable tabbable tabs via javascript (each tab needs to be activated individually):</p>
+ <h2>Usage</h2>
+ <p>Enable tabbable tabs via javascript (each tab needs to be activated individually):</p>
<pre class="prettyprint linenums">
$('#myTab a').click(function (e) {
e.preventDefault();
$(this).tab('show');
})</pre>
- <p>You can activate individual tabs in several ways:</p>
+ <p>You can activate individual tabs in several ways:</p>
<pre class="prettyprint linenums">
$('#myTab a[href="#profile"]').tab('show'); // Select tab by name
$('#myTab a:first').tab('show'); // Select first tab
@@ -661,8 +663,8 @@ $('#myTab a:last').tab('show'); // Select last tab
$('#myTab li:eq(2) a').tab('show'); // Select third tab (0-indexed)
</pre>
- <h3>Markup</h3>
- <p>You can activate a tab or pill navigation without writing any javascript by simply specifying <code>data-toggle="tab"</code> or <code>data-toggle="pill"</code> on an element. Adding the <code>nav</code> and <code>nav-tabs</code> classes to the tab <code>ul</code> will apply the bootstrap tab styling.</p>
+ <h3>Markup</h3>
+ <p>You can activate a tab or pill navigation without writing any javascript by simply specifying <code>data-toggle="tab"</code> or <code>data-toggle="pill"</code> on an element. Adding the <code>nav</code> and <code>nav-tabs</code> classes to the tab <code>ul</code> will apply the bootstrap tab styling.</p>
<pre class="prettyprint linenums">
&lt;ul class="nav nav-tabs"&gt;
&lt;li&gt;&lt;a href="#home" data-toggle="tab"&gt;Home&lt;/a&gt;&lt;/li&gt;
@@ -671,11 +673,11 @@ $('#myTab li:eq(2) a').tab('show'); // Select third tab (0-indexed)
&lt;li&gt;&lt;a href="#settings" data-toggle="tab"&gt;Settings&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</pre>
- <h3>Methods</h3>
- <h4>$().tab</h4>
- <p>
- Activates a tab element and content container. Tab should have either a <code>data-target</code> or an <code>href</code> targeting a container node in the DOM.
- </p>
+ <h3>Methods</h3>
+ <h4>$().tab</h4>
+ <p>
+ Activates a tab element and content container. Tab should have either a <code>data-target</code> or an <code>href</code> targeting a container node in the DOM.
+ </p>
<pre class="prettyprint linenums">
&lt;ul class="nav nav-tabs" id="myTab"&gt;
&lt;li class="active"&gt;&lt;a href="#home"&gt;Home&lt;/a&gt;&lt;/li&gt;
@@ -695,429 +697,432 @@ $('#myTab li:eq(2) a').tab('show'); // Select third tab (0-indexed)
$(function () {
$('#myTab a:last').tab('show');
})
-&lt;/script&gt;</pre>
+&lt;/script&gt;
+</pre>
- <h3>Events</h3>
- <table class="table table-bordered table-striped">
- <thead>
- <tr>
- <th style="width: 150px;">Event</th>
- <th>Description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>show</td>
- <td>This event fires on tab show, but before the new tab has been shown. Use <code>event.target</code> and <code>event.relatedTarget</code> to target the active tab and the previous active tab (if available) respectively.</td>
- </tr>
- <tr>
- <td>shown</td>
- <td>This event fires on tab show after a tab has been shown. Use <code>event.target</code> and <code>event.relatedTarget</code> to target the active tab and the previous active tab (if available) respectively.</td>
- </tr>
- </tbody>
- </table>
+ <h3>Events</h3>
+ <table class="table table-bordered table-striped">
+ <thead>
+ <tr>
+ <th style="width: 150px;">Event</th>
+ <th>Description</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>show</td>
+ <td>This event fires on tab show, but before the new tab has been shown. Use <code>event.target</code> and <code>event.relatedTarget</code> to target the active tab and the previous active tab (if available) respectively.</td>
+ </tr>
+ <tr>
+ <td>shown</td>
+ <td>This event fires on tab show after a tab has been shown. Use <code>event.target</code> and <code>event.relatedTarget</code> to target the active tab and the previous active tab (if available) respectively.</td>
+ </tr>
+ </tbody>
+ </table>
<pre class="prettyprint linenums">
$('a[data-toggle="tab"]').on('shown', function (e) {
e.target // activated tab
e.relatedTarget // previous tab
-})</pre>
- </section>
+})
+</pre>
+ </section>
- <!-- Tooltips
- ================================================== -->
- <section id="tooltips">
- <div class="page-header">
- <h1>Tooltips <small>bootstrap-tooltip.js</small></h1>
- </div>
+ <!-- Tooltips
+ ================================================== -->
+ <section id="tooltips">
+ <div class="page-header">
+ <h1>Tooltips <small>bootstrap-tooltip.js</small></h1>
+ </div>
- <h2>Examples</h2>
- <p>Inspired by the excellent jQuery.tipsy plugin written by Jason Frame; Tooltips are an updated version, which don't rely on images, use CSS3 for animations, and data-attributes for local title storage.</p>
- <p>Hover over the links below to see tooltips:</p>
- <div class="bs-docs-example tooltip-demo">
- <p class="muted" style="margin-bottom: 0;">Tight pants next level keffiyeh <a href="#" rel="tooltip" title="Default tooltip">you probably</a> haven't heard of them. Photo booth beard raw denim letterpress vegan messenger bag stumptown. Farm-to-table seitan, mcsweeney's fixie sustainable quinoa 8-bit american apparel <a href="#" rel="tooltip" title="Another tooltip">have a</a> terry richardson vinyl chambray. Beard stumptown, cardigans banh mi lomo thundercats. Tofu biodiesel williamsburg marfa, four loko mcsweeney's cleanse vegan chambray. A really ironic artisan <a href="#" rel="tooltip" title="Another one here too">whatever keytar</a>, scenester farm-to-table banksy Austin <a href="#" rel="tooltip" title="The last tip!">twitter handle</a> freegan cred raw denim single-origin coffee viral.
- </p>
- </div>
+ <h2>Examples</h2>
+ <p>Inspired by the excellent jQuery.tipsy plugin written by Jason Frame; Tooltips are an updated version, which don't rely on images, use CSS3 for animations, and data-attributes for local title storage.</p>
+ <p>Hover over the links below to see tooltips:</p>
+ <div class="bs-docs-example tooltip-demo">
+ <p class="muted" style="margin-bottom: 0;">Tight pants next level keffiyeh <a href="#" rel="tooltip" title="Default tooltip">you probably</a> haven't heard of them. Photo booth beard raw denim letterpress vegan messenger bag stumptown. Farm-to-table seitan, mcsweeney's fixie sustainable quinoa 8-bit american apparel <a href="#" rel="tooltip" title="Another tooltip">have a</a> terry richardson vinyl chambray. Beard stumptown, cardigans banh mi lomo thundercats. Tofu biodiesel williamsburg marfa, four loko mcsweeney's cleanse vegan chambray. A really ironic artisan <a href="#" rel="tooltip" title="Another one here too">whatever keytar</a>, scenester farm-to-table banksy Austin <a href="#" rel="tooltip" title="The last tip!">twitter handle</a> freegan cred raw denim single-origin coffee viral.
+ </p>
+ </div>
- <h3>Four directions</h3>
- <div class="bs-docs-example tooltip-demo">
- <ul class="bs-docs-tooltip-examples">
- <li><a href="#" rel="tooltip" data-placement="top" title="Tooltip on top">Tooltip on top</a></li>
- <li><a href="#" rel="tooltip" data-placement="right" title="Tooltip on right">Tooltip on right</a></li>
- <li><a href="#" rel="tooltip" data-placement="bottom" title="Tooltip on bottom">Tooltip on bottom</a></li>
- <li><a href="#" rel="tooltip" data-placement="left" title="Tooltip on left">Tooltip on left</a></li>
- </ul>
- </div>
+ <h3>Four directions</h3>
+ <div class="bs-docs-example tooltip-demo">
+ <ul class="bs-docs-tooltip-examples">
+ <li><a href="#" rel="tooltip" data-placement="top" title="Tooltip on top">Tooltip on top</a></li>
+ <li><a href="#" rel="tooltip" data-placement="right" title="Tooltip on right">Tooltip on right</a></li>
+ <li><a href="#" rel="tooltip" data-placement="bottom" title="Tooltip on bottom">Tooltip on bottom</a></li>
+ <li><a href="#" rel="tooltip" data-placement="left" title="Tooltip on left">Tooltip on left</a></li>
+ </ul>
+ </div>
- <hr class="bs-docs-separator">
-
-
- <h2>Usage</h2>
- <p>Trigger the tooltip via javascript:</p>
- <pre class="prettyprint linenums">$('#example').tooltip(options)</pre>
-
- <h3>Options</h3>
- <p>Options can be passed via data attributes or javascript. For data attributes, append the option name to <code>data-</code>, as in <code>data-animation=""</code>.</p>
- <table class="table table-bordered table-striped">
- <thead>
- <tr>
- <th style="width: 100px;">Name</th>
- <th style="width: 100px;">type</th>
- <th style="width: 50px;">default</th>
- <th>description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>animation</td>
- <td>boolean</td>
- <td>true</td>
- <td>apply a css fade transition to the tooltip</td>
- </tr>
- <tr>
- <td>html</td>
- <td>boolean</td>
- <td>true</td>
- <td>Insert html into the tooltip. If false, jquery's <code>text</code> method will be used to insert content into the dom. Use text if you're worried about XSS attacks.</td>
- </tr>
- <tr>
- <td>placement</td>
- <td>string|function</td>
- <td>'top'</td>
- <td>how to position the tooltip - top | bottom | left | right</td>
- </tr>
- <tr>
- <td>selector</td>
- <td>string</td>
- <td>false</td>
- <td>If a selector is provided, tooltip objects will be delegated to the specified targets.</td>
- </tr>
- <tr>
- <td>title</td>
- <td>string | function</td>
- <td>''</td>
- <td>default title value if `title` tag isn't present</td>
- </tr>
- <tr>
- <td>trigger</td>
- <td>string</td>
- <td>'hover'</td>
- <td>how tooltip is triggered - hover | focus | manual</td>
- </tr>
- <tr>
- <td>delay</td>
- <td>number | object</td>
- <td>0</td>
- <td>
- <p>delay showing and hiding the tooltip (ms) - does not apply to manual trigger type</p>
- <p>If a number is supplied, delay is applied to both hide/show</p>
- <p>Object structure is: <code>delay: { show: 500, hide: 100 }</code></p>
- </td>
- </tr>
- </tbody>
- </table>
- <div class="alert alert-info">
- <strong>Heads up!</strong>
- Options for individual tooltips can alternatively be specified through the use of data attributes.
- </div>
+ <hr class="bs-docs-separator">
+
+
+ <h2>Usage</h2>
+ <p>Trigger the tooltip via javascript:</p>
+<pre class="prettyprint linenums">$('#example').tooltip(options)</pre>
+
+ <h3>Options</h3>
+ <p>Options can be passed via data attributes or javascript. For data attributes, append the option name to <code>data-</code>, as in <code>data-animation=""</code>.</p>
+ <table class="table table-bordered table-striped">
+ <thead>
+ <tr>
+ <th style="width: 100px;">Name</th>
+ <th style="width: 100px;">type</th>
+ <th style="width: 50px;">default</th>
+ <th>description</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>animation</td>
+ <td>boolean</td>
+ <td>true</td>
+ <td>apply a css fade transition to the tooltip</td>
+ </tr>
+ <tr>
+ <td>html</td>
+ <td>boolean</td>
+ <td>true</td>
+ <td>Insert html into the tooltip. If false, jquery's <code>text</code> method will be used to insert content into the dom. Use text if you're worried about XSS attacks.</td>
+ </tr>
+ <tr>
+ <td>placement</td>
+ <td>string|function</td>
+ <td>'top'</td>
+ <td>how to position the tooltip - top | bottom | left | right</td>
+ </tr>
+ <tr>
+ <td>selector</td>
+ <td>string</td>
+ <td>false</td>
+ <td>If a selector is provided, tooltip objects will be delegated to the specified targets.</td>
+ </tr>
+ <tr>
+ <td>title</td>
+ <td>string | function</td>
+ <td>''</td>
+ <td>default title value if `title` tag isn't present</td>
+ </tr>
+ <tr>
+ <td>trigger</td>
+ <td>string</td>
+ <td>'hover'</td>
+ <td>how tooltip is triggered - hover | focus | manual</td>
+ </tr>
+ <tr>
+ <td>delay</td>
+ <td>number | object</td>
+ <td>0</td>
+ <td>
+ <p>delay showing and hiding the tooltip (ms) - does not apply to manual trigger type</p>
+ <p>If a number is supplied, delay is applied to both hide/show</p>
+ <p>Object structure is: <code>delay: { show: 500, hide: 100 }</code></p>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ <div class="alert alert-info">
+ <strong>Heads up!</strong>
+ Options for individual tooltips can alternatively be specified through the use of data attributes.
+ </div>
- <h3>Markup</h3>
- <p>For performance reasons, the Tooltip and Popover data-apis are opt in. If you would like to use them just specify a selector option.</p>
- <pre class="prettyprint linenums">
- &lt;a href="#" rel="tooltip" title="first tooltip"&gt;hover over me&lt;/a&gt;
- </pre>
-
- <h3>Methods</h3>
- <h4>$().tooltip(options)</h4>
- <p>Attaches a tooltip handler to an element collection.</p>
- <h4>.tooltip('show')</h4>
- <p>Reveals an element's tooltip.</p>
- <pre class="prettyprint linenums">$('#element').tooltip('show')</pre>
- <h4>.tooltip('hide')</h4>
- <p>Hides an element's tooltip.</p>
- <pre class="prettyprint linenums">$('#element').tooltip('hide')</pre>
- <h4>.tooltip('toggle')</h4>
- <p>Toggles an element's tooltip.</p>
- <pre class="prettyprint linenums">$('#element').tooltip('toggle')</pre>
- <h4>.tooltip('destroy')</h4>
- <p>Destroys an element's tooltip.</p>
- <pre class="prettyprint linenums">$('#element').tooltip('destroy')</pre>
- </section>
-
-
-
- <!-- Popovers
- ================================================== -->
- <section id="popovers">
- <div class="page-header">
- <h1>Popovers <small>bootstrap-popover.js</small></h1>
- </div>
+ <h3>Markup</h3>
+ <p>For performance reasons, the Tooltip and Popover data-apis are opt in. If you would like to use them just specify a selector option.</p>
+<pre class="prettyprint linenums">
+&lt;a href="#" rel="tooltip" title="first tooltip"&gt;hover over me&lt;/a&gt;
+</pre>
- <h2>Examples</h2>
- <p>Add small overlays of content, like those on the iPad, to any element for housing secondary information. Hover over the button to trigger the popover. <strong>Requires <a href="#tooltips">Tooltip</a> to be included.</strong></p>
-
- <h3>Static popover</h3>
- <p>Four options are available: top, right, bottom, and left aligned.</p>
- <div class="bs-docs-example bs-docs-example-popover">
- <div class="popover top">
- <div class="arrow"></div>
- <h3 class="popover-title">Popover top</h3>
- <div class="popover-content">
- <p>Sed posuere consectetur est at lobortis. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.</p>
- </div>
+ <h3>Methods</h3>
+ <h4>$().tooltip(options)</h4>
+ <p>Attaches a tooltip handler to an element collection.</p>
+ <h4>.tooltip('show')</h4>
+ <p>Reveals an element's tooltip.</p>
+ <pre class="prettyprint linenums">$('#element').tooltip('show')</pre>
+ <h4>.tooltip('hide')</h4>
+ <p>Hides an element's tooltip.</p>
+ <pre class="prettyprint linenums">$('#element').tooltip('hide')</pre>
+ <h4>.tooltip('toggle')</h4>
+ <p>Toggles an element's tooltip.</p>
+ <pre class="prettyprint linenums">$('#element').tooltip('toggle')</pre>
+ <h4>.tooltip('destroy')</h4>
+ <p>Destroys an element's tooltip.</p>
+ <pre class="prettyprint linenums">$('#element').tooltip('destroy')</pre>
+ </section>
+
+
+
+ <!-- Popovers
+ ================================================== -->
+ <section id="popovers">
+ <div class="page-header">
+ <h1>Popovers <small>bootstrap-popover.js</small></h1>
</div>
- <div class="popover right">
- <div class="arrow"></div>
- <h3 class="popover-title">Popover right</h3>
- <div class="popover-content">
- <p>Sed posuere consectetur est at lobortis. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.</p>
+ <h2>Examples</h2>
+ <p>Add small overlays of content, like those on the iPad, to any element for housing secondary information. Hover over the button to trigger the popover. <strong>Requires <a href="#tooltips">Tooltip</a> to be included.</strong></p>
+
+ <h3>Static popover</h3>
+ <p>Four options are available: top, right, bottom, and left aligned.</p>
+ <div class="bs-docs-example bs-docs-example-popover">
+ <div class="popover top">
+ <div class="arrow"></div>
+ <h3 class="popover-title">Popover top</h3>
+ <div class="popover-content">
+ <p>Sed posuere consectetur est at lobortis. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.</p>
+ </div>
</div>
- </div>
- <div class="popover bottom">
- <div class="arrow"></div>
- <h3 class="popover-title">Popover bottom</h3>
- <div class="popover-content">
- <p>Sed posuere consectetur est at lobortis. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.</p>
+ <div class="popover right">
+ <div class="arrow"></div>
+ <h3 class="popover-title">Popover right</h3>
+ <div class="popover-content">
+ <p>Sed posuere consectetur est at lobortis. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.</p>
+ </div>
</div>
- </div>
- <div class="popover left">
- <div class="arrow"></div>
- <h3 class="popover-title">Popover left</h3>
- <div class="popover-content">
- <p>Sed posuere consectetur est at lobortis. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.</p>
+ <div class="popover bottom">
+ <div class="arrow"></div>
+ <h3 class="popover-title">Popover bottom</h3>
+ <div class="popover-content">
+ <p>Sed posuere consectetur est at lobortis. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.</p>
+ </div>
</div>
- </div>
- <div class="clearfix"></div>
- </div>
- <p>No markup shown as popovers are generated from javascript and content within a <code>data</code> attribute.</p>
+ <div class="popover left">
+ <div class="arrow"></div>
+ <h3 class="popover-title">Popover left</h3>
+ <div class="popover-content">
+ <p>Sed posuere consectetur est at lobortis. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.</p>
+ </div>
+ </div>
- <h3>Live demo</h3>
- <div class="bs-docs-example" style="padding-bottom: 24px;">
- <a href="#" class="btn btn-large btn-danger" rel="popover" title="A Title" data-content="And here's some amazing content. It's very engaging. right?">Hover for popover</a>
- </div>
+ <div class="clearfix"></div>
+ </div>
+ <p>No markup shown as popovers are generated from javascript and content within a <code>data</code> attribute.</p>
+ <h3>Live demo</h3>
+ <div class="bs-docs-example" style="padding-bottom: 24px;">
+ <a href="#" class="btn btn-large btn-danger" rel="popover" title="A Title" data-content="And here's some amazing content. It's very engaging. right?">Hover for popover</a>
+ </div>
- <hr class="bs-docs-separator">
-
-
- <h2>Usage</h2>
- <p>Enable popovers via javascript:</p>
- <pre class="prettyprint linenums">$('#example').popover(options)</pre>
-
- <h3>Options</h3>
- <p>Options can be passed via data attributes or javascript. For data attributes, append the option name to <code>data-</code>, as in <code>data-animation=""</code>.</p>
- <table class="table table-bordered table-striped">
- <thead>
- <tr>
- <th style="width: 100px;">Name</th>
- <th style="width: 100px;">type</th>
- <th style="width: 50px;">default</th>
- <th>description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>animation</td>
- <td>boolean</td>
- <td>true</td>
- <td>apply a css fade transition to the tooltip</td>
- </tr>
- <tr>
- <td>html</td>
- <td>boolean</td>
- <td>true</td>
- <td>Insert html into the popover. If false, jquery's <code>text</code> method will be used to insert content into the dom. Use text if you're worried about XSS attacks.</td>
- </tr>
- <tr>
- <td>placement</td>
- <td>string|function</td>
- <td>'right'</td>
- <td>how to position the popover - top | bottom | left | right</td>
- </tr>
- <tr>
- <td>selector</td>
- <td>string</td>
- <td>false</td>
- <td>if a selector is provided, tooltip objects will be delegated to the specified targets</td>
- </tr>
- <tr>
- <td>trigger</td>
- <td>string</td>
- <td>'hover'</td>
- <td>how popover is triggered - hover | focus | manual</td>
- </tr>
- <tr>
- <td>title</td>
- <td>string | function</td>
- <td>''</td>
- <td>default title value if `title` attribute isn't present</td>
- </tr>
- <tr>
- <td>content</td>
- <td>string | function</td>
- <td>''</td>
- <td>default content value if `data-content` attribute isn't present</td>
- </tr>
- <tr>
- <td>delay</td>
- <td>number | object</td>
- <td>0</td>
- <td>
- <p>delay showing and hiding the popover (ms) - does not apply to manual trigger type</p>
- <p>If a number is supplied, delay is applied to both hide/show</p>
- <p>Object structure is: <code>delay: { show: 500, hide: 100 }</code></p>
- </td>
- </tr>
- </tbody>
- </table>
- <div class="alert alert-info">
- <strong>Heads up!</strong>
- Options for individual popovers can alternatively be specified through the use of data attributes.
- </div>
- <h3>Markup</h3>
- <p>For performance reasons, the Tooltip and Popover data-apis are opt in. If you would like to use them just specify a selector option.</p>
-
- <h3>Methods</h3>
- <h4>$().popover(options)</h4>
- <p>Initializes popovers for an element collection.</p>
- <h4>.popover('show')</h4>
- <p>Reveals an elements popover.</p>
- <pre class="prettyprint linenums">$('#element').popover('show')</pre>
- <h4>.popover('hide')</h4>
- <p>Hides an elements popover.</p>
- <pre class="prettyprint linenums">$('#element').popover('hide')</pre>
- <h4>.popover('toggle')</h4>
- <p>Toggles an elements popover.</p>
- <pre class="prettyprint linenums">$('#element').popover('toggle')</pre>
- <h4>.popover('destroy')</h4>
- <p>Destroys an element's popover.</p>
- <pre class="prettyprint linenums">$('#element').popover('destroy')</pre>
- </section>
-
-
-
- <!-- Alert
- ================================================== -->
- <section id="alerts">
- <div class="page-header">
- <h1>Alert messages <small>bootstrap-alert.js</small></h1>
- </div>
+ <hr class="bs-docs-separator">
+
+
+ <h2>Usage</h2>
+ <p>Enable popovers via javascript:</p>
+ <pre class="prettyprint linenums">$('#example').popover(options)</pre>
+
+ <h3>Options</h3>
+ <p>Options can be passed via data attributes or javascript. For data attributes, append the option name to <code>data-</code>, as in <code>data-animation=""</code>.</p>
+ <table class="table table-bordered table-striped">
+ <thead>
+ <tr>
+ <th style="width: 100px;">Name</th>
+ <th style="width: 100px;">type</th>
+ <th style="width: 50px;">default</th>
+ <th>description</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>animation</td>
+ <td>boolean</td>
+ <td>true</td>
+ <td>apply a css fade transition to the tooltip</td>
+ </tr>
+ <tr>
+ <td>html</td>
+ <td>boolean</td>
+ <td>true</td>
+ <td>Insert html into the popover. If false, jquery's <code>text</code> method will be used to insert content into the dom. Use text if you're worried about XSS attacks.</td>
+ </tr>
+ <tr>
+ <td>placement</td>
+ <td>string|function</td>
+ <td>'right'</td>
+ <td>how to position the popover - top | bottom | left | right</td>
+ </tr>
+ <tr>
+ <td>selector</td>
+ <td>string</td>
+ <td>false</td>
+ <td>if a selector is provided, tooltip objects will be delegated to the specified targets</td>
+ </tr>
+ <tr>
+ <td>trigger</td>
+ <td>string</td>
+ <td>'hover'</td>
+ <td>how popover is triggered - hover | focus | manual</td>
+ </tr>
+ <tr>
+ <td>title</td>
+ <td>string | function</td>
+ <td>''</td>
+ <td>default title value if `title` attribute isn't present</td>
+ </tr>
+ <tr>
+ <td>content</td>
+ <td>string | function</td>
+ <td>''</td>
+ <td>default content value if `data-content` attribute isn't present</td>
+ </tr>
+ <tr>
+ <td>delay</td>
+ <td>number | object</td>
+ <td>0</td>
+ <td>
+ <p>delay showing and hiding the popover (ms) - does not apply to manual trigger type</p>
+ <p>If a number is supplied, delay is applied to both hide/show</p>
+ <p>Object structure is: <code>delay: { show: 500, hide: 100 }</code></p>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ <div class="alert alert-info">
+ <strong>Heads up!</strong>
+ Options for individual popovers can alternatively be specified through the use of data attributes.
+ </div>
+
+ <h3>Markup</h3>
+ <p>For performance reasons, the Tooltip and Popover data-apis are opt in. If you would like to use them just specify a selector option.</p>
+
+ <h3>Methods</h3>
+ <h4>$().popover(options)</h4>
+ <p>Initializes popovers for an element collection.</p>
+ <h4>.popover('show')</h4>
+ <p>Reveals an elements popover.</p>
+ <pre class="prettyprint linenums">$('#element').popover('show')</pre>
+ <h4>.popover('hide')</h4>
+ <p>Hides an elements popover.</p>
+ <pre class="prettyprint linenums">$('#element').popover('hide')</pre>
+ <h4>.popover('toggle')</h4>
+ <p>Toggles an elements popover.</p>
+ <pre class="prettyprint linenums">$('#element').popover('toggle')</pre>
+ <h4>.popover('destroy')</h4>
+ <p>Destroys an element's popover.</p>
+ <pre class="prettyprint linenums">$('#element').popover('destroy')</pre>
+ </section>
+
+
+
+ <!-- Alert
+ ================================================== -->
+ <section id="alerts">
+ <div class="page-header">
+ <h1>Alert messages <small>bootstrap-alert.js</small></h1>
+ </div>
- <h2>Example alerts</h2>
- <p>Add dismiss functionality to all alerge messages with this plugin.</p>
- <div class="bs-docs-example">
- <div class="alert fade in">
- <button type="button" class="close" data-dismiss="alert">&times;</button>
- <strong>Holy guacamole!</strong> Best check yo self, you're not looking too good.
+ <h2>Example alerts</h2>
+ <p>Add dismiss functionality to all alerge messages with this plugin.</p>
+ <div class="bs-docs-example">
+ <div class="alert fade in">
+ <button type="button" class="close" data-dismiss="alert">&times;</button>
+ <strong>Holy guacamole!</strong> Best check yo self, you're not looking too good.
+ </div>
</div>
- </div>
- <div class="bs-docs-example">
- <div class="alert alert-block alert-error fade in">
- <button type="button" class="close" data-dismiss="alert">&times;</button>
- <h4 class="alert-heading">Oh snap! You got an error!</h4>
- <p>Change this and that and try again. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum.</p>
- <p>
- <a class="btn btn-danger" href="#">Take this action</a> <a class="btn" href="#">Or do this</a>
- </p>
+ <div class="bs-docs-example">
+ <div class="alert alert-block alert-error fade in">
+ <button type="button" class="close" data-dismiss="alert">&times;</button>
+ <h4 class="alert-heading">Oh snap! You got an error!</h4>
+ <p>Change this and that and try again. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum.</p>
+ <p>
+ <a class="btn btn-danger" href="#">Take this action</a> <a class="btn" href="#">Or do this</a>
+ </p>
+ </div>
</div>
- </div>
- <hr class="bs-docs-separator">
-
-
- <h2>Usage</h2>
- <p>Enable dismissal of an alert via javascript:</p>
- <pre class="prettyprint linenums">$(".alert").alert()</pre>
-
- <h3>Markup</h3>
- <p>Just add <code>data-dismiss="alert"</code> to your close button to automatically give an alert close functionality.</p>
- <pre class="prettyprint linenums">&lt;a class="close" data-dismiss="alert" href="#"&gt;&amp;times;&lt;/a&gt;</pre>
-
- <h3>Methods</h3>
- <h4>$().alert()</h4>
- <p>Wraps all alerts with close functionality. To have your alerts animate out when closed, make sure they have the <code>.fade</code> and <code>.in</code> class already applied to them.</p>
- <h4>.alert('close')</h4>
- <p>Closes an alert.</p>
- <pre class="prettyprint linenums">$(".alert").alert('close')</pre>
-
-
- <h3>Events</h3>
- <p>Bootstrap's alert class exposes a few events for hooking into alert functionality.</p>
- <table class="table table-bordered table-striped">
- <thead>
- <tr>
- <th style="width: 150px;">Event</th>
- <th>Description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>close</td>
- <td>This event fires immediately when the <code>close</code> instance method is called.</td>
- </tr>
- <tr>
- <td>closed</td>
- <td>This event is fired when the alert has been closed (will wait for css transitions to complete).</td>
- </tr>
- </tbody>
- </table>
+ <hr class="bs-docs-separator">
+
+
+ <h2>Usage</h2>
+ <p>Enable dismissal of an alert via javascript:</p>
+ <pre class="prettyprint linenums">$(".alert").alert()</pre>
+
+ <h3>Markup</h3>
+ <p>Just add <code>data-dismiss="alert"</code> to your close button to automatically give an alert close functionality.</p>
+ <pre class="prettyprint linenums">&lt;a class="close" data-dismiss="alert" href="#"&gt;&amp;times;&lt;/a&gt;</pre>
+
+ <h3>Methods</h3>
+ <h4>$().alert()</h4>
+ <p>Wraps all alerts with close functionality. To have your alerts animate out when closed, make sure they have the <code>.fade</code> and <code>.in</code> class already applied to them.</p>
+ <h4>.alert('close')</h4>
+ <p>Closes an alert.</p>
+ <pre class="prettyprint linenums">$(".alert").alert('close')</pre>
+
+
+ <h3>Events</h3>
+ <p>Bootstrap's alert class exposes a few events for hooking into alert functionality.</p>
+ <table class="table table-bordered table-striped">
+ <thead>
+ <tr>
+ <th style="width: 150px;">Event</th>
+ <th>Description</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>close</td>
+ <td>This event fires immediately when the <code>close</code> instance method is called.</td>
+ </tr>
+ <tr>
+ <td>closed</td>
+ <td>This event is fired when the alert has been closed (will wait for css transitions to complete).</td>
+ </tr>
+ </tbody>
+ </table>
<pre class="prettyprint linenums">
$('#my-alert').bind('closed', function () {
// do something…
-})</pre>
- </section>
+})
+</pre>
+ </section>
- <!-- Buttons
- ================================================== -->
- <section id="buttons">
- <div class="page-header">
- <h1>Buttons <small>bootstrap-button.js</small></h1>
- </div>
+ <!-- Buttons
+ ================================================== -->
+ <section id="buttons">
+ <div class="page-header">
+ <h1>Buttons <small>bootstrap-button.js</small></h1>
+ </div>
- <h2>Example uses</h2>
- <p>Do more with buttons. Control button states or create groups of buttons for more components like toolbars.</p>
+ <h2>Example uses</h2>
+ <p>Do more with buttons. Control button states or create groups of buttons for more components like toolbars.</p>
- <h4>Stateful</h4>
- <p>Add data-loading-text="Loading..." to use a loading state on a button.</p>
- <div class="bs-docs-example" style="padding-bottom: 24px;">
- <button type="button" id="fat-btn" data-loading-text="loading..." class="btn btn-primary">
- Loading state
- </button>
- </div>
+ <h4>Stateful</h4>
+ <p>Add data-loading-text="Loading..." to use a loading state on a button.</p>
+ <div class="bs-docs-example" style="padding-bottom: 24px;">
+ <button type="button" id="fat-btn" data-loading-text="loading..." class="btn btn-primary">
+ Loading state
+ </button>
+ </div>
<pre class="prettyprint linenums">
&lt;button type="button" class="btn btn-primary" data-loading-text="Loading..."&gt;Loading state&lt;/button&gt;
</pre>
- <h4>Single toggle</h4>
- <p>Add data-toggle="button" to activate toggling on a single button.</p>
- <div class="bs-docs-example" style="padding-bottom: 24px;">
- <button type="button" class="btn btn-primary" data-toggle="button">Single Toggle</button>
- </div>
+ <h4>Single toggle</h4>
+ <p>Add data-toggle="button" to activate toggling on a single button.</p>
+ <div class="bs-docs-example" style="padding-bottom: 24px;">
+ <button type="button" class="btn btn-primary" data-toggle="button">Single Toggle</button>
+ </div>
<pre class="prettyprint linenums">
&lt;button type="button" class="btn" data-toggle="button"&gt;Single Toggle&lt;/button&gt;
</pre>
- <h4>Checkbox</h4>
- <p>Add data-toggle="buttons-checkbox" for checkbox style toggling on btn-group.</p>
- <div class="bs-docs-example" style="padding-bottom: 24px;">
- <div class="btn-group" data-toggle="buttons-checkbox">
- <button type="button" class="btn btn-primary">Left</button>
- <button type="button" class="btn btn-primary">Middle</button>
- <button type="button" class="btn btn-primary">Right</button>
+ <h4>Checkbox</h4>
+ <p>Add data-toggle="buttons-checkbox" for checkbox style toggling on btn-group.</p>
+ <div class="bs-docs-example" style="padding-bottom: 24px;">
+ <div class="btn-group" data-toggle="buttons-checkbox">
+ <button type="button" class="btn btn-primary">Left</button>
+ <button type="button" class="btn btn-primary">Middle</button>
+ <button type="button" class="btn btn-primary">Right</button>
+ </div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="btn-group" data-toggle="buttons-checkbox"&gt;
&lt;button type="button" class="btn"&gt;Left&lt;/button&gt;
@@ -1126,15 +1131,15 @@ $('#my-alert').bind('closed', function () {
&lt;/div&gt;
</pre>
- <h4>Radio</h4>
- <p>Add data-toggle="buttons-radio" for radio style toggling on btn-group.</p>
- <div class="bs-docs-example" style="padding-bottom: 24px;">
- <div class="btn-group" data-toggle="buttons-radio">
- <button type="button" class="btn btn-primary">Left</button>
- <button type="button" class="btn btn-primary">Middle</button>
- <button type="button" class="btn btn-primary">Right</button>
+ <h4>Radio</h4>
+ <p>Add data-toggle="buttons-radio" for radio style toggling on btn-group.</p>
+ <div class="bs-docs-example" style="padding-bottom: 24px;">
+ <div class="btn-group" data-toggle="buttons-radio">
+ <button type="button" class="btn btn-primary">Left</button>
+ <button type="button" class="btn btn-primary">Middle</button>
+ <button type="button" class="btn btn-primary">Right</button>
+ </div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="btn-group" data-toggle="buttons-radio"&gt;
&lt;button type="button" class="btn"&gt;Left&lt;/button&gt;
@@ -1144,101 +1149,101 @@ $('#my-alert').bind('closed', function () {
</pre>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h2>Usage</h2>
- <p>Enable buttons via javascript:</p>
- <pre class="prettyprint linenums">$('.nav-tabs').button()</pre>
+ <h2>Usage</h2>
+ <p>Enable buttons via javascript:</p>
+ <pre class="prettyprint linenums">$('.nav-tabs').button()</pre>
- <h3>Markup</h3>
- <p>Data attributes are integral to the button plugin. Check out the example code below for the various markup types.</p>
+ <h3>Markup</h3>
+ <p>Data attributes are integral to the button plugin. Check out the example code below for the various markup types.</p>
- <h3>Options</h3>
- <p><em>None</em></p>
+ <h3>Options</h3>
+ <p><em>None</em></p>
- <h3>Methods</h3>
- <h4>$().button('toggle')</h4>
- <p>Toggles push state. Gives the button the appearance that it has been activated.</p>
- <div class="alert alert-info">
- <strong>Heads up!</strong>
- You can enable auto toggling of a button by using the <code>data-toggle</code> attribute.
- </div>
- <pre class="prettyprint linenums">&lt;button type="button" class="btn" data-toggle="button" &gt;…&lt;/button&gt;</pre>
- <h4>$().button('loading')</h4>
- <p>Sets button state to loading - disables button and swaps text to loading text. Loading text should be defined on the button element using the data attribute <code>data-loading-text</code>.
- </p>
- <pre class="prettyprint linenums">&lt;button type="button" class="btn" data-loading-text="loading stuff..." &gt;...&lt;/button&gt;</pre>
- <div class="alert alert-info">
- <strong>Heads up!</strong>
- <a href="https://github.com/twitter/bootstrap/issues/793">Firefox persists the disabled state across page loads</a>. A workaround for this is to use <code>autocomplete="off"</code>.
- </div>
- <h4>$().button('reset')</h4>
- <p>Resets button state - swaps text to original text.</p>
- <h4>$().button(string)</h4>
- <p>Resets button state - swaps text to any data defined text state.</p>
+ <h3>Methods</h3>
+ <h4>$().button('toggle')</h4>
+ <p>Toggles push state. Gives the button the appearance that it has been activated.</p>
+ <div class="alert alert-info">
+ <strong>Heads up!</strong>
+ You can enable auto toggling of a button by using the <code>data-toggle</code> attribute.
+ </div>
+ <pre class="prettyprint linenums">&lt;button type="button" class="btn" data-toggle="button" &gt;…&lt;/button&gt;</pre>
+ <h4>$().button('loading')</h4>
+ <p>Sets button state to loading - disables button and swaps text to loading text. Loading text should be defined on the button element using the data attribute <code>data-loading-text</code>.
+ </p>
+ <pre class="prettyprint linenums">&lt;button type="button" class="btn" data-loading-text="loading stuff..." &gt;...&lt;/button&gt;</pre>
+ <div class="alert alert-info">
+ <strong>Heads up!</strong>
+ <a href="https://github.com/twitter/bootstrap/issues/793">Firefox persists the disabled state across page loads</a>. A workaround for this is to use <code>autocomplete="off"</code>.
+ </div>
+ <h4>$().button('reset')</h4>
+ <p>Resets button state - swaps text to original text.</p>
+ <h4>$().button(string)</h4>
+ <p>Resets button state - swaps text to any data defined text state.</p>
<pre class="prettyprint linenums">&lt;button type="button" class="btn" data-complete-text="finished!" &gt;...&lt;/button&gt;
&lt;script&gt;
$('.btn').button('complete')
&lt;/script&gt;</pre>
- </section>
+ </section>
- <!-- Collapse
- ================================================== -->
- <section id="collapse">
- <div class="page-header">
- <h1>Collapse <small>bootstrap-collapse.js</small></h1>
- </div>
+ <!-- Collapse
+ ================================================== -->
+ <section id="collapse">
+ <div class="page-header">
+ <h1>Collapse <small>bootstrap-collapse.js</small></h1>
+ </div>
- <h3>About</h3>
- <p>Get base styles and flexible support for collapsible components like accordions and navigation.</p>
- <p class="muted"><strong>*</strong> Requires the Transitions plugin to be included.</p>
+ <h3>About</h3>
+ <p>Get base styles and flexible support for collapsible components like accordions and navigation.</p>
+ <p class="muted"><strong>*</strong> Requires the Transitions plugin to be included.</p>
- <h2>Example accordion</h2>
- <p>Using the collapse plugin, we built a simple accordion style widget:</p>
+ <h2>Example accordion</h2>
+ <p>Using the collapse plugin, we built a simple accordion style widget:</p>
- <div class="bs-docs-example">
- <div class="accordion" id="accordion2">
- <div class="accordion-group">
- <div class="accordion-heading">
- <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseOne">
- Collapsible Group Item #1
- </a>
- </div>
- <div id="collapseOne" class="accordion-body collapse in">
- <div class="accordion-inner">
- Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
+ <div class="bs-docs-example">
+ <div class="accordion" id="accordion2">
+ <div class="accordion-group">
+ <div class="accordion-heading">
+ <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseOne">
+ Collapsible Group Item #1
+ </a>
</div>
- </div>
- </div>
- <div class="accordion-group">
- <div class="accordion-heading">
- <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseTwo">
- Collapsible Group Item #2
- </a>
- </div>
- <div id="collapseTwo" class="accordion-body collapse">
- <div class="accordion-inner">
- Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
+ <div id="collapseOne" class="accordion-body collapse in">
+ <div class="accordion-inner">
+ Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
+ </div>
</div>
</div>
- </div>
- <div class="accordion-group">
- <div class="accordion-heading">
- <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseThree">
- Collapsible Group Item #3
- </a>
+ <div class="accordion-group">
+ <div class="accordion-heading">
+ <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseTwo">
+ Collapsible Group Item #2
+ </a>
+ </div>
+ <div id="collapseTwo" class="accordion-body collapse">
+ <div class="accordion-inner">
+ Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
+ </div>
+ </div>
</div>
- <div id="collapseThree" class="accordion-body collapse">
- <div class="accordion-inner">
- Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
+ <div class="accordion-group">
+ <div class="accordion-heading">
+ <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseThree">
+ Collapsible Group Item #3
+ </a>
+ </div>
+ <div id="collapseThree" class="accordion-body collapse">
+ <div class="accordion-inner">
+ Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
+ </div>
</div>
</div>
</div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;button type="button" class="btn btn-danger" data-toggle="collapse" data-target="#demo"&gt;
simple collapsible
@@ -1248,137 +1253,137 @@ $('#my-alert').bind('closed', function () {
</pre>
- <hr class="bs-docs-separator">
-
-
- <h2>Usage</h2>
-
- <h3>Via data attributes</h3>
- <p>Just add <code>data-toggle="collapse"</code> and a <code>data-target</code> to element to automatically assign control of a collapsible element. The <code>data-target</code> attribute accepts a css selector to apply the collapse to. Be sure to add the class <code>collapse</code> to the collapsible element. If you'd like it to default open, add the additional class <code>in</code>.</p>
- <p>To add accordion-like group management to a collapsible control, add the data attribute <code>data-parent="#selector"</code>. Refer to the demo to see this in action.</p>
-
- <h3>Via javascript</h3>
- <p>Enable manually with:</p>
- <pre class="prettyprint linenums">$(".collapse").collapse()</pre>
-
- <h3>Options</h3>
- <p>Options can be passed via data attributes or javascript. For data attributes, append the option name to <code>data-</code>, as in <code>data-parent=""</code>.</p>
- <table class="table table-bordered table-striped">
- <thead>
- <tr>
- <th style="width: 100px;">Name</th>
- <th style="width: 50px;">type</th>
- <th style="width: 50px;">default</th>
- <th>description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>parent</td>
- <td>selector</td>
- <td>false</td>
- <td>If selector then all collapsible elements under the specified parent will be closed when this collapsible item is shown. (similar to traditional accordion behavior)</td>
- </tr>
- <tr>
- <td>toggle</td>
- <td>boolean</td>
- <td>true</td>
- <td>Toggles the collapsible element on invocation</td>
- </tr>
- </tbody>
- </table>
-
-
- <h3>Methods</h3>
- <h4>.collapse(options)</h4>
- <p>Activates your content as a collapsible element. Accepts an optional options <code>object</code>.
+ <hr class="bs-docs-separator">
+
+
+ <h2>Usage</h2>
+
+ <h3>Via data attributes</h3>
+ <p>Just add <code>data-toggle="collapse"</code> and a <code>data-target</code> to element to automatically assign control of a collapsible element. The <code>data-target</code> attribute accepts a css selector to apply the collapse to. Be sure to add the class <code>collapse</code> to the collapsible element. If you'd like it to default open, add the additional class <code>in</code>.</p>
+ <p>To add accordion-like group management to a collapsible control, add the data attribute <code>data-parent="#selector"</code>. Refer to the demo to see this in action.</p>
+
+ <h3>Via javascript</h3>
+ <p>Enable manually with:</p>
+ <pre class="prettyprint linenums">$(".collapse").collapse()</pre>
+
+ <h3>Options</h3>
+ <p>Options can be passed via data attributes or javascript. For data attributes, append the option name to <code>data-</code>, as in <code>data-parent=""</code>.</p>
+ <table class="table table-bordered table-striped">
+ <thead>
+ <tr>
+ <th style="width: 100px;">Name</th>
+ <th style="width: 50px;">type</th>
+ <th style="width: 50px;">default</th>
+ <th>description</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>parent</td>
+ <td>selector</td>
+ <td>false</td>
+ <td>If selector then all collapsible elements under the specified parent will be closed when this collapsible item is shown. (similar to traditional accordion behavior)</td>
+ </tr>
+ <tr>
+ <td>toggle</td>
+ <td>boolean</td>
+ <td>true</td>
+ <td>Toggles the collapsible element on invocation</td>
+ </tr>
+ </tbody>
+ </table>
+
+
+ <h3>Methods</h3>
+ <h4>.collapse(options)</h4>
+ <p>Activates your content as a collapsible element. Accepts an optional options <code>object</code>.
<pre class="prettyprint linenums">
$('#myCollapsible').collapse({
toggle: false
})</pre>
- <h4>.collapse('toggle')</h4>
- <p>Toggles a collapsible element to shown or hidden.</p>
- <h4>.collapse('show')</h4>
- <p>Shows a collapsible element.</p>
- <h4>.collapse('hide')</h4>
- <p>Hides a collapsible element.</p>
-
- <h3>Events</h3>
- <p>Bootstrap's collapse class exposes a few events for hooking into collapse functionality.</p>
- <table class="table table-bordered table-striped">
- <thead>
- <tr>
- <th style="width: 150px;">Event</th>
- <th>Description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>show</td>
- <td>This event fires immediately when the <code>show</code> instance method is called.</td>
- </tr>
- <tr>
- <td>shown</td>
- <td>This event is fired when a collapse element has been made visible to the user (will wait for css transitions to complete).</td>
- </tr>
- <tr>
- <td>hide</td>
- <td>
- This event is fired immediately when the <code>hide</code> method has been called.
- </td>
- </tr>
- <tr>
- <td>hidden</td>
- <td>This event is fired when a collapse element has been hidden from the user (will wait for css transitions to complete).</td>
- </tr>
- </tbody>
- </table>
+ <h4>.collapse('toggle')</h4>
+ <p>Toggles a collapsible element to shown or hidden.</p>
+ <h4>.collapse('show')</h4>
+ <p>Shows a collapsible element.</p>
+ <h4>.collapse('hide')</h4>
+ <p>Hides a collapsible element.</p>
+
+ <h3>Events</h3>
+ <p>Bootstrap's collapse class exposes a few events for hooking into collapse functionality.</p>
+ <table class="table table-bordered table-striped">
+ <thead>
+ <tr>
+ <th style="width: 150px;">Event</th>
+ <th>Description</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>show</td>
+ <td>This event fires immediately when the <code>show</code> instance method is called.</td>
+ </tr>
+ <tr>
+ <td>shown</td>
+ <td>This event is fired when a collapse element has been made visible to the user (will wait for css transitions to complete).</td>
+ </tr>
+ <tr>
+ <td>hide</td>
+ <td>
+ This event is fired immediately when the <code>hide</code> method has been called.
+ </td>
+ </tr>
+ <tr>
+ <td>hidden</td>
+ <td>This event is fired when a collapse element has been hidden from the user (will wait for css transitions to complete).</td>
+ </tr>
+ </tbody>
+ </table>
<pre class="prettyprint linenums">
$('#myCollapsible').on('hidden', function () {
// do something…
})</pre>
- </section>
+ </section>
- <!-- Carousel
- ================================================== -->
- <section id="carousel">
- <div class="page-header">
- <h1>Carousel <small>bootstrap-carousel.js</small></h1>
- </div>
+ <!-- Carousel
+ ================================================== -->
+ <section id="carousel">
+ <div class="page-header">
+ <h1>Carousel <small>bootstrap-carousel.js</small></h1>
+ </div>
- <h2>Example carousel</h2>
- <p>The slideshow below shows a generic plugin and component for cycling through elements like a carousel.</p>
- <div class="bs-docs-example">
- <div id="myCarousel" class="carousel slide">
- <div class="carousel-inner">
- <div class="item active">
- <img src="assets/img/bootstrap-mdo-sfmoma-01.jpg" alt="">
- <div class="carousel-caption">
- <h4>First Thumbnail label</h4>
- <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
+ <h2>Example carousel</h2>
+ <p>The slideshow below shows a generic plugin and component for cycling through elements like a carousel.</p>
+ <div class="bs-docs-example">
+ <div id="myCarousel" class="carousel slide">
+ <div class="carousel-inner">
+ <div class="item active">
+ <img src="assets/img/bootstrap-mdo-sfmoma-01.jpg" alt="">
+ <div class="carousel-caption">
+ <h4>First Thumbnail label</h4>
+ <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
+ </div>
</div>
- </div>
- <div class="item">
- <img src="assets/img/bootstrap-mdo-sfmoma-02.jpg" alt="">
- <div class="carousel-caption">
- <h4>Second Thumbnail label</h4>
- <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
+ <div class="item">
+ <img src="assets/img/bootstrap-mdo-sfmoma-02.jpg" alt="">
+ <div class="carousel-caption">
+ <h4>Second Thumbnail label</h4>
+ <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
+ </div>
</div>
- </div>
- <div class="item">
- <img src="assets/img/bootstrap-mdo-sfmoma-03.jpg" alt="">
- <div class="carousel-caption">
- <h4>Third Thumbnail label</h4>
- <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
+ <div class="item">
+ <img src="assets/img/bootstrap-mdo-sfmoma-03.jpg" alt="">
+ <div class="carousel-caption">
+ <h4>Third Thumbnail label</h4>
+ <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
+ </div>
</div>
</div>
+ <a class="left carousel-control" href="#myCarousel" data-slide="prev">&lsaquo;</a>
+ <a class="right carousel-control" href="#myCarousel" data-slide="next">&rsaquo;</a>
</div>
- <a class="left carousel-control" href="#myCarousel" data-slide="prev">&lsaquo;</a>
- <a class="right carousel-control" href="#myCarousel" data-slide="next">&rsaquo;</a>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div id="myCarousel" class="carousel slide"&gt;
&lt;!-- Carousel items --&gt;
@@ -1393,202 +1398,202 @@ $('#myCollapsible').on('hidden', function () {
&lt;/div&gt;
</pre>
- <div class="alert alert-warning">
- <strong>Heads up!</strong>
- When implementing this carousel, remove the images we have provided and replace them with your own.
- </div>
+ <div class="alert alert-warning">
+ <strong>Heads up!</strong>
+ When implementing this carousel, remove the images we have provided and replace them with your own.
+ </div>
- <hr class="bs-docs-separator">
-
-
- <h2>Usage</h2>
-
- <h3>Via data attributes</h3>
- <p>...</p>
-
- <h3>Via javascript</h3>
- <p>Call carousel manually with:</p>
- <pre class="prettyprint linenums">$('.carousel').carousel()</pre>
-
- <h3>Options</h3>
- <p>Options can be passed via data attributes or javascript. For data attributes, append the option name to <code>data-</code>, as in <code>data-interval=""</code>.</p>
- <table class="table table-bordered table-striped">
- <thead>
- <tr>
- <th style="width: 100px;">Name</th>
- <th style="width: 50px;">type</th>
- <th style="width: 50px;">default</th>
- <th>description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>interval</td>
- <td>number</td>
- <td>5000</td>
- <td>The amount of time to delay between automatically cycling an item. If false, carousel will not automatically cycle.</td>
- </tr>
- <tr>
- <td>pause</td>
- <td>string</td>
- <td>"hover"</td>
- <td>Pauses the cycling of the carousel on mouseenter and resumes the cycling of the carousel on mouseleave.</td>
- </tr>
- </tbody>
- </table>
-
- <h3>Methods</h3>
- <h4>.carousel(options)</h4>
- <p>Initializes the carousel with an optional options <code>object</code> and starts cycling through items.</p>
+ <hr class="bs-docs-separator">
+
+
+ <h2>Usage</h2>
+
+ <h3>Via data attributes</h3>
+ <p>...</p>
+
+ <h3>Via javascript</h3>
+ <p>Call carousel manually with:</p>
+ <pre class="prettyprint linenums">$('.carousel').carousel()</pre>
+
+ <h3>Options</h3>
+ <p>Options can be passed via data attributes or javascript. For data attributes, append the option name to <code>data-</code>, as in <code>data-interval=""</code>.</p>
+ <table class="table table-bordered table-striped">
+ <thead>
+ <tr>
+ <th style="width: 100px;">Name</th>
+ <th style="width: 50px;">type</th>
+ <th style="width: 50px;">default</th>
+ <th>description</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>interval</td>
+ <td>number</td>
+ <td>5000</td>
+ <td>The amount of time to delay between automatically cycling an item. If false, carousel will not automatically cycle.</td>
+ </tr>
+ <tr>
+ <td>pause</td>
+ <td>string</td>
+ <td>"hover"</td>
+ <td>Pauses the cycling of the carousel on mouseenter and resumes the cycling of the carousel on mouseleave.</td>
+ </tr>
+ </tbody>
+ </table>
+
+ <h3>Methods</h3>
+ <h4>.carousel(options)</h4>
+ <p>Initializes the carousel with an optional options <code>object</code> and starts cycling through items.</p>
<pre class="prettyprint linenums">
$('.carousel').carousel({
interval: 2000
})
</pre>
- <h4>.carousel('cycle')</h4>
- <p>Cycles through the carousel items from left to right.</p>
- <h4>.carousel('pause')</h4>
- <p>Stops the carousel from cycling through items.</p>
- <h4>.carousel(number)</h4>
- <p>Cycles the carousel to a particular frame (0 based, similar to an array).</p>
- <h4>.carousel('prev')</h4>
- <p>Cycles to the previous item.</p>
- <h4>.carousel('next')</h4>
- <p>Cycles to the next item.</p>
-
- <h3>Events</h3>
- <p>Bootstrap's carousel class exposes two events for hooking into carousel functionality.</p>
- <table class="table table-bordered table-striped">
- <thead>
- <tr>
- <th style="width: 150px;">Event</th>
- <th>Description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>slide</td>
- <td>This event fires immediately when the <code>slide</code> instance method is invoked.</td>
- </tr>
- <tr>
- <td>slid</td>
- <td>This event is fired when the carousel has completed its slide transition.</td>
- </tr>
- </tbody>
- </table>
- </section>
-
-
-
- <!-- Typeahead
- ================================================== -->
- <section id="typeahead">
- <div class="page-header">
- <h1>Typeahead <small>bootstrap-typeahead.js</small></h1>
- </div>
+ <h4>.carousel('cycle')</h4>
+ <p>Cycles through the carousel items from left to right.</p>
+ <h4>.carousel('pause')</h4>
+ <p>Stops the carousel from cycling through items.</p>
+ <h4>.carousel(number)</h4>
+ <p>Cycles the carousel to a particular frame (0 based, similar to an array).</p>
+ <h4>.carousel('prev')</h4>
+ <p>Cycles to the previous item.</p>
+ <h4>.carousel('next')</h4>
+ <p>Cycles to the next item.</p>
+
+ <h3>Events</h3>
+ <p>Bootstrap's carousel class exposes two events for hooking into carousel functionality.</p>
+ <table class="table table-bordered table-striped">
+ <thead>
+ <tr>
+ <th style="width: 150px;">Event</th>
+ <th>Description</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>slide</td>
+ <td>This event fires immediately when the <code>slide</code> instance method is invoked.</td>
+ </tr>
+ <tr>
+ <td>slid</td>
+ <td>This event is fired when the carousel has completed its slide transition.</td>
+ </tr>
+ </tbody>
+ </table>
+ </section>
+
+
+
+ <!-- Typeahead
+ ================================================== -->
+ <section id="typeahead">
+ <div class="page-header">
+ <h1>Typeahead <small>bootstrap-typeahead.js</small></h1>
+ </div>
- <h2>Example</h2>
- <p>A basic, easily extended plugin for quickly creating elegant typeaheads with any form text input.</p>
- <div class="bs-docs-example" style="background-color: #f5f5f5;">
- <input type="text" class="span3" style="margin: 0 auto;" data-provide="typeahead" data-items="4" data-source='["Alabama","Alaska","Arizona","Arkansas","California","Colorado","Connecticut","Delaware","Florida","Georgia","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New Hampshire","New Jersey","New Mexico","New York","North Dakota","North Carolina","Ohio","Oklahoma","Oregon","Pennsylvania","Rhode Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont","Virginia","Washington","West Virginia","Wisconsin","Wyoming"]'>
- </div>
+ <h2>Example</h2>
+ <p>A basic, easily extended plugin for quickly creating elegant typeaheads with any form text input.</p>
+ <div class="bs-docs-example" style="background-color: #f5f5f5;">
+ <input type="text" class="span3" style="margin: 0 auto;" data-provide="typeahead" data-items="4" data-source='["Alabama","Alaska","Arizona","Arkansas","California","Colorado","Connecticut","Delaware","Florida","Georgia","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New Hampshire","New Jersey","New Mexico","New York","North Dakota","North Carolina","Ohio","Oklahoma","Oregon","Pennsylvania","Rhode Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont","Virginia","Washington","West Virginia","Wisconsin","Wyoming"]'>
+ </div>
<pre class="prettyprint linenums">
&lt;input type="text" data-provide="typeahead"&gt;
</pre>
- <hr class="bs-docs-separator">
-
-
- <h2>Usage</h2>
-
- <h3>Via data attributes</h3>
- <p>Add data attributes to register an element with typeahead functionality as shown in the example above.</p>
-
- <h3>Via javascript</h3>
- <p>Call the typeahead manually with:</p>
- <pre class="prettyprint linenums">$('.typeahead').typeahead()</pre>
-
- <h3>Options</h3>
- <p>Options can be passed via data attributes or javascript. For data attributes, append the option name to <code>data-</code>, as in <code>data-source=""</code>.</p>
- <table class="table table-bordered table-striped">
- <thead>
- <tr>
- <th style="width: 100px;">Name</th>
- <th style="width: 50px;">type</th>
- <th style="width: 100px;">default</th>
- <th>description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>source</td>
- <td>array, function</td>
- <td>[ ]</td>
- <td>The data source to query against. May be an array of strings or a function. The function is passed two arguments, the <code>query</code> value in the input field and the <code>process</code> callback. The function may be used synchronously by returning the data source directly or asynchronously via the <code>process</code> callback's single argument.</td>
- </tr>
- <tr>
- <td>items</td>
- <td>number</td>
- <td>8</td>
- <td>The max number of items to display in the dropdown.</td>
- </tr>
- <tr>
- <td>matcher</td>
- <td>function</td>
- <td>case insensitive</td>
- <td>The method used to determine if a query matches an item. Accepts a single argument, the <code>item</code> against which to test the query. Access the current query with <code>this.query</code>. Return a boolean <code>true</code> if query is a match.</td>
- </tr>
- <tr>
- <td>sorter</td>
- <td>function</td>
- <td>exact match,<br> case sensitive,<br> case insensitive</td>
- <td>Method used to sort autocomplete results. Accepts a single argument <code>items</code> and has the scope of the typeahead instance. Reference the current query with <code>this.query</code>.</td>
- </tr>
- <tr>
- <td>highlighter</td>
- <td>function</td>
- <td>highlights all default matches</td>
- <td>Method used to highlight autocomplete results. Accepts a single argument <code>item</code> and has the scope of the typeahead instance. Should return html.</td>
- </tr>
- </tbody>
- </table>
-
- <h3>Methods</h3>
- <h4>.typeahead(options)</h4>
- <p>Initializes an input with a typeahead.</p>
- </section>
-
-
-
- <!-- Affix
- ================================================== -->
- <section id="affix">
- <div class="page-header">
- <h1>
- Affix
- <small>Make an element stick in place</small>
- </h1>
- </div>
+ <hr class="bs-docs-separator">
+
+
+ <h2>Usage</h2>
+
+ <h3>Via data attributes</h3>
+ <p>Add data attributes to register an element with typeahead functionality as shown in the example above.</p>
+
+ <h3>Via javascript</h3>
+ <p>Call the typeahead manually with:</p>
+ <pre class="prettyprint linenums">$('.typeahead').typeahead()</pre>
+
+ <h3>Options</h3>
+ <p>Options can be passed via data attributes or javascript. For data attributes, append the option name to <code>data-</code>, as in <code>data-source=""</code>.</p>
+ <table class="table table-bordered table-striped">
+ <thead>
+ <tr>
+ <th style="width: 100px;">Name</th>
+ <th style="width: 50px;">type</th>
+ <th style="width: 100px;">default</th>
+ <th>description</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>source</td>
+ <td>array, function</td>
+ <td>[ ]</td>
+ <td>The data source to query against. May be an array of strings or a function. The function is passed two arguments, the <code>query</code> value in the input field and the <code>process</code> callback. The function may be used synchronously by returning the data source directly or asynchronously via the <code>process</code> callback's single argument.</td>
+ </tr>
+ <tr>
+ <td>items</td>
+ <td>number</td>
+ <td>8</td>
+ <td>The max number of items to display in the dropdown.</td>
+ </tr>
+ <tr>
+ <td>matcher</td>
+ <td>function</td>
+ <td>case insensitive</td>
+ <td>The method used to determine if a query matches an item. Accepts a single argument, the <code>item</code> against which to test the query. Access the current query with <code>this.query</code>. Return a boolean <code>true</code> if query is a match.</td>
+ </tr>
+ <tr>
+ <td>sorter</td>
+ <td>function</td>
+ <td>exact match,<br> case sensitive,<br> case insensitive</td>
+ <td>Method used to sort autocomplete results. Accepts a single argument <code>items</code> and has the scope of the typeahead instance. Reference the current query with <code>this.query</code>.</td>
+ </tr>
+ <tr>
+ <td>highlighter</td>
+ <td>function</td>
+ <td>highlights all default matches</td>
+ <td>Method used to highlight autocomplete results. Accepts a single argument <code>item</code> and has the scope of the typeahead instance. Should return html.</td>
+ </tr>
+ </tbody>
+ </table>
+
+ <h3>Methods</h3>
+ <h4>.typeahead(options)</h4>
+ <p>Initializes an input with a typeahead.</p>
+ </section>
+
+
+
+ <!-- Affix
+ ================================================== -->
+ <section id="affix">
+ <div class="page-header">
+ <h1>
+ Affix
+ <small>Make an element stick in place</small>
+ </h1>
+ </div>
- <h2>...</h2>
- <p>...</p>
- <div class="bs-docs-example">
+ <h2>...</h2>
+ <p>...</p>
+ <div class="bs-docs-example">
- </div>
+ </div>
<pre class="prettyprint linenums">
...
</pre>
- </section>
+ </section>
+ </div>
</div>
-</div>
- </div>
+</div>
diff --git a/docs/scaffolding.html b/docs/scaffolding.html
index 0a94cf49a1..ca94d8a542 100644
--- a/docs/scaffolding.html
+++ b/docs/scaffolding.html
@@ -66,43 +66,44 @@
</div>
</div>
- <div class="container">
-
<!-- Subhead
================================================== -->
<header class="jumbotron subhead" id="overview">
- <h1>Scaffolding</h1>
- <p class="lead">Bootstrap is built on a responsive 12-column grid. We've also included fixed- and fluid-width layouts based on that system.</p>
+ <div class="container">
+ <h1>Scaffolding</h1>
+ <p class="lead">Bootstrap is built on a responsive 12-column grid and includes fixed- and fluid-width layouts.</p>
+ </div>
</header>
+<div class="container">
-<!-- Docs nav
-================================================== -->
-<div class="row">
- <div class="span3 bs-docs-sidebar">
- <ul class="nav nav-list bs-docs-sidenav">
- <li><a href="#global">Global styles <i class="icon-chevron-right"></i></a></li>
- <li><a href="#gridSystem">Grid system <i class="icon-chevron-right"></i></a></li>
- <li><a href="#fluidGridSystem">Fluid grid system <i class="icon-chevron-right"></i></a></li>
- <li><a href="#gridCustomization">Customizing <i class="icon-chevron-right"></i></a></li>
- <li><a href="#layouts">Layouts <i class="icon-chevron-right"></i></a></li>
- <li><a href="#responsive">Responsive design <i class="icon-chevron-right"></i></a></li>
- </ul>
- </div>
- <div class="span9">
+ <!-- Docs nav
+ ================================================== -->
+ <div class="row">
+ <div class="span3 bs-docs-sidebar">
+ <ul class="nav nav-list bs-docs-sidenav">
+ <li><a href="#global">Global styles <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#gridSystem">Grid system <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#fluidGridSystem">Fluid grid system <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#layouts">Layouts <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#responsive">Responsive design <i class="icon-chevron-right"></i></a></li>
+ </ul>
+ </div>
+ <div class="span9">
- <!-- Global Bootstrap settings
- ================================================== -->
- <section id="global">
- <div class="page-header">
- <h1>Global styles <small>for CSS reset, typography, and links</small></h1>
- </div>
- <h2>Requires HTML5 doctype</h2>
- <p>Bootstrap makes use of certain HTML elements and CSS properties that require the use of the HTML5 doctype. Include it at the beginning of all your projects.</p>
+ <!-- Global Bootstrap settings
+ ================================================== -->
+ <section id="global">
+ <div class="page-header">
+ <h1>Global styles <small>for CSS reset, typography, and links</small></h1>
+ </div>
+
+ <h3>Requires HTML5 doctype</h3>
+ <p>Bootstrap makes use of certain HTML elements and CSS properties that require the use of the HTML5 doctype. Include it at the beginning of all your projects.</p>
<pre class="prettyprint linenums">
&lt;!DOCTYPE html&gt;
&lt;html lang="en"&gt;
@@ -110,84 +111,84 @@
&lt;/html&gt;
</pre>
- <h2>Typography and links</h2>
- <p>Bootstrap sets basic global display, typography, and link styles. Specifically, we:</p>
- <ul>
- <li>Remove <code>margin</code> on the body</li>
- <li>Set <code>background-color: white;</code> on the <code>body</code></li>
- <li>Use the <code>@baseFontFamily</code>, <code>@baseFontSize</code>, and <code>@baseLineHeight</code> attributes as our typographyic base</li>
- <li>Set the global link color via <code>@linkColor</code> and apply link underlines only on <code>:hover</code></li>
- </ul>
- <p>These styles can be found within <strong>scaffolding.less</strong>.</p>
-
- <h2>Reset via Normalize</h2>
- <p>With Bootstrap 2, the old reset block has been dropped in favor of <a href="http://necolas.github.com/normalize.css/" target="_blank">Normalize.css</a>, a project by <a href="http://twitter.com/necolas" target="_blank">Nicolas Gallagher</a> that also powers the <a href="http://html5boilerplate.com" target="_blank">HTML5 Boilerplate</a>. While we use much of Normalize within our <strong>reset.less</strong>, we have removed some elements specifically for Bootstrap.</p>
+ <h3>Typography and links</h3>
+ <p>Bootstrap sets basic global display, typography, and link styles. Specifically, we:</p>
+ <ul>
+ <li>Remove <code>margin</code> on the body</li>
+ <li>Set <code>background-color: white;</code> on the <code>body</code></li>
+ <li>Use the <code>@baseFontFamily</code>, <code>@baseFontSize</code>, and <code>@baseLineHeight</code> attributes as our typographyic base</li>
+ <li>Set the global link color via <code>@linkColor</code> and apply link underlines only on <code>:hover</code></li>
+ </ul>
+ <p>These styles can be found within <strong>scaffolding.less</strong>.</p>
- </section>
+ <h3>Reset via Normalize</h3>
+ <p>With Bootstrap 2, the old reset block has been dropped in favor of <a href="http://necolas.github.com/normalize.css/" target="_blank">Normalize.css</a>, a project by <a href="http://twitter.com/necolas" target="_blank">Nicolas Gallagher</a> that also powers the <a href="http://html5boilerplate.com" target="_blank">HTML5 Boilerplate</a>. While we use much of Normalize within our <strong>reset.less</strong>, we have removed some elements specifically for Bootstrap.</p>
+ </section>
- <!-- Grid system
- ================================================== -->
- <section id="gridSystem">
- <div class="page-header">
- <h1>Default grid system <small>12 columns with a responsive twist</small></h1>
- </div>
- <h2>Live grid example</h2>
- <p>The default Bootstrap grid system utilizes <strong>12 columns</strong>, making for a 940px wide container without <a href="#responsive">responsive features</a> enabled. With the responsive CSS file added, the grid adapts to be 724px and 1170px wide depending on your viewport. Below 767px viewports, the columns become fluid and stack vertically.</p>
- <div class="bs-docs-grid">
- <div class="row show-grid">
- <div class="span1">1</div>
- <div class="span1">1</div>
- <div class="span1">1</div>
- <div class="span1">1</div>
- <div class="span1">1</div>
- <div class="span1">1</div>
- <div class="span1">1</div>
- <div class="span1">1</div>
- <div class="span1">1</div>
- </div>
- <div class="row show-grid">
- <div class="span2">2</div>
- <div class="span3">3</div>
- <div class="span4">4</div>
- </div>
- <div class="row show-grid">
- <div class="span4">4</div>
- <div class="span5">5</div>
+ <!-- Grid system
+ ================================================== -->
+ <section id="gridSystem">
+ <div class="page-header">
+ <h1>Default grid system <small>12 columns with a responsive twist</small></h1>
</div>
- <div class="row show-grid">
- <div class="span9">9</div>
+
+ <h2>Live grid example</h2>
+ <p>The default Bootstrap grid system utilizes <strong>12 columns</strong>, making for a 940px wide container without <a href="#responsive">responsive features</a> enabled. With the responsive CSS file added, the grid adapts to be 724px and 1170px wide depending on your viewport. Below 767px viewports, the columns become fluid and stack vertically.</p>
+ <div class="bs-docs-grid">
+ <div class="row show-grid">
+ <div class="span1">1</div>
+ <div class="span1">1</div>
+ <div class="span1">1</div>
+ <div class="span1">1</div>
+ <div class="span1">1</div>
+ <div class="span1">1</div>
+ <div class="span1">1</div>
+ <div class="span1">1</div>
+ <div class="span1">1</div>
+ </div>
+ <div class="row show-grid">
+ <div class="span2">2</div>
+ <div class="span3">3</div>
+ <div class="span4">4</div>
+ </div>
+ <div class="row show-grid">
+ <div class="span4">4</div>
+ <div class="span5">5</div>
+ </div>
+ <div class="row show-grid">
+ <div class="span9">9</div>
+ </div>
</div>
- </div>
- <h3>Basic grid HTML</h3>
- <p>For a simple two column layout, create a <code>.row</code> and add the appropriate number of <code>.span*</code> columns. As this is a 12-column grid, each <code>.span*</code> spans a number of those 12 columns, and should always add up to 12 for each row.</p>
+ <h3>Basic grid HTML</h3>
+ <p>For a simple two column layout, create a <code>.row</code> and add the appropriate number of <code>.span*</code> columns. As this is a 12-column grid, each <code>.span*</code> spans a number of those 12 columns, and should always add up to 12 for each row.</p>
<pre class="prettyprint linenums">
&lt;div class="row"&gt;
&lt;div class="span4"&gt;...&lt;/div&gt;
&lt;div class="span8"&gt;...&lt;/div&gt;
&lt;/div&gt;
</pre>
- <p>Given this example, we have <code>.span4</code> and <code>.span8</code>, making for 12 total columns and a complete row.</p>
-
- <h2>Offsetting columns</h2>
- <p>Move columns to the left using <code>.offset*</code> classes. Each class increases the left margin of a column by a whole column. For example, <code>.offset4</code> moves <code>.span4</code> over four columns.</p>
- <div class="bs-docs-grid">
- <div class="row show-grid">
- <div class="span4">4</div>
- <div class="span3 offset2">3 offset 2</div>
- </div><!-- /row -->
- <div class="row show-grid">
- <div class="span3 offset1">3 offset 1</div>
- <div class="span3 offset2">3 offset 2</div>
- </div><!-- /row -->
- <div class="row show-grid">
- <div class="span6 offset3">6 offset 3</div>
- </div><!-- /row -->
- </div>
+ <p>Given this example, we have <code>.span4</code> and <code>.span8</code>, making for 12 total columns and a complete row.</p>
+
+ <h2>Offsetting columns</h2>
+ <p>Move columns to the left using <code>.offset*</code> classes. Each class increases the left margin of a column by a whole column. For example, <code>.offset4</code> moves <code>.span4</code> over four columns.</p>
+ <div class="bs-docs-grid">
+ <div class="row show-grid">
+ <div class="span4">4</div>
+ <div class="span3 offset2">3 offset 2</div>
+ </div><!-- /row -->
+ <div class="row show-grid">
+ <div class="span3 offset1">3 offset 1</div>
+ <div class="span3 offset2">3 offset 2</div>
+ </div><!-- /row -->
+ <div class="row show-grid">
+ <div class="span6 offset3">6 offset 3</div>
+ </div><!-- /row -->
+ </div>
<pre class="prettyprint linenums">
&lt;div class="row"&gt;
&lt;div class="span4"&gt;...&lt;/div&gt;
@@ -195,23 +196,23 @@
&lt;/div&gt;
</pre>
- <h2>Nesting columns</h2>
- <p>To nest your content with the default grid, add a new <code>.row</code> and set of <code>.span*</code> columns within an existing <code>.span*</code> column. Nested rows should include a set of columns that add up to the number of columns of its parent.</p>
- <h3>Example</h3>
- <p>Here two nested <code>.span4</code> columns are placed within a <code>.span8</code>.</p>
- <div class="row show-grid">
- <div class="span9">
- Level 1 of column
- <div class="row show-grid">
- <div class="span5">
- Level 2
- </div>
- <div class="span4">
- Level 2
+ <h2>Nesting columns</h2>
+ <p>To nest your content with the default grid, add a new <code>.row</code> and set of <code>.span*</code> columns within an existing <code>.span*</code> column. Nested rows should include a set of columns that add up to the number of columns of its parent.</p>
+ <h3>Example</h3>
+ <p>Here two nested <code>.span4</code> columns are placed within a <code>.span8</code>.</p>
+ <div class="row show-grid">
+ <div class="span9">
+ Level 1 of column
+ <div class="row show-grid">
+ <div class="span5">
+ Level 2
+ </div>
+ <div class="span4">
+ Level 2
+ </div>
</div>
</div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="row"&gt;
&lt;div class="span10"&gt;
@@ -223,54 +224,54 @@
&lt;/div&gt;
&lt;/div&gt;
</pre>
- </section>
+ </section>
- <!-- Fluid grid system
- ================================================== -->
- <section id="fluidGridSystem">
- <div class="page-header">
- <h1>Fluid grid system <small>12 responsive, percent-based columns</small></h1>
- </div>
-
- <h2>Live fluid grid example</h2>
- <p>The fluid grid system uses percents instead of pixels for column widths. It has the same responsive capabilities as our fixed grid system, ensuring proper proportions for key screen resolutions and devices.</p>
- <div class="bs-docs-grid">
- <div class="row-fluid show-grid">
- <div class="span1">1</div>
- <div class="span1">1</div>
- <div class="span1">1</div>
- <div class="span1">1</div>
- <div class="span1">1</div>
- <div class="span1">1</div>
- <div class="span1">1</div>
- <div class="span1">1</div>
- <div class="span1">1</div>
- <div class="span1">1</div>
- <div class="span1">1</div>
- <div class="span1">1</div>
- </div>
- <div class="row-fluid show-grid">
- <div class="span4">4</div>
- <div class="span4">4</div>
- <div class="span4">4</div>
+ <!-- Fluid grid system
+ ================================================== -->
+ <section id="fluidGridSystem">
+ <div class="page-header">
+ <h1>Fluid grid system <small>12 responsive, percent-based columns</small></h1>
</div>
- <div class="row-fluid show-grid">
- <div class="span4">4</div>
- <div class="span8">8</div>
- </div>
- <div class="row-fluid show-grid">
- <div class="span6">6</div>
- <div class="span6">6</div>
- </div>
- <div class="row-fluid show-grid">
- <div class="span12">12</div>
+
+ <h2>Live fluid grid example</h2>
+ <p>The fluid grid system uses percents instead of pixels for column widths. It has the same responsive capabilities as our fixed grid system, ensuring proper proportions for key screen resolutions and devices.</p>
+ <div class="bs-docs-grid">
+ <div class="row-fluid show-grid">
+ <div class="span1">1</div>
+ <div class="span1">1</div>
+ <div class="span1">1</div>
+ <div class="span1">1</div>
+ <div class="span1">1</div>
+ <div class="span1">1</div>
+ <div class="span1">1</div>
+ <div class="span1">1</div>
+ <div class="span1">1</div>
+ <div class="span1">1</div>
+ <div class="span1">1</div>
+ <div class="span1">1</div>
+ </div>
+ <div class="row-fluid show-grid">
+ <div class="span4">4</div>
+ <div class="span4">4</div>
+ <div class="span4">4</div>
+ </div>
+ <div class="row-fluid show-grid">
+ <div class="span4">4</div>
+ <div class="span8">8</div>
+ </div>
+ <div class="row-fluid show-grid">
+ <div class="span6">6</div>
+ <div class="span6">6</div>
+ </div>
+ <div class="row-fluid show-grid">
+ <div class="span12">12</div>
+ </div>
</div>
- </div>
- <h3>Basic fluid grid HTML</h3>
- <p>Make any row "fluid" by changing <code>.row</code> to <code>.row-fluid</code>. The column classes stay the exact same, making it easy to flip between fixed and fluid grids.</p>
+ <h3>Basic fluid grid HTML</h3>
+ <p>Make any row "fluid" by changing <code>.row</code> to <code>.row-fluid</code>. The column classes stay the exact same, making it easy to flip between fixed and fluid grids.</p>
<pre class="prettyprint linenums">
&lt;div class="row-fluid"&gt;
&lt;div class="span4"&gt;...&lt;/div&gt;
@@ -278,21 +279,21 @@
&lt;/div&gt;
</pre>
- <h2>Fluid offsetting</h2>
- <p>Operates the same way as the fixed grid system offsetting: add <code>.offset*</code> to any column to offset by that many columns.</p>
- <div class="bs-docs-grid">
- <div class="row-fluid show-grid">
- <div class="span4">4</div>
- <div class="span4 offset4">4 offset 4</div>
- </div><!-- /row -->
- <div class="row-fluid show-grid">
- <div class="span3 offset3">3 offset 3</div>
- <div class="span3 offset3">3 offset 3</div>
- </div><!-- /row -->
- <div class="row-fluid show-grid">
- <div class="span6 offset6">6 offset 6</div>
- </div><!-- /row -->
- </div>
+ <h2>Fluid offsetting</h2>
+ <p>Operates the same way as the fixed grid system offsetting: add <code>.offset*</code> to any column to offset by that many columns.</p>
+ <div class="bs-docs-grid">
+ <div class="row-fluid show-grid">
+ <div class="span4">4</div>
+ <div class="span4 offset4">4 offset 4</div>
+ </div><!-- /row -->
+ <div class="row-fluid show-grid">
+ <div class="span3 offset3">3 offset 3</div>
+ <div class="span3 offset3">3 offset 3</div>
+ </div><!-- /row -->
+ <div class="row-fluid show-grid">
+ <div class="span6 offset6">6 offset 6</div>
+ </div><!-- /row -->
+ </div>
<pre class="prettyprint linenums">
&lt;div class="row-fluid"&gt;
&lt;div class="span4"&gt;...&lt;/div&gt;
@@ -300,21 +301,21 @@
&lt;/div&gt;
</pre>
- <h2>Fluid nesting</h2>
- <p>Nesting with fluid grids is a bit different: the number of nested columns should not match the parent's number of columns. Instead, each level of nested columns are reset because each row takes up 100% of the parent column.</p>
- <div class="row-fluid show-grid">
- <div class="span12">
- Fluid 12
- <div class="row-fluid show-grid">
- <div class="span6">
- Fluid 6
- </div>
- <div class="span6">
- Fluid 6
+ <h2>Fluid nesting</h2>
+ <p>Nesting with fluid grids is a bit different: the number of nested columns should not match the parent's number of columns. Instead, each level of nested columns are reset because each row takes up 100% of the parent column.</p>
+ <div class="row-fluid show-grid">
+ <div class="span12">
+ Fluid 12
+ <div class="row-fluid show-grid">
+ <div class="span6">
+ Fluid 6
+ </div>
+ <div class="span6">
+ Fluid 6
+ </div>
</div>
</div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="row-fluid"&gt;
&lt;div class="span12"&gt;
@@ -327,78 +328,23 @@
&lt;/div&gt;
</pre>
- </section>
+ </section>
- <!-- Customizaton
- ================================================== -->
- <section id="gridCustomization">
- <div class="page-header">
- <h1>Grid customization</h1>
- </div>
- <h2>Variables in LESS</h2>
- <p>The default grid is built on a few variables for easy customization via LESS. All variables can be found in <strong>variables.less</strong>.</p>
- <table class="table table-bordered table-striped">
- <thead>
- <tr>
- <th>Variable</th>
- <th>Default value</th>
- <th>Description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><code>@gridColumns</code></td>
- <td>12</td>
- <td>Number of columns</td>
- </tr>
- <tr>
- <td><code>@gridColumnWidth</code></td>
- <td>60px</td>
- <td>Width of each column</td>
- </tr>
- <tr>
- <td><code>@gridGutterWidth</code></td>
- <td>20px</td>
- <td>Negative space between columns</td>
- </tr>
- <tr>
- <td><code>@fluidGridColumnWidth</code></td>
- <td>6.382978723%</td>
- <td>Width of each fluid column</td>
- </tr>
- <tr>
- <td><code>@fluidGridGutterWidth</code></td>
- <td>2.127659574%</td>
- <td>Negative space between fluid columns</td>
- </tr>
- </tbody>
- </table>
-
- <h3>How to customize</h3>
- <p>Modifying the grid means changing the three <code>@grid*</code> variables and recompiling Bootstrap. Change the grid variables in <strong>variables.less</strong> and use one of the <a href="less.html#compiling">four ways documented to recompile</a>. If you're adding more columns, be sure to add the CSS for those in <strong>grid.less</strong>.</p>
-
- <h2>Staying responsive</h2>
- <p>Customization of the grid only works at the default level, the 940px grid. To maintain the responsive aspects of Bootstrap, you'll also have to manually customize the grids in <strong>responsive.less</strong> until a future update improves this.</p>
-
- </section>
-
-
-
- <!-- Layouts (Default and fluid)
- ================================================== -->
- <section id="layouts">
- <div class="page-header">
- <h1>Layouts <small>Basic templates to create webpages</small></h1>
- </div>
+ <!-- Layouts (Default and fluid)
+ ================================================== -->
+ <section id="layouts">
+ <div class="page-header">
+ <h1>Layouts <small>Basic templates to create webpages</small></h1>
+ </div>
- <h2>Fixed layout</h2>
- <p>Provides a common fixed-width (and optionally responsive) layout with only <code>&lt;div class="container"&gt;</code> required.</p>
- <div class="mini-layout">
- <div class="mini-layout-body"></div>
- </div>
+ <h2>Fixed layout</h2>
+ <p>Provides a common fixed-width (and optionally responsive) layout with only <code>&lt;div class="container"&gt;</code> required.</p>
+ <div class="mini-layout">
+ <div class="mini-layout-body"></div>
+ </div>
<pre class="prettyprint linenums">
&lt;body&gt;
&lt;div class="container"&gt;
@@ -407,12 +353,12 @@
&lt;/body&gt;
</pre>
- <h2>Fluid layout</h2>
- <p>Create a fluid, two-column page with <code>&lt;div class="container-fluid"&gt;</code>&mdash;great for applications and docs.</p>
- <div class="mini-layout fluid">
- <div class="mini-layout-sidebar"></div>
- <div class="mini-layout-body"></div>
- </div>
+ <h2>Fluid layout</h2>
+ <p>Create a fluid, two-column page with <code>&lt;div class="container-fluid"&gt;</code>&mdash;great for applications and docs.</p>
+ <div class="mini-layout fluid">
+ <div class="mini-layout-sidebar"></div>
+ <div class="mini-layout-body"></div>
+ </div>
<pre class="prettyprint linenums">
&lt;div class="container-fluid"&gt;
&lt;div class="row-fluid"&gt;
@@ -425,78 +371,78 @@
&lt;/div&gt;
&lt;/div&gt;
</pre>
- </section>
+ </section>
- <!-- Responsive design
- ================================================== -->
- <section id="responsive">
- <div class="page-header">
- <h1>Responsive design <small>Media queries for various devices and resolutions</small></h1>
- </div>
+ <!-- Responsive design
+ ================================================== -->
+ <section id="responsive">
+ <div class="page-header">
+ <h1>Responsive design <small>Media queries for various devices and resolutions</small></h1>
+ </div>
- <h2>Enabling responsive features</h2>
- <p>Turn on responsive CSS in your project by including the proper meta tag and additional stylesheet within the <code>&lt;head&gt;</code> of your document. If you've compiled Bootstrap from the Customize page, you need only include the meta tag.</p>
+ <h2>Enabling responsive features</h2>
+ <p>Turn on responsive CSS in your project by including the proper meta tag and additional stylesheet within the <code>&lt;head&gt;</code> of your document. If you've compiled Bootstrap from the Customize page, you need only include the meta tag.</p>
<pre class="prettyprint linenums">
&lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&gt;
&lt;link href="assets/css/bootstrap-responsive.css" rel="stylesheet"&gt;
</pre>
- <p><span class="label label-info">Heads up!</span> Bootstrap doesn't include responsive features by default at this time as not everything needs to be responsive. Instead of encouraging developers to remove this feature, we figure it best to enable it as needed.</p>
-
- <h2>About responsive Bootstrap</h2>
- <img src="assets/img/responsive-illustrations.png" alt="Responsive devices" style="float: right; margin: 0 0 20px 20px;">
- <p>Media queries allow for custom CSS based on a number of conditions&mdash;ratios, widths, display type, etc&mdash;but usually focuses around <code>min-width</code> and <code>max-width</code>.</p>
- <ul>
- <li>Modify the width of column in our grid</li>
- <li>Stack elements instead of float wherever necessary</li>
- <li>Resize headings and text to be more appropriate for devices</li>
- </ul>
- <p>Use media queries responsibly and only as a start to your mobile audiences. For larger projects, do consider dedicated code bases and not layers of media queries.</p>
-
- <h2>Supported devices</h2>
- <p>Bootstrap supports a handful of media queries in a single file to help make your projects more appropriate on different devices and screen resolutions. Here's what's included:</p>
- <table class="table table-bordered table-striped">
- <thead>
- <tr>
- <th>Label</th>
- <th>Layout width</th>
- <th>Column width</th>
- <th>Gutter width</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>Phones</td>
- <td>480px and below</td>
- <td class="muted" colspan="2">Fluid columns, no fixed widths</td>
- </tr>
- <tr>
- <td>Phones to tablets</td>
- <td>767px and below</td>
- <td class="muted" colspan="2">Fluid columns, no fixed widths</td>
- </tr>
- <tr>
- <td>Portrait tablets</td>
- <td>768px and above</td>
- <td>42px</td>
- <td>20px</td>
- </tr>
- <tr>
- <td>Default</td>
- <td>980px and up</td>
- <td>60px</td>
- <td>20px</td>
- </tr>
- <tr>
- <td>Large display</td>
- <td>1200px and up</td>
- <td>70px</td>
- <td>30px</td>
- </tr>
- </tbody>
- </table>
+ <p><span class="label label-info">Heads up!</span> Bootstrap doesn't include responsive features by default at this time as not everything needs to be responsive. Instead of encouraging developers to remove this feature, we figure it best to enable it as needed.</p>
+
+ <h2>About responsive Bootstrap</h2>
+ <img src="assets/img/responsive-illustrations.png" alt="Responsive devices" style="float: right; margin: 0 0 20px 20px;">
+ <p>Media queries allow for custom CSS based on a number of conditions&mdash;ratios, widths, display type, etc&mdash;but usually focuses around <code>min-width</code> and <code>max-width</code>.</p>
+ <ul>
+ <li>Modify the width of column in our grid</li>
+ <li>Stack elements instead of float wherever necessary</li>
+ <li>Resize headings and text to be more appropriate for devices</li>
+ </ul>
+ <p>Use media queries responsibly and only as a start to your mobile audiences. For larger projects, do consider dedicated code bases and not layers of media queries.</p>
+
+ <h2>Supported devices</h2>
+ <p>Bootstrap supports a handful of media queries in a single file to help make your projects more appropriate on different devices and screen resolutions. Here's what's included:</p>
+ <table class="table table-bordered table-striped">
+ <thead>
+ <tr>
+ <th>Label</th>
+ <th>Layout width</th>
+ <th>Column width</th>
+ <th>Gutter width</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>Phones</td>
+ <td>480px and below</td>
+ <td class="muted" colspan="2">Fluid columns, no fixed widths</td>
+ </tr>
+ <tr>
+ <td>Phones to tablets</td>
+ <td>767px and below</td>
+ <td class="muted" colspan="2">Fluid columns, no fixed widths</td>
+ </tr>
+ <tr>
+ <td>Portrait tablets</td>
+ <td>768px and above</td>
+ <td>42px</td>
+ <td>20px</td>
+ </tr>
+ <tr>
+ <td>Default</td>
+ <td>980px and up</td>
+ <td>60px</td>
+ <td>20px</td>
+ </tr>
+ <tr>
+ <td>Large display</td>
+ <td>1200px and up</td>
+ <td>70px</td>
+ <td>30px</td>
+ </tr>
+ </tbody>
+ </table>
<pre class="prettyprint linenums">
/* Landscape phones and down */
@media (max-width: 480px) { ... }
@@ -512,85 +458,85 @@
</pre>
- <h2>Responsive utility classes</h2>
- <p>For faster mobile-friendly development, use these utility classes for showing and hiding content by device. Below is a table of the available classes and their effect on a given media query layout (labeled by device). They can be found in <code>responsive.less</code>.</p>
- <table class="table table-bordered table-striped responsive-utilities">
- <thead>
- <tr>
- <th>Class</th>
- <th>Phones <small>767px and below</small></th>
- <th>Tablets <small>979px to 768px</small></th>
- <th>Desktops <small>Default</small></th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <th><code>.visible-phone</code></th>
- <td class="is-visible">Visible</td>
- <td class="is-hidden">Hidden</td>
- <td class="is-hidden">Hidden</td>
- </tr>
- <tr>
- <th><code>.visible-tablet</code></th>
- <td class="is-hidden">Hidden</td>
- <td class="is-visible">Visible</td>
- <td class="is-hidden">Hidden</td>
- </tr>
- <tr>
- <th><code>.visible-desktop</code></th>
- <td class="is-hidden">Hidden</td>
- <td class="is-hidden">Hidden</td>
- <td class="is-visible">Visible</td>
- </tr>
- <tr>
- <th><code>.hidden-phone</code></th>
- <td class="is-hidden">Hidden</td>
- <td class="is-visible">Visible</td>
- <td class="is-visible">Visible</td>
- </tr>
- <tr>
- <th><code>.hidden-tablet</code></th>
- <td class="is-visible">Visible</td>
- <td class="is-hidden">Hidden</td>
- <td class="is-visible">Visible</td>
- </tr>
- <tr>
- <th><code>.hidden-desktop</code></th>
- <td class="is-visible">Visible</td>
- <td class="is-visible">Visible</td>
- <td class="is-hidden">Hidden</td>
- </tr>
- </tbody>
- </table>
-
- <h3>When to use</h3>
- <p>Use on a limited basis and avoid creating entirely different versions of the same site. Instead, use them to complement each device's presentation.</p>
-
- <h3>Responsive utilities test case</h3>
- <p>Resize your browser or load on different devices to test the above classes.</p>
- <h4>Visible on...</h4>
- <p>Green checkmarks indicate that class is visible in your current viewport.</p>
- <ul class="responsive-utilities-test">
- <li>Phone<span class="visible-phone">&#10004; Phone</span></li>
- <li>Tablet<span class="visible-tablet">&#10004; Tablet</span></li>
- <li>Desktop<span class="visible-desktop">&#10004; Desktop</span></li>
- </ul>
- <h4>Hidden on...</h4>
- <p>Here, green checkmarks indicate that class is hidden in your current viewport.</p>
- <ul class="responsive-utilities-test hidden-on">
- <li>Phone<span class="hidden-phone">&#10004; Phone</span></li>
- <li>Tablet<span class="hidden-tablet">&#10004; Tablet</span></li>
- <li>Desktop<span class="hidden-desktop">&#10004; Desktop</span></li>
- </ul>
+ <h2>Responsive utility classes</h2>
+ <p>For faster mobile-friendly development, use these utility classes for showing and hiding content by device. Below is a table of the available classes and their effect on a given media query layout (labeled by device). They can be found in <code>responsive.less</code>.</p>
+ <table class="table table-bordered table-striped responsive-utilities">
+ <thead>
+ <tr>
+ <th>Class</th>
+ <th>Phones <small>767px and below</small></th>
+ <th>Tablets <small>979px to 768px</small></th>
+ <th>Desktops <small>Default</small></th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <th><code>.visible-phone</code></th>
+ <td class="is-visible">Visible</td>
+ <td class="is-hidden">Hidden</td>
+ <td class="is-hidden">Hidden</td>
+ </tr>
+ <tr>
+ <th><code>.visible-tablet</code></th>
+ <td class="is-hidden">Hidden</td>
+ <td class="is-visible">Visible</td>
+ <td class="is-hidden">Hidden</td>
+ </tr>
+ <tr>
+ <th><code>.visible-desktop</code></th>
+ <td class="is-hidden">Hidden</td>
+ <td class="is-hidden">Hidden</td>
+ <td class="is-visible">Visible</td>
+ </tr>
+ <tr>
+ <th><code>.hidden-phone</code></th>
+ <td class="is-hidden">Hidden</td>
+ <td class="is-visible">Visible</td>
+ <td class="is-visible">Visible</td>
+ </tr>
+ <tr>
+ <th><code>.hidden-tablet</code></th>
+ <td class="is-visible">Visible</td>
+ <td class="is-hidden">Hidden</td>
+ <td class="is-visible">Visible</td>
+ </tr>
+ <tr>
+ <th><code>.hidden-desktop</code></th>
+ <td class="is-visible">Visible</td>
+ <td class="is-visible">Visible</td>
+ <td class="is-hidden">Hidden</td>
+ </tr>
+ </tbody>
+ </table>
+
+ <h3>When to use</h3>
+ <p>Use on a limited basis and avoid creating entirely different versions of the same site. Instead, use them to complement each device's presentation.</p>
+
+ <h3>Responsive utilities test case</h3>
+ <p>Resize your browser or load on different devices to test the above classes.</p>
+ <h4>Visible on...</h4>
+ <p>Green checkmarks indicate that class is visible in your current viewport.</p>
+ <ul class="responsive-utilities-test">
+ <li>Phone<span class="visible-phone">&#10004; Phone</span></li>
+ <li>Tablet<span class="visible-tablet">&#10004; Tablet</span></li>
+ <li>Desktop<span class="visible-desktop">&#10004; Desktop</span></li>
+ </ul>
+ <h4>Hidden on...</h4>
+ <p>Here, green checkmarks indicate that class is hidden in your current viewport.</p>
+ <ul class="responsive-utilities-test hidden-on">
+ <li>Phone<span class="hidden-phone">&#10004; Phone</span></li>
+ <li>Tablet<span class="hidden-tablet">&#10004; Tablet</span></li>
+ <li>Desktop<span class="hidden-desktop">&#10004; Desktop</span></li>
+ </ul>
- </section>
+ </section>
+ </div>
</div>
-</div>
- </div>
+</div>
diff --git a/docs/templates/layout.mustache b/docs/templates/layout.mustache
index 9808c7b663..cbfae7f26f 100644
--- a/docs/templates/layout.mustache
+++ b/docs/templates/layout.mustache
@@ -78,12 +78,8 @@
</div>
</div>
- <div class="container">
-
{{>body}}
- </div>{{! /container }}
-
<!-- Footer
diff --git a/docs/templates/pages/base-css.mustache b/docs/templates/pages/base-css.mustache
index 6f4e84975f..456ea059bc 100644
--- a/docs/templates/pages/base-css.mustache
+++ b/docs/templates/pages/base-css.mustache
@@ -1,144 +1,147 @@
<!-- Subhead
================================================== -->
<header class="jumbotron subhead" id="overview">
- <h1>{{_i}}Base CSS{{/i}}</h1>
- <p class="lead">{{_i}}On top of the scaffolding, basic HTML elements are styled and enhanced with extensible classes to provide a fresh, consistent look and feel.{{/i}}</p>
+ <div class="container">
+ <h1>{{_i}}Base CSS{{/i}}</h1>
+ <p class="lead">{{_i}}On top of the scaffolding, basic HTML elements are styled and enhanced with extensible classes.{{/i}}</p>
+ </div>
</header>
+<div class="container">
-<!-- Docs nav
-================================================== -->
-<div class="row">
- <div class="span3 bs-docs-sidebar">
- <ul class="nav nav-list bs-docs-sidenav">
- <li><a href="#typography">{{_i}}Typography{{/i}} <i class="icon-chevron-right"></i></a></li>
- <li><a href="#code">{{_i}}Code{{/i}} <i class="icon-chevron-right"></i></a></li>
- <li><a href="#tables">{{_i}}Tables{{/i}} <i class="icon-chevron-right"></i></a></li>
- <li><a href="#forms">{{_i}}Forms{{/i}} <i class="icon-chevron-right"></i></a></li>
- <li><a href="#buttons">{{_i}}Buttons{{/i}} <i class="icon-chevron-right"></i></a></li>
- <li><a href="#icons">{{_i}}Icons by Glyphicons{{/i}} <i class="icon-chevron-right"></i></a></li>
- </ul>
- </div>
- <div class="span9">
+ <!-- Docs nav
+ ================================================== -->
+ <div class="row">
+ <div class="span3 bs-docs-sidebar">
+ <ul class="nav nav-list bs-docs-sidenav">
+ <li><a href="#typography">{{_i}}Typography{{/i}} <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#code">{{_i}}Code{{/i}} <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#tables">{{_i}}Tables{{/i}} <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#forms">{{_i}}Forms{{/i}} <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#buttons">{{_i}}Buttons{{/i}} <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#icons">{{_i}}Icons by Glyphicons{{/i}} <i class="icon-chevron-right"></i></a></li>
+ </ul>
+ </div>
+ <div class="span9">
- <!-- Typography
- ================================================== -->
- <section id="typography">
- <div class="page-header">
- <h1>{{_i}}Typography <small>Headings, paragraphs, lists, and other inline type elements</small>{{/i}}</h1>
- </div>
+ <!-- Typography
+ ================================================== -->
+ <section id="typography">
+ <div class="page-header">
+ <h1>{{_i}}Typography <small>Headings, paragraphs, lists, and other inline type elements</small>{{/i}}</h1>
+ </div>
- {{! Headings }}
- <h2>{{_i}}Headings{{/i}}</h2>
- <p>{{_i}}All HTML headings, <code>&lt;h1&gt;</code> through <code>&lt;h6&gt;</code> are available.{{/i}}</p>
- <div class="bs-docs-example">
- <h1>h1. {{_i}}Heading 1{{/i}}</h1>
- <h2>h2. {{_i}}Heading 2{{/i}}</h2>
- <h3>h3. {{_i}}Heading 3{{/i}}</h3>
- <h4>h4. {{_i}}Heading 4{{/i}}</h4>
- <h5>h5. {{_i}}Heading 5{{/i}}</h5>
- <h6>h6. {{_i}}Heading 6{{/i}}</h6>
- </div>
+ {{! Headings }}
+ <h2>{{_i}}Headings{{/i}}</h2>
+ <p>{{_i}}All HTML headings, <code>&lt;h1&gt;</code> through <code>&lt;h6&gt;</code> are available.{{/i}}</p>
+ <div class="bs-docs-example">
+ <h1>h1. {{_i}}Heading 1{{/i}}</h1>
+ <h2>h2. {{_i}}Heading 2{{/i}}</h2>
+ <h3>h3. {{_i}}Heading 3{{/i}}</h3>
+ <h4>h4. {{_i}}Heading 4{{/i}}</h4>
+ <h5>h5. {{_i}}Heading 5{{/i}}</h5>
+ <h6>h6. {{_i}}Heading 6{{/i}}</h6>
+ </div>
- {{! Body copy }}
- <h2>{{_i}}Body copy{{/i}}</h2>
- <p>{{_i}}Bootstrap's global default <code>font-size</code> is <strong>14px</strong>, with a <code>line-height</code> of <strong>20px</strong>. This is applied to the <code>&lt;body&gt;</code> and all paragraphs. In addition, <code>&lt;p&gt;</code> (paragraphs) receive a bottom margin of half their line-height (9px by default).{{/i}}</p>
- <div class="bs-docs-example">
- <p>Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula.</p>
- <p>Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec ullamcorper nulla non metus auctor fringilla. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Donec ullamcorper nulla non metus auctor fringilla.</p>
- <p>Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit.</p>
- </div>
+ {{! Body copy }}
+ <h2>{{_i}}Body copy{{/i}}</h2>
+ <p>{{_i}}Bootstrap's global default <code>font-size</code> is <strong>14px</strong>, with a <code>line-height</code> of <strong>20px</strong>. This is applied to the <code>&lt;body&gt;</code> and all paragraphs. In addition, <code>&lt;p&gt;</code> (paragraphs) receive a bottom margin of half their line-height (9px by default).{{/i}}</p>
+ <div class="bs-docs-example">
+ <p>Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula.</p>
+ <p>Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec ullamcorper nulla non metus auctor fringilla. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Donec ullamcorper nulla non metus auctor fringilla.</p>
+ <p>Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit.</p>
+ </div>
- {{! Body copy .lead }}
- <h3>{{_i}}Lead body copy{{/i}}</h3>
- <p>{{_i}}Make a paragraph stand out by adding <code>.lead</code>.{{/i}}</p>
- <div class="bs-docs-example">
- <p class="lead">Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.</p>
- </div>
+ {{! Body copy .lead }}
+ <h3>{{_i}}Lead body copy{{/i}}</h3>
+ <p>{{_i}}Make a paragraph stand out by adding <code>.lead</code>.{{/i}}</p>
+ <div class="bs-docs-example">
+ <p class="lead">Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.</p>
+ </div>
- {{! Using LESS }}
- <h2>{{_i}}Built with Less{{/i}}</h2>
- <p>{{_i}}The typographic scale is based on two LESS variables in <strong>variables.less</strong>: <code>@baseFontSize</code> and <code>@baseLineHeight</code>. The first is the base font-size used throughout and the second is the base line-height. We use those variables and some simple math to create the margins, paddings, and line-heights of all our type and more. Customize them and Bootstrap adapts.{{/i}}</p>
+ {{! Using LESS }}
+ <h2>{{_i}}Built with Less{{/i}}</h2>
+ <p>{{_i}}The typographic scale is based on two LESS variables in <strong>variables.less</strong>: <code>@baseFontSize</code> and <code>@baseLineHeight</code>. The first is the base font-size used throughout and the second is the base line-height. We use those variables and some simple math to create the margins, paddings, and line-heights of all our type and more. Customize them and Bootstrap adapts.{{/i}}</p>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- {{! Emphasis }}
- <h2>{{_i}}Emphasis{{/i}}</h2>
- <p>{{_i}}Make use of HTML's default emphasis tags, <code>&lt;strong&gt;</code> and <code>&lt;em&gt;</code>.{{/i}}</p>
+ {{! Emphasis }}
+ <h2>{{_i}}Emphasis{{/i}}</h2>
+ <p>{{_i}}Make use of HTML's default emphasis tags, <code>&lt;strong&gt;</code> and <code>&lt;em&gt;</code>.{{/i}}</p>
- <h3><code>&lt;strong&gt;</code></h3>
- <p>{{_i}}For emphasizing a snippet of text with <strong>important</strong>{{/i}}</p>
- <div class="bs-docs-example">
- <p>The following snippet of text is <strong>rendered as bold text</strong>.</p>
- </div>
+ <h3><code>&lt;strong&gt;</code></h3>
+ <p>{{_i}}For emphasizing a snippet of text with <strong>important</strong>{{/i}}</p>
+ <div class="bs-docs-example">
+ <p>The following snippet of text is <strong>rendered as bold text</strong>.</p>
+ </div>
<pre class="prettyprint">
&lt;strong&gt;rendered as bold text&lt;/strong&gt;
</pre>
- <h3><code>&lt;em&gt;</code></h3>
- <p>{{_i}}For emphasizing a snippet of text with <em>stress</em>{{/i}}</p>
- <div class="bs-docs-example">
- <p>The following snippet of text is <em>rendered as italicized text</em>.</p>
- </div>
- <pre class="prettyprint">
- &lt;em&gt;rendered as italicized text&lt;/em&gt;
- </pre>
+ <h3><code>&lt;em&gt;</code></h3>
+ <p>{{_i}}For emphasizing a snippet of text with <em>stress</em>{{/i}}</p>
+ <div class="bs-docs-example">
+ <p>The following snippet of text is <em>rendered as italicized text</em>.</p>
+ </div>
+<pre class="prettyprint">
+&lt;em&gt;rendered as italicized text&lt;/em&gt;
+</pre>
- <p><span class="label label-info">{{_i}}Heads up!{{/i}}</span> {{_i}}Feel free to use <code>&lt;b&gt;</code> and <code>&lt;i&gt;</code> in HTML5. <code>&lt;b&gt;</code> is meant to highlight words or phrases without conveying additional importance while <code>&lt;i&gt;</code> is mostly for voice, technical terms, etc.{{/i}}</p>
+ <p><span class="label label-info">{{_i}}Heads up!{{/i}}</span> {{_i}}Feel free to use <code>&lt;b&gt;</code> and <code>&lt;i&gt;</code> in HTML5. <code>&lt;b&gt;</code> is meant to highlight words or phrases without conveying additional importance while <code>&lt;i&gt;</code> is mostly for voice, technical terms, etc.{{/i}}</p>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- {{! Abbreviations }}
- <h2>{{_i}}Abbreviations{{/i}}</h2>
- <p>{{_i}}Stylized implemenation of HTML's <code>&lt;abbr&gt;</code> element for abbreviations and acronyms to show the expanded version on hover. Abbreviations with a <code>title</code> attribute have a light dotted bottom border and a help cursor on hover, providing additional context on hover.{{/i}}</p>
+ {{! Abbreviations }}
+ <h2>{{_i}}Abbreviations{{/i}}</h2>
+ <p>{{_i}}Stylized implemenation of HTML's <code>&lt;abbr&gt;</code> element for abbreviations and acronyms to show the expanded version on hover. Abbreviations with a <code>title</code> attribute have a light dotted bottom border and a help cursor on hover, providing additional context on hover.{{/i}}</p>
- <h3><code>&lt;abbr&gt;</code></h3>
- <p>{{_i}}For expanded text on long hover of an abbreviation, include the <code>title</code> attribute.{{/i}}</p>
- <div class="bs-docs-example">
- <p>{{_i}}An abbreviation of the word attribute is <abbr title="attribute">attr</abbr>.{{/i}}</p>
- </div>
+ <h3><code>&lt;abbr&gt;</code></h3>
+ <p>{{_i}}For expanded text on long hover of an abbreviation, include the <code>title</code> attribute.{{/i}}</p>
+ <div class="bs-docs-example">
+ <p>{{_i}}An abbreviation of the word attribute is <abbr title="attribute">attr</abbr>.{{/i}}</p>
+ </div>
<pre class="prettyprint">
&lt;abbr title="attribute"&gt;attr&lt;/abbr&gt;
</pre>
- <h3><code>&lt;abbr class="initialism"&gt;</code></h3>
- <p>{{_i}}Add <code>.initialism</code> to an abbreviation for a slightly smaller font-size.{{/i}}</p>
- <div class="bs-docs-example">
- <p>{{_i}}<abbr title="HyperText Markup Language" class="initialism">HTML</abbr> is the best thing since sliced bread.{{/i}}</p>
- </div>
+ <h3><code>&lt;abbr class="initialism"&gt;</code></h3>
+ <p>{{_i}}Add <code>.initialism</code> to an abbreviation for a slightly smaller font-size.{{/i}}</p>
+ <div class="bs-docs-example">
+ <p>{{_i}}<abbr title="HyperText Markup Language" class="initialism">HTML</abbr> is the best thing since sliced bread.{{/i}}</p>
+ </div>
<pre class="prettyprint">
&lt;abbr title="attribute" class="initialism"&gt;attr&lt;/abbr&gt;
</pre>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- {{! Addresses }}
- <h2>{{_i}}Addresses{{/i}}</h2>
- <p>{{_i}}Present contact information for the nearest ancestor or the entire body of work.{{/i}}</p>
+ {{! Addresses }}
+ <h2>{{_i}}Addresses{{/i}}</h2>
+ <p>{{_i}}Present contact information for the nearest ancestor or the entire body of work.{{/i}}</p>
- <h3><code>&lt;address&gt;</code></h3>
- <p>{{_i}}Preserve formatting by ending all lines with <code>&lt;br&gt;</code>.{{/i}}</p>
- <div class="bs-docs-example">
- <address>
- <strong>Twitter, Inc.</strong><br>
- 795 Folsom Ave, Suite 600<br>
- San Francisco, CA 94107<br>
- <abbr title="Phone">P:</abbr> (123) 456-7890
- </address>
- <address>
- <strong>{{_i}}Full Name{{/i}}</strong><br>
- <a href="mailto:#">{{_i}}first.last@gmail.com{{/i}}</a>
- </address>
- </div>
+ <h3><code>&lt;address&gt;</code></h3>
+ <p>{{_i}}Preserve formatting by ending all lines with <code>&lt;br&gt;</code>.{{/i}}</p>
+ <div class="bs-docs-example">
+ <address>
+ <strong>Twitter, Inc.</strong><br>
+ 795 Folsom Ave, Suite 600<br>
+ San Francisco, CA 94107<br>
+ <abbr title="Phone">P:</abbr> (123) 456-7890
+ </address>
+ <address>
+ <strong>{{_i}}Full Name{{/i}}</strong><br>
+ <a href="mailto:#">{{_i}}first.last@gmail.com{{/i}}</a>
+ </address>
+ </div>
<pre class="prettyprint linenums">
&lt;address&gt;
&lt;strong&gt;Twitter, Inc.&lt;/strong&gt;&lt;br&gt;
@@ -154,37 +157,37 @@
</pre>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- {{! Blockquotes }}
- <h2>{{_i}}Blockquotes{{/i}}</h2>
- <p>{{_i}}For quoting blocks of content from another source within your document.{{/i}}</p>
+ {{! Blockquotes }}
+ <h2>{{_i}}Blockquotes{{/i}}</h2>
+ <p>{{_i}}For quoting blocks of content from another source within your document.{{/i}}</p>
- <h3>{{_i}}Default blockqoute{{/i}}</h3>
- <p>{{_i}}Wrap <code>&lt;blockquote&gt;</code> around any <abbr title="HyperText Markup Language">HTML</abbr> as the quote. For straight quotes we recommend a <code>&lt;p&gt;</code>.{{/i}}</p>
- <div class="bs-docs-example">
- <blockquote>
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
- </blockquote>
- </div>
+ <h3>{{_i}}Default blockqoute{{/i}}</h3>
+ <p>{{_i}}Wrap <code>&lt;blockquote&gt;</code> around any <abbr title="HyperText Markup Language">HTML</abbr> as the quote. For straight quotes we recommend a <code>&lt;p&gt;</code>.{{/i}}</p>
+ <div class="bs-docs-example">
+ <blockquote>
+ <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
+ </blockquote>
+ </div>
<pre class="prettyprint linenums">
&lt;blockquote&gt;
&lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.&lt;/p&gt;
&lt;/blockquote&gt;
</pre>
- <h3>{{_i}}Blockquote options{{/i}}</h3>
- <p>{{_i}}Style and content changes for simple variations on a standard blockquote.{{/i}}</p>
+ <h3>{{_i}}Blockquote options{{/i}}</h3>
+ <p>{{_i}}Style and content changes for simple variations on a standard blockquote.{{/i}}</p>
- <h4>{{_i}}Naming a source{{/i}}</h4>
- <p>{{_i}}Add <code>&lt;small&gt;</code> tag for identifying the source. Wrap the name of the source work in <code>&lt;cite&gt;</code>.{{/i}}</p>
- <div class="bs-docs-example">
- <blockquote>
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
- <small>{{_i}}Someone famous in <cite title="Source Title">Source Title</cite>{{/i}}</small>
- </blockquote>
- </div>
+ <h4>{{_i}}Naming a source{{/i}}</h4>
+ <p>{{_i}}Add <code>&lt;small&gt;</code> tag for identifying the source. Wrap the name of the source work in <code>&lt;cite&gt;</code>.{{/i}}</p>
+ <div class="bs-docs-example">
+ <blockquote>
+ <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
+ <small>{{_i}}Someone famous in <cite title="Source Title">Source Title</cite>{{/i}}</small>
+ </blockquote>
+ </div>
<pre class="prettyprint linenums">
&lt;blockquote&gt;
&lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.&lt;/p&gt;
@@ -192,14 +195,14 @@
&lt;/blockquote&gt;
</pre>
- <h4>{{_i}}Alternate displays{{/i}}</h4>
- <p>{{_i}}Use <code>.pull-left</code> and <code>.pull-right</code> classes for floated, right-aligned blockquote content.{{/i}}</p>
- <div class="bs-docs-example" style="overflow: hidden;">
- <blockquote class="pull-right">
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
- <small>{{_i}}Someone famous in <cite title="Source Title">Source Title</cite>{{/i}}</small>
- </blockquote>
- </div>
+ <h4>{{_i}}Alternate displays{{/i}}</h4>
+ <p>{{_i}}Use <code>.pull-left</code> and <code>.pull-right</code> classes for floated, right-aligned blockquote content.{{/i}}</p>
+ <div class="bs-docs-example" style="overflow: hidden;">
+ <blockquote class="pull-right">
+ <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
+ <small>{{_i}}Someone famous in <cite title="Source Title">Source Title</cite>{{/i}}</small>
+ </blockquote>
+ </div>
<pre class="prettyprint linenums">
&lt;blockquote class="pull-right"&gt;
&lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.&lt;/p&gt;
@@ -208,16 +211,63 @@
</pre>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <!-- Lists -->
- <h2>{{_i}}Lists{{/i}}</h2>
+ <!-- Lists -->
+ <h2>{{_i}}Lists{{/i}}</h2>
- <h3>{{_i}}Unordered{{/i}}</h3>
- <p>{{_i}}A list of items in which the order does <em>not</em> explicitly matter.{{/i}}</p>
+ <h3>{{_i}}Unordered{{/i}}</h3>
+ <p>{{_i}}A list of items in which the order does <em>not</em> explicitly matter.{{/i}}</p>
+ <div class="bs-docs-example">
+ <ul>
+ <li>Lorem ipsum dolor sit amet</li>
+ <li>Consectetur adipiscing elit</li>
+ <li>Integer molestie lorem at massa</li>
+ <li>Facilisis in pretium nisl aliquet</li>
+ <li>Nulla volutpat aliquam velit
+ <ul>
+ <li>Phasellus iaculis neque</li>
+ <li>Purus sodales ultricies</li>
+ <li>Vestibulum laoreet porttitor sem</li>
+ <li>Ac tristique libero volutpat at</li>
+ </ul>
+ </li>
+ <li>Faucibus porta lacus fringilla vel</li>
+ <li>Aenean sit amet erat nunc</li>
+ <li>Eget porttitor lorem</li>
+ </ul>
+ </div>
+<pre class="prettyprint linenums">
+&lt;ul&gt;
+ &lt;li&gt;...&lt;/li&gt;
+&lt;/ul&gt;
+</pre>
+
+ <h3>{{_i}}Ordered{{/i}}</h3>
+ <p>{{_i}}A list of items in which the order <em>does</em> explicitly matter.{{/i}}</p>
+ <div class="bs-docs-example">
+ <ol>
+ <li>Lorem ipsum dolor sit amet</li>
+ <li>Consectetur adipiscing elit</li>
+ <li>Integer molestie lorem at massa</li>
+ <li>Facilisis in pretium nisl aliquet</li>
+ <li>Nulla volutpat aliquam velit</li>
+ <li>Faucibus porta lacus fringilla vel</li>
+ <li>Aenean sit amet erat nunc</li>
+ <li>Eget porttitor lorem</li>
+ </ol>
+ </div>
+<pre class="prettyprint linenums">
+&lt;ol&gt;
+ &lt;li&gt;...&lt;/li&gt;
+&lt;/ol&gt;
+</pre>
+
+ <h3>{{_i}}Unstyled{{/i}}</h3>
+ <p>{{_i}}A list of items with no <code>list-style</code> or additional left padding.{{/i}}</p>
<div class="bs-docs-example">
- <ul>
+ <ul class="unstyled">
<li>Lorem ipsum dolor sit amet</li>
<li>Consectetur adipiscing elit</li>
<li>Integer molestie lorem at massa</li>
@@ -236,122 +286,75 @@
</ul>
</div>
<pre class="prettyprint linenums">
-&lt;ul&gt;
+&lt;ul class="unstyled"&gt;
&lt;li&gt;...&lt;/li&gt;
&lt;/ul&gt;
</pre>
- <h3>{{_i}}Ordered{{/i}}</h3>
- <p>{{_i}}A list of items in which the order <em>does</em> explicitly matter.{{/i}}</p>
+ <h3>{{_i}}Description{{/i}}</h3>
+ <p>{{_i}}A list of terms with their associated descriptions.{{/i}}</p>
<div class="bs-docs-example">
- <ol>
- <li>Lorem ipsum dolor sit amet</li>
- <li>Consectetur adipiscing elit</li>
- <li>Integer molestie lorem at massa</li>
- <li>Facilisis in pretium nisl aliquet</li>
- <li>Nulla volutpat aliquam velit</li>
- <li>Faucibus porta lacus fringilla vel</li>
- <li>Aenean sit amet erat nunc</li>
- <li>Eget porttitor lorem</li>
- </ol>
+ <dl>
+ <dt>{{_i}}Description lists{{/i}}</dt>
+ <dd>{{_i}}A description list is perfect for defining terms.{{/i}}</dd>
+ <dt>Euismod</dt>
+ <dd>Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.</dd>
+ <dd>Donec id elit non mi porta gravida at eget metus.</dd>
+ <dt>Malesuada porta</dt>
+ <dd>Etiam porta sem malesuada magna mollis euismod.</dd>
+ </dl>
</div>
<pre class="prettyprint linenums">
-&lt;ol&gt;
- &lt;li&gt;...&lt;/li&gt;
-&lt;/ol&gt;
-</pre>
-
- <h3>{{_i}}Unstyled{{/i}}</h3>
- <p>{{_i}}A list of items with no <code>list-style</code> or additional left padding.{{/i}}</p>
- <div class="bs-docs-example">
- <ul class="unstyled">
- <li>Lorem ipsum dolor sit amet</li>
- <li>Consectetur adipiscing elit</li>
- <li>Integer molestie lorem at massa</li>
- <li>Facilisis in pretium nisl aliquet</li>
- <li>Nulla volutpat aliquam velit
- <ul>
- <li>Phasellus iaculis neque</li>
- <li>Purus sodales ultricies</li>
- <li>Vestibulum laoreet porttitor sem</li>
- <li>Ac tristique libero volutpat at</li>
- </ul>
- </li>
- <li>Faucibus porta lacus fringilla vel</li>
- <li>Aenean sit amet erat nunc</li>
- <li>Eget porttitor lorem</li>
- </ul>
- </div>
-<pre class="prettyprint linenums">
-&lt;ul class="unstyled"&gt;
- &lt;li&gt;...&lt;/li&gt;
-&lt;/ul&gt;
-</pre>
-
- <h3>{{_i}}Description{{/i}}</h3>
- <p>{{_i}}A list of terms with their associated descriptions.{{/i}}</p>
- <div class="bs-docs-example">
- <dl>
- <dt>{{_i}}Description lists{{/i}}</dt>
- <dd>{{_i}}A description list is perfect for defining terms.{{/i}}</dd>
- <dt>Euismod</dt>
- <dd>Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.</dd>
- <dd>Donec id elit non mi porta gravida at eget metus.</dd>
- <dt>Malesuada porta</dt>
- <dd>Etiam porta sem malesuada magna mollis euismod.</dd>
- </dl>
- </div>
-<pre class="prettyprint linenums">
&lt;dl&gt;
&lt;dt&gt;...&lt;/dt&gt;
&lt;dd&gt;...&lt;/dd&gt;
&lt;/dl&gt;
</pre>
- <h4>{{_i}}Horizontal description{{/i}}</h4>
- <p>{{_i}}Make terms and descriptions in <code>&lt;dl&gt;</code> line up side-by-side.{{/i}}</p>
- <div class="bs-docs-example">
- <dl class="dl-horizontal">
- <dt>{{_i}}Description lists{{/i}}</dt>
- <dd>{{_i}}A description list is perfect for defining terms.{{/i}}</dd>
- <dt>Euismod</dt>
- <dd>Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.</dd>
- <dd>Donec id elit non mi porta gravida at eget metus.</dd>
- <dt>Malesuada porta</dt>
- <dd>Etiam porta sem malesuada magna mollis euismod.</dd>
- <dt>Felis euismod semper eget lacinia</dt>
- <dd>Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</dd>
- </dl>
- </div>
+ <h4>{{_i}}Horizontal description{{/i}}</h4>
+ <p>{{_i}}Make terms and descriptions in <code>&lt;dl&gt;</code> line up side-by-side.{{/i}}</p>
+ <div class="bs-docs-example">
+ <dl class="dl-horizontal">
+ <dt>{{_i}}Description lists{{/i}}</dt>
+ <dd>{{_i}}A description list is perfect for defining terms.{{/i}}</dd>
+ <dt>Euismod</dt>
+ <dd>Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.</dd>
+ <dd>Donec id elit non mi porta gravida at eget metus.</dd>
+ <dt>Malesuada porta</dt>
+ <dd>Etiam porta sem malesuada magna mollis euismod.</dd>
+ <dt>Felis euismod semper eget lacinia</dt>
+ <dd>Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</dd>
+ </dl>
+ </div>
<pre class="prettyprint linenums">
&lt;dl class="dl-horizontal"&gt;
&lt;dt&gt;...&lt;/dt&gt;
&lt;dd&gt;...&lt;/dd&gt;
&lt;/dl&gt;
</pre>
- <p>
- <span class="label label-info">{{_i}}Heads up!{{/i}}</span>
- {{_i}}Horizontal description lists will truncate terms that are too long to fit in the left column fix <code>text-overflow</code>. In narrower viewports, they will change to the default stacked layout.{{/i}}
- </p>
- </section>
+ <p>
+ <span class="label label-info">{{_i}}Heads up!{{/i}}</span>
+ {{_i}}Horizontal description lists will truncate terms that are too long to fit in the left column fix <code>text-overflow</code>. In narrower viewports, they will change to the default stacked layout.{{/i}}
+ </p>
+ </section>
- <!-- Code
- ================================================== -->
- <section id="code">
- <div class="page-header">
- <h1>{{_i}}Code{{/i}} <small>{{_i}}Inline and block code snippets{{/i}}</small></h1>
- </div>
+ <!-- Code
+ ================================================== -->
+ <section id="code">
+ <div class="page-header">
+ <h1>{{_i}}Code{{/i}} <small>{{_i}}Inline and block code snippets{{/i}}</small></h1>
+ </div>
- <h2>Inline</h2>
- <p>Wrap inline snippets of code with <code>&lt;code&gt;</code>.</p>
+ <h2>Inline</h2>
+ <p>Wrap inline snippets of code with <code>&lt;code&gt;</code>.</p>
<pre class="prettyprint linenums">
{{_i}}For example, &lt;code&gt;section&lt;/code&gt; should be wrapped as inline.{{/i}}
</pre>
- <h2>Basic block</h2>
- <p>{{_i}}Use <code>&lt;pre&gt;</code> for multiple lines of code. Be sure to escape any angle brackets in the code for proper rendering.{{/i}}</p>
+ <h2>Basic block</h2>
+ <p>{{_i}}Use <code>&lt;pre&gt;</code> for multiple lines of code. Be sure to escape any angle brackets in the code for proper rendering.{{/i}}</p>
<pre>
&lt;p&gt;{{_i}}Sample text here...{{/i}}&lt;/p&gt;
</pre>
@@ -360,53 +363,53 @@
&amp;lt;p&amp;gt;{{_i}}Sample text here...{{/i}}&amp;lt;/p&amp;gt;
&lt;/pre&gt;
</pre>
- <p>{{_i}}<strong>Note:</strong> Be sure to keep code within <code>&lt;pre&gt;</code> tags as close to the left as possible; it will render all tabs.{{/i}}</p>
- <p>{{_i}}You may optionally add the <code>.pre-scrollable</code> class which will set a max-height of 350px and provide a y-axis scrollbar.{{/i}}</p>
- </section>
+ <p>{{_i}}<strong>Note:</strong> Be sure to keep code within <code>&lt;pre&gt;</code> tags as close to the left as possible; it will render all tabs.{{/i}}</p>
+ <p>{{_i}}You may optionally add the <code>.pre-scrollable</code> class which will set a max-height of 350px and provide a y-axis scrollbar.{{/i}}</p>
+ </section>
- <!-- Tables
- ================================================== -->
- <section id="tables">
- <div class="page-header">
- <h1>{{_i}}Tables <small>For, you guessed it, tabular data</small>{{/i}}</h1>
- </div>
+ <!-- Tables
+ ================================================== -->
+ <section id="tables">
+ <div class="page-header">
+ <h1>{{_i}}Tables <small>For, you guessed it, tabular data</small>{{/i}}</h1>
+ </div>
- <h2>{{_i}}Default styles{{/i}}</h2>
- <p>{{_i}}For basic styling&mdash;light padding and only horizontal dividers&mdash;add the base class <code>.table</code> to any <code>&lt;table&gt;</code>.{{/i}}</p>
- <div class="bs-docs-example">
- <table class="table">
- <thead>
- <tr>
- <th>#</th>
- <th>{{_i}}First Name{{/i}}</th>
- <th>{{_i}}Last Name{{/i}}</th>
- <th>{{_i}}Username{{/i}}</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>1</td>
- <td>Mark</td>
- <td>Otto</td>
- <td>@mdo</td>
- </tr>
- <tr>
- <td>2</td>
- <td>Jacob</td>
- <td>Thornton</td>
- <td>@fat</td>
- </tr>
- <tr>
- <td>3</td>
- <td>Larry</td>
- <td>the Bird</td>
- <td>@twitter</td>
- </tr>
- </tbody>
- </table>
- </div>{{! /example }}
+ <h2>{{_i}}Default styles{{/i}}</h2>
+ <p>{{_i}}For basic styling&mdash;light padding and only horizontal dividers&mdash;add the base class <code>.table</code> to any <code>&lt;table&gt;</code>.{{/i}}</p>
+ <div class="bs-docs-example">
+ <table class="table">
+ <thead>
+ <tr>
+ <th>#</th>
+ <th>{{_i}}First Name{{/i}}</th>
+ <th>{{_i}}Last Name{{/i}}</th>
+ <th>{{_i}}Username{{/i}}</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>1</td>
+ <td>Mark</td>
+ <td>Otto</td>
+ <td>@mdo</td>
+ </tr>
+ <tr>
+ <td>2</td>
+ <td>Jacob</td>
+ <td>Thornton</td>
+ <td>@fat</td>
+ </tr>
+ <tr>
+ <td>3</td>
+ <td>Larry</td>
+ <td>the Bird</td>
+ <td>@twitter</td>
+ </tr>
+ </tbody>
+ </table>
+ </div>{{! /example }}
<pre class="prettyprint linenums">
&lt;table class="table"&gt;
…
@@ -414,251 +417,251 @@
</pre>
- <hr class="bs-docs-separator">
-
-
- <h2>{{_i}}Optional classes{{/i}}</h2>
- <p>{{_i}}Add any of the follow classes to the <code>.table</code> base class.{{/i}}</p>
-
- <h3><code>{{_i}}.table-striped{{/i}}</code></h3>
- <p>{{_i}}Adds zebra-striping to any table row within the <code>&lt;tbody&gt;</code> via the <code>:nth-child</code> CSS selector (not available in IE7-IE8).{{/i}}</p>
- <div class="bs-docs-example">
- <table class="table table-striped">
- <thead>
- <tr>
- <th>#</th>
- <th>{{_i}}First Name{{/i}}</th>
- <th>{{_i}}Last Name{{/i}}</th>
- <th>{{_i}}Username{{/i}}</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>1</td>
- <td>Mark</td>
- <td>Otto</td>
- <td>@mdo</td>
- </tr>
- <tr>
- <td>2</td>
- <td>Jacob</td>
- <td>Thornton</td>
- <td>@fat</td>
- </tr>
- <tr>
- <td>3</td>
- <td>Larry</td>
- <td>the Bird</td>
- <td>@twitter</td>
- </tr>
- </tbody>
- </table>
- </div>{{! /example }}
+ <hr class="bs-docs-separator">
+
+
+ <h2>{{_i}}Optional classes{{/i}}</h2>
+ <p>{{_i}}Add any of the follow classes to the <code>.table</code> base class.{{/i}}</p>
+
+ <h3><code>{{_i}}.table-striped{{/i}}</code></h3>
+ <p>{{_i}}Adds zebra-striping to any table row within the <code>&lt;tbody&gt;</code> via the <code>:nth-child</code> CSS selector (not available in IE7-IE8).{{/i}}</p>
+ <div class="bs-docs-example">
+ <table class="table table-striped">
+ <thead>
+ <tr>
+ <th>#</th>
+ <th>{{_i}}First Name{{/i}}</th>
+ <th>{{_i}}Last Name{{/i}}</th>
+ <th>{{_i}}Username{{/i}}</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>1</td>
+ <td>Mark</td>
+ <td>Otto</td>
+ <td>@mdo</td>
+ </tr>
+ <tr>
+ <td>2</td>
+ <td>Jacob</td>
+ <td>Thornton</td>
+ <td>@fat</td>
+ </tr>
+ <tr>
+ <td>3</td>
+ <td>Larry</td>
+ <td>the Bird</td>
+ <td>@twitter</td>
+ </tr>
+ </tbody>
+ </table>
+ </div>{{! /example }}
<pre class="prettyprint linenums" style="margin-bottom: 18px;">
&lt;table class="table table-striped"&gt;
…
&lt;/table&gt;
</pre>
- <h3><code>{{_i}}.table-bordered{{/i}}</code></h3>
- <p>{{_i}}Add borders and rounded corners to the table.{{/i}}</p>
- <div class="bs-docs-example">
- <table class="table table-bordered">
- <thead>
- <tr>
- <th>#</th>
- <th>{{_i}}First Name{{/i}}</th>
- <th>{{_i}}Last Name{{/i}}</th>
- <th>{{_i}}Username{{/i}}</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td rowspan="2">1</td>
- <td>Mark</td>
- <td>Otto</td>
- <td>@mdo</td>
- </tr>
- <tr>
- <td>Mark</td>
- <td>Otto</td>
- <td>@TwBootstrap</td>
- </tr>
- <tr>
- <td>2</td>
- <td>Jacob</td>
- <td>Thornton</td>
- <td>@fat</td>
- </tr>
- <tr>
- <td>3</td>
- <td colspan="2">Larry the Bird</td>
- <td>@twitter</td>
- </tr>
- </tbody>
- </table>
- </div>{{! /example }}
+ <h3><code>{{_i}}.table-bordered{{/i}}</code></h3>
+ <p>{{_i}}Add borders and rounded corners to the table.{{/i}}</p>
+ <div class="bs-docs-example">
+ <table class="table table-bordered">
+ <thead>
+ <tr>
+ <th>#</th>
+ <th>{{_i}}First Name{{/i}}</th>
+ <th>{{_i}}Last Name{{/i}}</th>
+ <th>{{_i}}Username{{/i}}</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td rowspan="2">1</td>
+ <td>Mark</td>
+ <td>Otto</td>
+ <td>@mdo</td>
+ </tr>
+ <tr>
+ <td>Mark</td>
+ <td>Otto</td>
+ <td>@TwBootstrap</td>
+ </tr>
+ <tr>
+ <td>2</td>
+ <td>Jacob</td>
+ <td>Thornton</td>
+ <td>@fat</td>
+ </tr>
+ <tr>
+ <td>3</td>
+ <td colspan="2">Larry the Bird</td>
+ <td>@twitter</td>
+ </tr>
+ </tbody>
+ </table>
+ </div>{{! /example }}
<pre class="prettyprint linenums">
&lt;table class="table table-bordered"&gt;
…
&lt;/table&gt;
</pre>
- <h3><code>{{_i}}.table-hover{{/i}}</code></h3>
- <p>{{_i}}Enable a hover state on table rows within a <code>&lt;tbody&gt;</code>.{{/i}}</p>
- <div class="bs-docs-example">
- <table class="table table-hover">
+ <h3><code>{{_i}}.table-hover{{/i}}</code></h3>
+ <p>{{_i}}Enable a hover state on table rows within a <code>&lt;tbody&gt;</code>.{{/i}}</p>
+ <div class="bs-docs-example">
+ <table class="table table-hover">
+ <thead>
+ <tr>
+ <th>#</th>
+ <th>{{_i}}First Name{{/i}}</th>
+ <th>{{_i}}Last Name{{/i}}</th>
+ <th>{{_i}}Username{{/i}}</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>1</td>
+ <td>Mark</td>
+ <td>Otto</td>
+ <td>@mdo</td>
+ </tr>
+ <tr>
+ <td>2</td>
+ <td>Jacob</td>
+ <td>Thornton</td>
+ <td>@fat</td>
+ </tr>
+ <tr>
+ <td>3</td>
+ <td colspan="2">Larry the Bird</td>
+ <td>@twitter</td>
+ </tr>
+ </tbody>
+ </table>
+ </div>{{! /example }}
+<pre class="prettyprint linenums" style="margin-bottom: 18px;">
+&lt;table class="table table-hover"&gt;
+ …
+&lt;/table&gt;
+</pre>
+
+ <h3><code>{{_i}}.table-condensed{{/i}}</code></h3>
+ <p>{{_i}}Makes tables more compact by cutting cell padding in half.{{/i}}</p>
+ <div class="bs-docs-example">
+ <table class="table table-condensed">
+ <thead>
+ <tr>
+ <th>#</th>
+ <th>{{_i}}First Name{{/i}}</th>
+ <th>{{_i}}Last Name{{/i}}</th>
+ <th>{{_i}}Username{{/i}}</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>1</td>
+ <td>Mark</td>
+ <td>Otto</td>
+ <td>@mdo</td>
+ </tr>
+ <tr>
+ <td>2</td>
+ <td>Jacob</td>
+ <td>Thornton</td>
+ <td>@fat</td>
+ </tr>
+ <tr>
+ <td>3</td>
+ <td colspan="2">Larry the Bird</td>
+ <td>@twitter</td>
+ </tr>
+ </tbody>
+ </table>
+ </div>{{! /example }}
+<pre class="prettyprint linenums" style="margin-bottom: 18px;">
+&lt;table class="table table-condensed"&gt;
+ …
+&lt;/table&gt;
+</pre>
+
+
+ <hr class="bs-docs-separator">
+
+
+ <h2>{{_i}}Supported table markup{{/i}}</h2>
+ <p>{{_i}}List of supported table HTML elements and how they should be used.{{/i}}</p>
+ <table class="table table-bordered table-striped">
+ <colgroup>
+ <col class="span1">
+ <col class="span7">
+ </colgroup>
<thead>
<tr>
- <th>#</th>
- <th>{{_i}}First Name{{/i}}</th>
- <th>{{_i}}Last Name{{/i}}</th>
- <th>{{_i}}Username{{/i}}</th>
+ <th>{{_i}}Tag{{/i}}</th>
+ <th>{{_i}}Description{{/i}}</th>
</tr>
</thead>
<tbody>
<tr>
- <td>1</td>
- <td>Mark</td>
- <td>Otto</td>
- <td>@mdo</td>
+ <td>
+ <code>&lt;table&gt;</code>
+ </td>
+ <td>
+ {{_i}}Wrapping element for displaying data in a tabular format{{/i}}
+ </td>
</tr>
<tr>
- <td>2</td>
- <td>Jacob</td>
- <td>Thornton</td>
- <td>@fat</td>
+ <td>
+ <code>&lt;thead&gt;</code>
+ </td>
+ <td>
+ {{_i}}Container element for table header rows (<code>&lt;tr&gt;</code>) to label table columns{{/i}}
+ </td>
</tr>
<tr>
- <td>3</td>
- <td colspan="2">Larry the Bird</td>
- <td>@twitter</td>
+ <td>
+ <code>&lt;tbody&gt;</code>
+ </td>
+ <td>
+ {{_i}}Container element for table rows (<code>&lt;tr&gt;</code>) in the body of the table{{/i}}
+ </td>
</tr>
- </tbody>
- </table>
- </div>{{! /example }}
-<pre class="prettyprint linenums" style="margin-bottom: 18px;">
-&lt;table class="table table-hover"&gt;
- …
-&lt;/table&gt;
-</pre>
-
- <h3><code>{{_i}}.table-condensed{{/i}}</code></h3>
- <p>{{_i}}Makes tables more compact by cutting cell padding in half.{{/i}}</p>
- <div class="bs-docs-example">
- <table class="table table-condensed">
- <thead>
<tr>
- <th>#</th>
- <th>{{_i}}First Name{{/i}}</th>
- <th>{{_i}}Last Name{{/i}}</th>
- <th>{{_i}}Username{{/i}}</th>
+ <td>
+ <code>&lt;tr&gt;</code>
+ </td>
+ <td>
+ {{_i}}Container element for a set of table cells (<code>&lt;td&gt;</code> or <code>&lt;th&gt;</code>) that appears on a single row{{/i}}
+ </td>
</tr>
- </thead>
- <tbody>
<tr>
- <td>1</td>
- <td>Mark</td>
- <td>Otto</td>
- <td>@mdo</td>
+ <td>
+ <code>&lt;td&gt;</code>
+ </td>
+ <td>
+ {{_i}}Default table cell{{/i}}
+ </td>
</tr>
<tr>
- <td>2</td>
- <td>Jacob</td>
- <td>Thornton</td>
- <td>@fat</td>
+ <td>
+ <code>&lt;th&gt;</code>
+ </td>
+ <td>
+ {{_i}}Special table cell for column (or row, depending on scope and placement) labels{{/i}}<br>
+ {{_i}}Must be used within a <code>&lt;thead&gt;</code>{{/i}}
+ </td>
</tr>
<tr>
- <td>3</td>
- <td colspan="2">Larry the Bird</td>
- <td>@twitter</td>
+ <td>
+ <code>&lt;caption&gt;</code>
+ </td>
+ <td>
+ {{_i}}Description or summary of what the table holds, especially useful for screen readers{{/i}}
+ </td>
</tr>
</tbody>
</table>
- </div>{{! /example }}
-<pre class="prettyprint linenums" style="margin-bottom: 18px;">
-&lt;table class="table table-condensed"&gt;
- …
-&lt;/table&gt;
-</pre>
-
-
- <hr class="bs-docs-separator">
-
-
- <h2>{{_i}}Supported table markup{{/i}}</h2>
- <p>{{_i}}List of supported table HTML elements and how they should be used.{{/i}}</p>
- <table class="table table-bordered table-striped">
- <colgroup>
- <col class="span1">
- <col class="span7">
- </colgroup>
- <thead>
- <tr>
- <th>{{_i}}Tag{{/i}}</th>
- <th>{{_i}}Description{{/i}}</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>
- <code>&lt;table&gt;</code>
- </td>
- <td>
- {{_i}}Wrapping element for displaying data in a tabular format{{/i}}
- </td>
- </tr>
- <tr>
- <td>
- <code>&lt;thead&gt;</code>
- </td>
- <td>
- {{_i}}Container element for table header rows (<code>&lt;tr&gt;</code>) to label table columns{{/i}}
- </td>
- </tr>
- <tr>
- <td>
- <code>&lt;tbody&gt;</code>
- </td>
- <td>
- {{_i}}Container element for table rows (<code>&lt;tr&gt;</code>) in the body of the table{{/i}}
- </td>
- </tr>
- <tr>
- <td>
- <code>&lt;tr&gt;</code>
- </td>
- <td>
- {{_i}}Container element for a set of table cells (<code>&lt;td&gt;</code> or <code>&lt;th&gt;</code>) that appears on a single row{{/i}}
- </td>
- </tr>
- <tr>
- <td>
- <code>&lt;td&gt;</code>
- </td>
- <td>
- {{_i}}Default table cell{{/i}}
- </td>
- </tr>
- <tr>
- <td>
- <code>&lt;th&gt;</code>
- </td>
- <td>
- {{_i}}Special table cell for column (or row, depending on scope and placement) labels{{/i}}<br>
- {{_i}}Must be used within a <code>&lt;thead&gt;</code>{{/i}}
- </td>
- </tr>
- <tr>
- <td>
- <code>&lt;caption&gt;</code>
- </td>
- <td>
- {{_i}}Description or summary of what the table holds, especially useful for screen readers{{/i}}
- </td>
- </tr>
- </tbody>
- </table>
<pre class="prettyprint linenums">
&lt;table&gt;
&lt;thead&gt;
@@ -676,29 +679,29 @@
&lt;/table&gt;
</pre>
- </section>
+ </section>
- <!-- Forms
- ================================================== -->
- <section id="forms">
- <div class="page-header">
- <h1>{{_i}}Forms{{/i}}</h1>
- </div>
+ <!-- Forms
+ ================================================== -->
+ <section id="forms">
+ <div class="page-header">
+ <h1>{{_i}}Forms{{/i}}</h1>
+ </div>
- <h2>{{_i}}Default styles{{/i}}</h2>
- <p>{{_i}}Individual form controls receive styling, but without any required base class on the <code>&lt;form&gt;</code> or large changes in markup. Results in stacked, left-aligned labels on top of form controls.{{/i}}</p>
- <form class="bs-docs-example">
- <legend>Legend</legend>
- <label>{{_i}}Label name{{/i}}</label>
- <input type="text" placeholder="{{_i}}Type something…{{/i}}">
- <p class="help-block">{{_i}}Example block-level help text here.{{/i}}</p>
- <label class="checkbox">
- <input type="checkbox"> {{_i}}Check me out{{/i}}
- </label>
- <button type="submit" class="btn">{{_i}}Submit{{/i}}</button>
- </form>{{! /example }}
+ <h2>{{_i}}Default styles{{/i}}</h2>
+ <p>{{_i}}Individual form controls receive styling, but without any required base class on the <code>&lt;form&gt;</code> or large changes in markup. Results in stacked, left-aligned labels on top of form controls.{{/i}}</p>
+ <form class="bs-docs-example">
+ <legend>Legend</legend>
+ <label>{{_i}}Label name{{/i}}</label>
+ <input type="text" placeholder="{{_i}}Type something…{{/i}}">
+ <p class="help-block">{{_i}}Example block-level help text here.{{/i}}</p>
+ <label class="checkbox">
+ <input type="checkbox"> {{_i}}Check me out{{/i}}
+ </label>
+ <button type="submit" class="btn">{{_i}}Submit{{/i}}</button>
+ </form>{{! /example }}
<pre class="prettyprint linenums">
&lt;form class="well"&gt;
&lt;label&gt;{{_i}}Label name{{/i}}&lt;/label&gt;
@@ -712,18 +715,18 @@
</pre>
- <hr class="bs-docs-separator"></hr>
+ <hr class="bs-docs-separator"></hr>
- <h2>{{_i}}Optional layouts{{/i}}</h2>
- <p>{{_i}}Included with Bootstrap are three optional form layouts for common use cases.{{/i}}</p>
+ <h2>{{_i}}Optional layouts{{/i}}</h2>
+ <p>{{_i}}Included with Bootstrap are three optional form layouts for common use cases.{{/i}}</p>
- <h3>{{_i}}Search form{{/i}}</h3>
- <p>{{_i}}Add <code>.form-search</code> to the form and <code>.search-query</code> to the <code>&lt;input&gt;</code> for an extra-rounded text input.{{/i}}</p>
- <form class="bs-docs-example form-search">
- <input type="text" class="input-medium search-query">
- <button type="submit" class="btn">{{_i}}Search{{/i}}</button>
- </form>{{! /example }}
+ <h3>{{_i}}Search form{{/i}}</h3>
+ <p>{{_i}}Add <code>.form-search</code> to the form and <code>.search-query</code> to the <code>&lt;input&gt;</code> for an extra-rounded text input.{{/i}}</p>
+ <form class="bs-docs-example form-search">
+ <input type="text" class="input-medium search-query">
+ <button type="submit" class="btn">{{_i}}Search{{/i}}</button>
+ </form>{{! /example }}
<pre class="prettyprint linenums">
&lt;form class="form-search"&gt;
&lt;input type="text" class="input-medium search-query"&gt;
@@ -731,16 +734,16 @@
&lt;/form&gt;
</pre>
- <h3>{{_i}}Inline form{{/i}}</h3>
- <p>{{_i}}Add <code>.form-inline</code> for left-aligned labels and inline-block controls for a compact layout.{{/i}}</p>
- <form class="bs-docs-example form-inline">
- <input type="text" class="input-small" placeholder="{{_i}}Email{{/i}}">
- <input type="password" class="input-small" placeholder="{{_i}}Password{{/i}}">
- <label class="checkbox">
- <input type="checkbox"> {{_i}}Remember me{{/i}}
- </label>
- <button type="submit" class="btn">{{_i}}Sign in{{/i}}</button>
- </form>{{! /example }}
+ <h3>{{_i}}Inline form{{/i}}</h3>
+ <p>{{_i}}Add <code>.form-inline</code> for left-aligned labels and inline-block controls for a compact layout.{{/i}}</p>
+ <form class="bs-docs-example form-inline">
+ <input type="text" class="input-small" placeholder="{{_i}}Email{{/i}}">
+ <input type="password" class="input-small" placeholder="{{_i}}Password{{/i}}">
+ <label class="checkbox">
+ <input type="checkbox"> {{_i}}Remember me{{/i}}
+ </label>
+ <button type="submit" class="btn">{{_i}}Sign in{{/i}}</button>
+ </form>{{! /example }}
<pre class="prettyprint linenums">
&lt;form class="form-inline"&gt;
&lt;input type="text" class="input-small" placeholder="{{_i}}Email{{/i}}"&gt;
@@ -752,37 +755,37 @@
&lt;/form&gt;
</pre>
- <h3>{{_i}}Horizontal form{{/i}}</h3>
- <p>{{_i}}Right align labels and float them to the left to make them appear on the same line as controls. Requires the most markup changes from a default form:{{/i}}</p>
- <ul>
- <li>{{_i}}Add <code>.form-horizontal</code> to the form{{/i}}</li>
- <li>{{_i}}Wrap labels and controls in <code>.control-group</code>{{/i}}</li>
- <li>{{_i}}Add <code>.control-label</code> to the label{{/i}}</li>
- <li>{{_i}}Wrap any associated controls in <code>.controls</code> for proper alignment{{/i}}</li>
- </ul>
- <form class="bs-docs-example form-horizontal">
- <legend>Legend</legend>
- <div class="control-group">
- <label class="control-label" for="">{{_i}}Email{{/i}}</label>
- <div class="controls">
- <input type="text" placeholder="{{_i}}Email{{/i}}">
+ <h3>{{_i}}Horizontal form{{/i}}</h3>
+ <p>{{_i}}Right align labels and float them to the left to make them appear on the same line as controls. Requires the most markup changes from a default form:{{/i}}</p>
+ <ul>
+ <li>{{_i}}Add <code>.form-horizontal</code> to the form{{/i}}</li>
+ <li>{{_i}}Wrap labels and controls in <code>.control-group</code>{{/i}}</li>
+ <li>{{_i}}Add <code>.control-label</code> to the label{{/i}}</li>
+ <li>{{_i}}Wrap any associated controls in <code>.controls</code> for proper alignment{{/i}}</li>
+ </ul>
+ <form class="bs-docs-example form-horizontal">
+ <legend>Legend</legend>
+ <div class="control-group">
+ <label class="control-label" for="">{{_i}}Email{{/i}}</label>
+ <div class="controls">
+ <input type="text" placeholder="{{_i}}Email{{/i}}">
+ </div>
</div>
- </div>
- <div class="control-group">
- <label class="control-label" for="">{{_i}}Password{{/i}}</label>
- <div class="controls">
- <input type="password" placeholder="{{_i}}Password{{/i}}">
+ <div class="control-group">
+ <label class="control-label" for="">{{_i}}Password{{/i}}</label>
+ <div class="controls">
+ <input type="password" placeholder="{{_i}}Password{{/i}}">
+ </div>
</div>
- </div>
- <div class="control-group">
- <div class="controls">
- <label class="checkbox">
- <input type="checkbox"> {{_i}}Remember me{{/i}}
- </label>
- <button type="submit" class="btn">{{_i}}Sign in{{/i}}</button>
+ <div class="control-group">
+ <div class="controls">
+ <label class="checkbox">
+ <input type="checkbox"> {{_i}}Remember me{{/i}}
+ </label>
+ <button type="submit" class="btn">{{_i}}Sign in{{/i}}</button>
+ </div>
</div>
- </div>
- </form>
+ </form>
<pre class="prettyprint linenums">
&lt;form class="form-horizontal"&gt;
&lt;div class="control-group"&gt;
@@ -809,49 +812,49 @@
</pre>
- <hr class="bs-docs-separator"></hr>
+ <hr class="bs-docs-separator"></hr>
- <h2>{{_i}}Supported form controls{{/i}}</h2>
- <p>{{_i}}Examples of standard form controls supported in an example form layout.{{/i}}</p>
+ <h2>{{_i}}Supported form controls{{/i}}</h2>
+ <p>{{_i}}Examples of standard form controls supported in an example form layout.{{/i}}</p>
- <h3>{{_i}}Inputs{{/i}}</h3>
- <p>{{_i}}Most common form control, text-based input fields. Includes support for all HTML5 types: text, password, datetime, datetime-local, date, month, time, week, number, email, url, search, tel, and color.{{/i}}</p>
- <p>{{_i}}Requires the use of a specified <code>type</code> at all times.{{/i}}</p>
- <form class="bs-docs-example form-inline">
- <input type="text" placeholder="Text input">
- </form>
+ <h3>{{_i}}Inputs{{/i}}</h3>
+ <p>{{_i}}Most common form control, text-based input fields. Includes support for all HTML5 types: text, password, datetime, datetime-local, date, month, time, week, number, email, url, search, tel, and color.{{/i}}</p>
+ <p>{{_i}}Requires the use of a specified <code>type</code> at all times.{{/i}}</p>
+ <form class="bs-docs-example form-inline">
+ <input type="text" placeholder="Text input">
+ </form>
<pre class="prettyprint linenums">
&lt;input type="text" placeholder="Text input"&gt;
</pre>
- <h3>{{_i}}Textarea{{/i}}</h3>
- <p>{{_i}}Form control which supports multiple lines of text. Change <code>row</code> attribute as necessary.{{/i}}</p>
- <form class="bs-docs-example form-inline">
- <textarea rows="3"></textarea>
- </form>
+ <h3>{{_i}}Textarea{{/i}}</h3>
+ <p>{{_i}}Form control which supports multiple lines of text. Change <code>row</code> attribute as necessary.{{/i}}</p>
+ <form class="bs-docs-example form-inline">
+ <textarea rows="3"></textarea>
+ </form>
<pre class="prettyprint linenums">
&lt;textarea id="textarea" rows="3"&gt;&lt;/textarea&gt;
</pre>
- <h3>{{_i}}Checkboxes and radios{{/i}}</h3>
- <p>{{_i}}Checkboxes are for selecting one or several options in a list while radios are for selecting one option from many.{{/i}}</p>
- <h4>{{_i}}Default (stacked){{/i}}</h4>
- <form class="bs-docs-example">
- <label class="checkbox">
- <input type="checkbox" value="">
- {{_i}}Option one is this and that&mdash;be sure to include why it's great{{/i}}
- </label>
- <br>
- <label class="radio">
- <input type="radio" name="optionsRadios" id="optionsRadios1" value="option1" checked>
- {{_i}}Option one is this and that&mdash;be sure to include why it's great{{/i}}
- </label>
- <label class="radio">
- <input type="radio" name="optionsRadios" id="optionsRadios2" value="option2">
- {{_i}}Option two can be something else and selecting it will deselect option one{{/i}}
- </label>
- </form>
+ <h3>{{_i}}Checkboxes and radios{{/i}}</h3>
+ <p>{{_i}}Checkboxes are for selecting one or several options in a list while radios are for selecting one option from many.{{/i}}</p>
+ <h4>{{_i}}Default (stacked){{/i}}</h4>
+ <form class="bs-docs-example">
+ <label class="checkbox">
+ <input type="checkbox" value="">
+ {{_i}}Option one is this and that&mdash;be sure to include why it's great{{/i}}
+ </label>
+ <br>
+ <label class="radio">
+ <input type="radio" name="optionsRadios" id="optionsRadios1" value="option1" checked>
+ {{_i}}Option one is this and that&mdash;be sure to include why it's great{{/i}}
+ </label>
+ <label class="radio">
+ <input type="radio" name="optionsRadios" id="optionsRadios2" value="option2">
+ {{_i}}Option two can be something else and selecting it will deselect option one{{/i}}
+ </label>
+ </form>
<pre class="prettyprint linenums">
&lt;label class="checkbox"&gt;
&lt;input type="checkbox" value=""&gt;
@@ -868,19 +871,19 @@
&lt;/label&gt;
</pre>
- <h4>{{_i}}Inline checkboxes{{/i}}</h4>
- <p>{{_i}}Add the <code>.inline</code> class to a series of checkboxes or radios for controls appear on the same line.{{/i}}</p>
- <form class="bs-docs-example">
- <label class="checkbox inline">
- <input type="checkbox" id="inlineCheckbox1" value="option1"> 1
- </label>
- <label class="checkbox inline">
- <input type="checkbox" id="inlineCheckbox2" value="option2"> 2
- </label>
- <label class="checkbox inline">
- <input type="checkbox" id="inlineCheckbox3" value="option3"> 3
- </label>
- </form>
+ <h4>{{_i}}Inline checkboxes{{/i}}</h4>
+ <p>{{_i}}Add the <code>.inline</code> class to a series of checkboxes or radios for controls appear on the same line.{{/i}}</p>
+ <form class="bs-docs-example">
+ <label class="checkbox inline">
+ <input type="checkbox" id="inlineCheckbox1" value="option1"> 1
+ </label>
+ <label class="checkbox inline">
+ <input type="checkbox" id="inlineCheckbox2" value="option2"> 2
+ </label>
+ <label class="checkbox inline">
+ <input type="checkbox" id="inlineCheckbox3" value="option3"> 3
+ </label>
+ </form>
<pre class="prettyprint linenums">
&lt;label class="checkbox inline"&gt;
&lt;input type="checkbox" id="inlineCheckbox1" value="option1"&gt; 1
@@ -893,25 +896,25 @@
&lt;/label&gt;
</pre>
- <h3>{{_i}}Selects{{/i}}</h3>
- <p>{{_i}}Use the default option or specify a <code>multiple="multiple"</code> to show multiple options at once.{{/i}}</p>
- <form class="bs-docs-example">
- <select>
- <option>something</option>
- <option>2</option>
- <option>3</option>
- <option>4</option>
- <option>5</option>
- </select>
- <br>
- <select>
- <option>1</option>
- <option>2</option>
- <option>3</option>
- <option>4</option>
- <option>5</option>
- </select>
- </form>
+ <h3>{{_i}}Selects{{/i}}</h3>
+ <p>{{_i}}Use the default option or specify a <code>multiple="multiple"</code> to show multiple options at once.{{/i}}</p>
+ <form class="bs-docs-example">
+ <select>
+ <option>something</option>
+ <option>2</option>
+ <option>3</option>
+ <option>4</option>
+ <option>5</option>
+ </select>
+ <br>
+ <select>
+ <option>1</option>
+ <option>2</option>
+ <option>3</option>
+ <option>4</option>
+ <option>5</option>
+ </select>
+ </form>
<pre class="prettyprint linenums">
&lt;select&gt;
&lt;option&gt;something&lt;/option&gt;
@@ -931,28 +934,28 @@
</pre>
- <hr class="bs-docs-separator"></hr>
+ <hr class="bs-docs-separator"></hr>
- <h2>{{_i}}Extending form controls{{/i}}</h2>
- <p>{{_i}}Adding on top of existing browser controls, Bootstrap includes other useful form components.{{/i}}</p>
+ <h2>{{_i}}Extending form controls{{/i}}</h2>
+ <p>{{_i}}Adding on top of existing browser controls, Bootstrap includes other useful form components.{{/i}}</p>
- <h3>{{_i}}Prepended and appended inputs{{/i}}</h3>
- <p>{{_i}}Add text or buttons before or after any text-based input. Do note that <code>select</code> elements are not supported here.{{/i}}</p>
+ <h3>{{_i}}Prepended and appended inputs{{/i}}</h3>
+ <p>{{_i}}Add text or buttons before or after any text-based input. Do note that <code>select</code> elements are not supported here.{{/i}}</p>
- <h4>{{_i}}Default options{{/i}}</h4>
- <p>{{_i}}Wrap a <code>.add-on</code> and an <code>input</code> with one of two classes to prepend or append text to an input.{{/i}}</p>
- <form class="bs-docs-example">
- <div class="input-prepend">
- <span class="add-on">@</span>
- <input class="span2" id="prependedInput" size="16" type="text" placeholder="{{_i}}Username{{/i}}">
- </div>
- <br>
- <div class="input-append">
- <input class="span2" id="appendedInput" size="16" type="text">
- <span class="add-on">.00</span>
- </div>
- </form>
+ <h4>{{_i}}Default options{{/i}}</h4>
+ <p>{{_i}}Wrap a <code>.add-on</code> and an <code>input</code> with one of two classes to prepend or append text to an input.{{/i}}</p>
+ <form class="bs-docs-example">
+ <div class="input-prepend">
+ <span class="add-on">@</span>
+ <input class="span2" id="prependedInput" size="16" type="text" placeholder="{{_i}}Username{{/i}}">
+ </div>
+ <br>
+ <div class="input-append">
+ <input class="span2" id="appendedInput" size="16" type="text">
+ <span class="add-on">.00</span>
+ </div>
+ </form>
<pre class="prettyprint linenums">
&lt;div class="input-prepend"&gt;
&lt;span class="add-on"&gt;@&lt;/span&gt;&lt;input class="span2" id="prependedInput" size="16" type="text" placeholder="{{_i}}Username{{/i}}"&gt;
@@ -962,35 +965,35 @@
&lt;/div&gt;
</pre>
- <h4>{{_i}}Combined{{/i}}</h4>
- <p>{{_i}}Use both classes and two instances of <code>.add-on</code> to prepend and append an input.{{/i}}</p>
- <form class="bs-docs-example form-inline">
- <div class="input-prepend input-append">
- <span class="add-on">$</span>
- <input class="span2" id="appendedPrependedInput" size="16" type="text">
- <span class="add-on">.00</span>
- </div>
- </form>
+ <h4>{{_i}}Combined{{/i}}</h4>
+ <p>{{_i}}Use both classes and two instances of <code>.add-on</code> to prepend and append an input.{{/i}}</p>
+ <form class="bs-docs-example form-inline">
+ <div class="input-prepend input-append">
+ <span class="add-on">$</span>
+ <input class="span2" id="appendedPrependedInput" size="16" type="text">
+ <span class="add-on">.00</span>
+ </div>
+ </form>
<pre class="prettyprint linenums">
&lt;div class="input-prepend input-append"&gt;
&lt;span class="add-on"&gt;$&lt;/span&gt;&lt;input class="span2" id="appendedPrependedInput" size="16" type="text"&gt;&lt;span class="add-on"&gt;.00&lt;/span&gt;
&lt;/div&gt;
</pre>
- <h4>{{_i}}Buttons instead of text{{/i}}</h4>
- <p>{{_i}}Instead of a <code>&lt;span&gt;</code> with text, use a <code>.btn</code> to attach a button (or two) to an input.{{/i}}</p>
- <form class="bs-docs-example">
- <div class="input-append">
- <input class="span2" id="appendedInputButton" size="16" type="text">
- <button class="btn" type="button">Go!</button>
- </div>
- <br>
- <div class="input-append">
- <input class="span2" id="appendedInputButtons" size="16" type="text">
- <button class="btn" type="button">Search</button>
- <button class="btn" type="button">Options</button>
- </div>
- </form>
+ <h4>{{_i}}Buttons instead of text{{/i}}</h4>
+ <p>{{_i}}Instead of a <code>&lt;span&gt;</code> with text, use a <code>.btn</code> to attach a button (or two) to an input.{{/i}}</p>
+ <form class="bs-docs-example">
+ <div class="input-append">
+ <input class="span2" id="appendedInputButton" size="16" type="text">
+ <button class="btn" type="button">Go!</button>
+ </div>
+ <br>
+ <div class="input-append">
+ <input class="span2" id="appendedInputButtons" size="16" type="text">
+ <button class="btn" type="button">Search</button>
+ <button class="btn" type="button">Options</button>
+ </div>
+ </form>
<pre class="prettyprint linenums">
&lt;div class="input-append"&gt;
&lt;input class="span2" id="appendedInputButton" size="16" type="text"&gt;&lt;button class="btn" type="button"&gt;Go!&lt;/button&gt;
@@ -1001,17 +1004,17 @@
&lt;/div&gt;
</pre>
- <h4>{{_i}}Search form{{/i}}</h4>
- <form class="bs-docs-example form-search">
- <div class="input-append">
- <input type="text" class="span2 search-query">
- <button type="submit" class="btn">{{_i}}Search{{/i}}</button>
- </div>
- <div class="input-prepend">
- <button type="submit" class="btn">{{_i}}Search{{/i}}</button>
- <input type="text" class="span2 search-query">
- </div>
- </form>{{! /example }}
+ <h4>{{_i}}Search form{{/i}}</h4>
+ <form class="bs-docs-example form-search">
+ <div class="input-append">
+ <input type="text" class="span2 search-query">
+ <button type="submit" class="btn">{{_i}}Search{{/i}}</button>
+ </div>
+ <div class="input-prepend">
+ <button type="submit" class="btn">{{_i}}Search{{/i}}</button>
+ <input type="text" class="span2 search-query">
+ </div>
+ </form>{{! /example }}
<pre class="prettyprint linenums">
&lt;form class="form-search"&gt;
&lt;input type="text" class="span2 search-query"&gt;
@@ -1019,20 +1022,20 @@
&lt;/form&gt;
</pre>
- <h3>{{_i}}Control sizing{{/i}}</h3>
- <p>{{_i}}Use relative sizing classes like <code>.input-large</code> or match your inputs to the grid column sizes using <code>.span*</code> classes.{{/i}}</p>
-
- <h4>{{_i}}Relative sizing{{/i}}</h4>
- <form class="bs-docs-example" style="padding-bottom: 15px;">
- <div class="controls docs-input-sizes">
- <input class="input-mini" type="text" placeholder=".input-mini">
- <input class="input-small" type="text" placeholder=".input-small">
- <input class="input-medium" type="text" placeholder=".input-medium">
- <input class="input-large" type="text" placeholder=".input-large">
- <input class="input-xlarge" type="text" placeholder=".input-xlarge">
- <input class="input-xxlarge" type="text" placeholder=".input-xxlarge">
- </div>
- </form>
+ <h3>{{_i}}Control sizing{{/i}}</h3>
+ <p>{{_i}}Use relative sizing classes like <code>.input-large</code> or match your inputs to the grid column sizes using <code>.span*</code> classes.{{/i}}</p>
+
+ <h4>{{_i}}Relative sizing{{/i}}</h4>
+ <form class="bs-docs-example" style="padding-bottom: 15px;">
+ <div class="controls docs-input-sizes">
+ <input class="input-mini" type="text" placeholder=".input-mini">
+ <input class="input-small" type="text" placeholder=".input-small">
+ <input class="input-medium" type="text" placeholder=".input-medium">
+ <input class="input-large" type="text" placeholder=".input-large">
+ <input class="input-xlarge" type="text" placeholder=".input-xlarge">
+ <input class="input-xxlarge" type="text" placeholder=".input-xxlarge">
+ </div>
+ </form>
<pre class="prettyprint linenums">
&lt;input class="input-mini" type="text"&gt;
&lt;input class="input-small" type="text"&gt;
@@ -1041,68 +1044,68 @@
&lt;input class="input-xlarge" type="text"&gt;
&lt;input class="input-xxlarge" type="text"&gt;
</pre>
- <p>
- <span class="label label-info">{{_i}}Heads up!{{/i}}</span> In future versions, we'll be altering the use of these relative input classes to match our button sizes. For example, <code>.input-large</code> will increase the padding and font-size of an input.
- </p>
-
- <h4>{{_i}}Grid sizing{{/i}}</h4>
- <p>{{_i}}Use <code>.span1</code> to <code>.span12</code> for inputs that match the same sizes of the grid columns.{{/i}}</p>
- <form class="bs-docs-example" style="padding-bottom: 15px;">
- <div class="controls docs-input-sizes">
- <input class="span1" type="text" placeholder=".span1">
- <input class="span2" type="text" placeholder=".span2">
- <input class="span3" type="text" placeholder=".span3">
- <select class="span1">
- <option>1</option>
- <option>2</option>
- <option>3</option>
- <option>4</option>
- <option>5</option>
- </select>
- <select class="span2">
- <option>1</option>
- <option>2</option>
- <option>3</option>
- <option>4</option>
- <option>5</option>
- </select>
- <select class="span3">
- <option>1</option>
- <option>2</option>
- <option>3</option>
- <option>4</option>
- <option>5</option>
- </select>
- </div>
- </form>
+ <p>
+ <span class="label label-info">{{_i}}Heads up!{{/i}}</span> In future versions, we'll be altering the use of these relative input classes to match our button sizes. For example, <code>.input-large</code> will increase the padding and font-size of an input.
+ </p>
+
+ <h4>{{_i}}Grid sizing{{/i}}</h4>
+ <p>{{_i}}Use <code>.span1</code> to <code>.span12</code> for inputs that match the same sizes of the grid columns.{{/i}}</p>
+ <form class="bs-docs-example" style="padding-bottom: 15px;">
+ <div class="controls docs-input-sizes">
+ <input class="span1" type="text" placeholder=".span1">
+ <input class="span2" type="text" placeholder=".span2">
+ <input class="span3" type="text" placeholder=".span3">
+ <select class="span1">
+ <option>1</option>
+ <option>2</option>
+ <option>3</option>
+ <option>4</option>
+ <option>5</option>
+ </select>
+ <select class="span2">
+ <option>1</option>
+ <option>2</option>
+ <option>3</option>
+ <option>4</option>
+ <option>5</option>
+ </select>
+ <select class="span3">
+ <option>1</option>
+ <option>2</option>
+ <option>3</option>
+ <option>4</option>
+ <option>5</option>
+ </select>
+ </div>
+ </form>
<pre class="prettyprint linenums">
&lt;input class="span1" type="text"&gt;
&lt;input class="span2" type="text"&gt;
&lt;input class="span3" type="text"&gt;
</pre>
- <p>{{_i}}For multiple grid inputs per line, <strong>use the <code>.controls-row</code> modifier class for proper spacing</strong>. It floats the inputs to collapse white-space, sets the proper margins, and the clears the float.{{/i}}</p>
- <form class="bs-docs-example" style="padding-bottom: 15px;">
- <div class="controls">
- <input class="span5" type="text" placeholder=".span5">
- </div>
- <div class="controls controls-row">
- <input class="span4" type="text" placeholder=".span4">
- <input class="span1" type="text" placeholder=".span1">
- </div>
- <div class="controls controls-row">
- <input class="span3" type="text" placeholder=".span3">
- <input class="span2" type="text" placeholder=".span2">
- </div>
- <div class="controls controls-row">
- <input class="span2" type="text" placeholder=".span2">
- <input class="span3" type="text" placeholder=".span3">
- </div>
- <div class="controls controls-row">
- <input class="span1" type="text" placeholder=".span1">
- <input class="span4" type="text" placeholder=".span4">
- </div>
- </form>
+ <p>{{_i}}For multiple grid inputs per line, <strong>use the <code>.controls-row</code> modifier class for proper spacing</strong>. It floats the inputs to collapse white-space, sets the proper margins, and the clears the float.{{/i}}</p>
+ <form class="bs-docs-example" style="padding-bottom: 15px;">
+ <div class="controls">
+ <input class="span5" type="text" placeholder=".span5">
+ </div>
+ <div class="controls controls-row">
+ <input class="span4" type="text" placeholder=".span4">
+ <input class="span1" type="text" placeholder=".span1">
+ </div>
+ <div class="controls controls-row">
+ <input class="span3" type="text" placeholder=".span3">
+ <input class="span2" type="text" placeholder=".span2">
+ </div>
+ <div class="controls controls-row">
+ <input class="span2" type="text" placeholder=".span2">
+ <input class="span3" type="text" placeholder=".span3">
+ </div>
+ <div class="controls controls-row">
+ <input class="span1" type="text" placeholder=".span1">
+ <input class="span4" type="text" placeholder=".span4">
+ </div>
+ </form>
<pre class="prettyprint linenums">
&lt;div class="controls controls-row"&gt;
&lt;input class="span4" type="text" placeholder=".span4"&gt;
@@ -1110,23 +1113,23 @@
&lt;/div&gt;
</pre>
- <h3>{{_i}}Uneditable inputs{{/i}}</h3>
- <p>{{_i}}Present data in a form that's not editable without using actual form markup.{{/i}}</p>
- <form class="bs-docs-example">
- <span class="input-xlarge uneditable-input">Some value here</span>
- </form>
+ <h3>{{_i}}Uneditable inputs{{/i}}</h3>
+ <p>{{_i}}Present data in a form that's not editable without using actual form markup.{{/i}}</p>
+ <form class="bs-docs-example">
+ <span class="input-xlarge uneditable-input">Some value here</span>
+ </form>
<pre class="prettyprint linenums">
&lt;span class="input-xlarge uneditable-input"&gt;Some value here&lt;/span&gt;
</pre>
- <h3>{{_i}}Form actions{{/i}}</h3>
- <p>{{_i}}End a form with a group of actions (buttons). When placed within a <code>.form-horizontal</code>, the buttons will automatically indent to line up with the form controls.{{/i}}</p>
- <form class="bs-docs-example">
- <div class="form-actions">
- <button type="submit" class="btn btn-primary">{{_i}}Save changes{{/i}}</button>
- <button type="button" class="btn">{{_i}}Cancel{{/i}}</button>
- </div>
- </form>
+ <h3>{{_i}}Form actions{{/i}}</h3>
+ <p>{{_i}}End a form with a group of actions (buttons). When placed within a <code>.form-horizontal</code>, the buttons will automatically indent to line up with the form controls.{{/i}}</p>
+ <form class="bs-docs-example">
+ <div class="form-actions">
+ <button type="submit" class="btn btn-primary">{{_i}}Save changes{{/i}}</button>
+ <button type="button" class="btn">{{_i}}Cancel{{/i}}</button>
+ </div>
+ </form>
<pre class="prettyprint linenums">
&lt;div class="form-actions"&gt;
&lt;button type="submit" class="btn btn-primary"&gt;{{_i}}Save changes{{/i}}&lt;/button&gt;
@@ -1134,76 +1137,76 @@
&lt;/div&gt;
</pre>
- <h3>{{_i}}Help text{{/i}}</h3>
- <p>{{_i}}Inline and block level support for help text that appears around form controls.{{/i}}</p>
- <h4>{{_i}}Inline help{{/i}}</h4>
- <form class="bs-docs-example form-inline">
- <input type="text"> <span class="help-inline">Inline help text</span>
- </form>
+ <h3>{{_i}}Help text{{/i}}</h3>
+ <p>{{_i}}Inline and block level support for help text that appears around form controls.{{/i}}</p>
+ <h4>{{_i}}Inline help{{/i}}</h4>
+ <form class="bs-docs-example form-inline">
+ <input type="text"> <span class="help-inline">Inline help text</span>
+ </form>
<pre class="prettyprint linenums">
&lt;span class="help-inline"&gt;Inline help text&lt;/span&gt;
</pre>
- <h4>{{_i}}Block help{{/i}}</h4>
- <form class="bs-docs-example form-inline">
- <input type="text">
- <span class="help-block">A longer block of help text that breaks onto a new line and may extend beyond one line.</span>
- </form>
+ <h4>{{_i}}Block help{{/i}}</h4>
+ <form class="bs-docs-example form-inline">
+ <input type="text">
+ <span class="help-block">A longer block of help text that breaks onto a new line and may extend beyond one line.</span>
+ </form>
<pre class="prettyprint linenums">
&lt;span class="help-block"&gt;A longer block of help text that breaks onto a new line and may extend beyond one line.&lt;/span&gt;
</pre>
- <hr class="bs-docs-separator"></hr>
+ <hr class="bs-docs-separator"></hr>
- <h2>{{_i}}Form control states{{/i}}</h2>
- <p>{{_i}}Provide feedback to users or visitors with basic feedback states on form controls and labels.{{/i}}</p>
+ <h2>{{_i}}Form control states{{/i}}</h2>
+ <p>{{_i}}Provide feedback to users or visitors with basic feedback states on form controls and labels.{{/i}}</p>
- <h3>{{_i}}Input focus{{/i}}</h3>
- <p>{{_i}}We remove the default <code>outline</code> styles on some form controls and apply a <code>box-shadow</code> in its place for <code>:focus</code>.{{/i}}</p>
- <form class="bs-docs-example form-inline">
- <input class="input-xlarge focused" id="focusedInput" type="text" value="{{_i}}This is focused...{{/i}}">
- </form>
+ <h3>{{_i}}Input focus{{/i}}</h3>
+ <p>{{_i}}We remove the default <code>outline</code> styles on some form controls and apply a <code>box-shadow</code> in its place for <code>:focus</code>.{{/i}}</p>
+ <form class="bs-docs-example form-inline">
+ <input class="input-xlarge focused" id="focusedInput" type="text" value="{{_i}}This is focused...{{/i}}">
+ </form>
<pre class="prettyprint linenums">
&lt;input class="input-xlarge" id="focusedInput" type="text" value="{{_i}}This is focused...{{/i}}"&gt;
</pre>
- <h3>{{_i}}Disabled inputs{{/i}}</h3>
- <p>{{_i}}Add the <code>disabled</code> attribute on an input to prevent user input and trigger a slightly different look.{{/i}}</p>
- <form class="bs-docs-example form-inline">
- <input class="input-xlarge" id="disabledInput" type="text" placeholder="{{_i}}Disabled input here…{{/i}}" disabled>
- </form>
+ <h3>{{_i}}Disabled inputs{{/i}}</h3>
+ <p>{{_i}}Add the <code>disabled</code> attribute on an input to prevent user input and trigger a slightly different look.{{/i}}</p>
+ <form class="bs-docs-example form-inline">
+ <input class="input-xlarge" id="disabledInput" type="text" placeholder="{{_i}}Disabled input here…{{/i}}" disabled>
+ </form>
<pre class="prettyprint linenums">
&lt;input class="input-xlarge" id="disabledInput" type="text" placeholder="{{_i}}Disabled input here...{{/i}}" disabled&gt;
</pre>
- <h3>{{_i}}Validation states{{/i}}</h3>
- <p>{{_i}}Bootstrap includes validation styles for error, warning, and success messages. To use, add the appropriate class to the surrounding <code>.control-group</code>.{{/i}}</p>
+ <h3>{{_i}}Validation states{{/i}}</h3>
+ <p>{{_i}}Bootstrap includes validation styles for error, warning, and success messages. To use, add the appropriate class to the surrounding <code>.control-group</code>.{{/i}}</p>
- <form class="bs-docs-example form-horizontal">
- <div class="control-group warning">
- <label class="control-label" for="inputWarning">{{_i}}Input with warning{{/i}}</label>
- <div class="controls">
- <input type="text" id="inputWarning">
- <span class="help-inline">{{_i}}Something may have gone wrong{{/i}}</span>
+ <form class="bs-docs-example form-horizontal">
+ <div class="control-group warning">
+ <label class="control-label" for="inputWarning">{{_i}}Input with warning{{/i}}</label>
+ <div class="controls">
+ <input type="text" id="inputWarning">
+ <span class="help-inline">{{_i}}Something may have gone wrong{{/i}}</span>
+ </div>
</div>
- </div>
- <div class="control-group error">
- <label class="control-label" for="inputError">{{_i}}Input with error{{/i}}</label>
- <div class="controls">
- <input type="text" id="inputError">
- <span class="help-inline">{{_i}}Please correct the error{{/i}}</span>
+ <div class="control-group error">
+ <label class="control-label" for="inputError">{{_i}}Input with error{{/i}}</label>
+ <div class="controls">
+ <input type="text" id="inputError">
+ <span class="help-inline">{{_i}}Please correct the error{{/i}}</span>
+ </div>
</div>
- </div>
- <div class="control-group success">
- <label class="control-label" for="inputSuccess">{{_i}}Input with success{{/i}}</label>
- <div class="controls">
- <input type="text" id="inputSuccess">
- <span class="help-inline">{{_i}}Woohoo!{{/i}}</span>
+ <div class="control-group success">
+ <label class="control-label" for="inputSuccess">{{_i}}Input with success{{/i}}</label>
+ <div class="controls">
+ <input type="text" id="inputSuccess">
+ <span class="help-inline">{{_i}}Woohoo!{{/i}}</span>
+ </div>
</div>
- </div>
- </form>
+ </form>
<pre class="prettyprint linenums">
&lt;div class="control-group warning"&gt;
&lt;label class="control-label" for="inputWarning"&gt;{{_i}}Input with warning{{/i}}&lt;/label&gt;
@@ -1228,133 +1231,133 @@
&lt;/div&gt;
</pre>
- </section>
+ </section>
- <!-- Buttons
- ================================================== -->
- <section id="buttons">
- <div class="page-header">
- <h1>{{_i}}Buttons{{/i}}</h1>
- </div>
+ <!-- Buttons
+ ================================================== -->
+ <section id="buttons">
+ <div class="page-header">
+ <h1>{{_i}}Buttons{{/i}}</h1>
+ </div>
- <h2>Default buttons</h2>
- <p>{{_i}}Button styles can be applied to anything with the <code>.btn</code> class applied. However, typically you'll want to apply these to only <code>&lt;a&gt;</code> and <code>&lt;button&gt;</code> elements for the best rendering.{{/i}}</p>
- <table class="table table-bordered table-striped">
- <thead>
- <tr>
- <th>{{_i}}Button{{/i}}</th>
- <th>{{_i}}class=""{{/i}}</th>
- <th>{{_i}}Description{{/i}}</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><button type="button" class="btn">{{_i}}Default{{/i}}</button></td>
- <td><code>btn</code></td>
- <td>{{_i}}Standard gray button with gradient{{/i}}</td>
- </tr>
- <tr>
- <td><button type="button" class="btn btn-primary">{{_i}}Primary{{/i}}</button></td>
- <td><code>btn btn-primary</code></td>
- <td>{{_i}}Provides extra visual weight and identifies the primary action in a set of buttons{{/i}}</td>
- </tr>
- <tr>
- <td><button type="button" class="btn btn-info">{{_i}}Info{{/i}}</button></td>
- <td><code>btn btn-info</code></td>
- <td>{{_i}}Used as an alternative to the default styles{{/i}}</td>
- </tr>
- <tr>
- <td><button type="button" class="btn btn-success">{{_i}}Success{{/i}}</button></td>
- <td><code>btn btn-success</code></td>
- <td>{{_i}}Indicates a successful or positive action{{/i}}</td>
- </tr>
- <tr>
- <td><button type="button" class="btn btn-warning">{{_i}}Warning{{/i}}</button></td>
- <td><code>btn btn-warning</code></td>
- <td>{{_i}}Indicates caution should be taken with this action{{/i}}</td>
- </tr>
- <tr>
- <td><button type="button" class="btn btn-danger">{{_i}}Danger{{/i}}</button></td>
- <td><code>btn btn-danger</code></td>
- <td>{{_i}}Indicates a dangerous or potentially negative action{{/i}}</td>
- </tr>
- <tr>
- <td><button type="button" class="btn btn-inverse">{{_i}}Inverse{{/i}}</button></td>
- <td><code>btn btn-inverse</code></td>
- <td>{{_i}}Alternate dark gray button, not tied to a semantic action or use{{/i}}</td>
- </tr>
- </tbody>
- </table>
-
- <h4>{{_i}}Cross browser compatibility{{/i}}</h4>
- <p>{{_i}}IE9 doesn't crop background gradients on rounded corners, so we remove it. Related, IE9 jankifies disabled <code>button</code> elements, rendering text gray with a nasty text-shadow that we cannot fix.{{/i}}</p>
-
-
- <hr class="bs-docs-separator">
-
-
- <h2>{{_i}}Button sizes{{/i}}</h2>
- <p>{{_i}}Fancy larger or smaller buttons? Add <code>.btn-large</code>, <code>.btn-small</code>, or <code>.btn-mini</code> for two additional sizes.{{/i}}</p>
- <p>
- <button type="button" class="btn btn-large btn-primary">{{_i}}Primary action{{/i}}</button>
- <button type="button" class="btn btn-large">{{_i}}Action{{/i}}</button>
- </p>
- <p>
- <button type="button" class="btn btn-small btn-primary">{{_i}}Primary action{{/i}}</button>
- <button type="button" class="btn btn-small">{{_i}}Action{{/i}}</button>
- </p>
- <p>
- <button type="button" class="btn btn-mini btn-primary">{{_i}}Primary action{{/i}}</button>
- <button type="button" class="btn btn-mini">{{_i}}Action{{/i}}</button>
- </p>
+ <h2>Default buttons</h2>
+ <p>{{_i}}Button styles can be applied to anything with the <code>.btn</code> class applied. However, typically you'll want to apply these to only <code>&lt;a&gt;</code> and <code>&lt;button&gt;</code> elements for the best rendering.{{/i}}</p>
+ <table class="table table-bordered table-striped">
+ <thead>
+ <tr>
+ <th>{{_i}}Button{{/i}}</th>
+ <th>{{_i}}class=""{{/i}}</th>
+ <th>{{_i}}Description{{/i}}</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td><button type="button" class="btn">{{_i}}Default{{/i}}</button></td>
+ <td><code>btn</code></td>
+ <td>{{_i}}Standard gray button with gradient{{/i}}</td>
+ </tr>
+ <tr>
+ <td><button type="button" class="btn btn-primary">{{_i}}Primary{{/i}}</button></td>
+ <td><code>btn btn-primary</code></td>
+ <td>{{_i}}Provides extra visual weight and identifies the primary action in a set of buttons{{/i}}</td>
+ </tr>
+ <tr>
+ <td><button type="button" class="btn btn-info">{{_i}}Info{{/i}}</button></td>
+ <td><code>btn btn-info</code></td>
+ <td>{{_i}}Used as an alternative to the default styles{{/i}}</td>
+ </tr>
+ <tr>
+ <td><button type="button" class="btn btn-success">{{_i}}Success{{/i}}</button></td>
+ <td><code>btn btn-success</code></td>
+ <td>{{_i}}Indicates a successful or positive action{{/i}}</td>
+ </tr>
+ <tr>
+ <td><button type="button" class="btn btn-warning">{{_i}}Warning{{/i}}</button></td>
+ <td><code>btn btn-warning</code></td>
+ <td>{{_i}}Indicates caution should be taken with this action{{/i}}</td>
+ </tr>
+ <tr>
+ <td><button type="button" class="btn btn-danger">{{_i}}Danger{{/i}}</button></td>
+ <td><code>btn btn-danger</code></td>
+ <td>{{_i}}Indicates a dangerous or potentially negative action{{/i}}</td>
+ </tr>
+ <tr>
+ <td><button type="button" class="btn btn-inverse">{{_i}}Inverse{{/i}}</button></td>
+ <td><code>btn btn-inverse</code></td>
+ <td>{{_i}}Alternate dark gray button, not tied to a semantic action or use{{/i}}</td>
+ </tr>
+ </tbody>
+ </table>
+ <h4>{{_i}}Cross browser compatibility{{/i}}</h4>
+ <p>{{_i}}IE9 doesn't crop background gradients on rounded corners, so we remove it. Related, IE9 jankifies disabled <code>button</code> elements, rendering text gray with a nasty text-shadow that we cannot fix.{{/i}}</p>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h2>{{_i}}Disabled state{{/i}}</h2>
- <p>{{_i}}Make buttons look unclickable by fading them back 50%.{{/i}}</p>
- <h3>Anchor element</h3>
- <p>{{_i}}Add the <code>.disabled</code> class to <code>&lt;a&gt;</code> buttons.{{/i}}</p>
- <p class="bs-docs-example">
- <a href="#" class="btn btn-large btn-primary disabled">{{_i}}Primary link{{/i}}</a>
- <a href="#" class="btn btn-large disabled">{{_i}}Link{{/i}}</a>
- </p>
+ <h2>{{_i}}Button sizes{{/i}}</h2>
+ <p>{{_i}}Fancy larger or smaller buttons? Add <code>.btn-large</code>, <code>.btn-small</code>, or <code>.btn-mini</code> for two additional sizes.{{/i}}</p>
+ <p>
+ <button type="button" class="btn btn-large btn-primary">{{_i}}Primary action{{/i}}</button>
+ <button type="button" class="btn btn-large">{{_i}}Action{{/i}}</button>
+ </p>
+ <p>
+ <button type="button" class="btn btn-small btn-primary">{{_i}}Primary action{{/i}}</button>
+ <button type="button" class="btn btn-small">{{_i}}Action{{/i}}</button>
+ </p>
+ <p>
+ <button type="button" class="btn btn-mini btn-primary">{{_i}}Primary action{{/i}}</button>
+ <button type="button" class="btn btn-mini">{{_i}}Action{{/i}}</button>
+ </p>
+
+
+ <hr class="bs-docs-separator">
+
+
+ <h2>{{_i}}Disabled state{{/i}}</h2>
+ <p>{{_i}}Make buttons look unclickable by fading them back 50%.{{/i}}</p>
+
+ <h3>Anchor element</h3>
+ <p>{{_i}}Add the <code>.disabled</code> class to <code>&lt;a&gt;</code> buttons.{{/i}}</p>
+ <p class="bs-docs-example">
+ <a href="#" class="btn btn-large btn-primary disabled">{{_i}}Primary link{{/i}}</a>
+ <a href="#" class="btn btn-large disabled">{{_i}}Link{{/i}}</a>
+ </p>
<pre class="prettyprint linenums">
&lt;a href="#" class="btn btn-large btn-primary disabled"&gt;{{_i}}Primary link{{/i}}&lt;/a&gt;
&lt;a href="#" class="btn btn-large disabled"&gt;{{_i}}Link{{/i}}&lt;/a&gt;
</pre>
- <p>
- <span class="label label-info">{{_i}}Heads up!{{/i}}</span>
- {{_i}}We use <code>.disabled</code> as a utility class here, similar to the common <code>.active</code> class, so no prefix is required.{{/i}}
- </p>
-
- <h3>Button element</h3>
- <p>{{_i}}Add the <code>disabled</code> attribute to <code>&lt;button&gt;</code> buttons.{{/i}}</p>
- <p class="bs-docs-example">
- <button type="button" class="btn btn-large btn-primary disabled" disabled="disabled">{{_i}}Primary button{{/i}}</button>
- <button type="button" class="btn btn-large" disabled>{{_i}}Button{{/i}}</button>
- </p>
+ <p>
+ <span class="label label-info">{{_i}}Heads up!{{/i}}</span>
+ {{_i}}We use <code>.disabled</code> as a utility class here, similar to the common <code>.active</code> class, so no prefix is required.{{/i}}
+ </p>
+
+ <h3>Button element</h3>
+ <p>{{_i}}Add the <code>disabled</code> attribute to <code>&lt;button&gt;</code> buttons.{{/i}}</p>
+ <p class="bs-docs-example">
+ <button type="button" class="btn btn-large btn-primary disabled" disabled="disabled">{{_i}}Primary button{{/i}}</button>
+ <button type="button" class="btn btn-large" disabled>{{_i}}Button{{/i}}</button>
+ </p>
<pre class="prettyprint linenums">
&lt;button type="button" class="btn btn-large btn-primary disabled" disabled="disabled"&gt;{{_i}}Primary button{{/i}}&lt;/button&gt;
&lt;button type="button" class="btn btn-large" disabled&gt;{{_i}}Button{{/i}}&lt;/button&gt;
</pre>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h2>{{_i}}One class, multiple tags{{/i}}</h2>
- <p>{{_i}}Use the <code>.btn</code> class on an <code>&lt;a&gt;</code>, <code>&lt;button&gt;</code>, or <code>&lt;input&gt;</code> element.{{/i}}</p>
- <form class="bs-docs-example">
- <a class="btn" href="">{{_i}}Link{{/i}}</a>
- <button class="btn" type="submit">{{_i}}Button{{/i}}</button>
- <input class="btn" type="button" value="{{_i}}Input{{/i}}">
- <input class="btn" type="submit" value="{{_i}}Submit{{/i}}">
- </form>
+ <h2>{{_i}}One class, multiple tags{{/i}}</h2>
+ <p>{{_i}}Use the <code>.btn</code> class on an <code>&lt;a&gt;</code>, <code>&lt;button&gt;</code>, or <code>&lt;input&gt;</code> element.{{/i}}</p>
+ <form class="bs-docs-example">
+ <a class="btn" href="">{{_i}}Link{{/i}}</a>
+ <button class="btn" type="submit">{{_i}}Button{{/i}}</button>
+ <input class="btn" type="button" value="{{_i}}Input{{/i}}">
+ <input class="btn" type="submit" value="{{_i}}Submit{{/i}}">
+ </form>
<pre class="prettyprint linenums">
&lt;a class="btn" href=""&gt;{{_i}}Link{{/i}}&lt;/a&gt;
&lt;button class="btn" type="submit"&gt;
@@ -1365,246 +1368,248 @@
&lt;input class="btn" type="submit"
value="{{_i}}Submit{{/i}}"&gt;
</pre>
- <p>{{_i}}As a best practice, try to match the element for you context to ensure matching cross-browser rendering. If you have an <code>input</code>, use an <code>&lt;input type="submit"&gt;</code> for your button.{{/i}}</p>
+ <p>{{_i}}As a best practice, try to match the element for you context to ensure matching cross-browser rendering. If you have an <code>input</code>, use an <code>&lt;input type="submit"&gt;</code> for your button.{{/i}}</p>
- </section>
+ </section>
- <!-- Icons
- ================================================== -->
- <section id="icons">
- <div class="page-header">
- <h1>{{_i}}Icons <small>Graciously provided by <a href="http://glyphicons.com" target="_blank">Glyphicons</a></small>{{/i}}</h1>
- </div>
+ <!-- Icons
+ ================================================== -->
+ <section id="icons">
+ <div class="page-header">
+ <h1>{{_i}}Icons <small>Graciously provided by <a href="http://glyphicons.com" target="_blank">Glyphicons</a></small>{{/i}}</h1>
+ </div>
- <h2>{{_i}}Icon glyphs{{/i}}</h2>
- <p>{{_i}}140 icons in sprite form, available in dark gray (default) and white, provided by <a href="http://glyphicons.com" target="_blank">Glyphicons</a>.{{/i}}</p>
- <ul class="the-icons clearfix">
- <li><i class="icon-glass"></i> icon-glass</li>
- <li><i class="icon-music"></i> icon-music</li>
- <li><i class="icon-search"></i> icon-search</li>
- <li><i class="icon-envelope"></i> icon-envelope</li>
- <li><i class="icon-heart"></i> icon-heart</li>
- <li><i class="icon-star"></i> icon-star</li>
- <li><i class="icon-star-empty"></i> icon-star-empty</li>
- <li><i class="icon-user"></i> icon-user</li>
- <li><i class="icon-film"></i> icon-film</li>
- <li><i class="icon-th-large"></i> icon-th-large</li>
- <li><i class="icon-th"></i> icon-th</li>
- <li><i class="icon-th-list"></i> icon-th-list</li>
- <li><i class="icon-ok"></i> icon-ok</li>
- <li><i class="icon-remove"></i> icon-remove</li>
- <li><i class="icon-zoom-in"></i> icon-zoom-in</li>
- <li><i class="icon-zoom-out"></i> icon-zoom-out</li>
- <li><i class="icon-off"></i> icon-off</li>
- <li><i class="icon-signal"></i> icon-signal</li>
- <li><i class="icon-cog"></i> icon-cog</li>
- <li><i class="icon-trash"></i> icon-trash</li>
- <li><i class="icon-home"></i> icon-home</li>
- <li><i class="icon-file"></i> icon-file</li>
- <li><i class="icon-time"></i> icon-time</li>
- <li><i class="icon-road"></i> icon-road</li>
- <li><i class="icon-download-alt"></i> icon-download-alt</li>
- <li><i class="icon-download"></i> icon-download</li>
- <li><i class="icon-upload"></i> icon-upload</li>
- <li><i class="icon-inbox"></i> icon-inbox</li>
-
- <li><i class="icon-play-circle"></i> icon-play-circle</li>
- <li><i class="icon-repeat"></i> icon-repeat</li>
- <li><i class="icon-refresh"></i> icon-refresh</li>
- <li><i class="icon-list-alt"></i> icon-list-alt</li>
- <li><i class="icon-lock"></i> icon-lock</li>
- <li><i class="icon-flag"></i> icon-flag</li>
- <li><i class="icon-headphones"></i> icon-headphones</li>
- <li><i class="icon-volume-off"></i> icon-volume-off</li>
- <li><i class="icon-volume-down"></i> icon-volume-down</li>
- <li><i class="icon-volume-up"></i> icon-volume-up</li>
- <li><i class="icon-qrcode"></i> icon-qrcode</li>
- <li><i class="icon-barcode"></i> icon-barcode</li>
- <li><i class="icon-tag"></i> icon-tag</li>
- <li><i class="icon-tags"></i> icon-tags</li>
- <li><i class="icon-book"></i> icon-book</li>
- <li><i class="icon-bookmark"></i> icon-bookmark</li>
- <li><i class="icon-print"></i> icon-print</li>
- <li><i class="icon-camera"></i> icon-camera</li>
- <li><i class="icon-font"></i> icon-font</li>
- <li><i class="icon-bold"></i> icon-bold</li>
- <li><i class="icon-italic"></i> icon-italic</li>
- <li><i class="icon-text-height"></i> icon-text-height</li>
- <li><i class="icon-text-width"></i> icon-text-width</li>
- <li><i class="icon-align-left"></i> icon-align-left</li>
- <li><i class="icon-align-center"></i> icon-align-center</li>
- <li><i class="icon-align-right"></i> icon-align-right</li>
- <li><i class="icon-align-justify"></i> icon-align-justify</li>
- <li><i class="icon-list"></i> icon-list</li>
-
- <li><i class="icon-indent-left"></i> icon-indent-left</li>
- <li><i class="icon-indent-right"></i> icon-indent-right</li>
- <li><i class="icon-facetime-video"></i> icon-facetime-video</li>
- <li><i class="icon-picture"></i> icon-picture</li>
- <li><i class="icon-pencil"></i> icon-pencil</li>
- <li><i class="icon-map-marker"></i> icon-map-marker</li>
- <li><i class="icon-adjust"></i> icon-adjust</li>
- <li><i class="icon-tint"></i> icon-tint</li>
- <li><i class="icon-edit"></i> icon-edit</li>
- <li><i class="icon-share"></i> icon-share</li>
- <li><i class="icon-check"></i> icon-check</li>
- <li><i class="icon-move"></i> icon-move</li>
- <li><i class="icon-step-backward"></i> icon-step-backward</li>
- <li><i class="icon-fast-backward"></i> icon-fast-backward</li>
- <li><i class="icon-backward"></i> icon-backward</li>
- <li><i class="icon-play"></i> icon-play</li>
- <li><i class="icon-pause"></i> icon-pause</li>
- <li><i class="icon-stop"></i> icon-stop</li>
- <li><i class="icon-forward"></i> icon-forward</li>
- <li><i class="icon-fast-forward"></i> icon-fast-forward</li>
- <li><i class="icon-step-forward"></i> icon-step-forward</li>
- <li><i class="icon-eject"></i> icon-eject</li>
- <li><i class="icon-chevron-left"></i> icon-chevron-left</li>
- <li><i class="icon-chevron-right"></i> icon-chevron-right</li>
- <li><i class="icon-plus-sign"></i> icon-plus-sign</li>
- <li><i class="icon-minus-sign"></i> icon-minus-sign</li>
- <li><i class="icon-remove-sign"></i> icon-remove-sign</li>
- <li><i class="icon-ok-sign"></i> icon-ok-sign</li>
-
- <li><i class="icon-question-sign"></i> icon-question-sign</li>
- <li><i class="icon-info-sign"></i> icon-info-sign</li>
- <li><i class="icon-screenshot"></i> icon-screenshot</li>
- <li><i class="icon-remove-circle"></i> icon-remove-circle</li>
- <li><i class="icon-ok-circle"></i> icon-ok-circle</li>
- <li><i class="icon-ban-circle"></i> icon-ban-circle</li>
- <li><i class="icon-arrow-left"></i> icon-arrow-left</li>
- <li><i class="icon-arrow-right"></i> icon-arrow-right</li>
- <li><i class="icon-arrow-up"></i> icon-arrow-up</li>
- <li><i class="icon-arrow-down"></i> icon-arrow-down</li>
- <li><i class="icon-share-alt"></i> icon-share-alt</li>
- <li><i class="icon-resize-full"></i> icon-resize-full</li>
- <li><i class="icon-resize-small"></i> icon-resize-small</li>
- <li><i class="icon-plus"></i> icon-plus</li>
- <li><i class="icon-minus"></i> icon-minus</li>
- <li><i class="icon-asterisk"></i> icon-asterisk</li>
- <li><i class="icon-exclamation-sign"></i> icon-exclamation-sign</li>
- <li><i class="icon-gift"></i> icon-gift</li>
- <li><i class="icon-leaf"></i> icon-leaf</li>
- <li><i class="icon-fire"></i> icon-fire</li>
- <li><i class="icon-eye-open"></i> icon-eye-open</li>
- <li><i class="icon-eye-close"></i> icon-eye-close</li>
- <li><i class="icon-warning-sign"></i> icon-warning-sign</li>
- <li><i class="icon-plane"></i> icon-plane</li>
- <li><i class="icon-calendar"></i> icon-calendar</li>
- <li><i class="icon-random"></i> icon-random</li>
- <li><i class="icon-comment"></i> icon-comment</li>
- <li><i class="icon-magnet"></i> icon-magnet</li>
-
- <li><i class="icon-chevron-up"></i> icon-chevron-up</li>
- <li><i class="icon-chevron-down"></i> icon-chevron-down</li>
- <li><i class="icon-retweet"></i> icon-retweet</li>
- <li><i class="icon-shopping-cart"></i> icon-shopping-cart</li>
- <li><i class="icon-folder-close"></i> icon-folder-close</li>
- <li><i class="icon-folder-open"></i> icon-folder-open</li>
- <li><i class="icon-resize-vertical"></i> icon-resize-vertical</li>
- <li><i class="icon-resize-horizontal"></i> icon-resize-horizontal</li>
- <li><i class="icon-hdd"></i> icon-hdd</li>
- <li><i class="icon-bullhorn"></i> icon-bullhorn</li>
- <li><i class="icon-bell"></i> icon-bell</li>
- <li><i class="icon-certificate"></i> icon-certificate</li>
- <li><i class="icon-thumbs-up"></i> icon-thumbs-up</li>
- <li><i class="icon-thumbs-down"></i> icon-thumbs-down</li>
- <li><i class="icon-hand-right"></i> icon-hand-right</li>
- <li><i class="icon-hand-left"></i> icon-hand-left</li>
- <li><i class="icon-hand-up"></i> icon-hand-up</li>
- <li><i class="icon-hand-down"></i> icon-hand-down</li>
- <li><i class="icon-circle-arrow-right"></i> icon-circle-arrow-right</li>
- <li><i class="icon-circle-arrow-left"></i> icon-circle-arrow-left</li>
- <li><i class="icon-circle-arrow-up"></i> icon-circle-arrow-up</li>
- <li><i class="icon-circle-arrow-down"></i> icon-circle-arrow-down</li>
- <li><i class="icon-globe"></i> icon-globe</li>
- <li><i class="icon-wrench"></i> icon-wrench</li>
- <li><i class="icon-tasks"></i> icon-tasks</li>
- <li><i class="icon-filter"></i> icon-filter</li>
- <li><i class="icon-briefcase"></i> icon-briefcase</li>
- <li><i class="icon-fullscreen"></i> icon-fullscreen</li>
- </ul>
+ <h2>{{_i}}Icon glyphs{{/i}}</h2>
+ <p>{{_i}}140 icons in sprite form, available in dark gray (default) and white, provided by <a href="http://glyphicons.com" target="_blank">Glyphicons</a>.{{/i}}</p>
+ <ul class="the-icons clearfix">
+ <li><i class="icon-glass"></i> icon-glass</li>
+ <li><i class="icon-music"></i> icon-music</li>
+ <li><i class="icon-search"></i> icon-search</li>
+ <li><i class="icon-envelope"></i> icon-envelope</li>
+ <li><i class="icon-heart"></i> icon-heart</li>
+ <li><i class="icon-star"></i> icon-star</li>
+ <li><i class="icon-star-empty"></i> icon-star-empty</li>
+ <li><i class="icon-user"></i> icon-user</li>
+ <li><i class="icon-film"></i> icon-film</li>
+ <li><i class="icon-th-large"></i> icon-th-large</li>
+ <li><i class="icon-th"></i> icon-th</li>
+ <li><i class="icon-th-list"></i> icon-th-list</li>
+ <li><i class="icon-ok"></i> icon-ok</li>
+ <li><i class="icon-remove"></i> icon-remove</li>
+ <li><i class="icon-zoom-in"></i> icon-zoom-in</li>
+ <li><i class="icon-zoom-out"></i> icon-zoom-out</li>
+ <li><i class="icon-off"></i> icon-off</li>
+ <li><i class="icon-signal"></i> icon-signal</li>
+ <li><i class="icon-cog"></i> icon-cog</li>
+ <li><i class="icon-trash"></i> icon-trash</li>
+ <li><i class="icon-home"></i> icon-home</li>
+ <li><i class="icon-file"></i> icon-file</li>
+ <li><i class="icon-time"></i> icon-time</li>
+ <li><i class="icon-road"></i> icon-road</li>
+ <li><i class="icon-download-alt"></i> icon-download-alt</li>
+ <li><i class="icon-download"></i> icon-download</li>
+ <li><i class="icon-upload"></i> icon-upload</li>
+ <li><i class="icon-inbox"></i> icon-inbox</li>
+
+ <li><i class="icon-play-circle"></i> icon-play-circle</li>
+ <li><i class="icon-repeat"></i> icon-repeat</li>
+ <li><i class="icon-refresh"></i> icon-refresh</li>
+ <li><i class="icon-list-alt"></i> icon-list-alt</li>
+ <li><i class="icon-lock"></i> icon-lock</li>
+ <li><i class="icon-flag"></i> icon-flag</li>
+ <li><i class="icon-headphones"></i> icon-headphones</li>
+ <li><i class="icon-volume-off"></i> icon-volume-off</li>
+ <li><i class="icon-volume-down"></i> icon-volume-down</li>
+ <li><i class="icon-volume-up"></i> icon-volume-up</li>
+ <li><i class="icon-qrcode"></i> icon-qrcode</li>
+ <li><i class="icon-barcode"></i> icon-barcode</li>
+ <li><i class="icon-tag"></i> icon-tag</li>
+ <li><i class="icon-tags"></i> icon-tags</li>
+ <li><i class="icon-book"></i> icon-book</li>
+ <li><i class="icon-bookmark"></i> icon-bookmark</li>
+ <li><i class="icon-print"></i> icon-print</li>
+ <li><i class="icon-camera"></i> icon-camera</li>
+ <li><i class="icon-font"></i> icon-font</li>
+ <li><i class="icon-bold"></i> icon-bold</li>
+ <li><i class="icon-italic"></i> icon-italic</li>
+ <li><i class="icon-text-height"></i> icon-text-height</li>
+ <li><i class="icon-text-width"></i> icon-text-width</li>
+ <li><i class="icon-align-left"></i> icon-align-left</li>
+ <li><i class="icon-align-center"></i> icon-align-center</li>
+ <li><i class="icon-align-right"></i> icon-align-right</li>
+ <li><i class="icon-align-justify"></i> icon-align-justify</li>
+ <li><i class="icon-list"></i> icon-list</li>
+
+ <li><i class="icon-indent-left"></i> icon-indent-left</li>
+ <li><i class="icon-indent-right"></i> icon-indent-right</li>
+ <li><i class="icon-facetime-video"></i> icon-facetime-video</li>
+ <li><i class="icon-picture"></i> icon-picture</li>
+ <li><i class="icon-pencil"></i> icon-pencil</li>
+ <li><i class="icon-map-marker"></i> icon-map-marker</li>
+ <li><i class="icon-adjust"></i> icon-adjust</li>
+ <li><i class="icon-tint"></i> icon-tint</li>
+ <li><i class="icon-edit"></i> icon-edit</li>
+ <li><i class="icon-share"></i> icon-share</li>
+ <li><i class="icon-check"></i> icon-check</li>
+ <li><i class="icon-move"></i> icon-move</li>
+ <li><i class="icon-step-backward"></i> icon-step-backward</li>
+ <li><i class="icon-fast-backward"></i> icon-fast-backward</li>
+ <li><i class="icon-backward"></i> icon-backward</li>
+ <li><i class="icon-play"></i> icon-play</li>
+ <li><i class="icon-pause"></i> icon-pause</li>
+ <li><i class="icon-stop"></i> icon-stop</li>
+ <li><i class="icon-forward"></i> icon-forward</li>
+ <li><i class="icon-fast-forward"></i> icon-fast-forward</li>
+ <li><i class="icon-step-forward"></i> icon-step-forward</li>
+ <li><i class="icon-eject"></i> icon-eject</li>
+ <li><i class="icon-chevron-left"></i> icon-chevron-left</li>
+ <li><i class="icon-chevron-right"></i> icon-chevron-right</li>
+ <li><i class="icon-plus-sign"></i> icon-plus-sign</li>
+ <li><i class="icon-minus-sign"></i> icon-minus-sign</li>
+ <li><i class="icon-remove-sign"></i> icon-remove-sign</li>
+ <li><i class="icon-ok-sign"></i> icon-ok-sign</li>
+
+ <li><i class="icon-question-sign"></i> icon-question-sign</li>
+ <li><i class="icon-info-sign"></i> icon-info-sign</li>
+ <li><i class="icon-screenshot"></i> icon-screenshot</li>
+ <li><i class="icon-remove-circle"></i> icon-remove-circle</li>
+ <li><i class="icon-ok-circle"></i> icon-ok-circle</li>
+ <li><i class="icon-ban-circle"></i> icon-ban-circle</li>
+ <li><i class="icon-arrow-left"></i> icon-arrow-left</li>
+ <li><i class="icon-arrow-right"></i> icon-arrow-right</li>
+ <li><i class="icon-arrow-up"></i> icon-arrow-up</li>
+ <li><i class="icon-arrow-down"></i> icon-arrow-down</li>
+ <li><i class="icon-share-alt"></i> icon-share-alt</li>
+ <li><i class="icon-resize-full"></i> icon-resize-full</li>
+ <li><i class="icon-resize-small"></i> icon-resize-small</li>
+ <li><i class="icon-plus"></i> icon-plus</li>
+ <li><i class="icon-minus"></i> icon-minus</li>
+ <li><i class="icon-asterisk"></i> icon-asterisk</li>
+ <li><i class="icon-exclamation-sign"></i> icon-exclamation-sign</li>
+ <li><i class="icon-gift"></i> icon-gift</li>
+ <li><i class="icon-leaf"></i> icon-leaf</li>
+ <li><i class="icon-fire"></i> icon-fire</li>
+ <li><i class="icon-eye-open"></i> icon-eye-open</li>
+ <li><i class="icon-eye-close"></i> icon-eye-close</li>
+ <li><i class="icon-warning-sign"></i> icon-warning-sign</li>
+ <li><i class="icon-plane"></i> icon-plane</li>
+ <li><i class="icon-calendar"></i> icon-calendar</li>
+ <li><i class="icon-random"></i> icon-random</li>
+ <li><i class="icon-comment"></i> icon-comment</li>
+ <li><i class="icon-magnet"></i> icon-magnet</li>
+
+ <li><i class="icon-chevron-up"></i> icon-chevron-up</li>
+ <li><i class="icon-chevron-down"></i> icon-chevron-down</li>
+ <li><i class="icon-retweet"></i> icon-retweet</li>
+ <li><i class="icon-shopping-cart"></i> icon-shopping-cart</li>
+ <li><i class="icon-folder-close"></i> icon-folder-close</li>
+ <li><i class="icon-folder-open"></i> icon-folder-open</li>
+ <li><i class="icon-resize-vertical"></i> icon-resize-vertical</li>
+ <li><i class="icon-resize-horizontal"></i> icon-resize-horizontal</li>
+ <li><i class="icon-hdd"></i> icon-hdd</li>
+ <li><i class="icon-bullhorn"></i> icon-bullhorn</li>
+ <li><i class="icon-bell"></i> icon-bell</li>
+ <li><i class="icon-certificate"></i> icon-certificate</li>
+ <li><i class="icon-thumbs-up"></i> icon-thumbs-up</li>
+ <li><i class="icon-thumbs-down"></i> icon-thumbs-down</li>
+ <li><i class="icon-hand-right"></i> icon-hand-right</li>
+ <li><i class="icon-hand-left"></i> icon-hand-left</li>
+ <li><i class="icon-hand-up"></i> icon-hand-up</li>
+ <li><i class="icon-hand-down"></i> icon-hand-down</li>
+ <li><i class="icon-circle-arrow-right"></i> icon-circle-arrow-right</li>
+ <li><i class="icon-circle-arrow-left"></i> icon-circle-arrow-left</li>
+ <li><i class="icon-circle-arrow-up"></i> icon-circle-arrow-up</li>
+ <li><i class="icon-circle-arrow-down"></i> icon-circle-arrow-down</li>
+ <li><i class="icon-globe"></i> icon-globe</li>
+ <li><i class="icon-wrench"></i> icon-wrench</li>
+ <li><i class="icon-tasks"></i> icon-tasks</li>
+ <li><i class="icon-filter"></i> icon-filter</li>
+ <li><i class="icon-briefcase"></i> icon-briefcase</li>
+ <li><i class="icon-fullscreen"></i> icon-fullscreen</li>
+ </ul>
- <h3>Glyphicons attribution</h3>
- <p>{{_i}}<a href="http://glyphicons.com/">Glyphicons</a> Halflings are normally not available for free, but an arrangement between Bootstrap and the Glyphicons creators have made this possible at not cost to you as developers. As a thank you, we ask you to include an optional link back to <a href="http://glyphicons.com/">Glyphicons</a> whenever practical.{{/i}}</p>
+ <h3>Glyphicons attribution</h3>
+ <p>{{_i}}<a href="http://glyphicons.com/">Glyphicons</a> Halflings are normally not available for free, but an arrangement between Bootstrap and the Glyphicons creators have made this possible at not cost to you as developers. As a thank you, we ask you to include an optional link back to <a href="http://glyphicons.com/">Glyphicons</a> whenever practical.{{/i}}</p>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h2>{{_i}}How to use{{/i}}</h2>
- <p>{{_i}}All icons require an <code>&lt;i&gt;</code> tag with a unique class, prefixed with <code>icon-</code>. To use, place the following code just about anywhere:{{/i}}</p>
+ <h2>{{_i}}How to use{{/i}}</h2>
+ <p>{{_i}}All icons require an <code>&lt;i&gt;</code> tag with a unique class, prefixed with <code>icon-</code>. To use, place the following code just about anywhere:{{/i}}</p>
<pre class="prettyprint linenums">
&lt;i class="icon-search"&gt;&lt;/i&gt;
</pre>
- <p>{{_i}}There are also styles available for inverted (white) icons, made ready with one extra class:{{/i}}</p>
+ <p>{{_i}}There are also styles available for inverted (white) icons, made ready with one extra class:{{/i}}</p>
<pre class="prettyprint linenums">
&lt;i class="icon-search icon-white"&gt;&lt;/i&gt;
</pre>
- <p>
- <span class="label label-info">{{_i}}Heads up!{{/i}}</span>
- {{_i}}When using beside strings of text, as in buttons or nav links, be sure to leave a space after the <code>&lt;i&gt;</code> tag for proper spacing.{{/i}}
- </p>
+ <p>
+ <span class="label label-info">{{_i}}Heads up!{{/i}}</span>
+ {{_i}}When using beside strings of text, as in buttons or nav links, be sure to leave a space after the <code>&lt;i&gt;</code> tag for proper spacing.{{/i}}
+ </p>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h2>{{_i}}Icon examples{{/i}}</h2>
- <p>{{_i}}Use them in buttons, button groups for a toolbar, navigation, or prepended form inputs.{{/i}}</p>
+ <h2>{{_i}}Icon examples{{/i}}</h2>
+ <p>{{_i}}Use them in buttons, button groups for a toolbar, navigation, or prepended form inputs.{{/i}}</p>
- <h4>{{_i}}Buttons{{/i}}</h4>
- <div class="bs-docs-example">
- <div class="btn-toolbar" style="margin-bottom: 9px">
- <div class="btn-group">
- <a class="btn" href="#"><i class="icon-align-left"></i></a>
- <a class="btn" href="#"><i class="icon-align-center"></i></a>
- <a class="btn" href="#"><i class="icon-align-right"></i></a>
- <a class="btn" href="#"><i class="icon-align-justify"></i></a>
+ <h4>{{_i}}Buttons{{/i}}</h4>
+ <div class="bs-docs-example">
+ <div class="btn-toolbar" style="margin-bottom: 9px">
+ <div class="btn-group">
+ <a class="btn" href="#"><i class="icon-align-left"></i></a>
+ <a class="btn" href="#"><i class="icon-align-center"></i></a>
+ <a class="btn" href="#"><i class="icon-align-right"></i></a>
+ <a class="btn" href="#"><i class="icon-align-justify"></i></a>
+ </div>
+ <div class="btn-group">
+ <a class="btn btn-primary" href="#"><i class="icon-user icon-white"></i> {{_i}}User{{/i}}</a>
+ <a class="btn btn-primary dropdown-toggle" data-toggle="dropdown" href="#"><span class="caret"></span></a>
+ <ul class="dropdown-menu">
+ <li><a href="#"><i class="icon-pencil"></i> {{_i}}Edit{{/i}}</a></li>
+ <li><a href="#"><i class="icon-trash"></i> {{_i}}Delete{{/i}}</a></li>
+ <li><a href="#"><i class="icon-ban-circle"></i> {{_i}}Ban{{/i}}</a></li>
+ <li class="divider"></li>
+ <li><a href="#"><i class="i"></i> {{_i}}Make admin{{/i}}</a></li>
+ </ul>
+ </div>
</div>
- <div class="btn-group">
- <a class="btn btn-primary" href="#"><i class="icon-user icon-white"></i> {{_i}}User{{/i}}</a>
- <a class="btn btn-primary dropdown-toggle" data-toggle="dropdown" href="#"><span class="caret"></span></a>
- <ul class="dropdown-menu">
- <li><a href="#"><i class="icon-pencil"></i> {{_i}}Edit{{/i}}</a></li>
- <li><a href="#"><i class="icon-trash"></i> {{_i}}Delete{{/i}}</a></li>
- <li><a href="#"><i class="icon-ban-circle"></i> {{_i}}Ban{{/i}}</a></li>
- <li class="divider"></li>
- <li><a href="#"><i class="i"></i> {{_i}}Make admin{{/i}}</a></li>
+ </div>{{! /bs-docs-example }}
+
+ <h4>{{_i}}Navigation{{/i}}</h4>
+ <div class="bs-docs-example">
+ <div class="well" style="padding: 8px 0; margin-bottom: 0;">
+ <ul class="nav nav-list">
+ <li class="active"><a href="#"><i class="icon-home icon-white"></i> {{_i}}Home{{/i}}</a></li>
+ <li><a href="#"><i class="icon-book"></i> {{_i}}Library{{/i}}</a></li>
+ <li><a href="#"><i class="icon-pencil"></i> {{_i}}Applications{{/i}}</a></li>
+ <li><a href="#"><i class="i"></i> {{_i}}Misc{{/i}}</a></li>
</ul>
- </div>
- </div>
- </div>{{! /bs-docs-example }}
-
- <h4>{{_i}}Navigation{{/i}}</h4>
- <div class="bs-docs-example">
- <div class="well" style="padding: 8px 0; margin-bottom: 0;">
- <ul class="nav nav-list">
- <li class="active"><a href="#"><i class="icon-home icon-white"></i> {{_i}}Home{{/i}}</a></li>
- <li><a href="#"><i class="icon-book"></i> {{_i}}Library{{/i}}</a></li>
- <li><a href="#"><i class="icon-pencil"></i> {{_i}}Applications{{/i}}</a></li>
- <li><a href="#"><i class="i"></i> {{_i}}Misc{{/i}}</a></li>
- </ul>
- </div>{{! /well }}
- </div>{{! /bs-docs-example }}
-
- <h4>{{_i}}Form fields{{/i}}</h4>
- <form class="bs-docs-example form-horizontal">
- <div class="control-group">
- <label class="control-label" for="inputIcon">{{_i}}Email address{{/i}}</label>
- <div class="controls">
- <div class="input-prepend">
- <span class="add-on"><i class="icon-envelope"></i></span><input class="span2" id="inputIcon" type="text">
+ </div>{{! /well }}
+ </div>{{! /bs-docs-example }}
+
+ <h4>{{_i}}Form fields{{/i}}</h4>
+ <form class="bs-docs-example form-horizontal">
+ <div class="control-group">
+ <label class="control-label" for="inputIcon">{{_i}}Email address{{/i}}</label>
+ <div class="controls">
+ <div class="input-prepend">
+ <span class="add-on"><i class="icon-envelope"></i></span><input class="span2" id="inputIcon" type="text">
+ </div>
</div>
</div>
- </div>
- </form>
+ </form>
+
+ </section>
- </section>
+ </div>{{! /span9 }}
+ </div>{{! row}}
- </div>{{! /span9 }}
-</div>{{! row}}
+</div>{{! /container }}
diff --git a/docs/templates/pages/components.mustache b/docs/templates/pages/components.mustache
index 450433d3b2..c2005dbc62 100644
--- a/docs/templates/pages/components.mustache
+++ b/docs/templates/pages/components.mustache
@@ -1,57 +1,59 @@
<!-- Subhead
================================================== -->
<header class="jumbotron subhead" id="overview">
- <h1>{{_i}}Components{{/i}}</h1>
- <p class="lead">{{_i}}Dozens of reusable components are built into Bootstrap to provide navigation, alerts, popovers, and much more.{{/i}}</p>
+ <div class="container">
+ <h1>{{_i}}Components{{/i}}</h1>
+ <p class="lead">{{_i}}Dozens of reusable components built to provide navigation, alerts, popovers, and more.{{/i}}</p>
+ </div>
</header>
+<div class="container">
+
+
+ <!-- Docs nav
+ ================================================== -->
+ <div class="row">
+ <div class="span3 bs-docs-sidebar">
+ <ul class="nav nav-list bs-docs-sidenav">
+ <li><a href="#dropdowns">{{_i}}Dropdowns{{/i}} <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#buttonGroups">{{_i}}Button groups{{/i}} <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#buttonDropdowns">{{_i}}Button dropdowns{{/i}} <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#navs">{{_i}}Navs{{/i}} <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#navbar">{{_i}}Navbar{{/i}} <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#breadcrumbs">{{_i}}Breadcrumbs{{/i}} <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#pagination">{{_i}}Pagination{{/i}} <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#labels-badges">{{_i}}Labels and badges{{/i}} <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#typography">{{_i}}Typography{{/i}} <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#thumbnails">{{_i}}Thumbnails{{/i}} <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#alerts">{{_i}}Alerts{{/i}} <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#progress">{{_i}}Progress bars{{/i}} <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#misc">{{_i}}Misc{{/i}} <i class="icon-chevron-right"></i></a></li>
+ </ul>
+ </div>
+ <div class="span9">
-<!-- Docs nav
-================================================== -->
-<div class="row">
- <div class="span3 bs-docs-sidebar">
- <ul class="nav nav-list bs-docs-sidenav">
- <li><a href="#dropdowns">{{_i}}Dropdowns{{/i}} <i class="icon-chevron-right"></i></a></li>
- <li><a href="#buttonGroups">{{_i}}Button groups{{/i}} <i class="icon-chevron-right"></i></a></li>
- <li><a href="#buttonDropdowns">{{_i}}Button dropdowns{{/i}} <i class="icon-chevron-right"></i></a></li>
- <li><a href="#navs">{{_i}}Navs{{/i}} <i class="icon-chevron-right"></i></a></li>
- <li><a href="#navbar">{{_i}}Navbar{{/i}} <i class="icon-chevron-right"></i></a></li>
- <li><a href="#breadcrumbs">{{_i}}Breadcrumbs{{/i}} <i class="icon-chevron-right"></i></a></li>
- <li><a href="#pagination">{{_i}}Pagination{{/i}} <i class="icon-chevron-right"></i></a></li>
- <li><a href="#labels">{{_i}}Labels{{/i}} <i class="icon-chevron-right"></i></a></li>
- <li><a href="#badges">{{_i}}Badges{{/i}} <i class="icon-chevron-right"></i></a></li>
- <li><a href="#typography">{{_i}}Typography{{/i}} <i class="icon-chevron-right"></i></a></li>
- <li><a href="#thumbnails">{{_i}}Thumbnails{{/i}} <i class="icon-chevron-right"></i></a></li>
- <li><a href="#alerts">{{_i}}Alerts{{/i}} <i class="icon-chevron-right"></i></a></li>
- <li><a href="#progress">{{_i}}Progress bars{{/i}} <i class="icon-chevron-right"></i></a></li>
- <li><a href="#misc">{{_i}}Misc{{/i}} <i class="icon-chevron-right"></i></a></li>
- </ul>
- </div>
- <div class="span9">
-
-
-
- <!-- Dropdowns
- ================================================== -->
- <section id="dropdowns">
- <div class="page-header">
- <h1>{{_i}}Dropdown menus{{/i}}</h1>
- </div>
-
- <h2>{{_i}}Example{{/i}}</h2>
- <p>{{_i}}An isolated (without dropdown toggle) dropdown menu example, designed to be used with the <a href="./javascript.html#dropdowns">dropdown javascript plugin</a>.{{/i}}</p>
- <div class="bs-docs-example">
- <div class="dropdown clearfix">
- <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu" style="display: block; position: static; margin-bottom: 5px;">
- <li><a tabindex="-1" href="#">{{_i}}Action{{/i}}</a></li>
- <li><a tabindex="-1" href="#">{{_i}}Another action{{/i}}</a></li>
- <li><a tabindex="-1" href="#">{{_i}}Something else here{{/i}}</a></li>
- <li class="divider"></li>
- <li><a tabindex="-1" href="#">{{_i}}Separated link{{/i}}</a></li>
- </ul>
+
+ <!-- Dropdowns
+ ================================================== -->
+ <section id="dropdowns">
+ <div class="page-header">
+ <h1>{{_i}}Dropdown menus{{/i}}</h1>
</div>
- </div>{{! /example }}
+
+ <h2>{{_i}}Example{{/i}}</h2>
+ <p>{{_i}}An isolated (without dropdown toggle) dropdown menu example, designed to be used with the <a href="./javascript.html#dropdowns">dropdown javascript plugin</a>.{{/i}}</p>
+ <div class="bs-docs-example">
+ <div class="dropdown clearfix">
+ <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu" style="display: block; position: static; margin-bottom: 5px;">
+ <li><a tabindex="-1" href="#">{{_i}}Action{{/i}}</a></li>
+ <li><a tabindex="-1" href="#">{{_i}}Another action{{/i}}</a></li>
+ <li><a tabindex="-1" href="#">{{_i}}Something else here{{/i}}</a></li>
+ <li class="divider"></li>
+ <li><a tabindex="-1" href="#">{{_i}}Separated link{{/i}}</a></li>
+ </ul>
+ </div>
+ </div>{{! /example }}
<pre class="prettyprint linenums">
&lt;ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu"&gt;
&lt;li&gt;&lt;a tabindex="-1" href="#"&gt;{{_i}}Action{{/i}}&lt;/a&gt;&lt;/li&gt;
@@ -63,11 +65,11 @@
</pre>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h2>{{_i}}Markup{{/i}}</h2>
- <p>{{_i}}Dropdowns require...{{/i}}</p>
+ <h2>{{_i}}Markup{{/i}}</h2>
+ <p>{{_i}}Dropdowns require...{{/i}}</p>
<pre class="prettyprint linenums">
&lt;ul class="nav nav-pills"&gt;
@@ -89,50 +91,50 @@
&lt;/ul&gt;</pre>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h2>{{_i}}Options{{/i}}</h2>
- <p>{{_i}}...{{/i}}</p>
+ <h2>{{_i}}Options{{/i}}</h2>
+ <p>{{_i}}...{{/i}}</p>
- <h3>{{_i}}Dropup menus{{/i}}</h3>
- <p>{{_i}}...{{/i}}</p>
+ <h3>{{_i}}Dropup menus{{/i}}</h3>
+ <p>{{_i}}...{{/i}}</p>
- <h3>{{_i}}Aligning the menus{{/i}}</h3>
- <p>{{_i}}...{{/i}}</p>
+ <h3>{{_i}}Aligning the menus{{/i}}</h3>
+ <p>{{_i}}...{{/i}}</p>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h2>{{_i}}Usage{{/i}}</h2>
- <p>{{_i}}...{{/i}}</p>
+ <h2>{{_i}}Usage{{/i}}</h2>
+ <p>{{_i}}...{{/i}}</p>
- </section>
+ </section>
- <!-- Button Groups
- ================================================== -->
- <section id="buttonGroups">
- <div class="page-header">
- <h1>{{_i}}Button groups{{/i}}</h1>
- </div>
+ <!-- Button Groups
+ ================================================== -->
+ <section id="buttonGroups">
+ <div class="page-header">
+ <h1>{{_i}}Button groups{{/i}}</h1>
+ </div>
- <h2>{{_i}}Examples{{/i}}</h2>
- <p>{{_i}}Two basic options, along with two more specific variations.{{/i}}</p>
+ <h2>{{_i}}Examples{{/i}}</h2>
+ <p>{{_i}}Two basic options, along with two more specific variations.{{/i}}</p>
- <h3>{{_i}}Single button group{{/i}}</h3>
- <p>{{_i}}Wrap a series of buttons with <code>.btn</code> in <code>.btn-group</code>.{{/i}}</p>
- <div class="bs-docs-example">
- <div class="btn-group" style="margin: 9px 0 5px;">
- <button class="btn">{{_i}}Left{{/i}}</button>
- <button class="btn">{{_i}}Middle{{/i}}</button>
- <button class="btn">{{_i}}Right{{/i}}</button>
+ <h3>{{_i}}Single button group{{/i}}</h3>
+ <p>{{_i}}Wrap a series of buttons with <code>.btn</code> in <code>.btn-group</code>.{{/i}}</p>
+ <div class="bs-docs-example">
+ <div class="btn-group" style="margin: 9px 0 5px;">
+ <button class="btn">{{_i}}Left{{/i}}</button>
+ <button class="btn">{{_i}}Middle{{/i}}</button>
+ <button class="btn">{{_i}}Right{{/i}}</button>
+ </div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="btn-group"&gt;
&lt;button class="btn"&gt;1&lt;/button&gt;
@@ -141,26 +143,26 @@
&lt;/div&gt;
</pre>
- <h3>{{_i}}Multiple button groups{{/i}}</h3>
- <p>{{_i}}Combine sets of <code>&lt;div class="btn-group"&gt;</code> into a <code>&lt;div class="btn-toolbar"&gt;</code> for more complex components.{{/i}}</p>
- <div class="bs-docs-example">
- <div class="btn-toolbar" style="margin: 0;">
- <div class="btn-group">
- <button class="btn">1</button>
- <button class="btn">2</button>
- <button class="btn">3</button>
- <button class="btn">4</button>
- </div>
- <div class="btn-group">
- <button class="btn">5</button>
- <button class="btn">6</button>
- <button class="btn">7</button>
- </div>
- <div class="btn-group">
- <button class="btn">8</button>
+ <h3>{{_i}}Multiple button groups{{/i}}</h3>
+ <p>{{_i}}Combine sets of <code>&lt;div class="btn-group"&gt;</code> into a <code>&lt;div class="btn-toolbar"&gt;</code> for more complex components.{{/i}}</p>
+ <div class="bs-docs-example">
+ <div class="btn-toolbar" style="margin: 0;">
+ <div class="btn-group">
+ <button class="btn">1</button>
+ <button class="btn">2</button>
+ <button class="btn">3</button>
+ <button class="btn">4</button>
+ </div>
+ <div class="btn-group">
+ <button class="btn">5</button>
+ <button class="btn">6</button>
+ <button class="btn">7</button>
+ </div>
+ <div class="btn-group">
+ <button class="btn">8</button>
+ </div>
</div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="btn-toolbar"&gt;
&lt;div class="btn-group"&gt;
@@ -169,16 +171,16 @@
&lt;/div&gt;
</pre>
- <h3>{{_i}}Vertical button groups{{/i}}</h3>
- <p>{{_i}}Make a set of buttons appear vertically stacked rather than horizontally.{{/i}}</p>
- <div class="bs-docs-example">
- <div class="btn-group btn-group-vertical">
- <button type="button" class="btn"><i class="icon-align-left"></i></button>
- <button type="button" class="btn"><i class="icon-align-center"></i></button>
- <button type="button" class="btn"><i class="icon-align-right"></i></button>
- <button type="button" class="btn"><i class="icon-align-justify"></i></button>
+ <h3>{{_i}}Vertical button groups{{/i}}</h3>
+ <p>{{_i}}Make a set of buttons appear vertically stacked rather than horizontally.{{/i}}</p>
+ <div class="bs-docs-example">
+ <div class="btn-group btn-group-vertical">
+ <button type="button" class="btn"><i class="icon-align-left"></i></button>
+ <button type="button" class="btn"><i class="icon-align-center"></i></button>
+ <button type="button" class="btn"><i class="icon-align-right"></i></button>
+ <button type="button" class="btn"><i class="icon-align-justify"></i></button>
+ </div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="btn-group btn-group-vertical"&gt;
...
@@ -186,102 +188,102 @@
</pre>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h4>{{_i}}Checkbox and radio flavors{{/i}}</h4>
- <p>{{_i}}Button groups can also function as radios, where only one button may be active, or checkboxes, where any number of buttons may be active. View <a href="./javascript.html#buttons">the Javascript docs</a> for that.{{/i}}</p>
+ <h4>{{_i}}Checkbox and radio flavors{{/i}}</h4>
+ <p>{{_i}}Button groups can also function as radios, where only one button may be active, or checkboxes, where any number of buttons may be active. View <a href="./javascript.html#buttons">the Javascript docs</a> for that.{{/i}}</p>
- <h4>{{_i}}Dropdowns in button groups{{/i}}</h4>
- <p><span class="label label-info">{{_i}}Heads up!{{/i}}</span> {{_i}}Buttons with dropdowns must be individually wrapped in their own <code>.btn-group</code> within a <code>.btn-toolbar</code> for proper rendering.{{/i}}</p>
- </section>
+ <h4>{{_i}}Dropdowns in button groups{{/i}}</h4>
+ <p><span class="label label-info">{{_i}}Heads up!{{/i}}</span> {{_i}}Buttons with dropdowns must be individually wrapped in their own <code>.btn-group</code> within a <code>.btn-toolbar</code> for proper rendering.{{/i}}</p>
+ </section>
- <!-- Split button dropdowns
- ================================================== -->
- <section id="buttonDropdowns">
- <div class="page-header">
- <h1>{{_i}}Button dropdown menus{{/i}}</h1>
- </div>
+ <!-- Split button dropdowns
+ ================================================== -->
+ <section id="buttonDropdowns">
+ <div class="page-header">
+ <h1>{{_i}}Button dropdown menus{{/i}}</h1>
+ </div>
- <h2>{{_i}}Overview and examples{{/i}}</h2>
- <p>{{_i}}Use any button to trigger a dropdown menu by placing it within a <code>.btn-group</code> and providing the proper menu markup.{{/i}}</p>
- <div class="bs-docs-example">
- <div class="btn-toolbar" style="margin: 0;">
- <div class="btn-group">
- <button class="btn dropdown-toggle" data-toggle="dropdown">{{_i}}Action{{/i}} <span class="caret"></span></button>
- <ul class="dropdown-menu">
- <li><a href="#">{{_i}}Action{{/i}}</a></li>
- <li><a href="#">{{_i}}Another action{{/i}}</a></li>
- <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
- <li class="divider"></li>
- <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
- </ul>
- </div><!-- /btn-group -->
- <div class="btn-group">
- <button class="btn btn-primary dropdown-toggle" data-toggle="dropdown">{{_i}}Action{{/i}} <span class="caret"></span></button>
- <ul class="dropdown-menu">
- <li><a href="#">{{_i}}Action{{/i}}</a></li>
- <li><a href="#">{{_i}}Another action{{/i}}</a></li>
- <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
- <li class="divider"></li>
- <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
- </ul>
- </div><!-- /btn-group -->
- <div class="btn-group">
- <button class="btn btn-danger dropdown-toggle" data-toggle="dropdown">{{_i}}Danger{{/i}} <span class="caret"></span></button>
- <ul class="dropdown-menu">
- <li><a href="#">{{_i}}Action{{/i}}</a></li>
- <li><a href="#">{{_i}}Another action{{/i}}</a></li>
- <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
- <li class="divider"></li>
- <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
- </ul>
- </div><!-- /btn-group -->
- <div class="btn-group">
- <button class="btn btn-warning dropdown-toggle" data-toggle="dropdown">{{_i}}Warning{{/i}} <span class="caret"></span></button>
- <ul class="dropdown-menu">
- <li><a href="#">{{_i}}Action{{/i}}</a></li>
- <li><a href="#">{{_i}}Another action{{/i}}</a></li>
- <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
- <li class="divider"></li>
- <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
- </ul>
- </div><!-- /btn-group -->
- <div class="btn-group">
- <button class="btn btn-success dropdown-toggle" data-toggle="dropdown">{{_i}}Success{{/i}} <span class="caret"></span></button>
- <ul class="dropdown-menu">
- <li><a href="#">{{_i}}Action{{/i}}</a></li>
- <li><a href="#">{{_i}}Another action{{/i}}</a></li>
- <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
- <li class="divider"></li>
- <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
- </ul>
- </div><!-- /btn-group -->
- <div class="btn-group">
- <button class="btn btn-info dropdown-toggle" data-toggle="dropdown">{{_i}}Info{{/i}} <span class="caret"></span></button>
- <ul class="dropdown-menu">
- <li><a href="#">{{_i}}Action{{/i}}</a></li>
- <li><a href="#">{{_i}}Another action{{/i}}</a></li>
- <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
- <li class="divider"></li>
- <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
- </ul>
- </div><!-- /btn-group -->
- <div class="btn-group">
- <button class="btn btn-inverse dropdown-toggle" data-toggle="dropdown">{{_i}}Inverse{{/i}} <span class="caret"></span></button>
- <ul class="dropdown-menu">
- <li><a href="#">{{_i}}Action{{/i}}</a></li>
- <li><a href="#">{{_i}}Another action{{/i}}</a></li>
- <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
- <li class="divider"></li>
- <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
- </ul>
- </div><!-- /btn-group -->
- </div><!-- /btn-toolbar -->
- </div>{{! /example }}
+ <h2>{{_i}}Overview and examples{{/i}}</h2>
+ <p>{{_i}}Use any button to trigger a dropdown menu by placing it within a <code>.btn-group</code> and providing the proper menu markup.{{/i}}</p>
+ <div class="bs-docs-example">
+ <div class="btn-toolbar" style="margin: 0;">
+ <div class="btn-group">
+ <button class="btn dropdown-toggle" data-toggle="dropdown">{{_i}}Action{{/i}} <span class="caret"></span></button>
+ <ul class="dropdown-menu">
+ <li><a href="#">{{_i}}Action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Another action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
+ <li class="divider"></li>
+ <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
+ </ul>
+ </div><!-- /btn-group -->
+ <div class="btn-group">
+ <button class="btn btn-primary dropdown-toggle" data-toggle="dropdown">{{_i}}Action{{/i}} <span class="caret"></span></button>
+ <ul class="dropdown-menu">
+ <li><a href="#">{{_i}}Action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Another action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
+ <li class="divider"></li>
+ <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
+ </ul>
+ </div><!-- /btn-group -->
+ <div class="btn-group">
+ <button class="btn btn-danger dropdown-toggle" data-toggle="dropdown">{{_i}}Danger{{/i}} <span class="caret"></span></button>
+ <ul class="dropdown-menu">
+ <li><a href="#">{{_i}}Action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Another action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
+ <li class="divider"></li>
+ <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
+ </ul>
+ </div><!-- /btn-group -->
+ <div class="btn-group">
+ <button class="btn btn-warning dropdown-toggle" data-toggle="dropdown">{{_i}}Warning{{/i}} <span class="caret"></span></button>
+ <ul class="dropdown-menu">
+ <li><a href="#">{{_i}}Action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Another action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
+ <li class="divider"></li>
+ <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
+ </ul>
+ </div><!-- /btn-group -->
+ <div class="btn-group">
+ <button class="btn btn-success dropdown-toggle" data-toggle="dropdown">{{_i}}Success{{/i}} <span class="caret"></span></button>
+ <ul class="dropdown-menu">
+ <li><a href="#">{{_i}}Action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Another action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
+ <li class="divider"></li>
+ <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
+ </ul>
+ </div><!-- /btn-group -->
+ <div class="btn-group">
+ <button class="btn btn-info dropdown-toggle" data-toggle="dropdown">{{_i}}Info{{/i}} <span class="caret"></span></button>
+ <ul class="dropdown-menu">
+ <li><a href="#">{{_i}}Action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Another action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
+ <li class="divider"></li>
+ <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
+ </ul>
+ </div><!-- /btn-group -->
+ <div class="btn-group">
+ <button class="btn btn-inverse dropdown-toggle" data-toggle="dropdown">{{_i}}Inverse{{/i}} <span class="caret"></span></button>
+ <ul class="dropdown-menu">
+ <li><a href="#">{{_i}}Action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Another action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
+ <li class="divider"></li>
+ <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
+ </ul>
+ </div><!-- /btn-group -->
+ </div><!-- /btn-toolbar -->
+ </div>{{! /example }}
<pre class="prettyprint linenums">
&lt;div class="btn-group"&gt;
&lt;a class="btn dropdown-toggle" data-toggle="dropdown" href="#"&gt;
@@ -294,134 +296,134 @@
&lt;/div&gt;
</pre>
- <h3>{{_i}}Works with all button sizes{{/i}}</h3>
- <p>{{_i}}Button dropdowns work at any size. your button sizes to <code>.btn-large</code>, <code>.btn-small</code>, or <code>.btn-mini</code>.{{/i}}</p>
- <div class="bs-docs-example">
- <div class="btn-toolbar" style="margin: 0;">
- <div class="btn-group">
- <button class="btn btn-large dropdown-toggle" data-toggle="dropdown">{{_i}}Large button{{/i}} <span class="caret"></span></button>
- <ul class="dropdown-menu">
- <li><a href="#">{{_i}}Action{{/i}}</a></li>
- <li><a href="#">{{_i}}Another action{{/i}}</a></li>
- <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
- <li class="divider"></li>
- <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
- </ul>
- </div><!-- /btn-group -->
- <div class="btn-group">
- <button class="btn btn-small dropdown-toggle" data-toggle="dropdown">{{_i}}Small button{{/i}} <span class="caret"></span></button>
- <ul class="dropdown-menu">
- <li><a href="#">{{_i}}Action{{/i}}</a></li>
- <li><a href="#">{{_i}}Another action{{/i}}</a></li>
- <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
- <li class="divider"></li>
- <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
- </ul>
- </div><!-- /btn-group -->
- <div class="btn-group">
- <button class="btn btn-mini dropdown-toggle" data-toggle="dropdown">{{_i}}Mini button{{/i}} <span class="caret"></span></button>
- <ul class="dropdown-menu">
- <li><a href="#">{{_i}}Action{{/i}}</a></li>
- <li><a href="#">{{_i}}Another action{{/i}}</a></li>
- <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
- <li class="divider"></li>
- <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
- </ul>
- </div><!-- /btn-group -->
- </div><!-- /btn-toolbar -->
- </div>{{! /example }}
-
- <h3>{{_i}}Requires javascript{{/i}}</h3>
- <p>{{_i}}Button dropdowns require the <a href="./javascript.html#dropdowns">Bootstrap dropdown plugin</a> to function.{{/i}}</p>
- <p>{{_i}}In some cases&mdash;like mobile&mdash;dropdown menus will extend outside the viewport. You need to resolve the alignment manually or with custom javascript.{{/i}}</p>
-
-
- <hr class="bs-docs-separator">
-
-
- <h2>{{_i}}Split button dropdowns{{/i}}</h2>
- <p>{{_i}}Building on the button group styles and markup, we can easily create a split button. Split buttons feature a standard action on the left and a dropdown toggle on the right with contextual links.{{/i}}</p>
- <div class="bs-docs-example">
- <div class="btn-toolbar" style="margin: 0;">
- <div class="btn-group">
- <button class="btn">{{_i}}Action{{/i}}</button>
- <button class="btn dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
- <ul class="dropdown-menu">
- <li><a href="#">{{_i}}Action{{/i}}</a></li>
- <li><a href="#">{{_i}}Another action{{/i}}</a></li>
- <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
- <li class="divider"></li>
- <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
- </ul>
- </div><!-- /btn-group -->
- <div class="btn-group">
- <button class="btn btn-primary">{{_i}}Action{{/i}}</button>
- <button class="btn btn-primary dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
- <ul class="dropdown-menu">
- <li><a href="#">{{_i}}Action{{/i}}</a></li>
- <li><a href="#">{{_i}}Another action{{/i}}</a></li>
- <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
- <li class="divider"></li>
- <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
- </ul>
- </div><!-- /btn-group -->
- <div class="btn-group">
- <button class="btn btn-danger">{{_i}}Danger{{/i}}</button>
- <button class="btn btn-danger dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
- <ul class="dropdown-menu">
- <li><a href="#">{{_i}}Action{{/i}}</a></li>
- <li><a href="#">{{_i}}Another action{{/i}}</a></li>
- <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
- <li class="divider"></li>
- <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
- </ul>
- </div><!-- /btn-group -->
- <div class="btn-group">
- <button class="btn btn-warning">{{_i}}Warning{{/i}}</button>
- <button class="btn btn-warning dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
- <ul class="dropdown-menu">
- <li><a href="#">{{_i}}Action{{/i}}</a></li>
- <li><a href="#">{{_i}}Another action{{/i}}</a></li>
- <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
- <li class="divider"></li>
- <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
- </ul>
- </div><!-- /btn-group -->
- <div class="btn-group">
- <button class="btn btn-success">{{_i}}Success{{/i}}</button>
- <button class="btn btn-success dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
- <ul class="dropdown-menu">
- <li><a href="#">{{_i}}Action{{/i}}</a></li>
- <li><a href="#">{{_i}}Another action{{/i}}</a></li>
- <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
- <li class="divider"></li>
- <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
- </ul>
- </div><!-- /btn-group -->
- <div class="btn-group">
- <button class="btn btn-info">{{_i}}Info{{/i}}</button>
- <button class="btn btn-info dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
- <ul class="dropdown-menu">
- <li><a href="#">{{_i}}Action{{/i}}</a></li>
- <li><a href="#">{{_i}}Another action{{/i}}</a></li>
- <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
- <li class="divider"></li>
- <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
- </ul>
- </div><!-- /btn-group -->
- <div class="btn-group">
- <button class="btn btn-inverse">{{_i}}Inverse{{/i}}</button>
- <button class="btn btn-inverse dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
- <ul class="dropdown-menu">
- <li><a href="#">{{_i}}Action{{/i}}</a></li>
- <li><a href="#">{{_i}}Another action{{/i}}</a></li>
- <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
- <li class="divider"></li>
- <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
- </ul>
- </div><!-- /btn-group -->
- </div><!-- /btn-toolbar -->
- </div>{{! /example }}
+ <h3>{{_i}}Works with all button sizes{{/i}}</h3>
+ <p>{{_i}}Button dropdowns work at any size. your button sizes to <code>.btn-large</code>, <code>.btn-small</code>, or <code>.btn-mini</code>.{{/i}}</p>
+ <div class="bs-docs-example">
+ <div class="btn-toolbar" style="margin: 0;">
+ <div class="btn-group">
+ <button class="btn btn-large dropdown-toggle" data-toggle="dropdown">{{_i}}Large button{{/i}} <span class="caret"></span></button>
+ <ul class="dropdown-menu">
+ <li><a href="#">{{_i}}Action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Another action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
+ <li class="divider"></li>
+ <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
+ </ul>
+ </div><!-- /btn-group -->
+ <div class="btn-group">
+ <button class="btn btn-small dropdown-toggle" data-toggle="dropdown">{{_i}}Small button{{/i}} <span class="caret"></span></button>
+ <ul class="dropdown-menu">
+ <li><a href="#">{{_i}}Action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Another action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
+ <li class="divider"></li>
+ <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
+ </ul>
+ </div><!-- /btn-group -->
+ <div class="btn-group">
+ <button class="btn btn-mini dropdown-toggle" data-toggle="dropdown">{{_i}}Mini button{{/i}} <span class="caret"></span></button>
+ <ul class="dropdown-menu">
+ <li><a href="#">{{_i}}Action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Another action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
+ <li class="divider"></li>
+ <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
+ </ul>
+ </div><!-- /btn-group -->
+ </div><!-- /btn-toolbar -->
+ </div>{{! /example }}
+
+ <h3>{{_i}}Requires javascript{{/i}}</h3>
+ <p>{{_i}}Button dropdowns require the <a href="./javascript.html#dropdowns">Bootstrap dropdown plugin</a> to function.{{/i}}</p>
+ <p>{{_i}}In some cases&mdash;like mobile&mdash;dropdown menus will extend outside the viewport. You need to resolve the alignment manually or with custom javascript.{{/i}}</p>
+
+
+ <hr class="bs-docs-separator">
+
+
+ <h2>{{_i}}Split button dropdowns{{/i}}</h2>
+ <p>{{_i}}Building on the button group styles and markup, we can easily create a split button. Split buttons feature a standard action on the left and a dropdown toggle on the right with contextual links.{{/i}}</p>
+ <div class="bs-docs-example">
+ <div class="btn-toolbar" style="margin: 0;">
+ <div class="btn-group">
+ <button class="btn">{{_i}}Action{{/i}}</button>
+ <button class="btn dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
+ <ul class="dropdown-menu">
+ <li><a href="#">{{_i}}Action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Another action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
+ <li class="divider"></li>
+ <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
+ </ul>
+ </div><!-- /btn-group -->
+ <div class="btn-group">
+ <button class="btn btn-primary">{{_i}}Action{{/i}}</button>
+ <button class="btn btn-primary dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
+ <ul class="dropdown-menu">
+ <li><a href="#">{{_i}}Action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Another action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
+ <li class="divider"></li>
+ <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
+ </ul>
+ </div><!-- /btn-group -->
+ <div class="btn-group">
+ <button class="btn btn-danger">{{_i}}Danger{{/i}}</button>
+ <button class="btn btn-danger dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
+ <ul class="dropdown-menu">
+ <li><a href="#">{{_i}}Action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Another action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
+ <li class="divider"></li>
+ <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
+ </ul>
+ </div><!-- /btn-group -->
+ <div class="btn-group">
+ <button class="btn btn-warning">{{_i}}Warning{{/i}}</button>
+ <button class="btn btn-warning dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
+ <ul class="dropdown-menu">
+ <li><a href="#">{{_i}}Action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Another action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
+ <li class="divider"></li>
+ <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
+ </ul>
+ </div><!-- /btn-group -->
+ <div class="btn-group">
+ <button class="btn btn-success">{{_i}}Success{{/i}}</button>
+ <button class="btn btn-success dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
+ <ul class="dropdown-menu">
+ <li><a href="#">{{_i}}Action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Another action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
+ <li class="divider"></li>
+ <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
+ </ul>
+ </div><!-- /btn-group -->
+ <div class="btn-group">
+ <button class="btn btn-info">{{_i}}Info{{/i}}</button>
+ <button class="btn btn-info dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
+ <ul class="dropdown-menu">
+ <li><a href="#">{{_i}}Action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Another action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
+ <li class="divider"></li>
+ <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
+ </ul>
+ </div><!-- /btn-group -->
+ <div class="btn-group">
+ <button class="btn btn-inverse">{{_i}}Inverse{{/i}}</button>
+ <button class="btn btn-inverse dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
+ <ul class="dropdown-menu">
+ <li><a href="#">{{_i}}Action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Another action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
+ <li class="divider"></li>
+ <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
+ </ul>
+ </div><!-- /btn-group -->
+ </div><!-- /btn-toolbar -->
+ </div>{{! /example }}
<pre class="prettyprint linenums">
&lt;div class="btn-group"&gt;
&lt;button class="btn"&gt;{{_i}}Action{{/i}}&lt;/button&gt;
@@ -434,49 +436,49 @@
&lt;/div&gt;
</pre>
- <h3>{{_i}}Sizes{{/i}}</h3>
- <p>{{_i}}Utilize the extra button classes <code>.btn-mini</code>, <code>.btn-small</code>, or <code>.btn-large</code> for sizing.{{/i}}</p>
- <div class="bs-docs-example">
- <div class="btn-toolbar">
- <div class="btn-group">
- <button class="btn btn-large">{{_i}}Large action{{/i}}</button>
- <button class="btn btn-large dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
- <ul class="dropdown-menu">
- <li><a href="#">{{_i}}Action{{/i}}</a></li>
- <li><a href="#">{{_i}}Another action{{/i}}</a></li>
- <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
- <li class="divider"></li>
- <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
- </ul>
- </div><!-- /btn-group -->
- </div><!-- /btn-toolbar -->
- <div class="btn-toolbar">
- <div class="btn-group">
- <button class="btn btn-small">{{_i}}Small action{{/i}}</button>
- <button class="btn btn-small dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
- <ul class="dropdown-menu">
- <li><a href="#">{{_i}}Action{{/i}}</a></li>
- <li><a href="#">{{_i}}Another action{{/i}}</a></li>
- <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
- <li class="divider"></li>
- <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
- </ul>
- </div><!-- /btn-group -->
- </div><!-- /btn-toolbar -->
- <div class="btn-toolbar">
- <div class="btn-group">
- <button class="btn btn-mini">{{_i}}Mini action{{/i}}</button>
- <button class="btn btn-mini dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
- <ul class="dropdown-menu">
- <li><a href="#">{{_i}}Action{{/i}}</a></li>
- <li><a href="#">{{_i}}Another action{{/i}}</a></li>
- <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
- <li class="divider"></li>
- <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
- </ul>
- </div><!-- /btn-group -->
- </div><!-- /btn-toolbar -->
- </div>{{! /example }}
+ <h3>{{_i}}Sizes{{/i}}</h3>
+ <p>{{_i}}Utilize the extra button classes <code>.btn-mini</code>, <code>.btn-small</code>, or <code>.btn-large</code> for sizing.{{/i}}</p>
+ <div class="bs-docs-example">
+ <div class="btn-toolbar">
+ <div class="btn-group">
+ <button class="btn btn-large">{{_i}}Large action{{/i}}</button>
+ <button class="btn btn-large dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
+ <ul class="dropdown-menu">
+ <li><a href="#">{{_i}}Action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Another action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
+ <li class="divider"></li>
+ <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
+ </ul>
+ </div><!-- /btn-group -->
+ </div><!-- /btn-toolbar -->
+ <div class="btn-toolbar">
+ <div class="btn-group">
+ <button class="btn btn-small">{{_i}}Small action{{/i}}</button>
+ <button class="btn btn-small dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
+ <ul class="dropdown-menu">
+ <li><a href="#">{{_i}}Action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Another action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
+ <li class="divider"></li>
+ <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
+ </ul>
+ </div><!-- /btn-group -->
+ </div><!-- /btn-toolbar -->
+ <div class="btn-toolbar">
+ <div class="btn-group">
+ <button class="btn btn-mini">{{_i}}Mini action{{/i}}</button>
+ <button class="btn btn-mini dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
+ <ul class="dropdown-menu">
+ <li><a href="#">{{_i}}Action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Another action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
+ <li class="divider"></li>
+ <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
+ </ul>
+ </div><!-- /btn-group -->
+ </div><!-- /btn-toolbar -->
+ </div>{{! /example }}
<pre class="prettyprint linenums">
&lt;div class="btn-group"&gt;
&lt;button class="btn btn-mini"&gt;{{_i}}Action{{/i}}&lt;/button&gt;
@@ -489,34 +491,34 @@
&lt;/div&gt;
</pre>
- <h3>{{_i}}Dropup menus{{/i}}</h3>
- <p>{{_i}}Dropdown menus can also be toggled from the bottom up by adding a single class to the immediate parent of <code>.dropdown-menu</code>. It will flip the direction of the <code>.caret</code> and reposition the menu itself to move from the bottom up instead of top down.{{/i}}</p>
- <div class="bs-docs-example">
- <div class="btn-toolbar" style="margin: 0;">
- <div class="btn-group dropup">
- <button class="btn">{{_i}}Dropup{{/i}}</button>
- <button class="btn dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
- <ul class="dropdown-menu">
- <li><a href="#">{{_i}}Action{{/i}}</a></li>
- <li><a href="#">{{_i}}Another action{{/i}}</a></li>
- <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
- <li class="divider"></li>
- <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
- </ul>
- </div><!-- /btn-group -->
- <div class="btn-group dropup">
- <button class="btn primary">{{_i}}Right dropup{{/i}}</button>
- <button class="btn primary dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
- <ul class="dropdown-menu pull-right">
- <li><a href="#">{{_i}}Action{{/i}}</a></li>
- <li><a href="#">{{_i}}Another action{{/i}}</a></li>
- <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
- <li class="divider"></li>
- <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
- </ul>
- </div><!-- /btn-group -->
- </div>
- </div>{{! /example }}
+ <h3>{{_i}}Dropup menus{{/i}}</h3>
+ <p>{{_i}}Dropdown menus can also be toggled from the bottom up by adding a single class to the immediate parent of <code>.dropdown-menu</code>. It will flip the direction of the <code>.caret</code> and reposition the menu itself to move from the bottom up instead of top down.{{/i}}</p>
+ <div class="bs-docs-example">
+ <div class="btn-toolbar" style="margin: 0;">
+ <div class="btn-group dropup">
+ <button class="btn">{{_i}}Dropup{{/i}}</button>
+ <button class="btn dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
+ <ul class="dropdown-menu">
+ <li><a href="#">{{_i}}Action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Another action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
+ <li class="divider"></li>
+ <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
+ </ul>
+ </div><!-- /btn-group -->
+ <div class="btn-group dropup">
+ <button class="btn primary">{{_i}}Right dropup{{/i}}</button>
+ <button class="btn primary dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
+ <ul class="dropdown-menu pull-right">
+ <li><a href="#">{{_i}}Action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Another action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
+ <li class="divider"></li>
+ <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
+ </ul>
+ </div><!-- /btn-group -->
+ </div>
+ </div>{{! /example }}
<pre class="prettyprint linenums">
&lt;div class="btn-group dropup"&gt;
&lt;button class="btn"&gt;{{_i}}Dropup{{/i}}&lt;/button&gt;
@@ -529,29 +531,29 @@
&lt;/div&gt;
</pre>
- </section>
+ </section>
- <!-- Nav, Tabs, & Pills
- ================================================== -->
- <section id="navs">
- <div class="page-header">
- <h1>{{_i}}Nav: tabs, pills, and lists{{/i}}</small></h1>
- </div>
+ <!-- Nav, Tabs, & Pills
+ ================================================== -->
+ <section id="navs">
+ <div class="page-header">
+ <h1>{{_i}}Nav: tabs, pills, and lists{{/i}}</small></h1>
+ </div>
- <h2>{{_i}}Lightweight defaults{{/i}} <small>{{_i}}Same markup, different classes{{/i}}</small></h2>
- <p>{{_i}}All nav components here&mdash;tabs, pills, and lists&mdash;<strong>share the same base markup and styles</strong> through the <code>.nav</code> class.{{/i}}</p>
+ <h2>{{_i}}Lightweight defaults{{/i}} <small>{{_i}}Same markup, different classes{{/i}}</small></h2>
+ <p>{{_i}}All nav components here&mdash;tabs, pills, and lists&mdash;<strong>share the same base markup and styles</strong> through the <code>.nav</code> class.{{/i}}</p>
- <h3>{{_i}}Basic tabs{{/i}}</h3>
- <p>{{_i}}Take a regular <code>&lt;ul&gt;</code> of links and add <code>.nav-tabs</code>:{{/i}}</p>
- <div class="bs-docs-example">
- <ul class="nav nav-tabs">
- <li class="active"><a href="#">{{_i}}Home{{/i}}</a></li>
- <li><a href="#">{{_i}}Profile{{/i}}</a></li>
- <li><a href="#">{{_i}}Messages{{/i}}</a></li>
- </ul>
- </div>
+ <h3>{{_i}}Basic tabs{{/i}}</h3>
+ <p>{{_i}}Take a regular <code>&lt;ul&gt;</code> of links and add <code>.nav-tabs</code>:{{/i}}</p>
+ <div class="bs-docs-example">
+ <ul class="nav nav-tabs">
+ <li class="active"><a href="#">{{_i}}Home{{/i}}</a></li>
+ <li><a href="#">{{_i}}Profile{{/i}}</a></li>
+ <li><a href="#">{{_i}}Messages{{/i}}</a></li>
+ </ul>
+ </div>
<pre class="prettyprint linenums">
&lt;ul class="nav nav-tabs"&gt;
&lt;li class="active"&gt;
@@ -562,15 +564,15 @@
&lt;/ul&gt;
</pre>
- <h3>{{_i}}Basic pills{{/i}}</h3>
- <p>{{_i}}Take that same HTML, but use <code>.nav-pills</code> instead:{{/i}}</p>
- <div class="bs-docs-example">
- <ul class="nav nav-pills">
- <li class="active"><a href="#">{{_i}}Home{{/i}}</a></li>
- <li><a href="#">{{_i}}Profile{{/i}}</a></li>
- <li><a href="#">{{_i}}Messages{{/i}}</a></li>
- </ul>
- </div>
+ <h3>{{_i}}Basic pills{{/i}}</h3>
+ <p>{{_i}}Take that same HTML, but use <code>.nav-pills</code> instead:{{/i}}</p>
+ <div class="bs-docs-example">
+ <ul class="nav nav-pills">
+ <li class="active"><a href="#">{{_i}}Home{{/i}}</a></li>
+ <li><a href="#">{{_i}}Profile{{/i}}</a></li>
+ <li><a href="#">{{_i}}Messages{{/i}}</a></li>
+ </ul>
+ </div>
<pre class="prettyprint linenums">
&lt;ul class="nav nav-pills"&gt;
&lt;li class="active"&gt;
@@ -581,15 +583,15 @@
&lt;/ul&gt;
</pre>
- <h3>{{_i}}Disabled state{{/i}}</h3>
- <p>{{_i}}For any nav component (tabs, pills, or list), add <code>.disabled</code> for <strong>gray links and no hover effects</strong>. Links will remain clickable, however, unless custom javascript is implemented to prevent those clicks.{{/i}}</p>
- <div class="bs-docs-example">
- <ul class="nav nav-pills">
- <li><a href="#">{{_i}}Clickable link{{/i}}</a></li>
- <li><a href="#">{{_i}}Clickable link{{/i}}</a></li>
- <li class="disabled"><a href="#">{{_i}}Disabled link{{/i}}</a></li>
- </ul>
- </div>
+ <h3>{{_i}}Disabled state{{/i}}</h3>
+ <p>{{_i}}For any nav component (tabs, pills, or list), add <code>.disabled</code> for <strong>gray links and no hover effects</strong>. Links will remain clickable, however, unless custom javascript is implemented to prevent those clicks.{{/i}}</p>
+ <div class="bs-docs-example">
+ <ul class="nav nav-pills">
+ <li><a href="#">{{_i}}Clickable link{{/i}}</a></li>
+ <li><a href="#">{{_i}}Clickable link{{/i}}</a></li>
+ <li class="disabled"><a href="#">{{_i}}Disabled link{{/i}}</a></li>
+ </ul>
+ </div>
<pre class="prettyprint linenums">
&lt;ul class="nav nav-pills"&gt;
...
@@ -598,38 +600,38 @@
&lt;/ul&gt;
</pre>
- <h3>{{_i}}Component alignment{{/i}}</h3>
- <p>{{_i}}To align nav links, use the <code>.pull-left</code> or <code>.pull-right</code> utility classes. Both classes will add a CSS float in the specified direction.{{/i}}</p>
+ <h3>{{_i}}Component alignment{{/i}}</h3>
+ <p>{{_i}}To align nav links, use the <code>.pull-left</code> or <code>.pull-right</code> utility classes. Both classes will add a CSS float in the specified direction.{{/i}}</p>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h2>{{_i}}Stackable{{/i}}</h2>
- <p>{{_i}}As tabs and pills are horizontal by default, just add a second class, <code>.nav-stacked</code>, to make them appear vertically stacked.{{/i}}</p>
+ <h2>{{_i}}Stackable{{/i}}</h2>
+ <p>{{_i}}As tabs and pills are horizontal by default, just add a second class, <code>.nav-stacked</code>, to make them appear vertically stacked.{{/i}}</p>
- <h3>{{_i}}Stacked tabs{{/i}}</h3>
- <div class="bs-docs-example">
- <ul class="nav nav-tabs nav-stacked">
- <li class="active"><a href="#">{{_i}}Home{{/i}}</a></li>
- <li><a href="#">{{_i}}Profile{{/i}}</a></li>
- <li><a href="#">{{_i}}Messages{{/i}}</a></li>
- </ul>
- </div>
+ <h3>{{_i}}Stacked tabs{{/i}}</h3>
+ <div class="bs-docs-example">
+ <ul class="nav nav-tabs nav-stacked">
+ <li class="active"><a href="#">{{_i}}Home{{/i}}</a></li>
+ <li><a href="#">{{_i}}Profile{{/i}}</a></li>
+ <li><a href="#">{{_i}}Messages{{/i}}</a></li>
+ </ul>
+ </div>
<pre class="prettyprint linenums">
&lt;ul class="nav nav-tabs nav-stacked"&gt;
...
&lt;/ul&gt;
</pre>
- <h3>{{_i}}Stacked pills{{/i}}</h3>
- <div class="bs-docs-example">
- <ul class="nav nav-pills nav-stacked">
- <li class="active"><a href="#">{{_i}}Home{{/i}}</a></li>
- <li><a href="#">{{_i}}Profile{{/i}}</a></li>
- <li><a href="#">{{_i}}Messages{{/i}}</a></li>
- </ul>
- </div>
+ <h3>{{_i}}Stacked pills{{/i}}</h3>
+ <div class="bs-docs-example">
+ <ul class="nav nav-pills nav-stacked">
+ <li class="active"><a href="#">{{_i}}Home{{/i}}</a></li>
+ <li><a href="#">{{_i}}Profile{{/i}}</a></li>
+ <li><a href="#">{{_i}}Messages{{/i}}</a></li>
+ </ul>
+ </div>
<pre class="prettyprint linenums">
&lt;ul class="nav nav-pills nav-stacked"&gt;
...
@@ -637,29 +639,29 @@
</pre>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h2>{{_i}}Dropdowns{{/i}}</h2>
- <p>{{_i}}Add dropdown menus with a little extra HTML and the <a href="./javascript.html#dropdowns">dropdowns javascript plugin</a>.{{/i}}</p>
+ <h2>{{_i}}Dropdowns{{/i}}</h2>
+ <p>{{_i}}Add dropdown menus with a little extra HTML and the <a href="./javascript.html#dropdowns">dropdowns javascript plugin</a>.{{/i}}</p>
- <h3>{{_i}}Tabs with dropdowns{{/i}}</h3>
- <div class="bs-docs-example">
- <ul class="nav nav-tabs">
- <li class="active"><a href="#">{{_i}}Home{{/i}}</a></li>
- <li><a href="#">{{_i}}Help{{/i}}</a></li>
- <li class="dropdown">
- <a class="dropdown-toggle" data-toggle="dropdown" href="#">{{_i}}Dropdown{{/i}} <b class="caret"></b></a>
- <ul class="dropdown-menu">
- <li><a href="#">{{_i}}Action{{/i}}</a></li>
- <li><a href="#">{{_i}}Another action{{/i}}</a></li>
- <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
- <li class="divider"></li>
- <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
- </ul>
- </li>
- </ul>
- </div>
+ <h3>{{_i}}Tabs with dropdowns{{/i}}</h3>
+ <div class="bs-docs-example">
+ <ul class="nav nav-tabs">
+ <li class="active"><a href="#">{{_i}}Home{{/i}}</a></li>
+ <li><a href="#">{{_i}}Help{{/i}}</a></li>
+ <li class="dropdown">
+ <a class="dropdown-toggle" data-toggle="dropdown" href="#">{{_i}}Dropdown{{/i}} <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+ <li><a href="#">{{_i}}Action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Another action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
+ <li class="divider"></li>
+ <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
+ </ul>
+ </li>
+ </ul>
+ </div>
<pre class="prettyprint linenums">
&lt;ul class="nav nav-tabs"&gt;
&lt;li class="dropdown"&gt;
@@ -676,23 +678,23 @@
&lt;/ul&gt;
</pre>
- <h3>{{_i}}Pills with dropdowns{{/i}}</h3>
- <div class="bs-docs-example">
- <ul class="nav nav-pills">
- <li class="active"><a href="#">{{_i}}Home{{/i}}</a></li>
- <li><a href="#">{{_i}}Help{{/i}}</a></li>
- <li class="dropdown">
- <a class="dropdown-toggle" data-toggle="dropdown" href="#">{{_i}}Dropdown{{/i}} <b class="caret"></b></a>
- <ul class="dropdown-menu">
- <li><a href="#">{{_i}}Action{{/i}}</a></li>
- <li><a href="#">{{_i}}Another action{{/i}}</a></li>
- <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
- <li class="divider"></li>
- <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
- </ul>
- </li>
- </ul>
- </div>{{! /example }}
+ <h3>{{_i}}Pills with dropdowns{{/i}}</h3>
+ <div class="bs-docs-example">
+ <ul class="nav nav-pills">
+ <li class="active"><a href="#">{{_i}}Home{{/i}}</a></li>
+ <li><a href="#">{{_i}}Help{{/i}}</a></li>
+ <li class="dropdown">
+ <a class="dropdown-toggle" data-toggle="dropdown" href="#">{{_i}}Dropdown{{/i}} <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+ <li><a href="#">{{_i}}Action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Another action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
+ <li class="divider"></li>
+ <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
+ </ul>
+ </li>
+ </ul>
+ </div>{{! /example }}
<pre class="prettyprint linenums">
&lt;ul class="nav nav-pills"&gt;
&lt;li class="dropdown"&gt;
@@ -710,29 +712,29 @@
</pre>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h2>{{_i}}Nav lists{{/i}}</h2>
- <p>{{_i}}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}}</p>
+ <h2>{{_i}}Nav lists{{/i}}</h2>
+ <p>{{_i}}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}}</p>
- <h3>{{_i}}Example nav list{{/i}}</h3>
- <p>{{_i}}Take a list of links and add <code>class="nav nav-list"</code>:{{/i}}</p>
- <div class="bs-docs-example">
- <div class="well" style="max-width: 340px; padding: 8px 0;">
- <ul class="nav nav-list">
- <li class="nav-header">{{_i}}List header{{/i}}</li>
- <li class="active"><a href="#">{{_i}}Home{{/i}}</a></li>
- <li><a href="#">{{_i}}Library{{/i}}</a></li>
- <li><a href="#">{{_i}}Applications{{/i}}</a></li>
- <li class="nav-header">{{_i}}Another list header{{/i}}</li>
- <li><a href="#">{{_i}}Profile{{/i}}</a></li>
- <li><a href="#">{{_i}}Settings{{/i}}</a></li>
- <li class="divider"></li>
- <li><a href="#">{{_i}}Help{{/i}}</a></li>
- </ul>
- </div> <!-- /well -->
- </div>{{! /example }}
+ <h3>{{_i}}Example nav list{{/i}}</h3>
+ <p>{{_i}}Take a list of links and add <code>class="nav nav-list"</code>:{{/i}}</p>
+ <div class="bs-docs-example">
+ <div class="well" style="max-width: 340px; padding: 8px 0;">
+ <ul class="nav nav-list">
+ <li class="nav-header">{{_i}}List header{{/i}}</li>
+ <li class="active"><a href="#">{{_i}}Home{{/i}}</a></li>
+ <li><a href="#">{{_i}}Library{{/i}}</a></li>
+ <li><a href="#">{{_i}}Applications{{/i}}</a></li>
+ <li class="nav-header">{{_i}}Another list header{{/i}}</li>
+ <li><a href="#">{{_i}}Profile{{/i}}</a></li>
+ <li><a href="#">{{_i}}Settings{{/i}}</a></li>
+ <li class="divider"></li>
+ <li><a href="#">{{_i}}Help{{/i}}</a></li>
+ </ul>
+ </div> <!-- /well -->
+ </div>{{! /example }}
<pre class="prettyprint linenums">
&lt;ul class="nav nav-list"&gt;
&lt;li class="nav-header"&gt;{{_i}}List header{{/i}}&lt;/li&gt;
@@ -741,50 +743,50 @@
...
&lt;/ul&gt;
</pre>
- <p>
- <span class="label label-info">{{_i}}Note{{/i}}</span>
- {{_i}}For nesting within a nav list, include <code>class="nav nav-list"</code> on any nested <code>&lt;ul&gt;</code>.{{/i}}
- </p>
+ <p>
+ <span class="label label-info">{{_i}}Note{{/i}}</span>
+ {{_i}}For nesting within a nav list, include <code>class="nav nav-list"</code> on any nested <code>&lt;ul&gt;</code>.{{/i}}
+ </p>
- <h3>{{_i}}Horizontal dividers{{/i}}</h3>
- <p>{{_i}}Add a horizontal divider by creating an empty list item with the class <code>.divider</code>, like so:{{/i}}</p>
+ <h3>{{_i}}Horizontal dividers{{/i}}</h3>
+ <p>{{_i}}Add a horizontal divider by creating an empty list item with the class <code>.divider</code>, like so:{{/i}}</p>
<pre class="prettyprint linenums">
&lt;ul class="nav nav-list"&gt;
...
&lt;li class="divider"&gt;&lt;/li&gt;
...
&lt;/ul&gt;
- </pre>
+</pre>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h2>{{_i}}Tabbable nav{{/i}}</h2>
- <p>{{_i}}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.{{/i}}</p>
+ <h2>{{_i}}Tabbable nav{{/i}}</h2>
+ <p>{{_i}}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.{{/i}}</p>
- <h3>{{_i}}Tabbable example{{/i}}</h3>
- <p>{{_i}}To make tabs tabbable, create a <code>.tab-pane</code> with unique ID for every tab and wrap them in <code>.tab-content</code>.{{/i}}</p>
- <div class="bs-docs-example">
- <div class="tabbable" style="margin-bottom: 18px;">
- <ul class="nav nav-tabs">
- <li class="active"><a href="#tab1" data-toggle="tab">{{_i}}Section 1{{/i}}</a></li>
- <li><a href="#tab2" data-toggle="tab">{{_i}}Section 2{{/i}}</a></li>
- <li><a href="#tab3" data-toggle="tab">{{_i}}Section 3{{/i}}</a></li>
- </ul>
- <div class="tab-content" style="padding-bottom: 9px; border-bottom: 1px solid #ddd;">
- <div class="tab-pane active" id="tab1">
- <p>{{_i}}I'm in Section 1.{{/i}}</p>
- </div>
- <div class="tab-pane" id="tab2">
- <p>{{_i}}Howdy, I'm in Section 2.{{/i}}</p>
- </div>
- <div class="tab-pane" id="tab3">
- <p>{{_i}}What up girl, this is Section 3.{{/i}}</p>
+ <h3>{{_i}}Tabbable example{{/i}}</h3>
+ <p>{{_i}}To make tabs tabbable, create a <code>.tab-pane</code> with unique ID for every tab and wrap them in <code>.tab-content</code>.{{/i}}</p>
+ <div class="bs-docs-example">
+ <div class="tabbable" style="margin-bottom: 18px;">
+ <ul class="nav nav-tabs">
+ <li class="active"><a href="#tab1" data-toggle="tab">{{_i}}Section 1{{/i}}</a></li>
+ <li><a href="#tab2" data-toggle="tab">{{_i}}Section 2{{/i}}</a></li>
+ <li><a href="#tab3" data-toggle="tab">{{_i}}Section 3{{/i}}</a></li>
+ </ul>
+ <div class="tab-content" style="padding-bottom: 9px; border-bottom: 1px solid #ddd;">
+ <div class="tab-pane active" id="tab1">
+ <p>{{_i}}I'm in Section 1.{{/i}}</p>
+ </div>
+ <div class="tab-pane" id="tab2">
+ <p>{{_i}}Howdy, I'm in Section 2.{{/i}}</p>
+ </div>
+ <div class="tab-pane" id="tab3">
+ <p>{{_i}}What up girl, this is Section 3.{{/i}}</p>
+ </div>
</div>
- </div>
- </div> <!-- /tabbable -->
- </div>{{! /example }}
+ </div> <!-- /tabbable -->
+ </div>{{! /example }}
<pre class="prettyprint linenums">
&lt;div class="tabbable"&gt; &lt;!-- Only required for left/right tabs --&gt;
&lt;ul class="nav nav-tabs"&gt;
@@ -802,36 +804,36 @@
&lt;/div&gt;
</pre>
- <h4>{{_i}}Fade in tabs{{/i}}</h4>
- <p>{{_i}}To make tabs fade in, add <code>.fade</code> to each <code>.tab-pane</code>.{{/i}}</p>
+ <h4>{{_i}}Fade in tabs{{/i}}</h4>
+ <p>{{_i}}To make tabs fade in, add <code>.fade</code> to each <code>.tab-pane</code>.{{/i}}</p>
- <h4>{{_i}}Requires jQuery plugin{{/i}}</h4>
- <p>{{_i}}All tabbable tabs are powered by our lightweight jQuery plugin. Read more about how to bring tabbable tabs to life <a href="./javascript.html#tabs">on the javascript docs page</a>.{{/i}}</p>
+ <h4>{{_i}}Requires jQuery plugin{{/i}}</h4>
+ <p>{{_i}}All tabbable tabs are powered by our lightweight jQuery plugin. Read more about how to bring tabbable tabs to life <a href="./javascript.html#tabs">on the javascript docs page</a>.{{/i}}</p>
- <h3>{{_i}}Tabbable in any direction{{/i}}</h3>
+ <h3>{{_i}}Tabbable in any direction{{/i}}</h3>
- <h4>{{_i}}Tabs on the bottom{{/i}}</h4>
- <p>{{_i}}Flip the order of the HTML and add a class to put tabs on the bottom.{{/i}}</p>
- <div class="bs-docs-example">
- <div class="tabbable tabs-below">
- <div class="tab-content">
- <div class="tab-pane active" id="A">
- <p>{{_i}}I'm in Section A.{{/i}}</p>
- </div>
- <div class="tab-pane" id="B">
- <p>{{_i}}Howdy, I'm in Section B.{{/i}}</p>
- </div>
- <div class="tab-pane" id="C">
- <p>{{_i}}What up girl, this is Section C.{{/i}}</p>
+ <h4>{{_i}}Tabs on the bottom{{/i}}</h4>
+ <p>{{_i}}Flip the order of the HTML and add a class to put tabs on the bottom.{{/i}}</p>
+ <div class="bs-docs-example">
+ <div class="tabbable tabs-below">
+ <div class="tab-content">
+ <div class="tab-pane active" id="A">
+ <p>{{_i}}I'm in Section A.{{/i}}</p>
+ </div>
+ <div class="tab-pane" id="B">
+ <p>{{_i}}Howdy, I'm in Section B.{{/i}}</p>
+ </div>
+ <div class="tab-pane" id="C">
+ <p>{{_i}}What up girl, this is Section C.{{/i}}</p>
+ </div>
</div>
- </div>
- <ul class="nav nav-tabs">
- <li class="active"><a href="#A" data-toggle="tab">{{_i}}Section 1{{/i}}</a></li>
- <li><a href="#B" data-toggle="tab">{{_i}}Section 2{{/i}}</a></li>
- <li><a href="#C" data-toggle="tab">{{_i}}Section 3{{/i}}</a></li>
- </ul>
- </div> <!-- /tabbable -->
- </div>{{! /example }}
+ <ul class="nav nav-tabs">
+ <li class="active"><a href="#A" data-toggle="tab">{{_i}}Section 1{{/i}}</a></li>
+ <li><a href="#B" data-toggle="tab">{{_i}}Section 2{{/i}}</a></li>
+ <li><a href="#C" data-toggle="tab">{{_i}}Section 3{{/i}}</a></li>
+ </ul>
+ </div> <!-- /tabbable -->
+ </div>{{! /example }}
<pre class="prettyprint linenums">
&lt;div class="tabbable tabs-below"&gt;
&lt;div class="tab-content"&gt;
@@ -843,28 +845,28 @@
&lt;/div&gt;
</pre>
- <h4>{{_i}}Tabs on the left{{/i}}</h4>
- <p>{{_i}}Swap the class to put tabs on the left.{{/i}}</p>
- <div class="bs-docs-example">
- <div class="tabbable tabs-left">
- <ul class="nav nav-tabs">
- <li class="active"><a href="#lA" data-toggle="tab">{{_i}}Section 1{{/i}}</a></li>
- <li><a href="#lB" data-toggle="tab">{{_i}}Section 2{{/i}}</a></li>
- <li><a href="#lC" data-toggle="tab">{{_i}}Section 3{{/i}}</a></li>
- </ul>
- <div class="tab-content">
- <div class="tab-pane active" id="lA">
- <p>{{_i}}I'm in Section A.{{/i}}</p>
- </div>
- <div class="tab-pane" id="lB">
- <p>{{_i}}Howdy, I'm in Section B.{{/i}}</p>
- </div>
- <div class="tab-pane" id="lC">
- <p>{{_i}}What up girl, this is Section C.{{/i}}</p>
+ <h4>{{_i}}Tabs on the left{{/i}}</h4>
+ <p>{{_i}}Swap the class to put tabs on the left.{{/i}}</p>
+ <div class="bs-docs-example">
+ <div class="tabbable tabs-left">
+ <ul class="nav nav-tabs">
+ <li class="active"><a href="#lA" data-toggle="tab">{{_i}}Section 1{{/i}}</a></li>
+ <li><a href="#lB" data-toggle="tab">{{_i}}Section 2{{/i}}</a></li>
+ <li><a href="#lC" data-toggle="tab">{{_i}}Section 3{{/i}}</a></li>
+ </ul>
+ <div class="tab-content">
+ <div class="tab-pane active" id="lA">
+ <p>{{_i}}I'm in Section A.{{/i}}</p>
+ </div>
+ <div class="tab-pane" id="lB">
+ <p>{{_i}}Howdy, I'm in Section B.{{/i}}</p>
+ </div>
+ <div class="tab-pane" id="lC">
+ <p>{{_i}}What up girl, this is Section C.{{/i}}</p>
+ </div>
</div>
- </div>
- </div> <!-- /tabbable -->
- </div>{{! /example }}
+ </div> <!-- /tabbable -->
+ </div>{{! /example }}
<pre class="prettyprint linenums">
&lt;div class="tabbable tabs-left"&gt;
&lt;ul class="nav nav-tabs"&gt;
@@ -876,28 +878,28 @@
&lt;/div&gt;
</pre>
- <h4>{{_i}}Tabs on the right{{/i}}</h4>
- <p>{{_i}}Swap the class to put tabs on the right.{{/i}}</p>
- <div class="bs-docs-example">
- <div class="tabbable tabs-right">
- <ul class="nav nav-tabs">
- <li class="active"><a href="#rA" data-toggle="tab">{{_i}}Section 1{{/i}}</a></li>
- <li><a href="#rB" data-toggle="tab">{{_i}}Section 2{{/i}}</a></li>
- <li><a href="#rC" data-toggle="tab">{{_i}}Section 3{{/i}}</a></li>
- </ul>
- <div class="tab-content">
- <div class="tab-pane active" id="rA">
- <p>{{_i}}I'm in Section A.{{/i}}</p>
- </div>
- <div class="tab-pane" id="rB">
- <p>{{_i}}Howdy, I'm in Section B.{{/i}}</p>
- </div>
- <div class="tab-pane" id="rC">
- <p>{{_i}}What up girl, this is Section C.{{/i}}</p>
+ <h4>{{_i}}Tabs on the right{{/i}}</h4>
+ <p>{{_i}}Swap the class to put tabs on the right.{{/i}}</p>
+ <div class="bs-docs-example">
+ <div class="tabbable tabs-right">
+ <ul class="nav nav-tabs">
+ <li class="active"><a href="#rA" data-toggle="tab">{{_i}}Section 1{{/i}}</a></li>
+ <li><a href="#rB" data-toggle="tab">{{_i}}Section 2{{/i}}</a></li>
+ <li><a href="#rC" data-toggle="tab">{{_i}}Section 3{{/i}}</a></li>
+ </ul>
+ <div class="tab-content">
+ <div class="tab-pane active" id="rA">
+ <p>{{_i}}I'm in Section A.{{/i}}</p>
+ </div>
+ <div class="tab-pane" id="rB">
+ <p>{{_i}}Howdy, I'm in Section B.{{/i}}</p>
+ </div>
+ <div class="tab-pane" id="rC">
+ <p>{{_i}}What up girl, this is Section C.{{/i}}</p>
+ </div>
</div>
- </div>
- </div> <!-- /tabbable -->
- </div>{{! /example }}
+ </div> <!-- /tabbable -->
+ </div>{{! /example }}
<pre class="prettyprint linenums">
&lt;div class="tabbable tabs-right"&gt;
&lt;ul class="nav nav-tabs"&gt;
@@ -909,32 +911,32 @@
&lt;/div&gt;
</pre>
- </section>
+ </section>
- <!-- Navbar
- ================================================== -->
- <section id="navbar">
- <div class="page-header">
- <h1>{{_i}}Navbar{{/i}}</h1>
- </div>
+ <!-- Navbar
+ ================================================== -->
+ <section id="navbar">
+ <div class="page-header">
+ <h1>{{_i}}Navbar{{/i}}</h1>
+ </div>
- <h2>{{_i}}Basic navbar{{/i}}</h2>
- <p>{{_i}}To start, navbars are static (not fixed to the top) and include support for a project name and basic navigation. Place one anywhere within a <code>.container</code>, which sets the width of your site and content.{{/i}}</p>
- <div class="bs-docs-example">
- <div class="navbar">
- <div class="navbar-inner">
- <a class="brand" href="#">{{_i}}Title{{/i}}</a>
- <ul class="nav">
- <li class="active"><a href="#">{{_i}}Home{{/i}}</a></li>
- <li><a href="#">{{_i}}Link{{/i}}</a></li>
- <li><a href="#">{{_i}}Link{{/i}}</a></li>
- </ul>
+ <h2>{{_i}}Basic navbar{{/i}}</h2>
+ <p>{{_i}}To start, navbars are static (not fixed to the top) and include support for a project name and basic navigation. Place one anywhere within a <code>.container</code>, which sets the width of your site and content.{{/i}}</p>
+ <div class="bs-docs-example">
+ <div class="navbar">
+ <div class="navbar-inner">
+ <a class="brand" href="#">{{_i}}Title{{/i}}</a>
+ <ul class="nav">
+ <li class="active"><a href="#">{{_i}}Home{{/i}}</a></li>
+ <li><a href="#">{{_i}}Link{{/i}}</a></li>
+ <li><a href="#">{{_i}}Link{{/i}}</a></li>
+ </ul>
+ </div>
</div>
- </div>
- </div>{{! /example }}
+ </div>{{! /example }}
<pre class="prettyprint linenums">
&lt;div class="navbar"&gt;
&lt;div class="navbar-inner"&gt;
@@ -949,19 +951,19 @@
</pre>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h2>{{_i}}Navbar components{{/i}}</h2>
+ <h2>{{_i}}Navbar components{{/i}}</h2>
- <h3>{{_i}}Brand{{/i}}</h3>
- <p>{{_i}}A simple link to show your brand or project name only requires an anchor tag.{{/i}}</p>
+ <h3>{{_i}}Brand{{/i}}</h3>
+ <p>{{_i}}A simple link to show your brand or project name only requires an anchor tag.{{/i}}</p>
<pre class="prettyprint linenums">
&lt;a class="brand" href="#"&gt;{{_i}}Project name{{/i}}&lt;/a&gt;
</pre>
- <h3>{{_i}}Nav links{{/i}}</h3>
- <p>{{_i}}Nav items are simple to add via unordered lists.{{/i}}</p>
+ <h3>{{_i}}Nav links{{/i}}</h3>
+ <p>{{_i}}Nav items are simple to add via unordered lists.{{/i}}</p>
<pre class="prettyprint linenums">
&lt;ul class="nav"&gt;
&lt;li class="active"&gt;
@@ -971,7 +973,7 @@
&lt;li&gt;&lt;a href="#"&gt;{{_i}}Link{{/i}}&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</pre>
- <p>{{_i}}You can easily add dividers to your nav links with an empty list item and a simple class. Just add this between links:{{/i}}</p>
+ <p>{{_i}}You can easily add dividers to your nav links with an empty list item and a simple class. Just add this between links:{{/i}}</p>
<pre class="prettyprint linenums">
&lt;ul class="nav"&gt;
...
@@ -980,27 +982,27 @@
&lt;/ul&gt;
</pre>
- <h3>{{_i}}Forms{{/i}}</h3>
- <p>{{_i}}To properly style and position a form within the navbar, add the appropriate classes as shown below. For a default form, include <code>.navbar-form</code> and either <code>.pull-left</code> or <code>.pull-right</code> to properly align it.{{/i}}</p>
+ <h3>{{_i}}Forms{{/i}}</h3>
+ <p>{{_i}}To properly style and position a form within the navbar, add the appropriate classes as shown below. For a default form, include <code>.navbar-form</code> and either <code>.pull-left</code> or <code>.pull-right</code> to properly align it.{{/i}}</p>
<pre class="prettyprint linenums">
&lt;form class="navbar-form pull-left"&gt;
&lt;input type="text" class="span2"&gt;
&lt;/form&gt;
</pre>
- <h3>{{_i}}Search form{{/i}}</h3>
- <p>{{_i}}For a more customized search form, add <code>.navbar-search</code> to the <code>form</code> and <code>.search-query</code> to the input for specialized styles in the navbar.{{/i}}</p>
+ <h3>{{_i}}Search form{{/i}}</h3>
+ <p>{{_i}}For a more customized search form, add <code>.navbar-search</code> to the <code>form</code> and <code>.search-query</code> to the input for specialized styles in the navbar.{{/i}}</p>
<pre class="prettyprint linenums">
&lt;form class="navbar-search pull-left"&gt;
&lt;input type="text" class="search-query" placeholder="{{_i}}Search{{/i}}"&gt;
&lt;/form&gt;
</pre>
- <h3>{{_i}}Component alignment{{/i}}</h3>
- <p>{{_i}}Align nav links, search form, or text, use the <code>.pull-left</code> or <code>.pull-right</code> utility classes. Both classes will add a CSS float in the specified direction.{{/i}}</p>
+ <h3>{{_i}}Component alignment{{/i}}</h3>
+ <p>{{_i}}Align nav links, search form, or text, use the <code>.pull-left</code> or <code>.pull-right</code> utility classes. Both classes will add a CSS float in the specified direction.{{/i}}</p>
- <h3>{{_i}}Using dropdowns{{/i}}</h3>
- <p>{{_i}}Add dropdowns and dropups to the nav with a bit of markup and the <a href="./javascript.html#dropdowns">dropdowns javascript plugin</a>.{{/i}}</p>
+ <h3>{{_i}}Using dropdowns{{/i}}</h3>
+ <p>{{_i}}Add dropdowns and dropups to the nav with a bit of markup and the <a href="./javascript.html#dropdowns">dropdowns javascript plugin</a>.{{/i}}</p>
<pre class="prettyprint linenums">
&lt;ul class="nav"&gt;
&lt;li class="dropdown"&gt;
@@ -1014,56 +1016,56 @@
&lt;/li&gt;
&lt;/ul&gt;
</pre>
- <p>{{_i}}Visit the <a href="./javascript.html#dropdowns">javascript dropdowns documentation</a> for more markup and information on calling dropdowns.{{/i}}</p>
+ <p>{{_i}}Visit the <a href="./javascript.html#dropdowns">javascript dropdowns documentation</a> for more markup and information on calling dropdowns.{{/i}}</p>
- <h3>{{_i}}Text{{/i}}</h3>
- <p>{{_i}}Wrap strings of text in an element with <code>.navbar-text</code>, usually on a <code>&lt;p&gt;</code> tag for proper leading and color.{{/i}}</p>
+ <h3>{{_i}}Text{{/i}}</h3>
+ <p>{{_i}}Wrap strings of text in an element with <code>.navbar-text</code>, usually on a <code>&lt;p&gt;</code> tag for proper leading and color.{{/i}}</p>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h2>{{_i}}Fixed navigation{{/i}}</h2>
- <p>{{_i}}Fix the navbar to the top or bottom of the viewport with an additional class on the outermost div, <code>.navbar</code>.{{/i}}</p>
+ <h2>{{_i}}Fixed navigation{{/i}}</h2>
+ <p>{{_i}}Fix the navbar to the top or bottom of the viewport with an additional class on the outermost div, <code>.navbar</code>.{{/i}}</p>
- <h3>Fixed to top</h3>
- <p>{{_i}}Add <code>.navbar-fixed-top</code> and remember to account for the hidden area underneath it by adding at least 40px <code>padding</code> to the <code>&lt;body&gt;</code>. Be sure to add this after the core Bootstrap CSS and before the optional responsive CSS.{{/i}}</p>
- <div class="bs-docs-example bs-navbar-top-example">
- <div class="navbar navbar-fixed-top" style="position: absolute;">
- <div class="navbar-inner">
- <div class="container" style="width: auto; padding: 0 20px;">
- <a class="brand" href="#">{{_i}}Title{{/i}}</a>
- <ul class="nav">
- <li class="active"><a href="#">{{_i}}Home{{/i}}</a></li>
- <li><a href="#">{{_i}}Link{{/i}}</a></li>
- <li><a href="#">{{_i}}Link{{/i}}</a></li>
- </ul>
+ <h3>Fixed to top</h3>
+ <p>{{_i}}Add <code>.navbar-fixed-top</code> and remember to account for the hidden area underneath it by adding at least 40px <code>padding</code> to the <code>&lt;body&gt;</code>. Be sure to add this after the core Bootstrap CSS and before the optional responsive CSS.{{/i}}</p>
+ <div class="bs-docs-example bs-navbar-top-example">
+ <div class="navbar navbar-fixed-top" style="position: absolute;">
+ <div class="navbar-inner">
+ <div class="container" style="width: auto; padding: 0 20px;">
+ <a class="brand" href="#">{{_i}}Title{{/i}}</a>
+ <ul class="nav">
+ <li class="active"><a href="#">{{_i}}Home{{/i}}</a></li>
+ <li><a href="#">{{_i}}Link{{/i}}</a></li>
+ <li><a href="#">{{_i}}Link{{/i}}</a></li>
+ </ul>
+ </div>
</div>
</div>
- </div>
- </div>{{! /example }}
+ </div>{{! /example }}
<pre class="prettyprint linenums">
&lt;div class="navbar navbar-fixed-top"&gt;
...
&lt;/div&gt;
</pre>
- <h3>Fixed to bottom</h3>
- <p>{{_i}}Add <code>.navbar-fixed-bottom</code> instead.{{/i}}</p>
- <div class="bs-docs-example bs-navbar-bottom-example">
- <div class="navbar navbar-fixed-bottom" style="position: absolute;">
- <div class="navbar-inner">
- <div class="container" style="width: auto; padding: 0 20px;">
- <a class="brand" href="#">{{_i}}Title{{/i}}</a>
- <ul class="nav">
- <li class="active"><a href="#">{{_i}}Home{{/i}}</a></li>
- <li><a href="#">{{_i}}Link{{/i}}</a></li>
- <li><a href="#">{{_i}}Link{{/i}}</a></li>
- </ul>
+ <h3>Fixed to bottom</h3>
+ <p>{{_i}}Add <code>.navbar-fixed-bottom</code> instead.{{/i}}</p>
+ <div class="bs-docs-example bs-navbar-bottom-example">
+ <div class="navbar navbar-fixed-bottom" style="position: absolute;">
+ <div class="navbar-inner">
+ <div class="container" style="width: auto; padding: 0 20px;">
+ <a class="brand" href="#">{{_i}}Title{{/i}}</a>
+ <ul class="nav">
+ <li class="active"><a href="#">{{_i}}Home{{/i}}</a></li>
+ <li><a href="#">{{_i}}Link{{/i}}</a></li>
+ <li><a href="#">{{_i}}Link{{/i}}</a></li>
+ </ul>
+ </div>
</div>
</div>
- </div>
- </div>{{! /example }}
+ </div>{{! /example }}
<pre class="prettyprint linenums">
&lt;div class="navbar navbar-fixed-bottom"&gt;
...
@@ -1071,61 +1073,61 @@
</pre>
- <hr class="bs-docs-separator">
-
-
- <h2>{{_i}}Responsive navbar{{/i}}</h2>
- <p>{{_i}}To implement a collapsing responsive navbar, wrap your navbar content in a containing div, <code>.nav-collapse.collapse</code>, and add the navbar toggle button, <code>.btn-navbar</code>.{{/i}}</p>
- <div class="bs-docs-example">
- <div class="navbar">
- <div class="navbar-inner">
- <div class="container">
- <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </a>
- <a class="brand" href="#">{{_i}}Title{{/i}}</a>
- <div class="nav-collapse">
- <ul class="nav">
- <li class="active"><a href="#">{{_i}}Home{{/i}}</a></li>
- <li><a href="#">{{_i}}Link{{/i}}</a></li>
- <li><a href="#">{{_i}}Link{{/i}}</a></li>
- <li class="dropdown">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown">{{_i}}Dropdown{{/i}} <b class="caret"></b></a>
- <ul class="dropdown-menu">
- <li><a href="#">{{_i}}Action{{/i}}</a></li>
- <li><a href="#">{{_i}}Another action{{/i}}</a></li>
- <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
- <li class="divider"></li>
- <li class="nav-header">Nav header</li>
- <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
- <li><a href="#">{{_i}}One more separated link{{/i}}</a></li>
- </ul>
- </li>
- </ul>
- <form class="navbar-search pull-left" action="">
- <input type="text" class="search-query span2" placeholder="Search">
- </form>
- <ul class="nav pull-right">
- <li><a href="#">{{_i}}Link{{/i}}</a></li>
- <li class="divider-vertical"></li>
- <li class="dropdown">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown">{{_i}}Dropdown{{/i}} <b class="caret"></b></a>
- <ul class="dropdown-menu">
- <li><a href="#">{{_i}}Action{{/i}}</a></li>
- <li><a href="#">{{_i}}Another action{{/i}}</a></li>
- <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
- <li class="divider"></li>
- <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
- </ul>
- </li>
- </ul>
- </div><!-- /.nav-collapse -->
- </div>
- </div><!-- /navbar-inner -->
- </div><!-- /navbar -->
- </div>{{! /example }}
+ <hr class="bs-docs-separator">
+
+
+ <h2>{{_i}}Responsive navbar{{/i}}</h2>
+ <p>{{_i}}To implement a collapsing responsive navbar, wrap your navbar content in a containing div, <code>.nav-collapse.collapse</code>, and add the navbar toggle button, <code>.btn-navbar</code>.{{/i}}</p>
+ <div class="bs-docs-example">
+ <div class="navbar">
+ <div class="navbar-inner">
+ <div class="container">
+ <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </a>
+ <a class="brand" href="#">{{_i}}Title{{/i}}</a>
+ <div class="nav-collapse">
+ <ul class="nav">
+ <li class="active"><a href="#">{{_i}}Home{{/i}}</a></li>
+ <li><a href="#">{{_i}}Link{{/i}}</a></li>
+ <li><a href="#">{{_i}}Link{{/i}}</a></li>
+ <li class="dropdown">
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">{{_i}}Dropdown{{/i}} <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+ <li><a href="#">{{_i}}Action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Another action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
+ <li class="divider"></li>
+ <li class="nav-header">Nav header</li>
+ <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
+ <li><a href="#">{{_i}}One more separated link{{/i}}</a></li>
+ </ul>
+ </li>
+ </ul>
+ <form class="navbar-search pull-left" action="">
+ <input type="text" class="search-query span2" placeholder="Search">
+ </form>
+ <ul class="nav pull-right">
+ <li><a href="#">{{_i}}Link{{/i}}</a></li>
+ <li class="divider-vertical"></li>
+ <li class="dropdown">
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">{{_i}}Dropdown{{/i}} <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+ <li><a href="#">{{_i}}Action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Another action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
+ <li class="divider"></li>
+ <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
+ </ul>
+ </li>
+ </ul>
+ </div><!-- /.nav-collapse -->
+ </div>
+ </div><!-- /navbar-inner -->
+ </div><!-- /navbar -->
+ </div>{{! /example }}
<pre class="prettyprint linenums">
&lt;div class="navbar"&gt;
&lt;div class="navbar-inner"&gt;
@@ -1150,99 +1152,99 @@
&lt;/div&gt;
&lt;/div&gt;
</pre>
- <div class="alert alert-info">
- <strong>{{_i}}Heads up!{{/i}}</strong> The responsive navbar requires the <a href="./javascript.html#collapse">collapse plugin</a> and <a href="./scaffolding.html#responsive">responsive Bootstrap CSS file</a>.
- </div>
-
-
- <hr class="bs-docs-separator">
+ <div class="alert alert-info">
+ <strong>{{_i}}Heads up!{{/i}}</strong> The responsive navbar requires the <a href="./javascript.html#collapse">collapse plugin</a> and <a href="./scaffolding.html#responsive">responsive Bootstrap CSS file</a>.
+ </div>
- <h2>{{_i}}Subnav variation{{/i}}</h2>
- <p>{{_i}}Modify the look of the navbar by adding <code>.navbar-subnav</code>. Perfect for a secondary nav, or just a replacement to the default dark navbar.{{/i}}</p>
- <div class="bs-docs-example">
- <div class="navbar navbar-subnav" style="position: static;">
- <div class="navbar-inner">
- <div class="container">
- <a class="btn btn-navbar" data-toggle="collapse" data-target=".subnav-collapse">
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </a>
- <a class="brand" href="#">{{_i}}Title{{/i}}</a>
- <div class="nav-collapse subnav-collapse">
- <ul class="nav">
- <li class="active"><a href="#">{{_i}}Home{{/i}}</a></li>
- <li><a href="#">{{_i}}Link{{/i}}</a></li>
- <li><a href="#">{{_i}}Link{{/i}}</a></li>
- <li class="dropdown">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown">{{_i}}Dropdown{{/i}} <b class="caret"></b></a>
- <ul class="dropdown-menu">
- <li><a href="#">{{_i}}Action{{/i}}</a></li>
- <li><a href="#">{{_i}}Another action{{/i}}</a></li>
- <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
- <li class="divider"></li>
- <li class="nav-header">Nav header</li>
- <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
- <li><a href="#">{{_i}}One more separated link{{/i}}</a></li>
- </ul>
- </li>
- </ul>
- <form class="navbar-search pull-left" action="">
- <input type="text" class="search-query span2" placeholder="Search">
- </form>
- <ul class="nav pull-right">
- <li><a href="#">{{_i}}Link{{/i}}</a></li>
- <li class="divider-vertical"></li>
- <li class="dropdown">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown">{{_i}}Dropdown{{/i}} <b class="caret"></b></a>
- <ul class="dropdown-menu">
- <li><a href="#">{{_i}}Action{{/i}}</a></li>
- <li><a href="#">{{_i}}Another action{{/i}}</a></li>
- <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
- <li class="divider"></li>
- <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
- </ul>
- </li>
- </ul>
- </div><!-- /.nav-collapse -->
- </div>
- </div><!-- /navbar-inner -->
- </div><!-- /navbar -->
- </div>{{! /example }}
+ <hr class="bs-docs-separator">
+
+
+ <h2>{{_i}}Subnav variation{{/i}}</h2>
+ <p>{{_i}}Modify the look of the navbar by adding <code>.navbar-subnav</code>. Perfect for a secondary nav, or just a replacement to the default dark navbar.{{/i}}</p>
+ <div class="bs-docs-example">
+ <div class="navbar navbar-subnav" style="position: static;">
+ <div class="navbar-inner">
+ <div class="container">
+ <a class="btn btn-navbar" data-toggle="collapse" data-target=".subnav-collapse">
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </a>
+ <a class="brand" href="#">{{_i}}Title{{/i}}</a>
+ <div class="nav-collapse subnav-collapse">
+ <ul class="nav">
+ <li class="active"><a href="#">{{_i}}Home{{/i}}</a></li>
+ <li><a href="#">{{_i}}Link{{/i}}</a></li>
+ <li><a href="#">{{_i}}Link{{/i}}</a></li>
+ <li class="dropdown">
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">{{_i}}Dropdown{{/i}} <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+ <li><a href="#">{{_i}}Action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Another action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
+ <li class="divider"></li>
+ <li class="nav-header">Nav header</li>
+ <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
+ <li><a href="#">{{_i}}One more separated link{{/i}}</a></li>
+ </ul>
+ </li>
+ </ul>
+ <form class="navbar-search pull-left" action="">
+ <input type="text" class="search-query span2" placeholder="Search">
+ </form>
+ <ul class="nav pull-right">
+ <li><a href="#">{{_i}}Link{{/i}}</a></li>
+ <li class="divider-vertical"></li>
+ <li class="dropdown">
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">{{_i}}Dropdown{{/i}} <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+ <li><a href="#">{{_i}}Action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Another action{{/i}}</a></li>
+ <li><a href="#">{{_i}}Something else here{{/i}}</a></li>
+ <li class="divider"></li>
+ <li><a href="#">{{_i}}Separated link{{/i}}</a></li>
+ </ul>
+ </li>
+ </ul>
+ </div><!-- /.nav-collapse -->
+ </div>
+ </div><!-- /navbar-inner -->
+ </div><!-- /navbar -->
+ </div>{{! /example }}
<pre class="prettyprint linenums">
&lt;div class="navbar navbar-subnav"&gt;
...
&lt;/div&gt;
</pre>
- </section>
+ </section>
- <!-- Breadcrumbs
- ================================================== -->
- <section id="breadcrumbs">
- <div class="page-header">
- <h1>{{_i}}Breadcrumbs{{/i}} <small></small></h1>
- </div>
+ <!-- Breadcrumbs
+ ================================================== -->
+ <section id="breadcrumbs">
+ <div class="page-header">
+ <h1>{{_i}}Breadcrumbs{{/i}} <small></small></h1>
+ </div>
- <h2>{{_i}}Examples{{/i}}</h2>
- <p>{{_i}}A single example shown as it might be displayed across multiple pages.{{/i}}</p>
- <div class="bs-docs-example">
- <ul class="breadcrumb">
- <li class="active">{{_i}}Home{{/i}}</li>
- </ul>
- <ul class="breadcrumb">
- <li><a href="#">{{_i}}Home{{/i}}</a> <span class="divider">/</span></li>
- <li class="active">{{_i}}Library{{/i}}</li>
- </ul>
- <ul class="breadcrumb" style="margin-bottom: 5px;">
- <li><a href="#">{{_i}}Home{{/i}}</a> <span class="divider">/</span></li>
- <li><a href="#">{{_i}}Library{{/i}}</a> <span class="divider">/</span></li>
- <li class="active">{{_i}}Data{{/i}}</li>
- </ul>
- </div>
+ <h2>{{_i}}Examples{{/i}}</h2>
+ <p>{{_i}}A single example shown as it might be displayed across multiple pages.{{/i}}</p>
+ <div class="bs-docs-example">
+ <ul class="breadcrumb">
+ <li class="active">{{_i}}Home{{/i}}</li>
+ </ul>
+ <ul class="breadcrumb">
+ <li><a href="#">{{_i}}Home{{/i}}</a> <span class="divider">/</span></li>
+ <li class="active">{{_i}}Library{{/i}}</li>
+ </ul>
+ <ul class="breadcrumb" style="margin-bottom: 5px;">
+ <li><a href="#">{{_i}}Home{{/i}}</a> <span class="divider">/</span></li>
+ <li><a href="#">{{_i}}Library{{/i}}</a> <span class="divider">/</span></li>
+ <li class="active">{{_i}}Data{{/i}}</li>
+ </ul>
+ </div>
<pre class="prettyprint linenums">
&lt;ul class="breadcrumb"&gt;
&lt;li&gt;&lt;a href="#"&gt;{{_i}}Home{{/i}}&lt;/a&gt; &lt;span class="divider"&gt;/&lt;/span&gt;&lt;/li&gt;
@@ -1251,32 +1253,32 @@
&lt;/ul&gt;
</pre>
- </section>
+ </section>
- <!-- Pagination
- ================================================== -->
- <section id="pagination">
- <div class="page-header">
- <h1>{{_i}}Pagination{{/i}} <small>{{_i}}Two options for paging through content{{/i}}</small></h1>
- </div>
+ <!-- Pagination
+ ================================================== -->
+ <section id="pagination">
+ <div class="page-header">
+ <h1>{{_i}}Pagination{{/i}} <small>{{_i}}Two options for paging through content{{/i}}</small></h1>
+ </div>
- <h2>{{_i}}Standard pagination{{/i}}</h2>
- <p>{{_i}}Simple pagination inspired by Rdio, great for apps and search results. The large block is hard to miss, easily scalable, and provides large click areas.{{/i}}</p>
- <div class="bs-docs-example">
- <div class="pagination">
- <ul>
- <li><a href="#">&laquo;</a></li>
- <li><a href="#">1</a></li>
- <li><a href="#">2</a></li>
- <li><a href="#">3</a></li>
- <li><a href="#">4</a></li>
- <li><a href="#">5</a></li>
- <li><a href="#">&raquo;</a></li>
- </ul>
+ <h2>{{_i}}Standard pagination{{/i}}</h2>
+ <p>{{_i}}Simple pagination inspired by Rdio, great for apps and search results. The large block is hard to miss, easily scalable, and provides large click areas.{{/i}}</p>
+ <div class="bs-docs-example">
+ <div class="pagination">
+ <ul>
+ <li><a href="#">&laquo;</a></li>
+ <li><a href="#">1</a></li>
+ <li><a href="#">2</a></li>
+ <li><a href="#">3</a></li>
+ <li><a href="#">4</a></li>
+ <li><a href="#">5</a></li>
+ <li><a href="#">&raquo;</a></li>
+ </ul>
+ </div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="pagination"&gt;
&lt;ul&gt;
@@ -1291,26 +1293,26 @@
</pre>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h2>{{_i}}Options{{/i}}</h2>
+ <h2>{{_i}}Options{{/i}}</h2>
- <h3>{{_i}}Disabled and active states{{/i}}</h3>
- <p>{{_i}}Links are customizable for different circumstances. Use <code>.disabled</code> for unclickable links and <code>.active</code> to indicate the current page.{{/i}}</p>
- <div class="bs-docs-example">
- <div class="pagination pagination-centered">
- <ul>
- <li class="disabled"><a href="#">&laquo;</a></li>
- <li class="active"><a href="#">1</a></li>
- <li><a href="#">2</a></li>
- <li><a href="#">3</a></li>
- <li><a href="#">4</a></li>
- <li><a href="#">5</a></li>
- <li><a href="#">&raquo;</a></li>
- </ul>
+ <h3>{{_i}}Disabled and active states{{/i}}</h3>
+ <p>{{_i}}Links are customizable for different circumstances. Use <code>.disabled</code> for unclickable links and <code>.active</code> to indicate the current page.{{/i}}</p>
+ <div class="bs-docs-example">
+ <div class="pagination pagination-centered">
+ <ul>
+ <li class="disabled"><a href="#">&laquo;</a></li>
+ <li class="active"><a href="#">1</a></li>
+ <li><a href="#">2</a></li>
+ <li><a href="#">3</a></li>
+ <li><a href="#">4</a></li>
+ <li><a href="#">5</a></li>
+ <li><a href="#">&raquo;</a></li>
+ </ul>
+ </div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="pagination "&gt;
&lt;ul&gt;
@@ -1321,39 +1323,39 @@
&lt;/div&gt;
</pre>
- <h3>{{_i}}Alignment{{/i}}</h3>
- <p>{{_i}}Add one of two optional classes to change the alignment of pagination links: <code>.pagination-centered</code> and <code>.pagination-right</code>.{{/i}}</p>
- <div class="bs-docs-example">
- <div class="pagination pagination-centered">
- <ul>
- <li><a href="#">&laquo;</a></li>
- <li><a href="#">1</a></li>
- <li><a href="#">2</a></li>
- <li><a href="#">3</a></li>
- <li><a href="#">4</a></li>
- <li><a href="#">5</a></li>
- <li><a href="#">&raquo;</a></li>
- </ul>
+ <h3>{{_i}}Alignment{{/i}}</h3>
+ <p>{{_i}}Add one of two optional classes to change the alignment of pagination links: <code>.pagination-centered</code> and <code>.pagination-right</code>.{{/i}}</p>
+ <div class="bs-docs-example">
+ <div class="pagination pagination-centered">
+ <ul>
+ <li><a href="#">&laquo;</a></li>
+ <li><a href="#">1</a></li>
+ <li><a href="#">2</a></li>
+ <li><a href="#">3</a></li>
+ <li><a href="#">4</a></li>
+ <li><a href="#">5</a></li>
+ <li><a href="#">&raquo;</a></li>
+ </ul>
+ </div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="pagination pagination-centered"&gt;
...
&lt;/div&gt;
</pre>
- <div class="bs-docs-example">
- <div class="pagination pagination-right">
- <ul>
- <li><a href="#">&laquo;</a></li>
- <li><a href="#">1</a></li>
- <li><a href="#">2</a></li>
- <li><a href="#">3</a></li>
- <li><a href="#">4</a></li>
- <li><a href="#">5</a></li>
- <li><a href="#">&raquo;</a></li>
- </ul>
+ <div class="bs-docs-example">
+ <div class="pagination pagination-right">
+ <ul>
+ <li><a href="#">&laquo;</a></li>
+ <li><a href="#">1</a></li>
+ <li><a href="#">2</a></li>
+ <li><a href="#">3</a></li>
+ <li><a href="#">4</a></li>
+ <li><a href="#">5</a></li>
+ <li><a href="#">&raquo;</a></li>
+ </ul>
+ </div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="pagination pagination-right"&gt;
...
@@ -1361,20 +1363,20 @@
</pre>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h2>{{_i}}Pager{{/i}}</h2>
- <p>{{_i}}Quick previous and next links for simple pagination implementations with light markup and styles. It's great for simple sites like blogs or magazines.{{/i}}</p>
+ <h2>{{_i}}Pager{{/i}}</h2>
+ <p>{{_i}}Quick previous and next links for simple pagination implementations with light markup and styles. It's great for simple sites like blogs or magazines.{{/i}}</p>
- <h3>{{_i}}Default example{{/i}}</h3>
- <p>{{_i}}By default, the pager centers links.{{/i}}</p>
- <div class="bs-docs-example">
- <ul class="pager">
- <li><a href="#">{{_i}}Previous{{/i}}</a></li>
- <li><a href="#">{{_i}}Next{{/i}}</a></li>
- </ul>
- </div>
+ <h3>{{_i}}Default example{{/i}}</h3>
+ <p>{{_i}}By default, the pager centers links.{{/i}}</p>
+ <div class="bs-docs-example">
+ <ul class="pager">
+ <li><a href="#">{{_i}}Previous{{/i}}</a></li>
+ <li><a href="#">{{_i}}Next{{/i}}</a></li>
+ </ul>
+ </div>
<pre class="prettyprint linenums">
&lt;ul class="pager"&gt;
&lt;li&gt;&lt;a href="#"&gt;{{_i}}Previous{{/i}}&lt;/a&gt;&lt;/li&gt;
@@ -1382,14 +1384,14 @@
&lt;/ul&gt;
</pre>
- <h3>{{_i}}Aligned links{{/i}}</h3>
- <p>{{_i}}Alternatively, you can align each link to the sides:{{/i}}</p>
- <div class="bs-docs-example">
- <ul class="pager">
- <li class="previous"><a href="#">{{_i}}&larr; Older{{/i}}</a></li>
- <li class="next"><a href="#">{{_i}}Newer &rarr;{{/i}}</a></li>
- </ul>
- </div>
+ <h3>{{_i}}Aligned links{{/i}}</h3>
+ <p>{{_i}}Alternatively, you can align each link to the sides:{{/i}}</p>
+ <div class="bs-docs-example">
+ <ul class="pager">
+ <li class="previous"><a href="#">{{_i}}&larr; Older{{/i}}</a></li>
+ <li class="next"><a href="#">{{_i}}Newer &rarr;{{/i}}</a></li>
+ </ul>
+ </div>
<pre class="prettyprint linenums">
&lt;ul class="pager"&gt;
&lt;li class="previous"&gt;
@@ -1401,14 +1403,14 @@
&lt;/ul&gt;
</pre>
- <h3>{{_i}}Optional disabled state{{/i}}</h3>
- <p>{{_i}}Pager links also use the general <code>.disabled</code> utility class from the pagination.{{/i}}</p>
- <div class="bs-docs-example">
- <ul class="pager">
- <li class="previous disabled"><a href="#">{{_i}}&larr; Older{{/i}}</a></li>
- <li class="next"><a href="#">{{_i}}Newer &rarr;{{/i}}</a></li>
- </ul>
- </div>
+ <h3>{{_i}}Optional disabled state{{/i}}</h3>
+ <p>{{_i}}Pager links also use the general <code>.disabled</code> utility class from the pagination.{{/i}}</p>
+ <div class="bs-docs-example">
+ <ul class="pager">
+ <li class="previous disabled"><a href="#">{{_i}}&larr; Older{{/i}}</a></li>
+ <li class="next"><a href="#">{{_i}}Newer &rarr;{{/i}}</a></li>
+ </ul>
+ </div>
<pre class="prettyprint linenums">
&lt;ul class="pager"&gt;
&lt;li class="previous disabled"&gt;
@@ -1418,187 +1420,175 @@
&lt;/ul&gt;
</pre>
- </section>
-
-
-
- <!-- Labels
- ================================================== -->
- <section id="labels">
- <div class="page-header">
- <h1>{{_i}}Inline labels{{/i}} <small>{{_i}}Label and annotate text{{/i}}</small></h1>
- </div>
- <table class="table table-bordered table-striped">
- <thead>
- <tr>
- <th>{{_i}}Labels{{/i}}</th>
- <th>{{_i}}Markup{{/i}}</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>
- <span class="label">{{_i}}Default{{/i}}</span>
- </td>
- <td>
- <code>&lt;span class="label"&gt;{{_i}}Default{{/i}}&lt;/span&gt;</code>
- </td>
- </tr>
- <tr>
- <td>
- <span class="label label-success">{{_i}}Success{{/i}}</span>
- </td>
- <td>
- <code>&lt;span class="label label-success"&gt;{{_i}}Success{{/i}}&lt;/span&gt;</code>
- </td>
- </tr>
- <tr>
- <td>
- <span class="label label-warning">{{_i}}Warning{{/i}}</span>
- </td>
- <td>
- <code>&lt;span class="label label-warning"&gt;{{_i}}Warning{{/i}}&lt;/span&gt;</code>
- </td>
- </tr>
- <tr>
- <td>
- <span class="label label-important">{{_i}}Important{{/i}}</span>
- </td>
- <td>
- <code>&lt;span class="label label-important"&gt;{{_i}}Important{{/i}}&lt;/span&gt;</code>
- </td>
- </tr>
- <tr>
- <td>
- <span class="label label-info">{{_i}}Info{{/i}}</span>
- </td>
- <td>
- <code>&lt;span class="label label-info"&gt;{{_i}}Info{{/i}}&lt;/span&gt;</code>
- </td>
- </tr>
- <tr>
- <td>
- <span class="label label-inverse">{{_i}}Inverse{{/i}}</span>
- </td>
- <td>
- <code>&lt;span class="label label-inverse"&gt;{{_i}}Inverse{{/i}}&lt;/span&gt;</code>
- </td>
- </tr>
- </tbody>
- </table>
- </section>
-
-
-
- <!-- Badges
- ================================================== -->
- <section id="badges">
- <div class="page-header">
- <h1>{{_i}}Badges{{/i}} <small>{{_i}}Indicators and unread counts{{/i}}</small></h1>
- </div>
-
- <h3>About</h3>
- <p>{{_i}}Badges are small, simple components for displaying an indicator or count of some sort. They're commonly found in email clients like Mail.app or on mobile apps for push notifications.{{/i}}</p>
-
- <h3>Available classes</h3>
- <table class="table table-bordered table-striped">
- <thead>
- <tr>
- <th>{{_i}}Name{{/i}}</th>
- <th>{{_i}}Example{{/i}}</th>
- <th>{{_i}}Markup{{/i}}</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>
- {{_i}}Default{{/i}}
- </td>
- <td>
- <span class="badge">1</span>
- </td>
- <td>
- <code>&lt;span class="badge"&gt;1&lt;/span&gt;</code>
- </td>
- </tr>
- <tr>
- <td>
- {{_i}}Success{{/i}}
- </td>
- <td>
- <span class="badge badge-success">2</span>
- </td>
- <td>
- <code>&lt;span class="badge badge-success"&gt;2&lt;/span&gt;</code>
- </td>
- </tr>
- <tr>
- <td>
- {{_i}}Warning{{/i}}
- </td>
- <td>
- <span class="badge badge-warning">4</span>
- </td>
- <td>
- <code>&lt;span class="badge badge-warning"&gt;4&lt;/span&gt;</code>
- </td>
- </tr>
- <tr>
- <td>
- {{_i}}Important{{/i}}
- </td>
- <td>
- <span class="badge badge-important">6</span>
- </td>
- <td>
- <code>&lt;span class="badge badge-important"&gt;6&lt;/span&gt;</code>
- </td>
- </tr>
- <tr>
- <td>
- {{_i}}Info{{/i}}
- </td>
- <td>
- <span class="badge badge-info">8</span>
- </td>
- <td>
- <code>&lt;span class="badge badge-info"&gt;8&lt;/span&gt;</code>
- </td>
- </tr>
- <tr>
- <td>
- {{_i}}Inverse{{/i}}
- </td>
- <td>
- <span class="badge badge-inverse">10</span>
- </td>
- <td>
- <code>&lt;span class="badge badge-inverse"&gt;10&lt;/span&gt;</code>
- </td>
- </tr>
- </tbody>
- </table>
-
- </section>
-
-
-
- <!-- Typographic components
- ================================================== -->
- <section id="typography">
- <div class="page-header">
- <h1>{{_i}}Typographic components{{/i}} <small>{{_i}}Page header and hero unit for segmenting content{{/i}}</small></h1>
- </div>
-
- <h2>{{_i}}Hero unit{{/i}}</h2>
- <p>{{_i}}A lightweight, flexible component called a hero unit to showcase content on your site. It works well on marketing and content-heavy sites.{{/i}}</p>
- <div class="bs-docs-example">
- <div class="hero-unit">
- <h1>{{_i}}Hello, world!{{/i}}</h1>
- <p>{{_i}}This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.{{/i}}</p>
- <p><a class="btn btn-primary btn-large">{{_i}}Learn more{{/i}}</a></p>
+ </section>
+
+
+
+ <!-- Labels and badges
+ ================================================== -->
+ <section id="labels-badges">
+ <div class="page-header">
+ <h1>{{_i}}Labels and badges{{/i}}</h1>
+ </div>
+ <h3>{{_i}}Labels{{/i}}</h3>
+ <table class="table table-bordered table-striped">
+ <thead>
+ <tr>
+ <th>{{_i}}Labels{{/i}}</th>
+ <th>{{_i}}Markup{{/i}}</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>
+ <span class="label">{{_i}}Default{{/i}}</span>
+ </td>
+ <td>
+ <code>&lt;span class="label"&gt;{{_i}}Default{{/i}}&lt;/span&gt;</code>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <span class="label label-success">{{_i}}Success{{/i}}</span>
+ </td>
+ <td>
+ <code>&lt;span class="label label-success"&gt;{{_i}}Success{{/i}}&lt;/span&gt;</code>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <span class="label label-warning">{{_i}}Warning{{/i}}</span>
+ </td>
+ <td>
+ <code>&lt;span class="label label-warning"&gt;{{_i}}Warning{{/i}}&lt;/span&gt;</code>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <span class="label label-important">{{_i}}Important{{/i}}</span>
+ </td>
+ <td>
+ <code>&lt;span class="label label-important"&gt;{{_i}}Important{{/i}}&lt;/span&gt;</code>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <span class="label label-info">{{_i}}Info{{/i}}</span>
+ </td>
+ <td>
+ <code>&lt;span class="label label-info"&gt;{{_i}}Info{{/i}}&lt;/span&gt;</code>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <span class="label label-inverse">{{_i}}Inverse{{/i}}</span>
+ </td>
+ <td>
+ <code>&lt;span class="label label-inverse"&gt;{{_i}}Inverse{{/i}}&lt;/span&gt;</code>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+
+ <h3>{{_i}}Badges{{/i}}</h3>
+ <table class="table table-bordered table-striped">
+ <thead>
+ <tr>
+ <th>{{_i}}Name{{/i}}</th>
+ <th>{{_i}}Example{{/i}}</th>
+ <th>{{_i}}Markup{{/i}}</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>
+ {{_i}}Default{{/i}}
+ </td>
+ <td>
+ <span class="badge">1</span>
+ </td>
+ <td>
+ <code>&lt;span class="badge"&gt;1&lt;/span&gt;</code>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ {{_i}}Success{{/i}}
+ </td>
+ <td>
+ <span class="badge badge-success">2</span>
+ </td>
+ <td>
+ <code>&lt;span class="badge badge-success"&gt;2&lt;/span&gt;</code>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ {{_i}}Warning{{/i}}
+ </td>
+ <td>
+ <span class="badge badge-warning">4</span>
+ </td>
+ <td>
+ <code>&lt;span class="badge badge-warning"&gt;4&lt;/span&gt;</code>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ {{_i}}Important{{/i}}
+ </td>
+ <td>
+ <span class="badge badge-important">6</span>
+ </td>
+ <td>
+ <code>&lt;span class="badge badge-important"&gt;6&lt;/span&gt;</code>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ {{_i}}Info{{/i}}
+ </td>
+ <td>
+ <span class="badge badge-info">8</span>
+ </td>
+ <td>
+ <code>&lt;span class="badge badge-info"&gt;8&lt;/span&gt;</code>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ {{_i}}Inverse{{/i}}
+ </td>
+ <td>
+ <span class="badge badge-inverse">10</span>
+ </td>
+ <td>
+ <code>&lt;span class="badge badge-inverse"&gt;10&lt;/span&gt;</code>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+
+ </section>
+
+
+
+ <!-- Typographic components
+ ================================================== -->
+ <section id="typography">
+ <div class="page-header">
+ <h1>{{_i}}Typographic components{{/i}}</h1>
+ </div>
+
+ <h2>{{_i}}Hero unit{{/i}}</h2>
+ <p>{{_i}}A lightweight, flexible component to showcase key content on your site. It works well on marketing and content-heavy sites.{{/i}}</p>
+ <div class="bs-docs-example">
+ <div class="hero-unit">
+ <h1>{{_i}}Hello, world!{{/i}}</h1>
+ <p>{{_i}}This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.{{/i}}</p>
+ <p><a class="btn btn-primary btn-large">{{_i}}Learn more{{/i}}</a></p>
+ </div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="hero-unit"&gt;
&lt;h1&gt;{{_i}}Heading{{/i}}&lt;/h1&gt;
@@ -1611,105 +1601,105 @@
&lt;/div&gt;
</pre>
- <h2>{{_i}}Page header{{/i}}</h2>
- <p>{{_i}}A simple shell for an <code>h1</code> to appropriately space out and segment sections of content on a page. It can utilize the <code>h1</code>'s default <code>small</code>, element as well most other components (with additional styles).{{/i}}</p>
- <div class="bs-docs-example">
- <div class="page-header">
- <h1>{{_i}}Example page header{{/i}} <small>{{_i}}Subtext for header{{/i}}</small></h1>
+ <h2>{{_i}}Page header{{/i}}</h2>
+ <p>{{_i}}A simple shell for an <code>h1</code> to appropriately space out and segment sections of content on a page. It can utilize the <code>h1</code>'s default <code>small</code>, element as well most other components (with additional styles).{{/i}}</p>
+ <div class="bs-docs-example">
+ <div class="page-header">
+ <h1>{{_i}}Example page header{{/i}} <small>{{_i}}Subtext for header{{/i}}</small></h1>
+ </div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="page-header"&gt;
&lt;h1&gt;{{_i}}Example page header{{/i}}&lt;/h1&gt;
&lt;/div&gt;
</pre>
- </section>
+ </section>
- <!-- Thumbnails
- ================================================== -->
- <section id="thumbnails">
- <div class="page-header">
- <h1>{{_i}}Thumbnails{{/i}} <small>{{_i}}Grids of images, videos, text, and more{{/i}}</small></h1>
- </div>
+ <!-- Thumbnails
+ ================================================== -->
+ <section id="thumbnails">
+ <div class="page-header">
+ <h1>{{_i}}Thumbnails{{/i}} <small>{{_i}}Grids of images, videos, text, and more{{/i}}</small></h1>
+ </div>
- <h2>{{_i}}Default thumbnails{{/i}}</h2>
- <p>{{_i}}By default, Bootstrap's thumbnails are designed to showcase linked images with minimal required markup.{{/i}}</p>
- <div class="row-fluid">
- <ul class="thumbnails">
- <li class="span3">
- <a href="#" class="thumbnail">
- <img src="http://placehold.it/260x180" alt="">
- </a>
- </li>
- <li class="span3">
- <a href="#" class="thumbnail">
- <img src="http://placehold.it/260x180" alt="">
- </a>
- </li>
- <li class="span3">
- <a href="#" class="thumbnail">
- <img src="http://placehold.it/260x180" alt="">
- </a>
- </li>
- <li class="span3">
- <a href="#" class="thumbnail">
- <img src="http://placehold.it/260x180" alt="">
- </a>
- </li>
- </ul>
- </div>
+ <h2>{{_i}}Default thumbnails{{/i}}</h2>
+ <p>{{_i}}By default, Bootstrap's thumbnails are designed to showcase linked images with minimal required markup.{{/i}}</p>
+ <div class="row-fluid">
+ <ul class="thumbnails">
+ <li class="span3">
+ <a href="#" class="thumbnail">
+ <img src="http://placehold.it/260x180" alt="">
+ </a>
+ </li>
+ <li class="span3">
+ <a href="#" class="thumbnail">
+ <img src="http://placehold.it/260x180" alt="">
+ </a>
+ </li>
+ <li class="span3">
+ <a href="#" class="thumbnail">
+ <img src="http://placehold.it/260x180" alt="">
+ </a>
+ </li>
+ <li class="span3">
+ <a href="#" class="thumbnail">
+ <img src="http://placehold.it/260x180" alt="">
+ </a>
+ </li>
+ </ul>
+ </div>
- <h2>{{_i}}Highly customizable{{/i}}</h2>
- <p>{{_i}}With a bit of extra markup, it's possible to add any kind of HTML content like headings, paragraphs, or buttons into thumbnails.{{/i}}</p>
- <div class="row-fluid">
- <ul class="thumbnails">
- <li class="span4">
- <div class="thumbnail">
- <img src="http://placehold.it/300x200" alt="">
- <div class="caption">
- <h3>{{_i}}Thumbnail label{{/i}}</h3>
- <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
- <p><a href="#" class="btn btn-primary">{{_i}}Action{{/i}}</a> <a href="#" class="btn">{{_i}}Action{{/i}}</a></p>
+ <h2>{{_i}}Highly customizable{{/i}}</h2>
+ <p>{{_i}}With a bit of extra markup, it's possible to add any kind of HTML content like headings, paragraphs, or buttons into thumbnails.{{/i}}</p>
+ <div class="row-fluid">
+ <ul class="thumbnails">
+ <li class="span4">
+ <div class="thumbnail">
+ <img src="http://placehold.it/300x200" alt="">
+ <div class="caption">
+ <h3>{{_i}}Thumbnail label{{/i}}</h3>
+ <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
+ <p><a href="#" class="btn btn-primary">{{_i}}Action{{/i}}</a> <a href="#" class="btn">{{_i}}Action{{/i}}</a></p>
+ </div>
</div>
- </div>
- </li>
- <li class="span4">
- <div class="thumbnail">
- <img src="http://placehold.it/300x200" alt="">
- <div class="caption">
- <h3>{{_i}}Thumbnail label{{/i}}</h3>
- <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
- <p><a href="#" class="btn btn-primary">{{_i}}Action{{/i}}</a> <a href="#" class="btn">{{_i}}Action{{/i}}</a></p>
+ </li>
+ <li class="span4">
+ <div class="thumbnail">
+ <img src="http://placehold.it/300x200" alt="">
+ <div class="caption">
+ <h3>{{_i}}Thumbnail label{{/i}}</h3>
+ <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
+ <p><a href="#" class="btn btn-primary">{{_i}}Action{{/i}}</a> <a href="#" class="btn">{{_i}}Action{{/i}}</a></p>
+ </div>
</div>
- </div>
- </li>
- <li class="span4">
- <div class="thumbnail">
- <img src="http://placehold.it/300x200" alt="">
- <div class="caption">
- <h3>{{_i}}Thumbnail label{{/i}}</h3>
- <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
- <p><a href="#" class="btn btn-primary">{{_i}}Action{{/i}}</a> <a href="#" class="btn">{{_i}}Action{{/i}}</a></p>
+ </li>
+ <li class="span4">
+ <div class="thumbnail">
+ <img src="http://placehold.it/300x200" alt="">
+ <div class="caption">
+ <h3>{{_i}}Thumbnail label{{/i}}</h3>
+ <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
+ <p><a href="#" class="btn btn-primary">{{_i}}Action{{/i}}</a> <a href="#" class="btn">{{_i}}Action{{/i}}</a></p>
+ </div>
</div>
- </div>
- </li>
- </ul>
- </div>
+ </li>
+ </ul>
+ </div>
- <h3>{{_i}}Why use thumbnails{{/i}}</h3>
- <p>{{_i}}Thumbnails (previously <code>.media-grid</code> up until v1.4) are great for grids of photos or videos, image search results, retail products, portfolios, and much more. They can be links or static content.{{/i}}</p>
+ <h3>{{_i}}Why use thumbnails{{/i}}</h3>
+ <p>{{_i}}Thumbnails (previously <code>.media-grid</code> up until v1.4) are great for grids of photos or videos, image search results, retail products, portfolios, and much more. They can be links or static content.{{/i}}</p>
- <h3>{{_i}}Simple, flexible markup{{/i}}</h3>
- <p>{{_i}}Thumbnail markup is simple&mdash;a <code>ul</code> with any number of <code>li</code> elements is all that is required. It's also super flexible, allowing for any type of content with just a bit more markup to wrap your contents.{{/i}}</p>
+ <h3>{{_i}}Simple, flexible markup{{/i}}</h3>
+ <p>{{_i}}Thumbnail markup is simple&mdash;a <code>ul</code> with any number of <code>li</code> elements is all that is required. It's also super flexible, allowing for any type of content with just a bit more markup to wrap your contents.{{/i}}</p>
- <h3>{{_i}}Uses grid column sizes{{/i}}</h3>
- <p>{{_i}}Lastly, the thumbnails component uses existing grid system classes&mdash;like <code>.span2</code> or <code>.span3</code>&mdash;for control of thumbnail dimensions.{{/i}}</p>
+ <h3>{{_i}}Uses grid column sizes{{/i}}</h3>
+ <p>{{_i}}Lastly, the thumbnails component uses existing grid system classes&mdash;like <code>.span2</code> or <code>.span3</code>&mdash;for control of thumbnail dimensions.{{/i}}</p>
- <h2>{{_i}}The markup{{/i}}</h2>
- <p>{{_i}}As mentioned previously, the required markup for thumbnails is light and straightforward. Here's a look at the default setup <strong>for linked images</strong>:{{/i}}</p>
+ <h2>{{_i}}Markup{{/i}}</h2>
+ <p>{{_i}}As mentioned previously, the required markup for thumbnails is light and straightforward. Here's a look at the default setup <strong>for linked images</strong>:{{/i}}</p>
<pre class="prettyprint linenums">
&lt;ul class="thumbnails"&gt;
&lt;li class="span4"&gt;
@@ -1720,7 +1710,7 @@
...
&lt;/ul&gt;
</pre>
- <p>{{_i}}For custom HTML content in thumbnails, the markup changes slightly. To allow block level content anywhere, we swap the <code>&lt;a&gt;</code> for a <code>&lt;div&gt;</code> like so:{{/i}}</p>
+ <p>{{_i}}For custom HTML content in thumbnails, the markup changes slightly. To allow block level content anywhere, we swap the <code>&lt;a&gt;</code> for a <code>&lt;div&gt;</code> like so:{{/i}}</p>
<pre class="prettyprint linenums">
&lt;ul class="thumbnails"&gt;
&lt;li class="span4"&gt;
@@ -1734,65 +1724,55 @@
&lt;/ul&gt;
</pre>
- <h2>{{_i}}More examples{{/i}}</h2>
- <p>{{_i}}Explore all your options with the various grid classes available to you. You can also mix and match different sizes.{{/i}}</p>
- <ul class="thumbnails">
- <li class="span4">
- <a href="#" class="thumbnail">
- <img src="http://placehold.it/360x268" alt="">
- </a>
- </li>
- <li class="span2">
- <a href="#" class="thumbnail">
- <img src="http://placehold.it/160x120" alt="">
- </a>
- </li>
- <li class="span2">
- <a href="#" class="thumbnail">
- <img src="http://placehold.it/160x120" alt="">
- </a>
- </li>
- <li class="span2">
- <a href="#" class="thumbnail">
- <img src="http://placehold.it/160x120" alt="">
- </a>
- </li>
- <li class="span2">
- <a href="#" class="thumbnail">
- <img src="http://placehold.it/160x120" alt="">
- </a>
- </li>
- <li class="span2">
- <a href="#" class="thumbnail">
- <img src="http://placehold.it/160x120" alt="">
- </a>
- </li>
- <li class="span2">
- <a href="#" class="thumbnail">
- <img src="http://placehold.it/160x120" alt="">
- </a>
- </li>
- </ul>
+ <h2>{{_i}}More examples{{/i}}</h2>
+ <p>{{_i}}Explore all your options with the various grid classes available to you. You can also mix and match different sizes.{{/i}}</p>
+ <ul class="thumbnails">
+ <li class="span4">
+ <a href="#" class="thumbnail">
+ <img src="http://placehold.it/360x268" alt="">
+ </a>
+ </li>
+ <li class="span3">
+ <a href="#" class="thumbnail">
+ <img src="http://placehold.it/260x120" alt="">
+ </a>
+ </li>
+ <li class="span2">
+ <a href="#" class="thumbnail">
+ <img src="http://placehold.it/160x120" alt="">
+ </a>
+ </li>
+ <li class="span3">
+ <a href="#" class="thumbnail">
+ <img src="http://placehold.it/260x120" alt="">
+ </a>
+ </li>
+ <li class="span2">
+ <a href="#" class="thumbnail">
+ <img src="http://placehold.it/160x120" alt="">
+ </a>
+ </li>
+ </ul>
- </section>
+ </section>
- <!-- Alerts
- ================================================== -->
- <section id="alerts">
- <div class="page-header">
- <h1>{{_i}}Alerts{{/i}} <small>{{_i}}Styles for success, warning, and error messages{{/i}}</small></h1>
- </div>
+ <!-- Alerts
+ ================================================== -->
+ <section id="alerts">
+ <div class="page-header">
+ <h1>{{_i}}Alerts{{/i}} <small>{{_i}}Styles for success, warning, and error messages{{/i}}</small></h1>
+ </div>
- <h2>{{_i}}Default alert{{/i}}</h2>
- <p>{{_i}}Wrap any text and an optional dismiss button in <code>.alert</code> for a basic warning alert message.{{/i}}</p>
- <div class="bs-docs-example">
- <div class="alert">
- <button type="button" class="close" data-dismiss="alert">&times;</button>
- <strong>{{_i}}Warning!{{/i}}</strong> {{_i}}Best check yo self, you're not looking too good.{{/i}}
+ <h2>{{_i}}Default alert{{/i}}</h2>
+ <p>{{_i}}Wrap any text and an optional dismiss button in <code>.alert</code> for a basic warning alert message.{{/i}}</p>
+ <div class="bs-docs-example">
+ <div class="alert">
+ <button type="button" class="close" data-dismiss="alert">&times;</button>
+ <strong>{{_i}}Warning!{{/i}}</strong> {{_i}}Best check yo self, you're not looking too good.{{/i}}
+ </div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="alert"&gt;
&lt;button type="button" class="close" data-dismiss="alert"&gt;&times;&lt;/button&gt;
@@ -1800,32 +1780,32 @@
&lt;/div&gt;
</pre>
- <h3>{{_i}}Dismiss buttons{{/i}}</h3>
- <p>{{_i}}Mobile Safari and Mobile Opera browsers, in addition to the <code>data-dismiss="alert"</code> attribute, require an <code>href="#"</code> for the dismissal of alerts when using an <code>&lt;a&gt;</code> tag.{{/i}}</p>
+ <h3>{{_i}}Dismiss buttons{{/i}}</h3>
+ <p>{{_i}}Mobile Safari and Mobile Opera browsers, in addition to the <code>data-dismiss="alert"</code> attribute, require an <code>href="#"</code> for the dismissal of alerts when using an <code>&lt;a&gt;</code> tag.{{/i}}</p>
<pre class="prettyprint linenums">
&lt;a href="#" class="close" data-dismiss="alert"&gt;&times;&lt;/button&gt;
</pre>
- <p>{{_i}}Alternatively, you may use a <code>&lt;button&gt;</code> element with the data attribute, which we have opted to do for our docs. When using <code>&lt;button&gt;</code>, you must include <code>type="button"</code> or your forms may not submit.{{/i}}</p>
+ <p>{{_i}}Alternatively, you may use a <code>&lt;button&gt;</code> element with the data attribute, which we have opted to do for our docs. When using <code>&lt;button&gt;</code>, you must include <code>type="button"</code> or your forms may not submit.{{/i}}</p>
<pre class="prettyprint linenums">
&lt;button type="button" class="close" data-dismiss="alert"&gt;&times;&lt;/button&gt;
</pre>
- <h3>{{_i}}Dismiss alerts via javascript{{/i}}</h3>
- <p>{{_i}}Use the <a href="./javascript.html#alerts">alerts jQuery plugin</a> for quick and easy dismissal of alerts.{{/i}}</p>
+ <h3>{{_i}}Dismiss alerts via javascript{{/i}}</h3>
+ <p>{{_i}}Use the <a href="./javascript.html#alerts">alerts jQuery plugin</a> for quick and easy dismissal of alerts.{{/i}}</p>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h2>{{_i}}Options{{/i}}</h2>
- <p>{{_i}}For longer messages, increase the padding on the top and bottom of the alert wrapper by adding <code>.alert-block</code>.{{/i}}</p>
- <div class="bs-docs-example">
- <div class="alert alert-block">
- <button type="button" class="close" data-dismiss="alert">&times;</button>
- <h4>{{_i}}Warning!{{/i}}</h4>
- <p>{{_i}}Best check yo self, you're not looking too good.{{/i}} Nulla vitae elit libero, a pharetra augue. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.</p>
+ <h2>{{_i}}Options{{/i}}</h2>
+ <p>{{_i}}For longer messages, increase the padding on the top and bottom of the alert wrapper by adding <code>.alert-block</code>.{{/i}}</p>
+ <div class="bs-docs-example">
+ <div class="alert alert-block">
+ <button type="button" class="close" data-dismiss="alert">&times;</button>
+ <h4>{{_i}}Warning!{{/i}}</h4>
+ <p>{{_i}}Best check yo self, you're not looking too good.{{/i}} Nulla vitae elit libero, a pharetra augue. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.</p>
+ </div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="alert alert-block"&gt;
&lt;a class="close" data-dismiss="alert" href="#"&gt;&amp;times;&lt;/a&gt;
@@ -1835,97 +1815,97 @@
</pre>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h2>{{_i}}Contextual alternatives{{/i}}</h2>
- <p>{{_i}}Add optional classes to change an alert's connotation.{{/i}}</p>
+ <h2>{{_i}}Contextual alternatives{{/i}}</h2>
+ <p>{{_i}}Add optional classes to change an alert's connotation.{{/i}}</p>
- <h3>{{_i}}Error or danger{{/i}}</h3>
- <div class="bs-docs-example">
- <div class="alert alert-error">
- <button type="button" class="close" data-dismiss="alert">&times;</button>
- <strong>{{_i}}Oh snap!{{/i}}</strong> {{_i}}Change a few things up and try submitting again.{{/i}}
+ <h3>{{_i}}Error or danger{{/i}}</h3>
+ <div class="bs-docs-example">
+ <div class="alert alert-error">
+ <button type="button" class="close" data-dismiss="alert">&times;</button>
+ <strong>{{_i}}Oh snap!{{/i}}</strong> {{_i}}Change a few things up and try submitting again.{{/i}}
+ </div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="alert alert-error"&gt;
...
&lt;/div&gt;
</pre>
- <h3>{{_i}}Success{{/i}}</h3>
- <div class="bs-docs-example">
- <div class="alert alert-success">
- <button type="button" class="close" data-dismiss="alert">&times;</button>
- <strong>{{_i}}Well done!{{/i}}</strong> {{_i}}You successfully read this important alert message.{{/i}}
+ <h3>{{_i}}Success{{/i}}</h3>
+ <div class="bs-docs-example">
+ <div class="alert alert-success">
+ <button type="button" class="close" data-dismiss="alert">&times;</button>
+ <strong>{{_i}}Well done!{{/i}}</strong> {{_i}}You successfully read this important alert message.{{/i}}
+ </div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="alert alert-success"&gt;
...
&lt;/div&gt;
</pre>
- <h3>{{_i}}Information{{/i}}</h3>
- <div class="bs-docs-example">
- <div class="alert alert-info">
- <button type="button" class="close" data-dismiss="alert">&times;</button>
- <strong>{{_i}}Heads up!{{/i}}</strong> {{_i}}This alert needs your attention, but it's not super important.{{/i}}
+ <h3>{{_i}}Information{{/i}}</h3>
+ <div class="bs-docs-example">
+ <div class="alert alert-info">
+ <button type="button" class="close" data-dismiss="alert">&times;</button>
+ <strong>{{_i}}Heads up!{{/i}}</strong> {{_i}}This alert needs your attention, but it's not super important.{{/i}}
+ </div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="alert alert-info"&gt;
...
&lt;/div&gt;
</pre>
- </section>
+ </section>
- <!-- Progress bars
- ================================================== -->
- <section id="progress">
- <div class="page-header">
- <h1>{{_i}}Progress bars{{/i}} <small>{{_i}}For loading, redirecting, or action status{{/i}}</small></h1>
- </div>
+ <!-- Progress bars
+ ================================================== -->
+ <section id="progress">
+ <div class="page-header">
+ <h1>{{_i}}Progress bars{{/i}} <small>{{_i}}For loading, redirecting, or action status{{/i}}</small></h1>
+ </div>
- <h2>{{_i}}Examples and markup{{/i}}</h2>
+ <h2>{{_i}}Examples and markup{{/i}}</h2>
- <h3>{{_i}}Basic{{/i}}</h3>
- <p>{{_i}}Default progress bar with a vertical gradient.{{/i}}</p>
- <div class="bs-docs-example">
- <div class="progress">
- <div class="bar" style="width: 60%;"></div>
+ <h3>{{_i}}Basic{{/i}}</h3>
+ <p>{{_i}}Default progress bar with a vertical gradient.{{/i}}</p>
+ <div class="bs-docs-example">
+ <div class="progress">
+ <div class="bar" style="width: 60%;"></div>
+ </div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="progress"&gt;
&lt;div class="bar" style="width: 60%;"&gt;&lt;/div&gt;
&lt;/div&gt;
</pre>
- <h3>{{_i}}Striped{{/i}}</h3>
- <p>{{_i}}Uses a gradient to create a striped effect. Not available in IE7-8.{{/i}}</p>
- <div class="bs-docs-example">
- <div class="progress progress-striped">
- <div class="bar" style="width: 20%;"></div>
+ <h3>{{_i}}Striped{{/i}}</h3>
+ <p>{{_i}}Uses a gradient to create a striped effect. Not available in IE7-8.{{/i}}</p>
+ <div class="bs-docs-example">
+ <div class="progress progress-striped">
+ <div class="bar" style="width: 20%;"></div>
+ </div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="progress progress-striped"&gt;
&lt;div class="bar" style="width: 20%;"&gt;&lt;/div&gt;
&lt;/div&gt;
</pre>
- <h3>{{_i}}Animated{{/i}}</h3>
- <p>{{_i}}Add <code>.active</code> to <code>.progress-striped</code> to animate the stripes right to left. Not available in all versions of IE.{{/i}}</p>
- <div class="bs-docs-example">
- <div class="progress progress-striped active">
- <div class="bar" style="width: 45%"></div>
+ <h3>{{_i}}Animated{{/i}}</h3>
+ <p>{{_i}}Add <code>.active</code> to <code>.progress-striped</code> to animate the stripes right to left. Not available in all versions of IE.{{/i}}</p>
+ <div class="bs-docs-example">
+ <div class="progress progress-striped active">
+ <div class="bar" style="width: 45%"></div>
+ </div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="progress progress-striped active"&gt;
&lt;div class="bar" style="width: 40%;"&gt;&lt;/div&gt;
@@ -1933,27 +1913,27 @@
</pre>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h2>{{_i}}Options{{/i}}</h2>
+ <h2>{{_i}}Options{{/i}}</h2>
- <h3>{{_i}}Additional colors{{/i}}</h3>
- <p>{{_i}}Progress bars use some of the same button and alert classes for consistent styles.{{/i}}</p>
- <div class="bs-docs-example">
- <div class="progress progress-info" style="margin-bottom: 9px;">
- <div class="bar" style="width: 20%"></div>
- </div>
- <div class="progress progress-success" style="margin-bottom: 9px;">
- <div class="bar" style="width: 40%"></div>
- </div>
- <div class="progress progress-warning" style="margin-bottom: 9px;">
- <div class="bar" style="width: 60%"></div>
- </div>
- <div class="progress progress-danger">
- <div class="bar" style="width: 80%"></div>
+ <h3>{{_i}}Additional colors{{/i}}</h3>
+ <p>{{_i}}Progress bars use some of the same button and alert classes for consistent styles.{{/i}}</p>
+ <div class="bs-docs-example">
+ <div class="progress progress-info" style="margin-bottom: 9px;">
+ <div class="bar" style="width: 20%"></div>
+ </div>
+ <div class="progress progress-success" style="margin-bottom: 9px;">
+ <div class="bar" style="width: 40%"></div>
+ </div>
+ <div class="progress progress-warning" style="margin-bottom: 9px;">
+ <div class="bar" style="width: 60%"></div>
+ </div>
+ <div class="progress progress-danger">
+ <div class="bar" style="width: 80%"></div>
+ </div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="progress progress-info"&gt;
&lt;div class="bar" style="width: 20%"&gt;&lt;/div&gt;
@@ -1969,22 +1949,22 @@
&lt;/div&gt;
</pre>
- <h3>{{_i}}Striped bars{{/i}}</h3>
- <p>{{_i}}Similar to the solid colors, we have varied striped progress bars.{{/i}}</p>
- <div class="bs-docs-example">
- <div class="progress progress-info progress-striped" style="margin-bottom: 9px;">
- <div class="bar" style="width: 20%"></div>
- </div>
- <div class="progress progress-success progress-striped" style="margin-bottom: 9px;">
- <div class="bar" style="width: 40%"></div>
- </div>
- <div class="progress progress-warning progress-striped" style="margin-bottom: 9px;">
- <div class="bar" style="width: 60%"></div>
- </div>
- <div class="progress progress-danger progress-striped">
- <div class="bar" style="width: 80%"></div>
+ <h3>{{_i}}Striped bars{{/i}}</h3>
+ <p>{{_i}}Similar to the solid colors, we have varied striped progress bars.{{/i}}</p>
+ <div class="bs-docs-example">
+ <div class="progress progress-info progress-striped" style="margin-bottom: 9px;">
+ <div class="bar" style="width: 20%"></div>
+ </div>
+ <div class="progress progress-success progress-striped" style="margin-bottom: 9px;">
+ <div class="bar" style="width: 40%"></div>
+ </div>
+ <div class="progress progress-warning progress-striped" style="margin-bottom: 9px;">
+ <div class="bar" style="width: 60%"></div>
+ </div>
+ <div class="progress progress-danger progress-striped">
+ <div class="bar" style="width: 80%"></div>
+ </div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="progress progress-info progress-striped"&gt;
&lt;div class="bar" style="width: 20%"&gt;&lt;/div&gt;
@@ -2001,74 +1981,74 @@
</pre>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h2>{{_i}}Browser support{{/i}}</h2>
- <p>{{_i}}Progress bars use CSS3 gradients, transitions, and animations to achieve all their effects. These features are not supported in IE7-9 or older versions of Firefox.{{/i}}</p>
- <p>{{_i}}Opera and IE do not support animations at this time.{{/i}}</p>
+ <h2>{{_i}}Browser support{{/i}}</h2>
+ <p>{{_i}}Progress bars use CSS3 gradients, transitions, and animations to achieve all their effects. These features are not supported in IE7-9 or older versions of Firefox.{{/i}}</p>
+ <p>{{_i}}Opera and IE do not support animations at this time.{{/i}}</p>
- </section>
+ </section>
- <!-- Miscellaneous
- ================================================== -->
- <section id="misc">
- <div class="page-header">
- <h1>{{_i}}Miscellaneous{{/i}} <small>{{_i}}Lightweight utility components{{/i}}</small></h1>
- </div>
+ <!-- Miscellaneous
+ ================================================== -->
+ <section id="misc">
+ <div class="page-header">
+ <h1>{{_i}}Miscellaneous{{/i}} <small>{{_i}}Lightweight utility components{{/i}}</small></h1>
+ </div>
- <h2>{{_i}}Wells{{/i}}</h2>
- <p>{{_i}}Use the well as a simple effect on an element to give it an inset effect.{{/i}}</p>
- <div class="bs-docs-example">
- <div class="well">
- {{_i}}Look, I'm in a well!{{/i}}
+ <h2>{{_i}}Wells{{/i}}</h2>
+ <p>{{_i}}Use the well as a simple effect on an element to give it an inset effect.{{/i}}</p>
+ <div class="bs-docs-example">
+ <div class="well">
+ {{_i}}Look, I'm in a well!{{/i}}
+ </div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="well"&gt;
...
&lt;/div&gt;
</pre>
- <h3>{{_i}}Optional classes{{/i}}</h3>
- <p>{{_i}}Control padding and rounded corners with two optional modifier classes.{{/i}}</p>
- <div class="bs-docs-example">
- <div class="well well-large">
- {{_i}}Look, I'm in a well!{{/i}}
+ <h3>{{_i}}Optional classes{{/i}}</h3>
+ <p>{{_i}}Control padding and rounded corners with two optional modifier classes.{{/i}}</p>
+ <div class="bs-docs-example">
+ <div class="well well-large">
+ {{_i}}Look, I'm in a well!{{/i}}
+ </div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="well well-large"&gt;
...
&lt;/div&gt;
</pre>
- <div class="bs-docs-example">
- <div class="well well-small">
- {{_i}}Look, I'm in a well!{{/i}}
+ <div class="bs-docs-example">
+ <div class="well well-small">
+ {{_i}}Look, I'm in a well!{{/i}}
+ </div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="well well-small"&gt;
...
&lt;/div&gt;
</pre>
- <h2>{{_i}}Close icon{{/i}}</h2>
- <p>{{_i}}Use the generic close icon for dismissing content like modals and alerts.{{/i}}</p>
- <div class="bs-docs-example">
- <p><button class="close" style="float: none;">&times;</button></p>
- </div>
+ <h2>{{_i}}Close icon{{/i}}</h2>
+ <p>{{_i}}Use the generic close icon for dismissing content like modals and alerts.{{/i}}</p>
+ <div class="bs-docs-example">
+ <p><button class="close" style="float: none;">&times;</button></p>
+ </div>
<pre class="prettyprint linenums">&lt;button class="close"&gt;&amp;times;&lt;/button&gt;</pre>
- <p>{{_i}}iOS devices require an href="#" for click events if you rather use an anchor.{{/i}}</p>
+ <p>{{_i}}iOS devices require an href="#" for click events if you rather use an anchor.{{/i}}</p>
<pre class="prettyprint linenums">&lt;a class="close" href="#"&gt;&amp;times;&lt;/a&gt;</pre>
- <h2>{{_i}}Helper classes{{/i}}</h2>
- <p>{{_i}}Simple, focused classes for small display or behavior tweaks.{{/i}}</p>
+ <h2>{{_i}}Helper classes{{/i}}</h2>
+ <p>{{_i}}Simple, focused classes for small display or behavior tweaks.{{/i}}</p>
- <h4>{{_i}}.pull-left{{/i}}</h4>
- <p>{{_i}}Float an element left{{/i}}</p>
+ <h4>{{_i}}.pull-left{{/i}}</h4>
+ <p>{{_i}}Float an element left{{/i}}</p>
<pre class="prettyprint linenums">
class="pull-left"
</pre>
@@ -2078,8 +2058,8 @@ class="pull-left"
}
</pre>
- <h4>{{_i}}.pull-right{{/i}}</h4>
- <p>{{_i}}Float an element right{{/i}}</p>
+ <h4>{{_i}}.pull-right{{/i}}</h4>
+ <p>{{_i}}Float an element right{{/i}}</p>
<pre class="prettyprint linenums">
class="pull-right"
</pre>
@@ -2089,8 +2069,8 @@ class="pull-right"
}
</pre>
- <h4>{{_i}}.muted{{/i}}</h4>
- <p>{{_i}}Change an element's color to <code>#999</code>{{/i}}</p>
+ <h4>{{_i}}.muted{{/i}}</h4>
+ <p>{{_i}}Change an element's color to <code>#999</code>{{/i}}</p>
<pre class="prettyprint linenums">
class="muted"
</pre>
@@ -2100,8 +2080,8 @@ class="muted"
}
</pre>
- <h4>{{_i}}.clearfix{{/i}}</h4>
- <p>{{_i}}Clear the <code>float</code> on any element{{/i}}</p>
+ <h4>{{_i}}.clearfix{{/i}}</h4>
+ <p>{{_i}}Clear the <code>float</code> on any element{{/i}}</p>
<pre class="prettyprint linenums">
class="clearfix"
</pre>
@@ -2119,9 +2099,11 @@ class="clearfix"
}
</pre>
- </section>
+ </section>
+
+ </div>{{! /span9 }}
+ </div>{{! row}}
- </div>{{! /span9 }}
-</div>{{! row}}
+</div>{{! /container }}
diff --git a/docs/templates/pages/extend.mustache b/docs/templates/pages/extend.mustache
index 2449ae8390..914d22a8e7 100644
--- a/docs/templates/pages/extend.mustache
+++ b/docs/templates/pages/extend.mustache
@@ -1,103 +1,108 @@
<!-- Subhead
================================================== -->
<header class="jumbotron subhead" id="overview">
- <h1>{{_i}}Extending Bootstrap{{/i}}</h1>
- <p class="lead">{{_i}}Extend Bootstrap to take advantage of included styles and components, as well as LESS variables and mixins.{{/i}}</p>
+ <div class="container">
+ <h1>{{_i}}Extending Bootstrap{{/i}}</h1>
+ <p class="lead">{{_i}}Extend Bootstrap to take advantage of included styles and components, as well as LESS variables and mixins.{{/i}}</p>
+ <div>
</header>
+<div class="container">
-<!-- Docs nav
-================================================== -->
-<div class="row">
- <div class="span3 bs-docs-sidebar">
- <ul class="nav nav-list bs-docs-sidenav">
- <li><a href="#built-with-less">{{_i}}Built with LESS{{/i}} <i class="icon-chevron-right"></i></a></li>
- <li><a href="#compiling">{{_i}}Compiling Bootstrap{{/i}} <i class="icon-chevron-right"></i></a></li>
- <li><a href="#static-assets">{{_i}}Use as static assets{{/i}} <i class="icon-chevron-right"></i></a></li>
- </ul>
- </div>
- <div class="span9">
-
-
-
- <!-- BUILT WITH LESS
- ================================================== -->
- <section id="built-with-less">
- <div class="page-header">
- <h1>{{_i}}Built with LESS{{/i}}</h1>
- </div>
-
- <h3>{{_i}}Why LESS?{{/i}}</h3>
- <p>{{_i}}Bootstrap is made with LESS at its core, a dynamic stylesheet language created by our good friend, <a href="http://cloudhead.io">Alexis Sellier</a>. It makes developing systems-based CSS faster, easier, and more fun.{{/i}}</p>
-
- <h3>{{_i}}What's included?{{/i}}</h3>
- <p>{{_i}}As an extension of CSS, LESS includes variables, mixins for reusable snippets of code, operations for simple math, nesting, and even color functions.{{/i}}</p>
-
- <h3>{{_i}}Learn more{{/i}}</h3>
- <img style="float: right; height: 36px;" src="assets/img/less-logo-large.png" alt="LESS CSS">
- <p>{{_i}}Visit the official website at <a href="http://lesscss.org">http://lesscss.org</a> to learn more.{{/i}}</p>
- </section>
-
-
-
- <!-- COMPILING LESS AND BOOTSTRAP
- ================================================== -->
- <section id="compiling">
- <div class="page-header">
- <h1>{{_i}}Compiling Bootstrap with LESS{{/i}}</h1>
- </div>
- <div class="alert alert-info">
- {{_i}}<strong>Note:</strong> If you're submitting a pull request to GitHub with modified CSS, you <strong>must</strong> recompile the CSS via any of these methods.{{/i}}
- </div>
-
- <h2>{{_i}}Tools for compiling{{/i}}</h2>
-
- <h3>{{_i}}Node with makefile{{/i}}</h3>
- <p>{{_i}}Install the LESS command line compiler, JSHint, Recess, and uglify-js globally with npm by running the following command:{{/i}}</p>
- <pre>$ npm install -g less jshint recess uglify-js</pre>
- <p>{{_i}}Once installed just run <code>make</code> from the root of your bootstrap directory and you're all set.{{/i}}</p>
- <p>{{_i}}Additionally, if you have <a href="https://github.com/mynyml/watchr">watchr</a> installed, you may run <code>make watch</code> to have bootstrap automatically rebuilt every time you edit a file in the bootstrap lib (this isn't required, just a convenience method).{{/i}}</p>
-
- <h3>{{_i}}Command line{{/i}}</h3>
- <p>{{_i}}Install the LESS command line tool via Node and run the following command:{{/i}}</p>
- <pre>$ lessc ./less/bootstrap.less > bootstrap.css</pre>
- <p>{{_i}}Be sure to include <code>--compress</code> in that command if you're trying to save some bytes!{{/i}}</p>
-
- <h3>{{_i}}Javascript{{/i}}</h3>
- <p>{{_i}}<a href="http://lesscss.org/">Download the latest Less.js</a> and include the path to it (and Bootstrap) in the <code>&lt;head&gt;</code>.{{/i}}</p>
+ <!-- Docs nav
+ ================================================== -->
+ <div class="row">
+ <div class="span3 bs-docs-sidebar">
+ <ul class="nav nav-list bs-docs-sidenav">
+ <li><a href="#built-with-less">{{_i}}Built with LESS{{/i}} <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#compiling">{{_i}}Compiling Bootstrap{{/i}} <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#static-assets">{{_i}}Use as static assets{{/i}} <i class="icon-chevron-right"></i></a></li>
+ </ul>
+ </div>
+ <div class="span9">
+
+
+
+ <!-- BUILT WITH LESS
+ ================================================== -->
+ <section id="built-with-less">
+ <div class="page-header">
+ <h1>{{_i}}Built with LESS{{/i}}</h1>
+ </div>
+
+ <h3>{{_i}}Why LESS?{{/i}}</h3>
+ <p>{{_i}}Bootstrap is made with LESS at its core, a dynamic stylesheet language created by our good friend, <a href="http://cloudhead.io">Alexis Sellier</a>. It makes developing systems-based CSS faster, easier, and more fun.{{/i}}</p>
+
+ <h3>{{_i}}What's included?{{/i}}</h3>
+ <p>{{_i}}As an extension of CSS, LESS includes variables, mixins for reusable snippets of code, operations for simple math, nesting, and even color functions.{{/i}}</p>
+
+ <h3>{{_i}}Learn more{{/i}}</h3>
+ <img style="float: right; height: 36px;" src="assets/img/less-logo-large.png" alt="LESS CSS">
+ <p>{{_i}}Visit the official website at <a href="http://lesscss.org">http://lesscss.org</a> to learn more.{{/i}}</p>
+ </section>
+
+
+
+ <!-- COMPILING LESS AND BOOTSTRAP
+ ================================================== -->
+ <section id="compiling">
+ <div class="page-header">
+ <h1>{{_i}}Compiling Bootstrap with LESS{{/i}}</h1>
+ </div>
+ <div class="alert alert-info">
+ {{_i}}<strong>Note:</strong> If you're submitting a pull request to GitHub with modified CSS, you <strong>must</strong> recompile the CSS via any of these methods.{{/i}}
+ </div>
+
+ <h2>{{_i}}Tools for compiling{{/i}}</h2>
+
+ <h3>{{_i}}Node with makefile{{/i}}</h3>
+ <p>{{_i}}Install the LESS command line compiler, JSHint, Recess, and uglify-js globally with npm by running the following command:{{/i}}</p>
+ <pre>$ npm install -g less jshint recess uglify-js</pre>
+ <p>{{_i}}Once installed just run <code>make</code> from the root of your bootstrap directory and you're all set.{{/i}}</p>
+ <p>{{_i}}Additionally, if you have <a href="https://github.com/mynyml/watchr">watchr</a> installed, you may run <code>make watch</code> to have bootstrap automatically rebuilt every time you edit a file in the bootstrap lib (this isn't required, just a convenience method).{{/i}}</p>
+
+ <h3>{{_i}}Command line{{/i}}</h3>
+ <p>{{_i}}Install the LESS command line tool via Node and run the following command:{{/i}}</p>
+ <pre>$ lessc ./less/bootstrap.less > bootstrap.css</pre>
+ <p>{{_i}}Be sure to include <code>--compress</code> in that command if you're trying to save some bytes!{{/i}}</p>
+
+ <h3>{{_i}}Javascript{{/i}}</h3>
+ <p>{{_i}}<a href="http://lesscss.org/">Download the latest Less.js</a> and include the path to it (and Bootstrap) in the <code>&lt;head&gt;</code>.{{/i}}</p>
<pre class="prettyprint">
&lt;link rel="stylesheet/less" href="/path/to/bootstrap.less"&gt;
&lt;script src="/path/to/less.js"&gt;&lt;/script&gt;
</pre>
- <p>{{_i}}To recompile the .less files, just save them and reload your page. Less.js compiles them and stores them in local storage.{{/i}}</p>
+ <p>{{_i}}To recompile the .less files, just save them and reload your page. Less.js compiles them and stores them in local storage.{{/i}}</p>
+
+ <h3>{{_i}}Unofficial Mac app{{/i}}</h3>
+ <p>{{_i}}<a href="http://incident57.com/less/">The unofficial Mac app</a> watches directories of .less files and compiles the code to local files after every save of a watched .less file.{{/i}}</p>
+ <p>{{_i}}If you like, you can toggle preferences in the app for automatic minifying and which directory the compiled files end up in.{{/i}}</p>
- <h3>{{_i}}Unofficial Mac app{{/i}}</h3>
- <p>{{_i}}<a href="http://incident57.com/less/">The unofficial Mac app</a> watches directories of .less files and compiles the code to local files after every save of a watched .less file.{{/i}}</p>
- <p>{{_i}}If you like, you can toggle preferences in the app for automatic minifying and which directory the compiled files end up in.{{/i}}</p>
+ <h3>{{_i}}More Mac apps{{/i}}</h3>
+ <h4><a href="http://crunchapp.net/" target="_blank">Crunch</a></h4>
+ <p>{{_i}}Crunch is a great looking LESS editor and compiler built on Adobe Air.{{/i}}</p>
+ <h4><a href="http://incident57.com/codekit/" target="_blank">CodeKit</a></h4>
+ <p>{{_i}}Created by the same guy as the unofficial Mac app, CodeKit is a Mac app that compiles LESS, SASS, Stylus, and CoffeeScript.{{/i}}</p>
+ <h4><a href="http://wearekiss.com/simpless" target="_blank">Simpless</a></h4>
+ <p>{{_i}}Mac, Linux, and PC app for drag and drop compiling of LESS files. Plus, the <a href="https://github.com/Paratron/SimpLESS" target="_blank">source code is on GitHub</a>.{{/i}}</p>
- <h3>{{_i}}More Mac apps{{/i}}</h3>
- <h4><a href="http://crunchapp.net/" target="_blank">Crunch</a></h4>
- <p>{{_i}}Crunch is a great looking LESS editor and compiler built on Adobe Air.{{/i}}</p>
- <h4><a href="http://incident57.com/codekit/" target="_blank">CodeKit</a></h4>
- <p>{{_i}}Created by the same guy as the unofficial Mac app, CodeKit is a Mac app that compiles LESS, SASS, Stylus, and CoffeeScript.{{/i}}</p>
- <h4><a href="http://wearekiss.com/simpless" target="_blank">Simpless</a></h4>
- <p>{{_i}}Mac, Linux, and PC app for drag and drop compiling of LESS files. Plus, the <a href="https://github.com/Paratron/SimpLESS" target="_blank">source code is on GitHub</a>.{{/i}}</p>
+ </section>
- </section>
+ <!-- Static assets
+ ================================================== -->
+ <section id="static-assets">
+ <div class="page-header">
+ <h1>{{_i}}Use as static assets{{/i}}</h1>
+ </div>
+ <p>...</p>
+ </section>
- <!-- Static assets
- ================================================== -->
- <section id="static-assets">
- <div class="page-header">
- <h1>{{_i}}Use as static assets{{/i}}</h1>
- </div>
- <p>...</p>
- </section>
+ </div>{{! /span9 }}
+ </div>{{! row}}
- </div>{{! /span9 }}
-</div>{{! row}}
+</div>{{! /container }}
diff --git a/docs/templates/pages/getting-started.mustache b/docs/templates/pages/getting-started.mustache
index 5e1407436c..c6a03ec0a0 100644
--- a/docs/templates/pages/getting-started.mustache
+++ b/docs/templates/pages/getting-started.mustache
@@ -1,10 +1,14 @@
+</div>
<!-- Masthead
================================================== -->
<header class="jumbotron subhead" id="overview">
+ <div class="container">
<h1>{{_i}}Getting started{{/i}}</h1>
<p class="lead">{{_i}}Overview of the project, it's contents, and how to get started with a simple template.{{/i}}</p>
+</div>
</header>
+<div class="container">
<div class="row">
<div class="span3 bs-docs-sidebar">
<ul class="nav nav-list bs-docs-sidenav">
diff --git a/docs/templates/pages/index.mustache b/docs/templates/pages/index.mustache
index e90df3d084..0243079596 100644
--- a/docs/templates/pages/index.mustache
+++ b/docs/templates/pages/index.mustache
@@ -1,11 +1,10 @@
-</div>
-
<div class="jumbotron masthead">
<div class="container">
<h1>Bootstrap</h1>
<p>Sleek, intuitive, and powerful front-end framework for faster and easier web development.</p>
<p><a href="assets/bootstrap.zip" class="btn btn-primary btn-large" {{#production}}onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Download', 'Download 2.1.0']);"{{/production}}>{{_i}}Download Bootstrap{{/i}}</a></p>
<ul class="masthead-links">
+ <li><a href="./getting-started.html" {{#production}}onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Getting started']);"{{/production}}>Getting started</a></li>
<li><a href="./download.html" {{#production}}onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Customize']);"{{/production}}>Customize</a></li>
<li><a href="http://github.com/twitter/bootstrap" {{#production}}onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'GitHub project']);"{{/production}}>GitHub project</a></li>
<li>Version 2.1.0</li>
@@ -87,3 +86,5 @@
</div>
</div><!-- /.marketing -->
+
+</div>{{! /container }}
diff --git a/docs/templates/pages/javascript.mustache b/docs/templates/pages/javascript.mustache
index 4c25bb08b6..81ef75209d 100644
--- a/docs/templates/pages/javascript.mustache
+++ b/docs/templates/pages/javascript.mustache
@@ -1,109 +1,112 @@
<!-- Subhead
================================================== -->
<header class="jumbotron subhead" id="overview">
- <h1>{{_i}}Javascript for Bootstrap{{/i}}</h1>
- <p class="lead">{{_i}}Bring Bootstrap's components to life&mdash;now with 12 custom <a href="http://jquery.com/" target="_blank">jQuery</a> plugins.{{/i}}
+ <div class="container">
+ <h1>{{_i}}Javascript for Bootstrap{{/i}}</h1>
+ <p class="lead">{{_i}}Bring Bootstrap's components to life&mdash;now with 12 custom jQuery plugins.{{/i}}
+ </div>
</header>
-
-
-<!-- Docs nav
-================================================== -->
-<div class="row">
- <div class="span3 bs-docs-sidebar">
- <ul class="nav nav-list bs-docs-sidenav">
- <li><a href="#transitions">{{_i}}Transitions{{/i}} <i class="icon-chevron-right"></i></a></li>
- <li><a href="#modals">{{_i}}Modal{{/i}} <i class="icon-chevron-right"></i></a></li>
- <li><a href="#dropdowns">{{_i}}Dropdown{{/i}} <i class="icon-chevron-right"></i></a></li>
- <li><a href="#scrollspy">{{_i}}Scrollspy{{/i}} <i class="icon-chevron-right"></i></a></li>
- <li><a href="#tabs">{{_i}}Tab{{/i}} <i class="icon-chevron-right"></i></a></li>
- <li><a href="#tooltips">{{_i}}Tooltip{{/i}} <i class="icon-chevron-right"></i></a></li>
- <li><a href="#popovers">{{_i}}Popover{{/i}} <i class="icon-chevron-right"></i></a></li>
- <li><a href="#alerts">{{_i}}Alert{{/i}} <i class="icon-chevron-right"></i></a></li>
- <li><a href="#buttons">{{_i}}Button{{/i}} <i class="icon-chevron-right"></i></a></li>
- <li><a href="#collapse">{{_i}}Collapse{{/i}} <i class="icon-chevron-right"></i></a></li>
- <li><a href="#carousel">{{_i}}Carousel{{/i}} <i class="icon-chevron-right"></i></a></li>
- <li><a href="#typeahead">{{_i}}Typeahead{{/i}} <i class="icon-chevron-right"></i></a></li>
- <li><a href="#affix">{{_i}}Affix{{/i}} <i class="icon-chevron-right"></i></a></li>
- </ul>
- </div>
- <div class="span9">
+<div class="container">
+
+
+ <!-- Docs nav
+ ================================================== -->
+ <div class="row">
+ <div class="span3 bs-docs-sidebar">
+ <ul class="nav nav-list bs-docs-sidenav">
+ <li><a href="#transitions">{{_i}}Transitions{{/i}} <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#modals">{{_i}}Modal{{/i}} <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#dropdowns">{{_i}}Dropdown{{/i}} <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#scrollspy">{{_i}}Scrollspy{{/i}} <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#tabs">{{_i}}Tab{{/i}} <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#tooltips">{{_i}}Tooltip{{/i}} <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#popovers">{{_i}}Popover{{/i}} <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#alerts">{{_i}}Alert{{/i}} <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#buttons">{{_i}}Button{{/i}} <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#collapse">{{_i}}Collapse{{/i}} <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#carousel">{{_i}}Carousel{{/i}} <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#typeahead">{{_i}}Typeahead{{/i}} <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#affix">{{_i}}Affix{{/i}} <i class="icon-chevron-right"></i></a></li>
+ </ul>
+ </div>
+ <div class="span9">
- <!-- Overview
- ================================================== -->
- <section id="overview">
- <div class="page-header">
- <h1>{{_i}}Javascript in Bootstrap{{/i}}</h1>
- </div>
+ <!-- Overview
+ ================================================== -->
+ <section id="overview">
+ <div class="page-header">
+ <h1>{{_i}}Javascript in Bootstrap{{/i}}</h1>
+ </div>
- <h3>{{_i}}Individual or compiled{{/i}}</h3>
- <p>{{_i}}If you have downloaded the latest version of Bootstrap, both <strong>bootstrap.js</strong> and <strong>bootstrap.min.js</strong> contain all of these plugins.{{/i}}</p>
+ <h3>{{_i}}Individual or compiled{{/i}}</h3>
+ <p>{{_i}}If you have downloaded the latest version of Bootstrap, both <strong>bootstrap.js</strong> and <strong>bootstrap.min.js</strong> contain all of these plugins.{{/i}}</p>
- <h3>{{_i}}Data attributes{{/i}}</h3>
- <p>{{_i}}...{{/i}}</p>
+ <h3>{{_i}}Data attributes{{/i}}</h3>
+ <p>{{_i}}...{{/i}}</p>
- <h3>{{_i}}Programmatic API{{/i}}</h3>
- <p>{{_i}}...{{/i}}</p>
+ <h3>{{_i}}Programmatic API{{/i}}</h3>
+ <p>{{_i}}...{{/i}}</p>
- {{! Thought: consider porting much of the JS readme here? }}
+ {{! Thought: consider porting much of the JS readme here? }}
- </section>
+ </section>
- <!-- Transitions
- ================================================== -->
- <section id="transitions">
- <div class="page-header">
- <h1>{{_i}}Transitions{{/i}} <small>bootstrap-transition.js</small></h1>
- </div>
- <h3>{{_i}}About transitions{{/i}}</h3>
- <p>{{_i}}For simple transition effects, include bootstrap-transition.js once alongside the other JS files. If you're using the compiled (or minified) bootstrap.js, there is no need to include this&mdash;it's already there.{{/i}}</p>
- <h3>{{_i}}Use cases{{/i}}</h3>
- <p>{{_i}}A few examples of the transition plugin:{{/i}}</p>
- <ul>
- <li>{{_i}}Sliding or fading in modals{{/i}}</li>
- <li>{{_i}}Fading out tabs{{/i}}</li>
- <li>{{_i}}Fading out alerts{{/i}}</li>
- <li>{{_i}}Sliding carousel panes{{/i}}</li>
- </ul>
+ <!-- Transitions
+ ================================================== -->
+ <section id="transitions">
+ <div class="page-header">
+ <h1>{{_i}}Transitions{{/i}} <small>bootstrap-transition.js</small></h1>
+ </div>
+ <h3>{{_i}}About transitions{{/i}}</h3>
+ <p>{{_i}}For simple transition effects, include bootstrap-transition.js once alongside the other JS files. If you're using the compiled (or minified) bootstrap.js, there is no need to include this&mdash;it's already there.{{/i}}</p>
+ <h3>{{_i}}Use cases{{/i}}</h3>
+ <p>{{_i}}A few examples of the transition plugin:{{/i}}</p>
+ <ul>
+ <li>{{_i}}Sliding or fading in modals{{/i}}</li>
+ <li>{{_i}}Fading out tabs{{/i}}</li>
+ <li>{{_i}}Fading out alerts{{/i}}</li>
+ <li>{{_i}}Sliding carousel panes{{/i}}</li>
+ </ul>
- {{! Ideas: include docs for .fade.in, .slide.in, etc }}
- </section>
+ {{! Ideas: include docs for .fade.in, .slide.in, etc }}
+ </section>
- <!-- Modal
- ================================================== -->
- <section id="modals">
- <div class="page-header">
- <h1>{{_i}}Modals{{/i}} <small>bootstrap-modal.js</small></h1>
- </div>
+ <!-- Modal
+ ================================================== -->
+ <section id="modals">
+ <div class="page-header">
+ <h1>{{_i}}Modals{{/i}} <small>bootstrap-modal.js</small></h1>
+ </div>
- <h2>{{_i}}Examples{{/i}}</h2>
- <p>{{_i}}Modals are streamlined, but flexible, dialog prompts with the minimum required functionality and smart defaults.{{/i}}</p>
+ <h2>{{_i}}Examples{{/i}}</h2>
+ <p>{{_i}}Modals are streamlined, but flexible, dialog prompts with the minimum required functionality and smart defaults.{{/i}}</p>
- <h3>{{_i}}Static example{{/i}}</h3>
- <p>{{_i}}A rendered modal with header, body, and set of actions in the footer.{{/i}}</p>
- <div class="bs-docs-example" style="background-color: #f5f5f5;">
- <div class="modal" style="position: relative; top: auto; left: auto; margin: 0 auto 20px; z-index: 1; max-width: 100%;">
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal">&times;</button>
- <h3>{{_i}}Modal header{{/i}}</h3>
- </div>
- <div class="modal-body">
- <p>{{_i}}One fine body…{{/i}}</p>
- </div>
- <div class="modal-footer">
- <a href="#" class="btn">{{_i}}Close{{/i}}</a>
- <a href="#" class="btn btn-primary">{{_i}}Save changes{{/i}}</a>
+ <h3>{{_i}}Static example{{/i}}</h3>
+ <p>{{_i}}A rendered modal with header, body, and set of actions in the footer.{{/i}}</p>
+ <div class="bs-docs-example" style="background-color: #f5f5f5;">
+ <div class="modal" style="position: relative; top: auto; left: auto; margin: 0 auto 20px; z-index: 1; max-width: 100%;">
+ <div class="modal-header">
+ <button type="button" class="close" data-dismiss="modal">&times;</button>
+ <h3>{{_i}}Modal header{{/i}}</h3>
+ </div>
+ <div class="modal-body">
+ <p>{{_i}}One fine body…{{/i}}</p>
+ </div>
+ <div class="modal-footer">
+ <a href="#" class="btn">{{_i}}Close{{/i}}</a>
+ <a href="#" class="btn btn-primary">{{_i}}Save changes{{/i}}</a>
+ </div>
</div>
- </div>
- </div>{{! /example }}
+ </div>{{! /example }}
<pre class="prettyprint linenums">
&lt;div class="modal hide fade"&gt;
&lt;div class="modal-header"&gt;
@@ -120,43 +123,43 @@
&lt;/div&gt;
</pre>
- <h3>{{_i}}Live demo{{/i}}</h3>
- <p>{{_i}}Toggle a modal via javascript by clicking the button below. It will slide down and fade in from the top of the page.{{/i}}</p>
- <!-- sample modal content -->
- <div id="myModal" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal">&times;</button>
- <h3 id="myModalLabel">{{_i}}Modal Heading{{/i}}</h3>
- </div>
- <div class="modal-body">
- <h4>{{_i}}Text in a modal{{/i}}</h4>
- <p>Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem.</p>
-
- <h4>{{_i}}Popover in a modal{{/i}}</h4>
- <p>{{_i}}This <a href="#" role="button" class="btn popover-test" title="A Title" data-content="And here's some amazing content. It's very engaging. right?">button</a> should trigger a popover on hover.{{/i}}</p>
-
- <h4>{{_i}}Tooltips in a modal{{/i}}</h4>
- <p>{{_i}}<a href="#" class="tooltip-test" title="Tooltip">This link</a> and <a href="#" class="tooltip-test" title="Tooltip">that link</a> should have tooltips on hover.{{/i}}</p>
-
- <hr>
-
- <h4>{{_i}}Overflowing text to show optional scrollbar{{/i}}</h4>
- <p>{{_i}}We set a fixed <code>max-height</code> on the <code>.modal-body</code>. Watch it overflow with all this extra lorem ipsum text we've included.{{/i}}</p>
- <p>Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.</p>
- <p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.</p>
- <p>Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla.</p>
- <p>Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.</p>
- <p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.</p>
- <p>Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla.</p>
- </div>
- <div class="modal-footer">
- <a href="#" role="button" class="btn" data-dismiss="modal" >{{_i}}Close{{/i}}</a>
- <a href="#" role="button" class="btn btn-primary">{{_i}}Save changes{{/i}}</a>
+ <h3>{{_i}}Live demo{{/i}}</h3>
+ <p>{{_i}}Toggle a modal via javascript by clicking the button below. It will slide down and fade in from the top of the page.{{/i}}</p>
+ <!-- sample modal content -->
+ <div id="myModal" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
+ <div class="modal-header">
+ <button type="button" class="close" data-dismiss="modal">&times;</button>
+ <h3 id="myModalLabel">{{_i}}Modal Heading{{/i}}</h3>
+ </div>
+ <div class="modal-body">
+ <h4>{{_i}}Text in a modal{{/i}}</h4>
+ <p>Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem.</p>
+
+ <h4>{{_i}}Popover in a modal{{/i}}</h4>
+ <p>{{_i}}This <a href="#" role="button" class="btn popover-test" title="A Title" data-content="And here's some amazing content. It's very engaging. right?">button</a> should trigger a popover on hover.{{/i}}</p>
+
+ <h4>{{_i}}Tooltips in a modal{{/i}}</h4>
+ <p>{{_i}}<a href="#" class="tooltip-test" title="Tooltip">This link</a> and <a href="#" class="tooltip-test" title="Tooltip">that link</a> should have tooltips on hover.{{/i}}</p>
+
+ <hr>
+
+ <h4>{{_i}}Overflowing text to show optional scrollbar{{/i}}</h4>
+ <p>{{_i}}We set a fixed <code>max-height</code> on the <code>.modal-body</code>. Watch it overflow with all this extra lorem ipsum text we've included.{{/i}}</p>
+ <p>Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.</p>
+ <p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.</p>
+ <p>Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla.</p>
+ <p>Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.</p>
+ <p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.</p>
+ <p>Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla.</p>
+ </div>
+ <div class="modal-footer">
+ <a href="#" role="button" class="btn" data-dismiss="modal" >{{_i}}Close{{/i}}</a>
+ <a href="#" role="button" class="btn btn-primary">{{_i}}Save changes{{/i}}</a>
+ </div>
</div>
- </div>
- <div class="bs-docs-example" style="padding-bottom: 24px;">
- <a data-toggle="modal" href="#myModal" class="btn btn-primary btn-large">{{_i}}Launch demo modal{{/i}}</a>
- </div>{{! /example }}
+ <div class="bs-docs-example" style="padding-bottom: 24px;">
+ <a data-toggle="modal" href="#myModal" class="btn btn-primary btn-large">{{_i}}Launch demo modal{{/i}}</a>
+ </div>{{! /example }}
<pre class="prettyprint linenums">
&lt;-- Button to trigger modal --&gt;
&lt;a href="#myModal" role="button" class="btn" data-toggle="modal"&gt;{{_i}}Launch demo modal{{/i}}&lt;/a&gt;
@@ -178,214 +181,215 @@
</pre>
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h2>{{_i}}Usage{{/i}}</h2>
+ <h2>{{_i}}Usage{{/i}}</h2>
- <h3>{{_i}}Via data attributes{{/i}}</h3>
- <p>{{_i}}Activate a modal without writing javascript. Set <code>data-toggle="modal"</code> on a controller element, like a button, along with a <code>data-target="#foo"</code> or <code>href="#foo"</code> to target a specific modal to toggle.{{/i}}</p>
+ <h3>{{_i}}Via data attributes{{/i}}</h3>
+ <p>{{_i}}Activate a modal without writing javascript. Set <code>data-toggle="modal"</code> on a controller element, like a button, along with a <code>data-target="#foo"</code> or <code>href="#foo"</code> to target a specific modal to toggle.{{/i}}</p>
<pre class="prettyprint linenums">
&lt;button type="button" data-toggle="modal" data-target="#myModal"&gt;Launch modal&lt;/button&gt;
</pre>
- <h3>{{_i}}Via javascript{{/i}}</h3>
- <p>{{_i}}Call a modal with id <code>myModal</code> with a single line of javascript:{{/i}}</p>
- <pre class="prettyprint linenums">$('#myModal').modal(options)</pre>
-
- <h3>{{_i}}Options{{/i}}</h3>
- <p>{{_i}}Options can be passed via data attributes or javascript. For data attributes, append the option name to <code>data-</code>, as in <code>data-backdrop=""</code>.{{/i}}</p>
- <table class="table table-bordered table-striped">
- <thead>
- <tr>
- <th style="width: 100px;">{{_i}}Name{{/i}}</th>
- <th style="width: 50px;">{{_i}}type{{/i}}</th>
- <th style="width: 50px;">{{_i}}default{{/i}}</th>
- <th>{{_i}}description{{/i}}</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>{{_i}}backdrop{{/i}}</td>
- <td>{{_i}}boolean{{/i}}</td>
- <td>{{_i}}true{{/i}}</td>
- <td>{{_i}}Includes a modal-backdrop element. Alternatively, specify <code>static</code> for a backdrop which doesn't close the modal on click.{{/i}}</td>
- </tr>
- <tr>
- <td>{{_i}}keyboard{{/i}}</td>
- <td>{{_i}}boolean{{/i}}</td>
- <td>{{_i}}true{{/i}}</td>
- <td>{{_i}}Closes the modal when escape key is pressed{{/i}}</td>
- </tr>
- <tr>
- <td>{{_i}}show{{/i}}</td>
- <td>{{_i}}boolean{{/i}}</td>
- <td>{{_i}}true{{/i}}</td>
- <td>{{_i}}Shows the modal when initialized.{{/i}}</td>
- </tr>
- <tr>
- <td>{{_i}}remote{{/i}}</td>
- <td>{{_i}}path{{/i}}</td>
- <td>{{_i}}false{{/i}}</td>
- <td><p>{{_i}}If a remote url is provided, content will be loaded via jQuery's <code>load</code> method and injected into the <code>.modal-body</code>. If you're using the data api, you may alternatively use the <code>href</code> tag to specify the remote source. An example of this is shown below:{{/i}}</p>
- <pre class="prettyprint linenums"><code>&lt;a data-toggle="modal" href="remote.html" data-target="#modal"&gt;click me&lt;/a&gt;</code></pre></td>
- </tr>
- </tbody>
- </table>
-
- <h3{{_i}}>Methods{{/i}}</h3>
- <h4>.modal({{_i}}options{{/i}})</h4>
- <p>{{_i}}Activates your content as a modal. Accepts an optional options <code>object</code>.{{/i}}</p>
+ <h3>{{_i}}Via javascript{{/i}}</h3>
+ <p>{{_i}}Call a modal with id <code>myModal</code> with a single line of javascript:{{/i}}</p>
+ <pre class="prettyprint linenums">$('#myModal').modal(options)</pre>
+
+ <h3>{{_i}}Options{{/i}}</h3>
+ <p>{{_i}}Options can be passed via data attributes or javascript. For data attributes, append the option name to <code>data-</code>, as in <code>data-backdrop=""</code>.{{/i}}</p>
+ <table class="table table-bordered table-striped">
+ <thead>
+ <tr>
+ <th style="width: 100px;">{{_i}}Name{{/i}}</th>
+ <th style="width: 50px;">{{_i}}type{{/i}}</th>
+ <th style="width: 50px;">{{_i}}default{{/i}}</th>
+ <th>{{_i}}description{{/i}}</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{_i}}backdrop{{/i}}</td>
+ <td>{{_i}}boolean{{/i}}</td>
+ <td>{{_i}}true{{/i}}</td>
+ <td>{{_i}}Includes a modal-backdrop element. Alternatively, specify <code>static</code> for a backdrop which doesn't close the modal on click.{{/i}}</td>
+ </tr>
+ <tr>
+ <td>{{_i}}keyboard{{/i}}</td>
+ <td>{{_i}}boolean{{/i}}</td>
+ <td>{{_i}}true{{/i}}</td>
+ <td>{{_i}}Closes the modal when escape key is pressed{{/i}}</td>
+ </tr>
+ <tr>
+ <td>{{_i}}show{{/i}}</td>
+ <td>{{_i}}boolean{{/i}}</td>
+ <td>{{_i}}true{{/i}}</td>
+ <td>{{_i}}Shows the modal when initialized.{{/i}}</td>
+ </tr>
+ <tr>
+ <td>{{_i}}remote{{/i}}</td>
+ <td>{{_i}}path{{/i}}</td>
+ <td>{{_i}}false{{/i}}</td>
+ <td><p>{{_i}}If a remote url is provided, content will be loaded via jQuery's <code>load</code> method and injected into the <code>.modal-body</code>. If you're using the data api, you may alternatively use the <code>href</code> tag to specify the remote source. An example of this is shown below:{{/i}}</p>
+<pre class="prettyprint linenums"><code>&lt;a data-toggle="modal" href="remote.html" data-target="#modal"&gt;click me&lt;/a&gt;</code></pre></td>
+ </tr>
+ </tbody>
+ </table>
+
+ <h3{{_i}}>Methods{{/i}}</h3>
+ <h4>.modal({{_i}}options{{/i}})</h4>
+ <p>{{_i}}Activates your content as a modal. Accepts an optional options <code>object</code>.{{/i}}</p>
<pre class="prettyprint linenums">
$('#myModal').modal({
keyboard: false
})</pre>
- <h4>.modal('toggle')</h4>
- <p>{{_i}}Manually toggles a modal.{{/i}}</p>
- <pre class="prettyprint linenums">$('#myModal').modal('toggle')</pre>
- <h4>.modal('show')</h4>
- <p>{{_i}}Manually opens a modal.{{/i}}</p>
- <pre class="prettyprint linenums">$('#myModal').modal('show')</pre>
- <h4>.modal('hide')</h4>
- <p>{{_i}}Manually hides a modal.{{/i}}</p>
- <pre class="prettyprint linenums">$('#myModal').modal('hide')</pre>
- <h3>{{_i}}Events{{/i}}</h3>
- <p>{{_i}}Bootstrap's modal class exposes a few events for hooking into modal functionality.{{/i}}</p>
- <table class="table table-bordered table-striped">
- <thead>
- <tr>
- <th style="width: 150px;">{{_i}}Event{{/i}}</th>
- <th>{{_i}}Description{{/i}}</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>{{_i}}show{{/i}}</td>
- <td>{{_i}}This event fires immediately when the <code>show</code> instance method is called.{{/i}}</td>
- </tr>
- <tr>
- <td>{{_i}}shown{{/i}}</td>
- <td>{{_i}}This event is fired when the modal has been made visible to the user (will wait for css transitions to complete).{{/i}}</td>
- </tr>
- <tr>
- <td>{{_i}}hide{{/i}}</td>
- <td>{{_i}}This event is fired immediately when the <code>hide</code> instance method has been called.{{/i}}</td>
- </tr>
- <tr>
- <td>{{_i}}hidden{{/i}}</td>
- <td>{{_i}}This event is fired when the modal has finished being hidden from the user (will wait for css transitions to complete).{{/i}}</td>
- </tr>
- </tbody>
- </table>
+ <h4>.modal('toggle')</h4>
+ <p>{{_i}}Manually toggles a modal.{{/i}}</p>
+ <pre class="prettyprint linenums">$('#myModal').modal('toggle')</pre>
+ <h4>.modal('show')</h4>
+ <p>{{_i}}Manually opens a modal.{{/i}}</p>
+ <pre class="prettyprint linenums">$('#myModal').modal('show')</pre>
+ <h4>.modal('hide')</h4>
+ <p>{{_i}}Manually hides a modal.{{/i}}</p>
+ <pre class="prettyprint linenums">$('#myModal').modal('hide')</pre>
+ <h3>{{_i}}Events{{/i}}</h3>
+ <p>{{_i}}Bootstrap's modal class exposes a few events for hooking into modal functionality.{{/i}}</p>
+ <table class="table table-bordered table-striped">
+ <thead>
+ <tr>
+ <th style="width: 150px;">{{_i}}Event{{/i}}</th>
+ <th>{{_i}}Description{{/i}}</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{_i}}show{{/i}}</td>
+ <td>{{_i}}This event fires immediately when the <code>show</code> instance method is called.{{/i}}</td>
+ </tr>
+ <tr>
+ <td>{{_i}}shown{{/i}}</td>
+ <td>{{_i}}This event is fired when the modal has been made visible to the user (will wait for css transitions to complete).{{/i}}</td>
+ </tr>
+ <tr>
+ <td>{{_i}}hide{{/i}}</td>
+ <td>{{_i}}This event is fired immediately when the <code>hide</code> instance method has been called.{{/i}}</td>
+ </tr>
+ <tr>
+ <td>{{_i}}hidden{{/i}}</td>
+ <td>{{_i}}This event is fired when the modal has finished being hidden from the user (will wait for css transitions to complete).{{/i}}</td>
+ </tr>
+ </tbody>
+ </table>
<pre class="prettyprint linenums">
$('#myModal').on('hidden', function () {
// {{_i}}do something…{{/i}}
-})</pre>
- </section>
-
-
-
- <!-- Dropdown
- ================================================== -->
- <section id="dropdowns">
- <div class="page-header">
- <h1>{{_i}}Dropdowns{{/i}} <small>bootstrap-dropdown.js</small></h1>
- </div>
-
-
- <h2>{{_i}}Examples{{/i}}</h2>
- <p>{{_i}}Add dropdown menus to nearly anything with this simple plugin, including the navbar, tabs, and pills.{{/i}}</p>
-
- <h3>{{_i}}Within a navbar{{/i}}</h3>
- <div class="bs-docs-example">
- <div id="navbar-example" class="navbar navbar-static">
- <div class="navbar-inner">
- <div class="container" style="width: auto;">
- <a class="brand" href="#">{{_i}}Project Name{{/i}}</a>
- <ul class="nav" role="navigation">
- <li class="dropdown">
- <a id="drop1" href="#" role="button" class="dropdown-toggle" data-toggle="dropdown">{{_i}}Dropdown{{/i}} <b class="caret"></b></a>
- <ul class="dropdown-menu" role="menu" aria-labelledby="drop1">
- <li><a tabindex="-1" href="http://google.com">{{_i}}Action{{/i}}</a></li>
- <li><a tabindex="-1" href="#anotherAction">{{_i}}Another action{{/i}}</a></li>
- <li><a tabindex="-1" href="#">{{_i}}Something else here{{/i}}</a></li>
- <li class="divider"></li>
- <li><a tabindex="-1" href="#">{{_i}}Separated link{{/i}}</a></li>
- </ul>
- </li>
- <li class="dropdown">
- <a href="#" id="drop2" role="button" class="dropdown-toggle" data-toggle="dropdown">{{_i}}Dropdown 2 {{/i}}<b class="caret"></b></a>
- <ul class="dropdown-menu" role="menu" aria-labelledby="drop2">
- <li><a tabindex="-1" href="#">{{_i}}Action{{/i}}</a></li>
- <li><a tabindex="-1" href="#">{{_i}}Another action{{/i}}</a></li>
- <li><a tabindex="-1" href="#">{{_i}}Something else here{{/i}}</a></li>
- <li class="divider"></li>
- <li><a tabindex="-1" href="#">{{_i}}Separated link{{/i}}</a></li>
- </ul>
- </li>
+})
+</pre>
+ </section>
+
+
+
+ <!-- Dropdown
+ ================================================== -->
+ <section id="dropdowns">
+ <div class="page-header">
+ <h1>{{_i}}Dropdowns{{/i}} <small>bootstrap-dropdown.js</small></h1>
+ </div>
+
+
+ <h2>{{_i}}Examples{{/i}}</h2>
+ <p>{{_i}}Add dropdown menus to nearly anything with this simple plugin, including the navbar, tabs, and pills.{{/i}}</p>
+
+ <h3>{{_i}}Within a navbar{{/i}}</h3>
+ <div class="bs-docs-example">
+ <div id="navbar-example" class="navbar navbar-static">
+ <div class="navbar-inner">
+ <div class="container" style="width: auto;">
+ <a class="brand" href="#">{{_i}}Project Name{{/i}}</a>
+ <ul class="nav" role="navigation">
+ <li class="dropdown">
+ <a id="drop1" href="#" role="button" class="dropdown-toggle" data-toggle="dropdown">{{_i}}Dropdown{{/i}} <b class="caret"></b></a>
+ <ul class="dropdown-menu" role="menu" aria-labelledby="drop1">
+ <li><a tabindex="-1" href="http://google.com">{{_i}}Action{{/i}}</a></li>
+ <li><a tabindex="-1" href="#anotherAction">{{_i}}Another action{{/i}}</a></li>
+ <li><a tabindex="-1" href="#">{{_i}}Something else here{{/i}}</a></li>
+ <li class="divider"></li>
+ <li><a tabindex="-1" href="#">{{_i}}Separated link{{/i}}</a></li>
+ </ul>
+ </li>
+ <li class="dropdown">
+ <a href="#" id="drop2" role="button" class="dropdown-toggle" data-toggle="dropdown">{{_i}}Dropdown 2 {{/i}}<b class="caret"></b></a>
+ <ul class="dropdown-menu" role="menu" aria-labelledby="drop2">
+ <li><a tabindex="-1" href="#">{{_i}}Action{{/i}}</a></li>
+ <li><a tabindex="-1" href="#">{{_i}}Another action{{/i}}</a></li>
+ <li><a tabindex="-1" href="#">{{_i}}Something else here{{/i}}</a></li>
+ <li class="divider"></li>
+ <li><a tabindex="-1" href="#">{{_i}}Separated link{{/i}}</a></li>
+ </ul>
+ </li>
+ </ul>
+ <ul class="nav pull-right">
+ <li id="fat-menu" class="dropdown">
+ <a href="#" id="drop3" role="button" class="dropdown-toggle" data-toggle="dropdown">{{_i}}Dropdown 3{{/i}} <b class="caret"></b></a>
+ <ul class="dropdown-menu" role="menu" aria-labelledby="drop3">
+ <li><a tabindex="-1" href="#">{{_i}}Action{{/i}}</a></li>
+ <li><a tabindex="-1" href="#">{{_i}}Another action{{/i}}</a></li>
+ <li><a tabindex="-1" href="#">{{_i}}Something else here{{/i}}</a></li>
+ <li class="divider"></li>
+ <li><a tabindex="-1" href="#">{{_i}}Separated link{{/i}}</a></li>
+ </ul>
+ </li>
+ </ul>
+ </div>
+ </div>
+ </div> <!-- /navbar-example -->
+ </div> {{! /example }}
+
+ <h3>{{_i}}Within tabs{{/i}}</h3>
+ <div class="bs-docs-example">
+ <ul class="nav nav-pills">
+ <li class="active"><a href="#">{{_i}}Regular link{{/i}}</a></li>
+ <li class="dropdown">
+ <a class="dropdown-toggle" id="drop4" role="button" data-toggle="dropdown" href="#">{{_i}}Dropdown{{/i}} <b class="caret"></b></a>
+ <ul id="menu1" class="dropdown-menu" role="menu" aria-labelledby="drop4">
+ <li><a tabindex="-1" href="#">{{_i}}Action{{/i}}</a></li>
+ <li><a tabindex="-1" href="#">{{_i}}Another action{{/i}}</a></li>
+ <li><a tabindex="-1" href="#">{{_i}}Something else here{{/i}}</a></li>
+ <li class="divider"></li>
+ <li><a tabindex="-1" href="#">{{_i}}Separated link{{/i}}</a></li>
</ul>
- <ul class="nav pull-right">
- <li id="fat-menu" class="dropdown">
- <a href="#" id="drop3" role="button" class="dropdown-toggle" data-toggle="dropdown">{{_i}}Dropdown 3{{/i}} <b class="caret"></b></a>
- <ul class="dropdown-menu" role="menu" aria-labelledby="drop3">
- <li><a tabindex="-1" href="#">{{_i}}Action{{/i}}</a></li>
- <li><a tabindex="-1" href="#">{{_i}}Another action{{/i}}</a></li>
- <li><a tabindex="-1" href="#">{{_i}}Something else here{{/i}}</a></li>
- <li class="divider"></li>
- <li><a tabindex="-1" href="#">{{_i}}Separated link{{/i}}</a></li>
- </ul>
- </li>
+ </li>
+ <li class="dropdown">
+ <a class="dropdown-toggle" id="drop5" role="button" data-toggle="dropdown" href="#">{{_i}}Dropdown 2{{/i}} <b class="caret"></b></a>
+ <ul id="menu2" class="dropdown-menu" role="menu" aria-labelledby="drop5">
+ <li><a tabindex="-1" href="#">{{_i}}Action{{/i}}</a></li>
+ <li><a tabindex="-1" href="#">{{_i}}Another action{{/i}}</a></li>
+ <li><a tabindex="-1" href="#">{{_i}}Something else here{{/i}}</a></li>
+ <li class="divider"></li>
+ <li><a tabindex="-1" href="#">{{_i}}Separated link{{/i}}</a></li>
</ul>
- </div>
- </div>
- </div> <!-- /navbar-example -->
- </div> {{! /example }}
-
- <h3>{{_i}}Within tabs{{/i}}</h3>
- <div class="bs-docs-example">
- <ul class="nav nav-pills">
- <li class="active"><a href="#">{{_i}}Regular link{{/i}}</a></li>
- <li class="dropdown">
- <a class="dropdown-toggle" id="drop4" role="button" data-toggle="dropdown" href="#">{{_i}}Dropdown{{/i}} <b class="caret"></b></a>
- <ul id="menu1" class="dropdown-menu" role="menu" aria-labelledby="drop4">
- <li><a tabindex="-1" href="#">{{_i}}Action{{/i}}</a></li>
- <li><a tabindex="-1" href="#">{{_i}}Another action{{/i}}</a></li>
- <li><a tabindex="-1" href="#">{{_i}}Something else here{{/i}}</a></li>
- <li class="divider"></li>
- <li><a tabindex="-1" href="#">{{_i}}Separated link{{/i}}</a></li>
- </ul>
- </li>
- <li class="dropdown">
- <a class="dropdown-toggle" id="drop5" role="button" data-toggle="dropdown" href="#">{{_i}}Dropdown 2{{/i}} <b class="caret"></b></a>
- <ul id="menu2" class="dropdown-menu" role="menu" aria-labelledby="drop5">
- <li><a tabindex="-1" href="#">{{_i}}Action{{/i}}</a></li>
- <li><a tabindex="-1" href="#">{{_i}}Another action{{/i}}</a></li>
- <li><a tabindex="-1" href="#">{{_i}}Something else here{{/i}}</a></li>
- <li class="divider"></li>
- <li><a tabindex="-1" href="#">{{_i}}Separated link{{/i}}</a></li>
- </ul>
- </li>
- <li class="dropdown">
- <a class="dropdown-toggle" id="drop5" role="button" data-toggle="dropdown" href="#">{{_i}}Dropdown 3{{/i}} <b class="caret"></b></a>
- <ul id="menu3" class="dropdown-menu" role="menu" aria-labelledby="drop5">
- <li><a tabindex="-1" href="#">{{_i}}Action{{/i}}</a></li>
- <li><a tabindex="-1" href="#">{{_i}}Another action{{/i}}</a></li>
- <li><a tabindex="-1" href="#">{{_i}}Something else here{{/i}}</a></li>
- <li class="divider"></li>
- <li><a tabindex="-1" href="#">{{_i}}Separated link{{/i}}</a></li>
- </ul>
- </li>
- </ul> <!-- /tabs -->
- </div> {{! /example }}
-
-
- <hr class="bs-docs-separator">
-
-
- <h2>{{_i}}Usage{{/i}}</h2>
-
- <h3>{{_i}}Via data attributes{{/i}}</h3>
- <p>{{_i}}Add <code>data-toggle="dropdown"</code> to a link or button to toggle a dropdown.{{/i}}</p>
+ </li>
+ <li class="dropdown">
+ <a class="dropdown-toggle" id="drop5" role="button" data-toggle="dropdown" href="#">{{_i}}Dropdown 3{{/i}} <b class="caret"></b></a>
+ <ul id="menu3" class="dropdown-menu" role="menu" aria-labelledby="drop5">
+ <li><a tabindex="-1" href="#">{{_i}}Action{{/i}}</a></li>
+ <li><a tabindex="-1" href="#">{{_i}}Another action{{/i}}</a></li>
+ <li><a tabindex="-1" href="#">{{_i}}Something else here{{/i}}</a></li>
+ <li class="divider"></li>
+ <li><a tabindex="-1" href="#">{{_i}}Separated link{{/i}}</a></li>
+ </ul>
+ </li>
+ </ul> <!-- /tabs -->
+ </div> {{! /example }}
+
+
+ <hr class="bs-docs-separator">
+
+
+ <h2>{{_i}}Usage{{/i}}</h2>
+
+ <h3>{{_i}}Via data attributes{{/i}}</h3>
+ <p>{{_i}}Add <code>data-toggle="dropdown"</code> to a link or button to toggle a dropdown.{{/i}}</p>
<pre class="prettyprint linenums">
&lt;div class="dropdown"&gt;
&lt;a class="dropdown-toggle" href="#"&gt;Dropdown trigger&lt;/a&gt;
@@ -394,7 +398,7 @@ $('#myModal').on('hidden', function () {
&lt;/ul&gt;
&lt;/div&gt;
</pre>
- <p>{{_i}}To keep URLs intact, use the <code>data-target</code> attribute instead of <code>href="#"</code>.{{/i}}</p>
+ <p>{{_i}}To keep URLs intact, use the <code>data-target</code> attribute instead of <code>href="#"</code>.{{/i}}</p>
<pre class="prettyprint linenums">
&lt;div class="dropdown"&gt;
&lt;a class="dropdown-toggle" id="dLabel" role="button" data-toggle="dropdown" data-target="#" href="/page.html"&gt;
@@ -407,185 +411,185 @@ $('#myModal').on('hidden', function () {
&lt;/div&gt;
</pre>
- <h3>{{_i}}Via javascript{{/i}}</h3>
- <p>{{_i}}Call the dropdowns via javascript:{{/i}}</p>
- <pre class="prettyprint linenums">$('.dropdown-toggle').dropdown()</pre>
-
- <h3>{{_i}}Options{{/i}}</h3>
- <p><em>{{_i}}None{{/i}}</em></p>
-
- <h3>{{_i}}Methods{{/i}}</h3>
- <h4>$().dropdown()</h4>
- <p>{{_i}}A programatic api for activating menus for a given navbar or tabbed navigation.{{/i}}</p>
- </section>
-
-
-
- <!-- ScrollSpy
- ================================================== -->
- <section id="scrollspy">
- <div class="page-header">
- <h1>{{_i}}ScrollSpy{{/i}} <small>bootstrap-scrollspy.js</small></h1>
- </div>
-
-
- <h2>{{_i}}Example in navbar{{/i}}</h2>
- <p>{{_i}}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.{{/i}}</p>
- <div class="bs-docs-example">
- <div id="navbarExample" class="navbar navbar-static">
- <div class="navbar-inner">
- <div class="container" style="width: auto;">
- <a class="brand" href="#">{{_i}}Project Name{{/i}}</a>
- <ul class="nav">
- <li><a href="#fat">@fat</a></li>
- <li><a href="#mdo">@mdo</a></li>
- <li class="dropdown">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown">{{_i}}Dropdown{{/i}} <b class="caret"></b></a>
- <ul class="dropdown-menu">
- <li><a href="#one">{{_i}}one{{/i}}</a></li>
- <li><a href="#two">{{_i}}two{{/i}}</a></li>
- <li class="divider"></li>
- <li><a href="#three">{{_i}}three{{/i}}</a></li>
- </ul>
- </li>
- </ul>
+ <h3>{{_i}}Via javascript{{/i}}</h3>
+ <p>{{_i}}Call the dropdowns via javascript:{{/i}}</p>
+ <pre class="prettyprint linenums">$('.dropdown-toggle').dropdown()</pre>
+
+ <h3>{{_i}}Options{{/i}}</h3>
+ <p><em>{{_i}}None{{/i}}</em></p>
+
+ <h3>{{_i}}Methods{{/i}}</h3>
+ <h4>$().dropdown()</h4>
+ <p>{{_i}}A programatic api for activating menus for a given navbar or tabbed navigation.{{/i}}</p>
+ </section>
+
+
+
+ <!-- ScrollSpy
+ ================================================== -->
+ <section id="scrollspy">
+ <div class="page-header">
+ <h1>{{_i}}ScrollSpy{{/i}} <small>bootstrap-scrollspy.js</small></h1>
+ </div>
+
+
+ <h2>{{_i}}Example in navbar{{/i}}</h2>
+ <p>{{_i}}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.{{/i}}</p>
+ <div class="bs-docs-example">
+ <div id="navbarExample" class="navbar navbar-static">
+ <div class="navbar-inner">
+ <div class="container" style="width: auto;">
+ <a class="brand" href="#">{{_i}}Project Name{{/i}}</a>
+ <ul class="nav">
+ <li><a href="#fat">@fat</a></li>
+ <li><a href="#mdo">@mdo</a></li>
+ <li class="dropdown">
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">{{_i}}Dropdown{{/i}} <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+ <li><a href="#one">{{_i}}one{{/i}}</a></li>
+ <li><a href="#two">{{_i}}two{{/i}}</a></li>
+ <li class="divider"></li>
+ <li><a href="#three">{{_i}}three{{/i}}</a></li>
+ </ul>
+ </li>
+ </ul>
+ </div>
</div>
</div>
- </div>
- <div data-spy="scroll" data-target="#navbarExample" data-offset="0" class="scrollspy-example">
- <h4 id="fat">@fat</h4>
- <p>Ad leggings keytar, brunch id art party dolor labore. Pitchfork yr enim lo-fi before they sold out qui. Tumblr farm-to-table bicycle rights whatever. Anim keffiyeh carles cardigan. Velit seitan mcsweeney's photo booth 3 wolf moon irure. Cosby sweater lomo jean shorts, williamsburg hoodie minim qui you probably haven't heard of them et cardigan trust fund culpa biodiesel wes anderson aesthetic. Nihil tattooed accusamus, cred irony biodiesel keffiyeh artisan ullamco consequat.</p>
- <h4 id="mdo">@mdo</h4>
- <p>Veniam marfa mustache skateboard, adipisicing fugiat velit pitchfork beard. Freegan beard aliqua cupidatat mcsweeney's vero. Cupidatat four loko nisi, ea helvetica nulla carles. Tattooed cosby sweater food truck, mcsweeney's quis non freegan vinyl. Lo-fi wes anderson +1 sartorial. Carles non aesthetic exercitation quis gentrify. Brooklyn adipisicing craft beer vice keytar deserunt.</p>
- <h4 id="one">one</h4>
- <p>Occaecat commodo aliqua delectus. Fap craft beer deserunt skateboard ea. Lomo bicycle rights adipisicing banh mi, velit ea sunt next level locavore single-origin coffee in magna veniam. High life id vinyl, echo park consequat quis aliquip banh mi pitchfork. Vero VHS est adipisicing. Consectetur nisi DIY minim messenger bag. Cred ex in, sustainable delectus consectetur fanny pack iphone.</p>
- <h4 id="two">two</h4>
- <p>In incididunt echo park, officia deserunt mcsweeney's proident master cleanse thundercats sapiente veniam. Excepteur VHS elit, proident shoreditch +1 biodiesel laborum craft beer. Single-origin coffee wayfarers irure four loko, cupidatat terry richardson master cleanse. Assumenda you probably haven't heard of them art party fanny pack, tattooed nulla cardigan tempor ad. Proident wolf nesciunt sartorial keffiyeh eu banh mi sustainable. Elit wolf voluptate, lo-fi ea portland before they sold out four loko. Locavore enim nostrud mlkshk brooklyn nesciunt.</p>
- <h4 id="three">three</h4>
- <p>Ad leggings keytar, brunch id art party dolor labore. Pitchfork yr enim lo-fi before they sold out qui. Tumblr farm-to-table bicycle rights whatever. Anim keffiyeh carles cardigan. Velit seitan mcsweeney's photo booth 3 wolf moon irure. Cosby sweater lomo jean shorts, williamsburg hoodie minim qui you probably haven't heard of them et cardigan trust fund culpa biodiesel wes anderson aesthetic. Nihil tattooed accusamus, cred irony biodiesel keffiyeh artisan ullamco consequat.</p>
- <p>Keytar twee blog, culpa messenger bag marfa whatever delectus food truck. Sapiente synth id assumenda. Locavore sed helvetica cliche irony, thundercats you probably haven't heard of them consequat hoodie gluten-free lo-fi fap aliquip. Labore elit placeat before they sold out, terry richardson proident brunch nesciunt quis cosby sweater pariatur keffiyeh ut helvetica artisan. Cardigan craft beer seitan readymade velit. VHS chambray laboris tempor veniam. Anim mollit minim commodo ullamco thundercats.
- </p>
- </div>
- </div>{{! /example }}
+ <div data-spy="scroll" data-target="#navbarExample" data-offset="0" class="scrollspy-example">
+ <h4 id="fat">@fat</h4>
+ <p>Ad leggings keytar, brunch id art party dolor labore. Pitchfork yr enim lo-fi before they sold out qui. Tumblr farm-to-table bicycle rights whatever. Anim keffiyeh carles cardigan. Velit seitan mcsweeney's photo booth 3 wolf moon irure. Cosby sweater lomo jean shorts, williamsburg hoodie minim qui you probably haven't heard of them et cardigan trust fund culpa biodiesel wes anderson aesthetic. Nihil tattooed accusamus, cred irony biodiesel keffiyeh artisan ullamco consequat.</p>
+ <h4 id="mdo">@mdo</h4>
+ <p>Veniam marfa mustache skateboard, adipisicing fugiat velit pitchfork beard. Freegan beard aliqua cupidatat mcsweeney's vero. Cupidatat four loko nisi, ea helvetica nulla carles. Tattooed cosby sweater food truck, mcsweeney's quis non freegan vinyl. Lo-fi wes anderson +1 sartorial. Carles non aesthetic exercitation quis gentrify. Brooklyn adipisicing craft beer vice keytar deserunt.</p>
+ <h4 id="one">one</h4>
+ <p>Occaecat commodo aliqua delectus. Fap craft beer deserunt skateboard ea. Lomo bicycle rights adipisicing banh mi, velit ea sunt next level locavore single-origin coffee in magna veniam. High life id vinyl, echo park consequat quis aliquip banh mi pitchfork. Vero VHS est adipisicing. Consectetur nisi DIY minim messenger bag. Cred ex in, sustainable delectus consectetur fanny pack iphone.</p>
+ <h4 id="two">two</h4>
+ <p>In incididunt echo park, officia deserunt mcsweeney's proident master cleanse thundercats sapiente veniam. Excepteur VHS elit, proident shoreditch +1 biodiesel laborum craft beer. Single-origin coffee wayfarers irure four loko, cupidatat terry richardson master cleanse. Assumenda you probably haven't heard of them art party fanny pack, tattooed nulla cardigan tempor ad. Proident wolf nesciunt sartorial keffiyeh eu banh mi sustainable. Elit wolf voluptate, lo-fi ea portland before they sold out four loko. Locavore enim nostrud mlkshk brooklyn nesciunt.</p>
+ <h4 id="three">three</h4>
+ <p>Ad leggings keytar, brunch id art party dolor labore. Pitchfork yr enim lo-fi before they sold out qui. Tumblr farm-to-table bicycle rights whatever. Anim keffiyeh carles cardigan. Velit seitan mcsweeney's photo booth 3 wolf moon irure. Cosby sweater lomo jean shorts, williamsburg hoodie minim qui you probably haven't heard of them et cardigan trust fund culpa biodiesel wes anderson aesthetic. Nihil tattooed accusamus, cred irony biodiesel keffiyeh artisan ullamco consequat.</p>
+ <p>Keytar twee blog, culpa messenger bag marfa whatever delectus food truck. Sapiente synth id assumenda. Locavore sed helvetica cliche irony, thundercats you probably haven't heard of them consequat hoodie gluten-free lo-fi fap aliquip. Labore elit placeat before they sold out, terry richardson proident brunch nesciunt quis cosby sweater pariatur keffiyeh ut helvetica artisan. Cardigan craft beer seitan readymade velit. VHS chambray laboris tempor veniam. Anim mollit minim commodo ullamco thundercats.
+ </p>
+ </div>
+ </div>{{! /example }}
- <hr class="bs-docs-separator">
+ <hr class="bs-docs-separator">
- <h2>{{_i}}Usage{{/i}}</h2>
+ <h2>{{_i}}Usage{{/i}}</h2>
- <h3>{{_i}}Via data attributes{{/i}}</h3>
- <p>{{_i}}To easily add scrollspy behavior to your topbar navigation, just add <code>data-spy="scroll"</code> to the element you want to spy on (most typically this would be the body) and <code>data-target=".navbar"</code> to select which nav to use.{{/i}}</p>
- <pre class="prettyprint linenums">&lt;body data-spy="scroll" data-target=".navbar"&gt;...&lt;/body&gt;</pre>
+ <h3>{{_i}}Via data attributes{{/i}}</h3>
+ <p>{{_i}}To easily add scrollspy behavior to your topbar navigation, just add <code>data-spy="scroll"</code> to the element you want to spy on (most typically this would be the body) and <code>data-target=".navbar"</code> to select which nav to use.{{/i}}</p>
+ <pre class="prettyprint linenums">&lt;body data-spy="scroll" data-target=".navbar"&gt;...&lt;/body&gt;</pre>
- <h3>{{_i}}Via javascript{{/i}}</h3>
- <p>{{_i}}Call the scrollspy via javascript:{{/i}}</p>
- <pre class="prettyprint linenums">$('#navbar').scrollspy()</pre>
+ <h3>{{_i}}Via javascript{{/i}}</h3>
+ <p>{{_i}}Call the scrollspy via javascript:{{/i}}</p>
+ <pre class="prettyprint linenums">$('#navbar').scrollspy()</pre>
- <div class="alert alert-info">
- <strong>{{_i}}Heads up!{{/i}}</strong>
- {{_i}}Navbar links must have resolvable id targets. For example, a <code>&lt;a href="#home"&gt;home&lt;/a&gt;</code> must correspond to something in the dom like <code>&lt;div id="home"&gt;&lt;/div&gt;</code>.{{/i}}
- </div>
+ <div class="alert alert-info">
+ <strong>{{_i}}Heads up!{{/i}}</strong>
+ {{_i}}Navbar links must have resolvable id targets. For example, a <code>&lt;a href="#home"&gt;home&lt;/a&gt;</code> must correspond to something in the dom like <code>&lt;div id="home"&gt;&lt;/div&gt;</code>.{{/i}}
+ </div>
- <h3>{{_i}}Methods{{/i}}</h3>
- <h4>.scrollspy('refresh')</h4>
- <p>{{_i}}When using scrollspy in conjunction with adding or removing of elements from the DOM, you'll need to call the refresh method like so:{{/i}}</p>
+ <h3>{{_i}}Methods{{/i}}</h3>
+ <h4>.scrollspy('refresh')</h4>
+ <p>{{_i}}When using scrollspy in conjunction with adding or removing of elements from the DOM, you'll need to call the refresh method like so:{{/i}}</p>
<pre class="prettyprint linenums">
$('[data-spy="scroll"]').each(function () {
var $spy = $(this).scrollspy('refresh')
});
</pre>
- <h3>{{_i}}Options{{/i}}</h3>
- <p>{{_i}}Options can be passed via data attributes or javascript. For data attributes, append the option name to <code>data-</code>, as in <code>data-offset=""</code>.{{/i}}</p>
- <table class="table table-bordered table-striped">
- <thead>
- <tr>
- <th style="width: 100px;">{{_i}}Name{{/i}}</th>
- <th style="width: 100px;">{{_i}}type{{/i}}</th>
- <th style="width: 50px;">{{_i}}default{{/i}}</th>
- <th>{{_i}}description{{/i}}</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>{{_i}}offset{{/i}}</td>
- <td>{{_i}}number{{/i}}</td>
- <td>{{_i}}10{{/i}}</td>
- <td>{{_i}}Pixels to offset from top when calculating position of scroll.{{/i}}</td>
- </tr>
- </tbody>
- </table>
-
- <h3>{{_i}}Events{{/i}}</h3>
- <table class="table table-bordered table-striped">
- <thead>
- <tr>
- <th style="width: 150px;">{{_i}}Event{{/i}}</th>
- <th>{{_i}}Description{{/i}}</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>{{_i}}activate{{/i}}</td>
- <td>{{_i}}This event fires whenever a new item becomes activated by the scrollspy.{{/i}}</td>
- </tr>
- </tbody>
- </table>
- </section>
-
-
-
- <!-- Tabs
- ================================================== -->
- <section id="tabs">
- <div class="page-header">
- <h1>{{_i}}Togglable tabs{{/i}} <small>bootstrap-tab.js</small></h1>
- </div>
-
-
- <h2>{{_i}}Example tabs{{/i}}</h2>
- <p>{{_i}}Add quick, dynamic tab functionality to transiton through panes of local content, even via dropdown menus.{{/i}}</p>
- <div class="bs-docs-example">
- <ul id="myTab" class="nav nav-tabs">
- <li class="active"><a href="#home" data-toggle="tab">{{_i}}Home{{/i}}</a></li>
- <li><a href="#profile" data-toggle="tab">{{_i}}Profile{{/i}}</a></li>
- <li class="dropdown">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown">{{_i}}Dropdown{{/i}} <b class="caret"></b></a>
- <ul class="dropdown-menu">
- <li><a href="#dropdown1" data-toggle="tab">@fat</a></li>
- <li><a href="#dropdown2" data-toggle="tab">@mdo</a></li>
- </ul>
- </li>
- </ul>
- <div id="myTabContent" class="tab-content">
- <div class="tab-pane fade in active" id="home">
- <p>Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi, qui irure terry richardson ex squid. Aliquip placeat salvia cillum iphone. Seitan aliquip quis cardigan american apparel, butcher voluptate nisi qui.</p>
- </div>
- <div class="tab-pane fade" id="profile">
- <p>Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid. Exercitation +1 labore velit, blog sartorial PBR leggings next level wes anderson artisan four loko farm-to-table craft beer twee. Qui photo booth letterpress, commodo enim craft beer mlkshk aliquip jean shorts ullamco ad vinyl cillum PBR. Homo nostrud organic, assumenda labore aesthetic magna delectus mollit. Keytar helvetica VHS salvia yr, vero magna velit sapiente labore stumptown. Vegan fanny pack odio cillum wes anderson 8-bit, sustainable jean shorts beard ut DIY ethical culpa terry richardson biodiesel. Art party scenester stumptown, tumblr butcher vero sint qui sapiente accusamus tattooed echo park.</p>
- </div>
- <div class="tab-pane fade" id="dropdown1">
- <p>Etsy mixtape wayfarers, ethical wes anderson tofu before they sold out mcsweeney's organic lomo retro fanny pack lo-fi farm-to-table readymade. Messenger bag gentrify pitchfork tattooed craft beer, iphone skateboard locavore carles etsy salvia banksy hoodie helvetica. DIY synth PBR banksy irony. Leggings gentrify squid 8-bit cred pitchfork. Williamsburg banh mi whatever gluten-free, carles pitchfork biodiesel fixie etsy retro mlkshk vice blog. Scenester cred you probably haven't heard of them, vinyl craft beer blog stumptown. Pitchfork sustainable tofu synth chambray yr.</p>
- </div>
- <div class="tab-pane fade" id="dropdown2">
- <p>Trust fund seitan letterpress, keytar raw denim keffiyeh etsy art party before they sold out master cleanse gluten-free squid scenester freegan cosby sweater. Fanny pack portland seitan DIY, art party locavore wolf cliche high life echo park Austin. Cred vinyl keffiyeh DIY salvia PBR, banh mi before they sold out farm-to-table VHS viral locavore cosby sweater. Lomo wolf viral, mustache readymade thundercats keffiyeh craft beer marfa ethical. Wolf salvia freegan, sartorial keffiyeh echo park vegan.</p>
- </div>
+ <h3>{{_i}}Options{{/i}}</h3>
+ <p>{{_i}}Options can be passed via data attributes or javascript. For data attributes, append the option name to <code>data-</code>, as in <code>data-offset=""</code>.{{/i}}</p>
+ <table class="table table-bordered table-striped">
+ <thead>
+ <tr>
+ <th style="width: 100px;">{{_i}}Name{{/i}}</th>
+ <th style="width: 100px;">{{_i}}type{{/i}}</th>
+ <th style="width: 50px;">{{_i}}default{{/i}}</th>
+ <th>{{_i}}description{{/i}}</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{_i}}offset{{/i}}</td>
+ <td>{{_i}}number{{/i}}</td>
+ <td>{{_i}}10{{/i}}</td>
+ <td>{{_i}}Pixels to offset from top when calculating position of scroll.{{/i}}</td>
+ </tr>
+ </tbody>
+ </table>
+
+ <h3>{{_i}}Events{{/i}}</h3>
+ <table class="table table-bordered table-striped">
+ <thead>
+ <tr>
+ <th style="width: 150px;">{{_i}}Event{{/i}}</th>
+ <th>{{_i}}Description{{/i}}</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{_i}}activate{{/i}}</td>
+ <td>{{_i}}This event fires whenever a new item becomes activated by the scrollspy.{{/i}}</td>
+ </tr>
+ </tbody>
+ </table>
+ </section>
+
+
+
+ <!-- Tabs
+ ================================================== -->
+ <section id="tabs">
+ <div class="page-header">
+ <h1>{{_i}}Togglable tabs{{/i}} <small>bootstrap-tab.js</small></h1>
</div>
- </div>{{! /example }}
- <hr class="bs-docs-separator">
+ <h2>{{_i}}Example tabs{{/i}}</h2>
+ <p>{{_i}}Add quick, dynamic tab functionality to transiton through panes of local content, even via dropdown menus.{{/i}}</p>
+ <div class="bs-docs-example">
+ <ul id="myTab" class="nav nav-tabs">
+ <li class="active"><a href="#home" data-toggle="tab">{{_i}}Home{{/i}}</a></li>
+ <li><a href="#profile" data-toggle="tab">{{_i}}Profile{{/i}}</a></li>
+ <li class="dropdown">
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">{{_i}}Dropdown{{/i}} <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+ <li><a href="#dropdown1" data-toggle="tab">@fat</a></li>
+ <li><a href="#dropdown2" data-toggle="tab">@mdo</a></li>
+ </ul>
+ </li>
+ </ul>
+ <div id="myTabContent" class="tab-content">
+ <div class="tab-pane fade in active" id="home">
+ <p>Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi, qui irure terry richardson ex squid. Aliquip placeat salvia cillum iphone. Seitan aliquip quis cardigan american apparel, butcher voluptate nisi qui.</p>
+ </div>
+ <div class="tab-pane fade" id="profile">
+ <p>Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid. Exercitation +1 labore velit, blog sartorial PBR leggings next level wes anderson artisan four loko farm-to-table craft beer twee. Qui photo booth letterpress, commodo enim craft beer mlkshk aliquip jean shorts ullamco ad vinyl cillum PBR. Homo nostrud organic, assumenda labore aesthetic magna delectus mollit. Keytar helvetica VHS salvia yr, vero magna velit sapiente labore stumptown. Vegan fanny pack odio cillum wes anderson 8-bit, sustainable jean shorts beard ut DIY ethical culpa terry richardson biodiesel. Art party scenester stumptown, tumblr butcher vero sint qui sapiente accusamus tattooed echo park.</p>
+ </div>
+ <div class="tab-pane fade" id="dropdown1">
+ <p>Etsy mixtape wayfarers, ethical wes anderson tofu before they sold out mcsweeney's organic lomo retro fanny pack lo-fi farm-to-table readymade. Messenger bag gentrify pitchfork tattooed craft beer, iphone skateboard locavore carles etsy salvia banksy hoodie helvetica. DIY synth PBR banksy irony. Leggings gentrify squid 8-bit cred pitchfork. Williamsburg banh mi whatever gluten-free, carles pitchfork biodiesel fixie etsy retro mlkshk vice blog. Scenester cred you probably haven't heard of them, vinyl craft beer blog stumptown. Pitchfork sustainable tofu synth chambray yr.</p>
+ </div>
+ <div class="tab-pane fade" id="dropdown2">
+ <p>Trust fund seitan letterpress, keytar raw denim keffiyeh etsy art party before they sold out master cleanse gluten-free squid scenester freegan cosby sweater. Fanny pack portland seitan DIY, art party locavore wolf cliche high life echo park Austin. Cred vinyl keffiyeh DIY salvia PBR, banh mi before they sold out farm-to-table VHS viral locavore cosby sweater. Lomo wolf viral, mustache readymade thundercats keffiyeh craft beer marfa ethical. Wolf salvia freegan, sartorial keffiyeh echo park vegan.</p>
+ </div>
+ </div>
+ </div>{{! /example }}
+
+
+ <hr class="bs-docs-separator">
- <h2>{{_i}}Usage{{/i}}</h2>
- <p>{{_i}}Enable tabbable tabs via javascript (each tab needs to be activated individually):{{/i}}</p>
+ <h2>{{_i}}Usage{{/i}}</h2>
+ <p>{{_i}}Enable tabbable tabs via javascript (each tab needs to be activated individually):{{/i}}</p>
<pre class="prettyprint linenums">
$('#myTab a').click(function (e) {
e.preventDefault();
$(this).tab('show');
})</pre>
- <p>{{_i}}You can activate individual tabs in several ways:{{/i}}</p>
+ <p>{{_i}}You can activate individual tabs in several ways:{{/i}}</p>
<pre class="prettyprint linenums">
$('#myTab a[href="#profile"]').tab('show'); // Select tab by name
$('#myTab a:first').tab('show'); // Select first tab
@@ -593,8 +597,8 @@ $('#myTab a:last').tab('show'); // Select last tab
$('#myTab li:eq(2) a').tab('show'); // Select third tab (0-indexed)
</pre>
- <h3>{{_i}}Markup{{/i}}</h3>
- <p>{{_i}}You can activate a tab or pill navigation without writing any javascript by simply specifying <code>data-toggle="tab"</code> or <code>data-toggle="pill"</code> on an element. Adding the <code>nav</code> and <code>nav-tabs</code> classes to the tab <code>ul</code> will apply the bootstrap tab styling.{{/i}}</p>
+ <h3>{{_i}}Markup{{/i}}</h3>
+ <p>{{_i}}You can activate a tab or pill navigation without writing any javascript by simply specifying <code>data-toggle="tab"</code> or <code>data-toggle="pill"</code> on an element. Adding the <code>nav</code> and <code>nav-tabs</code> classes to the tab <code>ul</code> will apply the bootstrap tab styling.{{/i}}</p>
<pre class="prettyprint linenums">
&lt;ul class="nav nav-tabs"&gt;
&lt;li&gt;&lt;a href="#home" data-toggle="tab"&gt;{{_i}}Home{{/i}}&lt;/a&gt;&lt;/li&gt;
@@ -603,11 +607,11 @@ $('#myTab li:eq(2) a').tab('show'); // Select third tab (0-indexed)
&lt;li&gt;&lt;a href="#settings" data-toggle="tab"&gt;{{_i}}Settings{{/i}}&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</pre>
- <h3>{{_i}}Methods{{/i}}</h3>
- <h4>$().tab</h4>
- <p>
- {{_i}}Activates a tab element and content container. Tab should have either a <code>data-target</code> or an <code>href</code> targeting a container node in the DOM.{{/i}}
- </p>
+ <h3>{{_i}}Methods{{/i}}</h3>
+ <h4>$().tab</h4>
+ <p>
+ {{_i}}Activates a tab element and content container. Tab should have either a <code>data-target</code> or an <code>href</code> targeting a container node in the DOM.{{/i}}
+ </p>
<pre class="prettyprint linenums">
&lt;ul class="nav nav-tabs" id="myTab"&gt;
&lt;li class="active"&gt;&lt;a href="#home"&gt;{{_i}}Home{{/i}}&lt;/a&gt;&lt;/li&gt;
@@ -627,429 +631,432 @@ $('#myTab li:eq(2) a').tab('show'); // Select third tab (0-indexed)
$(function () {
$('#myTab a:last').tab('show');
})
-&lt;/script&gt;</pre>
+&lt;/script&gt;
+</pre>
- <h3>{{_i}}Events{{/i}}</h3>
- <table class="table table-bordered table-striped">
- <thead>
- <tr>
- <th style="width: 150px;">{{_i}}Event{{/i}}</th>
- <th>{{_i}}Description{{/i}}</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>{{_i}}show{{/i}}</td>
- <td>{{_i}}This event fires on tab show, but before the new tab has been shown. Use <code>event.target</code> and <code>event.relatedTarget</code> to target the active tab and the previous active tab (if available) respectively.{{/i}}</td>
- </tr>
- <tr>
- <td>{{_i}}shown{{/i}}</td>
- <td>{{_i}}This event fires on tab show after a tab has been shown. Use <code>event.target</code> and <code>event.relatedTarget</code> to target the active tab and the previous active tab (if available) respectively.{{/i}}</td>
- </tr>
- </tbody>
- </table>
+ <h3>{{_i}}Events{{/i}}</h3>
+ <table class="table table-bordered table-striped">
+ <thead>
+ <tr>
+ <th style="width: 150px;">{{_i}}Event{{/i}}</th>
+ <th>{{_i}}Description{{/i}}</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{_i}}show{{/i}}</td>
+ <td>{{_i}}This event fires on tab show, but before the new tab has been shown. Use <code>event.target</code> and <code>event.relatedTarget</code> to target the active tab and the previous active tab (if available) respectively.{{/i}}</td>
+ </tr>
+ <tr>
+ <td>{{_i}}shown{{/i}}</td>
+ <td>{{_i}}This event fires on tab show after a tab has been shown. Use <code>event.target</code> and <code>event.relatedTarget</code> to target the active tab and the previous active tab (if available) respectively.{{/i}}</td>
+ </tr>
+ </tbody>
+ </table>
<pre class="prettyprint linenums">
$('a[data-toggle="tab"]').on('shown', function (e) {
e.target // activated tab
e.relatedTarget // previous tab
-})</pre>
- </section>
+})
+</pre>
+ </section>
- <!-- Tooltips
- ================================================== -->
- <section id="tooltips">
- <div class="page-header">
- <h1>{{_i}}Tooltips{{/i}} <small>bootstrap-tooltip.js</small></h1>
- </div>
+ <!-- Tooltips
+ ================================================== -->
+ <section id="tooltips">
+ <div class="page-header">
+ <h1>{{_i}}Tooltips{{/i}} <small>bootstrap-tooltip.js</small></h1>
+ </div>
- <h2>{{_i}}Examples{{/i}}</h2>
- <p>{{_i}}Inspired by the excellent jQuery.tipsy plugin written by Jason Frame; Tooltips are an updated version, which don't rely on images, use CSS3 for animations, and data-attributes for local title storage.{{/i}}</p>
- <p>{{_i}}Hover over the links below to see tooltips:{{/i}}</p>
- <div class="bs-docs-example tooltip-demo">
- <p class="muted" style="margin-bottom: 0;">{{_i}}Tight pants next level keffiyeh <a href="#" rel="tooltip" title="Default tooltip">you probably</a> haven't heard of them. Photo booth beard raw denim letterpress vegan messenger bag stumptown. Farm-to-table seitan, mcsweeney's fixie sustainable quinoa 8-bit american apparel <a href="#" rel="tooltip" title="Another tooltip">have a</a> terry richardson vinyl chambray. Beard stumptown, cardigans banh mi lomo thundercats. Tofu biodiesel williamsburg marfa, four loko mcsweeney's cleanse vegan chambray. A really ironic artisan <a href="#" rel="tooltip" title="Another one here too">whatever keytar</a>, scenester farm-to-table banksy Austin <a href="#" rel="tooltip" title="The last tip!">twitter handle</a> freegan cred raw denim single-origin coffee viral.{{/i}}
- </p>
- </div>{{! /example }}
-
- <h3>{{_i}}Four directions{{/i}}</h3>
- <div class="bs-docs-example tooltip-demo">
- <ul class="bs-docs-tooltip-examples">
- <li><a href="#" rel="tooltip" data-placement="top" title="Tooltip on top">Tooltip on top</a></li>
- <li><a href="#" rel="tooltip" data-placement="right" title="Tooltip on right">Tooltip on right</a></li>
- <li><a href="#" rel="tooltip" data-placement="bottom" title="Tooltip on bottom">Tooltip on bottom</a></li>
- <li><a href="#" rel="tooltip" data-placement="left" title="Tooltip on left">Tooltip on left</a></li>
- </ul>
- </div>{{! /example }}
-
-
- <hr class="bs-docs-separator">
-
-
- <h2>{{_i}}Usage{{/i}}</h2>
- <p>{{_i}}Trigger the tooltip via javascript:{{/i}}</p>
- <pre class="prettyprint linenums">$('#example').tooltip({{_i}}options{{/i}})</pre>
-
- <h3>{{_i}}Options{{/i}}</h3>
- <p>{{_i}}Options can be passed via data attributes or javascript. For data attributes, append the option name to <code>data-</code>, as in <code>data-animation=""</code>.{{/i}}</p>
- <table class="table table-bordered table-striped">
- <thead>
- <tr>
- <th style="width: 100px;">{{_i}}Name{{/i}}</th>
- <th style="width: 100px;">{{_i}}type{{/i}}</th>
- <th style="width: 50px;">{{_i}}default{{/i}}</th>
- <th>{{_i}}description{{/i}}</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>{{_i}}animation{{/i}}</td>
- <td>{{_i}}boolean{{/i}}</td>
- <td>true</td>
- <td>{{_i}}apply a css fade transition to the tooltip{{/i}}</td>
- </tr>
- <tr>
- <td>{{_i}}html{{/i}}</td>
- <td>{{_i}}boolean{{/i}}</td>
- <td>true</td>
- <td>{{_i}}Insert html into the tooltip. If false, jquery's <code>text</code> method will be used to insert content into the dom. Use text if you're worried about XSS attacks.{{/i}}</td>
- </tr>
- <tr>
- <td>{{_i}}placement{{/i}}</td>
- <td>{{_i}}string|function{{/i}}</td>
- <td>'top'</td>
- <td>{{_i}}how to position the tooltip{{/i}} - top | bottom | left | right</td>
- </tr>
- <tr>
- <td>{{_i}}selector{{/i}}</td>
- <td>{{_i}}string{{/i}}</td>
- <td>false</td>
- <td>{{_i}}If a selector is provided, tooltip objects will be delegated to the specified targets.{{/i}}</td>
- </tr>
- <tr>
- <td>{{_i}}title{{/i}}</td>
- <td>{{_i}}string | function{{/i}}</td>
- <td>''</td>
- <td>{{_i}}default title value if `title` tag isn't present{{/i}}</td>
- </tr>
- <tr>
- <td>{{_i}}trigger{{/i}}</td>
- <td>{{_i}}string{{/i}}</td>
- <td>'hover'</td>
- <td>{{_i}}how tooltip is triggered{{/i}} - hover | focus | manual</td>
- </tr>
- <tr>
- <td>{{_i}}delay{{/i}}</td>
- <td>{{_i}}number | object{{/i}}</td>
- <td>0</td>
- <td>
- <p>{{_i}}delay showing and hiding the tooltip (ms) - does not apply to manual trigger type{{/i}}</p>
- <p>{{_i}}If a number is supplied, delay is applied to both hide/show{{/i}}</p>
- <p>{{_i}}Object structure is: <code>delay: { show: 500, hide: 100 }</code>{{/i}}</p>
- </td>
- </tr>
- </tbody>
- </table>
- <div class="alert alert-info">
- <strong>{{_i}}Heads up!{{/i}}</strong>
- {{_i}}Options for individual tooltips can alternatively be specified through the use of data attributes.{{/i}}
- </div>
-
- <h3>{{_i}}Markup{{/i}}</h3>
- <p>{{_i}}For performance reasons, the Tooltip and Popover data-apis are opt in. If you would like to use them just specify a selector option.{{/i}}</p>
- <pre class="prettyprint linenums">
- &lt;a href="#" rel="tooltip" title="{{_i}}first tooltip{{/i}}"&gt;{{_i}}hover over me{{/i}}&lt;/a&gt;
- </pre>
-
- <h3>{{_i}}Methods{{/i}}</h3>
- <h4>$().tooltip({{_i}}options{{/i}})</h4>
- <p>{{_i}}Attaches a tooltip handler to an element collection.{{/i}}</p>
- <h4>.tooltip('show')</h4>
- <p>{{_i}}Reveals an element's tooltip.{{/i}}</p>
- <pre class="prettyprint linenums">$('#element').tooltip('show')</pre>
- <h4>.tooltip('hide')</h4>
- <p>{{_i}}Hides an element's tooltip.{{/i}}</p>
- <pre class="prettyprint linenums">$('#element').tooltip('hide')</pre>
- <h4>.tooltip('toggle')</h4>
- <p>{{_i}}Toggles an element's tooltip.{{/i}}</p>
- <pre class="prettyprint linenums">$('#element').tooltip('toggle')</pre>
- <h4>.tooltip('destroy')</h4>
- <p>{{_i}}Destroys an element's tooltip.{{/i}}</p>
- <pre class="prettyprint linenums">$('#element').tooltip('destroy')</pre>
- </section>
-
-
-
- <!-- Popovers
- ================================================== -->
- <section id="popovers">
- <div class="page-header">
- <h1>{{_i}}Popovers{{/i}} <small>bootstrap-popover.js</small></h1>
- </div>
-
- <h2>{{_i}}Examples{{/i}}</h2>
- <p>{{_i}}Add small overlays of content, like those on the iPad, to any element for housing secondary information. Hover over the button to trigger the popover. <strong>Requires <a href="#tooltips">Tooltip</a> to be included.</strong>{{/i}}</p>
-
- <h3>{{_i}}Static popover{{/i}}</h3>
- <p>{{_i}}Four options are available: top, right, bottom, and left aligned.{{/i}}</p>
- <div class="bs-docs-example bs-docs-example-popover">
- <div class="popover top">
- <div class="arrow"></div>
- <h3 class="popover-title">Popover top</h3>
- <div class="popover-content">
- <p>Sed posuere consectetur est at lobortis. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.</p>
- </div>
+ <h2>{{_i}}Examples{{/i}}</h2>
+ <p>{{_i}}Inspired by the excellent jQuery.tipsy plugin written by Jason Frame; Tooltips are an updated version, which don't rely on images, use CSS3 for animations, and data-attributes for local title storage.{{/i}}</p>
+ <p>{{_i}}Hover over the links below to see tooltips:{{/i}}</p>
+ <div class="bs-docs-example tooltip-demo">
+ <p class="muted" style="margin-bottom: 0;">{{_i}}Tight pants next level keffiyeh <a href="#" rel="tooltip" title="Default tooltip">you probably</a> haven't heard of them. Photo booth beard raw denim letterpress vegan messenger bag stumptown. Farm-to-table seitan, mcsweeney's fixie sustainable quinoa 8-bit american apparel <a href="#" rel="tooltip" title="Another tooltip">have a</a> terry richardson vinyl chambray. Beard stumptown, cardigans banh mi lomo thundercats. Tofu biodiesel williamsburg marfa, four loko mcsweeney's cleanse vegan chambray. A really ironic artisan <a href="#" rel="tooltip" title="Another one here too">whatever keytar</a>, scenester farm-to-table banksy Austin <a href="#" rel="tooltip" title="The last tip!">twitter handle</a> freegan cred raw denim single-origin coffee viral.{{/i}}
+ </p>
+ </div>{{! /example }}
+
+ <h3>{{_i}}Four directions{{/i}}</h3>
+ <div class="bs-docs-example tooltip-demo">
+ <ul class="bs-docs-tooltip-examples">
+ <li><a href="#" rel="tooltip" data-placement="top" title="Tooltip on top">Tooltip on top</a></li>
+ <li><a href="#" rel="tooltip" data-placement="right" title="Tooltip on right">Tooltip on right</a></li>
+ <li><a href="#" rel="tooltip" data-placement="bottom" title="Tooltip on bottom">Tooltip on bottom</a></li>
+ <li><a href="#" rel="tooltip" data-placement="left" title="Tooltip on left">Tooltip on left</a></li>
+ </ul>
+ </div>{{! /example }}
+
+
+ <hr class="bs-docs-separator">
+
+
+ <h2>{{_i}}Usage{{/i}}</h2>
+ <p>{{_i}}Trigger the tooltip via javascript:{{/i}}</p>
+<pre class="prettyprint linenums">$('#example').tooltip({{_i}}options{{/i}})</pre>
+
+ <h3>{{_i}}Options{{/i}}</h3>
+ <p>{{_i}}Options can be passed via data attributes or javascript. For data attributes, append the option name to <code>data-</code>, as in <code>data-animation=""</code>.{{/i}}</p>
+ <table class="table table-bordered table-striped">
+ <thead>
+ <tr>
+ <th style="width: 100px;">{{_i}}Name{{/i}}</th>
+ <th style="width: 100px;">{{_i}}type{{/i}}</th>
+ <th style="width: 50px;">{{_i}}default{{/i}}</th>
+ <th>{{_i}}description{{/i}}</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{_i}}animation{{/i}}</td>
+ <td>{{_i}}boolean{{/i}}</td>
+ <td>true</td>
+ <td>{{_i}}apply a css fade transition to the tooltip{{/i}}</td>
+ </tr>
+ <tr>
+ <td>{{_i}}html{{/i}}</td>
+ <td>{{_i}}boolean{{/i}}</td>
+ <td>true</td>
+ <td>{{_i}}Insert html into the tooltip. If false, jquery's <code>text</code> method will be used to insert content into the dom. Use text if you're worried about XSS attacks.{{/i}}</td>
+ </tr>
+ <tr>
+ <td>{{_i}}placement{{/i}}</td>
+ <td>{{_i}}string|function{{/i}}</td>
+ <td>'top'</td>
+ <td>{{_i}}how to position the tooltip{{/i}} - top | bottom | left | right</td>
+ </tr>
+ <tr>
+ <td>{{_i}}selector{{/i}}</td>
+ <td>{{_i}}string{{/i}}</td>
+ <td>false</td>
+ <td>{{_i}}If a selector is provided, tooltip objects will be delegated to the specified targets.{{/i}}</td>
+ </tr>
+ <tr>
+ <td>{{_i}}title{{/i}}</td>
+ <td>{{_i}}string | function{{/i}}</td>
+ <td>''</td>
+ <td>{{_i}}default title value if `title` tag isn't present{{/i}}</td>
+ </tr>
+ <tr>
+ <td>{{_i}}trigger{{/i}}</td>
+ <td>{{_i}}string{{/i}}</td>
+ <td>'hover'</td>
+ <td>{{_i}}how tooltip is triggered{{/i}} - hover | focus | manual</td>
+ </tr>
+ <tr>
+ <td>{{_i}}delay{{/i}}</td>
+ <td>{{_i}}number | object{{/i}}</td>
+ <td>0</td>
+ <td>
+ <p>{{_i}}delay showing and hiding the tooltip (ms) - does not apply to manual trigger type{{/i}}</p>
+ <p>{{_i}}If a number is supplied, delay is applied to both hide/show{{/i}}</p>
+ <p>{{_i}}Object structure is: <code>delay: { show: 500, hide: 100 }</code>{{/i}}</p>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ <div class="alert alert-info">
+ <strong>{{_i}}Heads up!{{/i}}</strong>
+ {{_i}}Options for individual tooltips can alternatively be specified through the use of data attributes.{{/i}}
</div>
- <div class="popover right">
- <div class="arrow"></div>
- <h3 class="popover-title">Popover right</h3>
- <div class="popover-content">
- <p>Sed posuere consectetur est at lobortis. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.</p>
- </div>
+ <h3>{{_i}}Markup{{/i}}</h3>
+ <p>{{_i}}For performance reasons, the Tooltip and Popover data-apis are opt in. If you would like to use them just specify a selector option.{{/i}}</p>
+<pre class="prettyprint linenums">
+&lt;a href="#" rel="tooltip" title="{{_i}}first tooltip{{/i}}"&gt;{{_i}}hover over me{{/i}}&lt;/a&gt;
+</pre>
+
+ <h3>{{_i}}Methods{{/i}}</h3>
+ <h4>$().tooltip({{_i}}options{{/i}})</h4>
+ <p>{{_i}}Attaches a tooltip handler to an element collection.{{/i}}</p>
+ <h4>.tooltip('show')</h4>
+ <p>{{_i}}Reveals an element's tooltip.{{/i}}</p>
+ <pre class="prettyprint linenums">$('#element').tooltip('show')</pre>
+ <h4>.tooltip('hide')</h4>
+ <p>{{_i}}Hides an element's tooltip.{{/i}}</p>
+ <pre class="prettyprint linenums">$('#element').tooltip('hide')</pre>
+ <h4>.tooltip('toggle')</h4>
+ <p>{{_i}}Toggles an element's tooltip.{{/i}}</p>
+ <pre class="prettyprint linenums">$('#element').tooltip('toggle')</pre>
+ <h4>.tooltip('destroy')</h4>
+ <p>{{_i}}Destroys an element's tooltip.{{/i}}</p>
+ <pre class="prettyprint linenums">$('#element').tooltip('destroy')</pre>
+ </section>
+
+
+
+ <!-- Popovers
+ ================================================== -->
+ <section id="popovers">
+ <div class="page-header">
+ <h1>{{_i}}Popovers{{/i}} <small>bootstrap-popover.js</small></h1>
</div>
- <div class="popover bottom">
- <div class="arrow"></div>
- <h3 class="popover-title">Popover bottom</h3>
- <div class="popover-content">
- <p>Sed posuere consectetur est at lobortis. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.</p>
+ <h2>{{_i}}Examples{{/i}}</h2>
+ <p>{{_i}}Add small overlays of content, like those on the iPad, to any element for housing secondary information. Hover over the button to trigger the popover. <strong>Requires <a href="#tooltips">Tooltip</a> to be included.</strong>{{/i}}</p>
+
+ <h3>{{_i}}Static popover{{/i}}</h3>
+ <p>{{_i}}Four options are available: top, right, bottom, and left aligned.{{/i}}</p>
+ <div class="bs-docs-example bs-docs-example-popover">
+ <div class="popover top">
+ <div class="arrow"></div>
+ <h3 class="popover-title">Popover top</h3>
+ <div class="popover-content">
+ <p>Sed posuere consectetur est at lobortis. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.</p>
+ </div>
+ </div>
+
+ <div class="popover right">
+ <div class="arrow"></div>
+ <h3 class="popover-title">Popover right</h3>
+ <div class="popover-content">
+ <p>Sed posuere consectetur est at lobortis. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.</p>
+ </div>
</div>
- </div>
- <div class="popover left">
- <div class="arrow"></div>
- <h3 class="popover-title">Popover left</h3>
- <div class="popover-content">
- <p>Sed posuere consectetur est at lobortis. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.</p>
+ <div class="popover bottom">
+ <div class="arrow"></div>
+ <h3 class="popover-title">Popover bottom</h3>
+ <div class="popover-content">
+ <p>Sed posuere consectetur est at lobortis. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.</p>
+ </div>
</div>
+
+ <div class="popover left">
+ <div class="arrow"></div>
+ <h3 class="popover-title">Popover left</h3>
+ <div class="popover-content">
+ <p>Sed posuere consectetur est at lobortis. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.</p>
+ </div>
+ </div>
+
+ <div class="clearfix"></div>
</div>
+ <p>{{_i}}No markup shown as popovers are generated from javascript and content within a <code>data</code> attribute.{{/i}}</p>
- <div class="clearfix"></div>
- </div>
- <p>{{_i}}No markup shown as popovers are generated from javascript and content within a <code>data</code> attribute.{{/i}}</p>
-
- <h3>Live demo</h3>
- <div class="bs-docs-example" style="padding-bottom: 24px;">
- <a href="#" class="btn btn-large btn-danger" rel="popover" title="A Title" data-content="And here's some amazing content. It's very engaging. right?">{{_i}}Hover for popover{{/i}}</a>
- </div>
-
-
- <hr class="bs-docs-separator">
-
-
- <h2>{{_i}}Usage{{/i}}</h2>
- <p>{{_i}}Enable popovers via javascript:{{/i}}</p>
- <pre class="prettyprint linenums">$('#example').popover({{_i}}options{{/i}})</pre>
-
- <h3>{{_i}}Options{{/i}}</h3>
- <p>{{_i}}Options can be passed via data attributes or javascript. For data attributes, append the option name to <code>data-</code>, as in <code>data-animation=""</code>.{{/i}}</p>
- <table class="table table-bordered table-striped">
- <thead>
- <tr>
- <th style="width: 100px;">{{_i}}Name{{/i}}</th>
- <th style="width: 100px;">{{_i}}type{{/i}}</th>
- <th style="width: 50px;">{{_i}}default{{/i}}</th>
- <th>{{_i}}description{{/i}}</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>{{_i}}animation{{/i}}</td>
- <td>{{_i}}boolean{{/i}}</td>
- <td>true</td>
- <td>{{_i}}apply a css fade transition to the tooltip{{/i}}</td>
- </tr>
- <tr>
- <td>{{_i}}html{{/i}}</td>
- <td>{{_i}}boolean{{/i}}</td>
- <td>true</td>
- <td>{{_i}}Insert html into the popover. If false, jquery's <code>text</code> method will be used to insert content into the dom. Use text if you're worried about XSS attacks.{{/i}}</td>
- </tr>
- <tr>
- <td>{{_i}}placement{{/i}}</td>
- <td>{{_i}}string|function{{/i}}</td>
- <td>'right'</td>
- <td>{{_i}}how to position the popover{{/i}} - top | bottom | left | right</td>
- </tr>
- <tr>
- <td>{{_i}}selector{{/i}}</td>
- <td>{{_i}}string{{/i}}</td>
- <td>false</td>
- <td>{{_i}}if a selector is provided, tooltip objects will be delegated to the specified targets{{/i}}</td>
- </tr>
- <tr>
- <td>{{_i}}trigger{{/i}}</td>
- <td>{{_i}}string{{/i}}</td>
- <td>'hover'</td>
- <td>{{_i}}how popover is triggered{{/i}} - hover | focus | manual</td>
- </tr>
- <tr>
- <td>{{_i}}title{{/i}}</td>
- <td>{{_i}}string | function{{/i}}</td>
- <td>''</td>
- <td>{{_i}}default title value if `title` attribute isn't present{{/i}}</td>
- </tr>
- <tr>
- <td>{{_i}}content{{/i}}</td>
- <td>{{_i}}string | function{{/i}}</td>
- <td>''</td>
- <td>{{_i}}default content value if `data-content` attribute isn't present{{/i}}</td>
- </tr>
- <tr>
- <td>{{_i}}delay{{/i}}</td>
- <td>{{_i}}number | object{{/i}}</td>
- <td>0</td>
- <td>
- <p>{{_i}}delay showing and hiding the popover (ms) - does not apply to manual trigger type{{/i}}</p>
- <p>{{_i}}If a number is supplied, delay is applied to both hide/show{{/i}}</p>
- <p>{{_i}}Object structure is: <code>delay: { show: 500, hide: 100 }</code>{{/i}}</p>
- </td>
- </tr>
- </tbody>
- </table>
- <div class="alert alert-info">
- <strong>{{_i}}Heads up!{{/i}}</strong>
- {{_i}}Options for individual popovers can alternatively be specified through the use of data attributes.{{/i}}
- </div>
-
- <h3>{{_i}}Markup{{/i}}</h3>
- <p>{{_i}}For performance reasons, the Tooltip and Popover data-apis are opt in. If you would like to use them just specify a selector option.{{/i}}</p>
-
- <h3>{{_i}}Methods{{/i}}</h3>
- <h4>$().popover({{_i}}options{{/i}})</h4>
- <p>{{_i}}Initializes popovers for an element collection.{{/i}}</p>
- <h4>.popover('show')</h4>
- <p>{{_i}}Reveals an elements popover.{{/i}}</p>
- <pre class="prettyprint linenums">$('#element').popover('show')</pre>
- <h4>.popover('hide')</h4>
- <p>{{_i}}Hides an elements popover.{{/i}}</p>
- <pre class="prettyprint linenums">$('#element').popover('hide')</pre>
- <h4>.popover('toggle')</h4>
- <p>{{_i}}Toggles an elements popover.{{/i}}</p>
- <pre class="prettyprint linenums">$('#element').popover('toggle')</pre>
- <h4>.popover('destroy')</h4>
- <p>{{_i}}Destroys an element's popover.{{/i}}</p>
- <pre class="prettyprint linenums">$('#element').popover('destroy')</pre>
- </section>
-
-
-
- <!-- Alert
- ================================================== -->
- <section id="alerts">
- <div class="page-header">
- <h1>{{_i}}Alert messages{{/i}} <small>bootstrap-alert.js</small></h1>
- </div>
-
-
- <h2>{{_i}}Example alerts{{/i}}</h2>
- <p>{{_i}}Add dismiss functionality to all alerge messages with this plugin.{{/i}}</p>
- <div class="bs-docs-example">
- <div class="alert fade in">
- <button type="button" class="close" data-dismiss="alert">&times;</button>
- <strong>{{_i}}Holy guacamole!{{/i}}</strong> {{_i}}Best check yo self, you're not looking too good.{{/i}}
+ <h3>Live demo</h3>
+ <div class="bs-docs-example" style="padding-bottom: 24px;">
+ <a href="#" class="btn btn-large btn-danger" rel="popover" title="A Title" data-content="And here's some amazing content. It's very engaging. right?">{{_i}}Hover for popover{{/i}}</a>
</div>
- </div>{{! /example }}
-
- <div class="bs-docs-example">
- <div class="alert alert-block alert-error fade in">
- <button type="button" class="close" data-dismiss="alert">&times;</button>
- <h4 class="alert-heading">{{_i}}Oh snap! You got an error!{{/i}}</h4>
- <p>{{_i}}Change this and that and try again. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum.{{/i}}</p>
- <p>
- <a class="btn btn-danger" href="#">{{_i}}Take this action{{/i}}</a> <a class="btn" href="#">{{_i}}Or do this{{/i}}</a>
- </p>
+
+
+ <hr class="bs-docs-separator">
+
+
+ <h2>{{_i}}Usage{{/i}}</h2>
+ <p>{{_i}}Enable popovers via javascript:{{/i}}</p>
+ <pre class="prettyprint linenums">$('#example').popover({{_i}}options{{/i}})</pre>
+
+ <h3>{{_i}}Options{{/i}}</h3>
+ <p>{{_i}}Options can be passed via data attributes or javascript. For data attributes, append the option name to <code>data-</code>, as in <code>data-animation=""</code>.{{/i}}</p>
+ <table class="table table-bordered table-striped">
+ <thead>
+ <tr>
+ <th style="width: 100px;">{{_i}}Name{{/i}}</th>
+ <th style="width: 100px;">{{_i}}type{{/i}}</th>
+ <th style="width: 50px;">{{_i}}default{{/i}}</th>
+ <th>{{_i}}description{{/i}}</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{_i}}animation{{/i}}</td>
+ <td>{{_i}}boolean{{/i}}</td>
+ <td>true</td>
+ <td>{{_i}}apply a css fade transition to the tooltip{{/i}}</td>
+ </tr>
+ <tr>
+ <td>{{_i}}html{{/i}}</td>
+ <td>{{_i}}boolean{{/i}}</td>
+ <td>true</td>
+ <td>{{_i}}Insert html into the popover. If false, jquery's <code>text</code> method will be used to insert content into the dom. Use text if you're worried about XSS attacks.{{/i}}</td>
+ </tr>
+ <tr>
+ <td>{{_i}}placement{{/i}}</td>
+ <td>{{_i}}string|function{{/i}}</td>
+ <td>'right'</td>
+ <td>{{_i}}how to position the popover{{/i}} - top | bottom | left | right</td>
+ </tr>
+ <tr>
+ <td>{{_i}}selector{{/i}}</td>
+ <td>{{_i}}string{{/i}}</td>
+ <td>false</td>
+ <td>{{_i}}if a selector is provided, tooltip objects will be delegated to the specified targets{{/i}}</td>
+ </tr>
+ <tr>
+ <td>{{_i}}trigger{{/i}}</td>
+ <td>{{_i}}string{{/i}}</td>
+ <td>'hover'</td>
+ <td>{{_i}}how popover is triggered{{/i}} - hover | focus | manual</td>
+ </tr>
+ <tr>
+ <td>{{_i}}title{{/i}}</td>
+ <td>{{_i}}string | function{{/i}}</td>
+ <td>''</td>
+ <td>{{_i}}default title value if `title` attribute isn't present{{/i}}</td>
+ </tr>
+ <tr>
+ <td>{{_i}}content{{/i}}</td>
+ <td>{{_i}}string | function{{/i}}</td>
+ <td>''</td>
+ <td>{{_i}}default content value if `data-content` attribute isn't present{{/i}}</td>
+ </tr>
+ <tr>
+ <td>{{_i}}delay{{/i}}</td>
+ <td>{{_i}}number | object{{/i}}</td>
+ <td>0</td>
+ <td>
+ <p>{{_i}}delay showing and hiding the popover (ms) - does not apply to manual trigger type{{/i}}</p>
+ <p>{{_i}}If a number is supplied, delay is applied to both hide/show{{/i}}</p>
+ <p>{{_i}}Object structure is: <code>delay: { show: 500, hide: 100 }</code>{{/i}}</p>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ <div class="alert alert-info">
+ <strong>{{_i}}Heads up!{{/i}}</strong>
+ {{_i}}Options for individual popovers can alternatively be specified through the use of data attributes.{{/i}}
</div>
- </div>{{! /example }}
-
-
- <hr class="bs-docs-separator">
-
-
- <h2>{{_i}}Usage{{/i}}</h2>
- <p>{{_i}}Enable dismissal of an alert via javascript:{{/i}}</p>
- <pre class="prettyprint linenums">$(".alert").alert()</pre>
-
- <h3>{{_i}}Markup{{/i}}</h3>
- <p>{{_i}}Just add <code>data-dismiss="alert"</code> to your close button to automatically give an alert close functionality.{{/i}}</p>
- <pre class="prettyprint linenums">&lt;a class="close" data-dismiss="alert" href="#"&gt;&amp;times;&lt;/a&gt;</pre>
-
- <h3>{{_i}}Methods{{/i}}</h3>
- <h4>$().alert()</h4>
- <p>{{_i}}Wraps all alerts with close functionality. To have your alerts animate out when closed, make sure they have the <code>.fade</code> and <code>.in</code> class already applied to them.{{/i}}</p>
- <h4>.alert('close')</h4>
- <p>{{_i}}Closes an alert.{{/i}}</p>
- <pre class="prettyprint linenums">$(".alert").alert('close')</pre>
-
-
- <h3>{{_i}}Events{{/i}}</h3>
- <p>{{_i}}Bootstrap's alert class exposes a few events for hooking into alert functionality.{{/i}}</p>
- <table class="table table-bordered table-striped">
- <thead>
- <tr>
- <th style="width: 150px;">{{_i}}Event{{/i}}</th>
- <th>{{_i}}Description{{/i}}</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>{{_i}}close{{/i}}</td>
- <td>{{_i}}This event fires immediately when the <code>close</code> instance method is called.{{/i}}</td>
- </tr>
- <tr>
- <td>{{_i}}closed{{/i}}</td>
- <td>{{_i}}This event is fired when the alert has been closed (will wait for css transitions to complete).{{/i}}</td>
- </tr>
- </tbody>
- </table>
+
+ <h3>{{_i}}Markup{{/i}}</h3>
+ <p>{{_i}}For performance reasons, the Tooltip and Popover data-apis are opt in. If you would like to use them just specify a selector option.{{/i}}</p>
+
+ <h3>{{_i}}Methods{{/i}}</h3>
+ <h4>$().popover({{_i}}options{{/i}})</h4>
+ <p>{{_i}}Initializes popovers for an element collection.{{/i}}</p>
+ <h4>.popover('show')</h4>
+ <p>{{_i}}Reveals an elements popover.{{/i}}</p>
+ <pre class="prettyprint linenums">$('#element').popover('show')</pre>
+ <h4>.popover('hide')</h4>
+ <p>{{_i}}Hides an elements popover.{{/i}}</p>
+ <pre class="prettyprint linenums">$('#element').popover('hide')</pre>
+ <h4>.popover('toggle')</h4>
+ <p>{{_i}}Toggles an elements popover.{{/i}}</p>
+ <pre class="prettyprint linenums">$('#element').popover('toggle')</pre>
+ <h4>.popover('destroy')</h4>
+ <p>{{_i}}Destroys an element's popover.{{/i}}</p>
+ <pre class="prettyprint linenums">$('#element').popover('destroy')</pre>
+ </section>
+
+
+
+ <!-- Alert
+ ================================================== -->
+ <section id="alerts">
+ <div class="page-header">
+ <h1>{{_i}}Alert messages{{/i}} <small>bootstrap-alert.js</small></h1>
+ </div>
+
+
+ <h2>{{_i}}Example alerts{{/i}}</h2>
+ <p>{{_i}}Add dismiss functionality to all alerge messages with this plugin.{{/i}}</p>
+ <div class="bs-docs-example">
+ <div class="alert fade in">
+ <button type="button" class="close" data-dismiss="alert">&times;</button>
+ <strong>{{_i}}Holy guacamole!{{/i}}</strong> {{_i}}Best check yo self, you're not looking too good.{{/i}}
+ </div>
+ </div>{{! /example }}
+
+ <div class="bs-docs-example">
+ <div class="alert alert-block alert-error fade in">
+ <button type="button" class="close" data-dismiss="alert">&times;</button>
+ <h4 class="alert-heading">{{_i}}Oh snap! You got an error!{{/i}}</h4>
+ <p>{{_i}}Change this and that and try again. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum.{{/i}}</p>
+ <p>
+ <a class="btn btn-danger" href="#">{{_i}}Take this action{{/i}}</a> <a class="btn" href="#">{{_i}}Or do this{{/i}}</a>
+ </p>
+ </div>
+ </div>{{! /example }}
+
+
+ <hr class="bs-docs-separator">
+
+
+ <h2>{{_i}}Usage{{/i}}</h2>
+ <p>{{_i}}Enable dismissal of an alert via javascript:{{/i}}</p>
+ <pre class="prettyprint linenums">$(".alert").alert()</pre>
+
+ <h3>{{_i}}Markup{{/i}}</h3>
+ <p>{{_i}}Just add <code>data-dismiss="alert"</code> to your close button to automatically give an alert close functionality.{{/i}}</p>
+ <pre class="prettyprint linenums">&lt;a class="close" data-dismiss="alert" href="#"&gt;&amp;times;&lt;/a&gt;</pre>
+
+ <h3>{{_i}}Methods{{/i}}</h3>
+ <h4>$().alert()</h4>
+ <p>{{_i}}Wraps all alerts with close functionality. To have your alerts animate out when closed, make sure they have the <code>.fade</code> and <code>.in</code> class already applied to them.{{/i}}</p>
+ <h4>.alert('close')</h4>
+ <p>{{_i}}Closes an alert.{{/i}}</p>
+ <pre class="prettyprint linenums">$(".alert").alert('close')</pre>
+
+
+ <h3>{{_i}}Events{{/i}}</h3>
+ <p>{{_i}}Bootstrap's alert class exposes a few events for hooking into alert functionality.{{/i}}</p>
+ <table class="table table-bordered table-striped">
+ <thead>
+ <tr>
+ <th style="width: 150px;">{{_i}}Event{{/i}}</th>
+ <th>{{_i}}Description{{/i}}</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{_i}}close{{/i}}</td>
+ <td>{{_i}}This event fires immediately when the <code>close</code> instance method is called.{{/i}}</td>
+ </tr>
+ <tr>
+ <td>{{_i}}closed{{/i}}</td>
+ <td>{{_i}}This event is fired when the alert has been closed (will wait for css transitions to complete).{{/i}}</td>
+ </tr>
+ </tbody>
+ </table>
<pre class="prettyprint linenums">
$('#my-alert').bind('closed', function () {
// {{_i}}do something…{{/i}}
-})</pre>
- </section>
+})
+</pre>
+ </section>
- <!-- Buttons
- ================================================== -->
- <section id="buttons">
- <div class="page-header">
- <h1>{{_i}}Buttons{{/i}} <small>bootstrap-button.js</small></h1>
- </div>
+ <!-- Buttons
+ ================================================== -->
+ <section id="buttons">
+ <div class="page-header">
+ <h1>{{_i}}Buttons{{/i}} <small>bootstrap-button.js</small></h1>
+ </div>
- <h2>{{_i}}Example uses{{/i}}</h2>
- <p>{{_i}}Do more with buttons. Control button states or create groups of buttons for more components like toolbars.{{/i}}</p>
+ <h2>{{_i}}Example uses{{/i}}</h2>
+ <p>{{_i}}Do more with buttons. Control button states or create groups of buttons for more components like toolbars.{{/i}}</p>
- <h4>{{_i}}Stateful{{/i}}</h4>
- <p>{{_i}}Add data-loading-text="Loading..." to use a loading state on a button.{{/i}}</p>
- <div class="bs-docs-example" style="padding-bottom: 24px;">
- <button type="button" id="fat-btn" data-loading-text="loading..." class="btn btn-primary">
- {{_i}}Loading state{{/i}}
- </button>
- </div>{{! /example }}
+ <h4>{{_i}}Stateful{{/i}}</h4>
+ <p>{{_i}}Add data-loading-text="Loading..." to use a loading state on a button.{{/i}}</p>
+ <div class="bs-docs-example" style="padding-bottom: 24px;">
+ <button type="button" id="fat-btn" data-loading-text="loading..." class="btn btn-primary">
+ {{_i}}Loading state{{/i}}
+ </button>
+ </div>{{! /example }}
<pre class="prettyprint linenums">
&lt;button type="button" class="btn btn-primary" data-loading-text="Loading..."&gt;Loading state&lt;/button&gt;
</pre>
- <h4>{{_i}}Single toggle{{/i}}</h4>
- <p>{{_i}}Add data-toggle="button" to activate toggling on a single button.{{/i}}</p>
- <div class="bs-docs-example" style="padding-bottom: 24px;">
- <button type="button" class="btn btn-primary" data-toggle="button">{{_i}}Single Toggle{{/i}}</button>
- </div>{{! /example }}
+ <h4>{{_i}}Single toggle{{/i}}</h4>
+ <p>{{_i}}Add data-toggle="button" to activate toggling on a single button.{{/i}}</p>
+ <div class="bs-docs-example" style="padding-bottom: 24px;">
+ <button type="button" class="btn btn-primary" data-toggle="button">{{_i}}Single Toggle{{/i}}</button>
+ </div>{{! /example }}
<pre class="prettyprint linenums">
&lt;button type="button" class="btn" data-toggle="button"&gt;Single Toggle&lt;/button&gt;
</pre>
- <h4>{{_i}}Checkbox{{/i}}</h4>
- <p>{{_i}}Add data-toggle="buttons-checkbox" for checkbox style toggling on btn-group.{{/i}}</p>
- <div class="bs-docs-example" style="padding-bottom: 24px;">
- <div class="btn-group" data-toggle="buttons-checkbox">
- <button type="button" class="btn btn-primary">{{_i}}Left{{/i}}</button>
- <button type="button" class="btn btn-primary">{{_i}}Middle{{/i}}</button>
- <button type="button" class="btn btn-primary">{{_i}}Right{{/i}}</button>
- </div>
- </div>{{! /example }}
+ <h4>{{_i}}Checkbox{{/i}}</h4>
+ <p>{{_i}}Add data-toggle="buttons-checkbox" for checkbox style toggling on btn-group.{{/i}}</p>
+ <div class="bs-docs-example" style="padding-bottom: 24px;">
+ <div class="btn-group" data-toggle="buttons-checkbox">
+ <button type="button" class="btn btn-primary">{{_i}}Left{{/i}}</button>
+ <button type="button" class="btn btn-primary">{{_i}}Middle{{/i}}</button>
+ <button type="button" class="btn btn-primary">{{_i}}Right{{/i}}</button>
+ </div>
+ </div>{{! /example }}
<pre class="prettyprint linenums">
&lt;div class="btn-group" data-toggle="buttons-checkbox"&gt;
&lt;button type="button" class="btn"&gt;Left&lt;/button&gt;
@@ -1058,15 +1065,15 @@ $('#my-alert').bind('closed', function () {
&lt;/div&gt;
</pre>
- <h4>{{_i}}Radio{{/i}}</h4>
- <p>{{_i}}Add data-toggle="buttons-radio" for radio style toggling on btn-group.{{/i}}</p>
- <div class="bs-docs-example" style="padding-bottom: 24px;">
- <div class="btn-group" data-toggle="buttons-radio">
- <button type="button" class="btn btn-primary">{{_i}}Left{{/i}}</button>
- <button type="button" class="btn btn-primary">{{_i}}Middle{{/i}}</button>
- <button type="button" class="btn btn-primary">{{_i}}Right{{/i}}</button>
- </div>
- </div>{{! /example }}
+ <h4>{{_i}}Radio{{/i}}</h4>
+ <p>{{_i}}Add data-toggle="buttons-radio" for radio style toggling on btn-group.{{/i}}</p>
+ <div class="bs-docs-example" style="padding-bottom: 24px;">
+ <div class="btn-group" data-toggle="buttons-radio">
+ <button type="button" class="btn btn-primary">{{_i}}Left{{/i}}</button>
+ <button type="button" class="btn btn-primary">{{_i}}Middle{{/i}}</button>
+ <button type="button" class="btn btn-primary">{{_i}}Right{{/i}}</button>
+ </div>
+ </div>{{! /example }}
<pre class="prettyprint linenums">
&lt;div class="btn-group" data-toggle="buttons-radio"&gt;
&lt;button type="button" class="btn"&gt;Left&lt;/button&gt;
@@ -1076,101 +1083,101 @@ $('#my-alert').bind('closed', function () {
</pre>
- <hr class="bs-docs-separator">
-
-
- <h2>{{_i}}Usage{{/i}}</h2>
- <p>{{_i}}Enable buttons via javascript:{{/i}}</p>
- <pre class="prettyprint linenums">$('.nav-tabs').button()</pre>
-
- <h3>{{_i}}Markup{{/i}}</h3>
- <p>{{_i}}Data attributes are integral to the button plugin. Check out the example code below for the various markup types.{{/i}}</p>
-
- <h3>{{_i}}Options{{/i}}</h3>
- <p><em>{{_i}}None{{/i}}</em></p>
-
- <h3>{{_i}}Methods{{/i}}</h3>
- <h4>$().button('toggle')</h4>
- <p>{{_i}}Toggles push state. Gives the button the appearance that it has been activated.{{/i}}</p>
- <div class="alert alert-info">
- <strong>{{_i}}Heads up!{{/i}}</strong>
- {{_i}}You can enable auto toggling of a button by using the <code>data-toggle</code> attribute.{{/i}}
- </div>
- <pre class="prettyprint linenums">&lt;button type="button" class="btn" data-toggle="button" &gt;…&lt;/button&gt;</pre>
- <h4>$().button('loading')</h4>
- <p>{{_i}}Sets button state to loading - disables button and swaps text to loading text. Loading text should be defined on the button element using the data attribute <code>data-loading-text</code>.{{/i}}
- </p>
- <pre class="prettyprint linenums">&lt;button type="button" class="btn" data-loading-text="loading stuff..." &gt;...&lt;/button&gt;</pre>
- <div class="alert alert-info">
- <strong>{{_i}}Heads up!{{/i}}</strong>
- {{_i}}<a href="https://github.com/twitter/bootstrap/issues/793">Firefox persists the disabled state across page loads</a>. A workaround for this is to use <code>autocomplete="off"</code>.{{/i}}
- </div>
- <h4>$().button('reset')</h4>
- <p>{{_i}}Resets button state - swaps text to original text.{{/i}}</p>
- <h4>$().button(string)</h4>
- <p>{{_i}}Resets button state - swaps text to any data defined text state.{{/i}}</p>
+ <hr class="bs-docs-separator">
+
+
+ <h2>{{_i}}Usage{{/i}}</h2>
+ <p>{{_i}}Enable buttons via javascript:{{/i}}</p>
+ <pre class="prettyprint linenums">$('.nav-tabs').button()</pre>
+
+ <h3>{{_i}}Markup{{/i}}</h3>
+ <p>{{_i}}Data attributes are integral to the button plugin. Check out the example code below for the various markup types.{{/i}}</p>
+
+ <h3>{{_i}}Options{{/i}}</h3>
+ <p><em>{{_i}}None{{/i}}</em></p>
+
+ <h3>{{_i}}Methods{{/i}}</h3>
+ <h4>$().button('toggle')</h4>
+ <p>{{_i}}Toggles push state. Gives the button the appearance that it has been activated.{{/i}}</p>
+ <div class="alert alert-info">
+ <strong>{{_i}}Heads up!{{/i}}</strong>
+ {{_i}}You can enable auto toggling of a button by using the <code>data-toggle</code> attribute.{{/i}}
+ </div>
+ <pre class="prettyprint linenums">&lt;button type="button" class="btn" data-toggle="button" &gt;…&lt;/button&gt;</pre>
+ <h4>$().button('loading')</h4>
+ <p>{{_i}}Sets button state to loading - disables button and swaps text to loading text. Loading text should be defined on the button element using the data attribute <code>data-loading-text</code>.{{/i}}
+ </p>
+ <pre class="prettyprint linenums">&lt;button type="button" class="btn" data-loading-text="loading stuff..." &gt;...&lt;/button&gt;</pre>
+ <div class="alert alert-info">
+ <strong>{{_i}}Heads up!{{/i}}</strong>
+ {{_i}}<a href="https://github.com/twitter/bootstrap/issues/793">Firefox persists the disabled state across page loads</a>. A workaround for this is to use <code>autocomplete="off"</code>.{{/i}}
+ </div>
+ <h4>$().button('reset')</h4>
+ <p>{{_i}}Resets button state - swaps text to original text.{{/i}}</p>
+ <h4>$().button(string)</h4>
+ <p>{{_i}}Resets button state - swaps text to any data defined text state.{{/i}}</p>
<pre class="prettyprint linenums">&lt;button type="button" class="btn" data-complete-text="finished!" &gt;...&lt;/button&gt;
&lt;script&gt;
$('.btn').button('complete')
&lt;/script&gt;</pre>
- </section>
+ </section>
- <!-- Collapse
- ================================================== -->
- <section id="collapse">
- <div class="page-header">
- <h1>{{_i}}Collapse{{/i}} <small>bootstrap-collapse.js</small></h1>
- </div>
+ <!-- Collapse
+ ================================================== -->
+ <section id="collapse">
+ <div class="page-header">
+ <h1>{{_i}}Collapse{{/i}} <small>bootstrap-collapse.js</small></h1>
+ </div>
- <h3>{{_i}}About{{/i}}</h3>
- <p>{{_i}}Get base styles and flexible support for collapsible components like accordions and navigation.{{/i}}</p>
- <p class="muted"><strong>*</strong> {{_i}}Requires the Transitions plugin to be included.{{/i}}</p>
+ <h3>{{_i}}About{{/i}}</h3>
+ <p>{{_i}}Get base styles and flexible support for collapsible components like accordions and navigation.{{/i}}</p>
+ <p class="muted"><strong>*</strong> {{_i}}Requires the Transitions plugin to be included.{{/i}}</p>
- <h2>{{_i}}Example accordion{{/i}}</h2>
- <p>{{_i}}Using the collapse plugin, we built a simple accordion style widget:{{/i}}</p>
+ <h2>{{_i}}Example accordion{{/i}}</h2>
+ <p>{{_i}}Using the collapse plugin, we built a simple accordion style widget:{{/i}}</p>
- <div class="bs-docs-example">
- <div class="accordion" id="accordion2">
- <div class="accordion-group">
- <div class="accordion-heading">
- <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseOne">
- {{_i}}Collapsible Group Item #1{{/i}}
- </a>
- </div>
- <div id="collapseOne" class="accordion-body collapse in">
- <div class="accordion-inner">
- Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
+ <div class="bs-docs-example">
+ <div class="accordion" id="accordion2">
+ <div class="accordion-group">
+ <div class="accordion-heading">
+ <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseOne">
+ {{_i}}Collapsible Group Item #1{{/i}}
+ </a>
</div>
- </div>
- </div>
- <div class="accordion-group">
- <div class="accordion-heading">
- <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseTwo">
- {{_i}}Collapsible Group Item #2{{/i}}
- </a>
- </div>
- <div id="collapseTwo" class="accordion-body collapse">
- <div class="accordion-inner">
- Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
+ <div id="collapseOne" class="accordion-body collapse in">
+ <div class="accordion-inner">
+ Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
+ </div>
</div>
</div>
- </div>
- <div class="accordion-group">
- <div class="accordion-heading">
- <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseThree">
- {{_i}}Collapsible Group Item #3{{/i}}
- </a>
+ <div class="accordion-group">
+ <div class="accordion-heading">
+ <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseTwo">
+ {{_i}}Collapsible Group Item #2{{/i}}
+ </a>
+ </div>
+ <div id="collapseTwo" class="accordion-body collapse">
+ <div class="accordion-inner">
+ Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
+ </div>
+ </div>
</div>
- <div id="collapseThree" class="accordion-body collapse">
- <div class="accordion-inner">
- Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
+ <div class="accordion-group">
+ <div class="accordion-heading">
+ <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseThree">
+ {{_i}}Collapsible Group Item #3{{/i}}
+ </a>
+ </div>
+ <div id="collapseThree" class="accordion-body collapse">
+ <div class="accordion-inner">
+ Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
+ </div>
</div>
</div>
</div>
- </div>
- </div>{{! /example }}
+ </div>{{! /example }}
<pre class="prettyprint linenums">
&lt;button type="button" class="btn btn-danger" data-toggle="collapse" data-target="#demo"&gt;
{{_i}}simple collapsible{{/i}}
@@ -1180,137 +1187,137 @@ $('#my-alert').bind('closed', function () {
</pre>
- <hr class="bs-docs-separator">
-
-
- <h2>{{_i}}Usage{{/i}}</h2>
-
- <h3>{{_i}}Via data attributes{{/i}}</h3>
- <p>{{_i}}Just add <code>data-toggle="collapse"</code> and a <code>data-target</code> to element to automatically assign control of a collapsible element. The <code>data-target</code> attribute accepts a css selector to apply the collapse to. Be sure to add the class <code>collapse</code> to the collapsible element. If you'd like it to default open, add the additional class <code>in</code>.{{/i}}</p>
- <p>{{_i}}To add accordion-like group management to a collapsible control, add the data attribute <code>data-parent="#selector"</code>. Refer to the demo to see this in action.{{/i}}</p>
-
- <h3>{{_i}}Via javascript{{/i}}</h3>
- <p>{{_i}}Enable manually with:{{/i}}</p>
- <pre class="prettyprint linenums">$(".collapse").collapse()</pre>
-
- <h3>{{_i}}Options{{/i}}</h3>
- <p>{{_i}}Options can be passed via data attributes or javascript. For data attributes, append the option name to <code>data-</code>, as in <code>data-parent=""</code>.{{/i}}</p>
- <table class="table table-bordered table-striped">
- <thead>
- <tr>
- <th style="width: 100px;">{{_i}}Name{{/i}}</th>
- <th style="width: 50px;">{{_i}}type{{/i}}</th>
- <th style="width: 50px;">{{_i}}default{{/i}}</th>
- <th>{{_i}}description{{/i}}</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>{{_i}}parent{{/i}}</td>
- <td>{{_i}}selector{{/i}}</td>
- <td>false</td>
- <td>{{_i}}If selector then all collapsible elements under the specified parent will be closed when this collapsible item is shown. (similar to traditional accordion behavior){{/i}}</td>
- </tr>
- <tr>
- <td>{{_i}}toggle{{/i}}</td>
- <td>{{_i}}boolean{{/i}}</td>
- <td>true</td>
- <td>{{_i}}Toggles the collapsible element on invocation{{/i}}</td>
- </tr>
- </tbody>
- </table>
-
-
- <h3>{{_i}}Methods{{/i}}</h3>
- <h4>.collapse({{_i}}options{{/i}})</h4>
- <p>{{_i}}Activates your content as a collapsible element. Accepts an optional options <code>object</code>.{{/i}}
+ <hr class="bs-docs-separator">
+
+
+ <h2>{{_i}}Usage{{/i}}</h2>
+
+ <h3>{{_i}}Via data attributes{{/i}}</h3>
+ <p>{{_i}}Just add <code>data-toggle="collapse"</code> and a <code>data-target</code> to element to automatically assign control of a collapsible element. The <code>data-target</code> attribute accepts a css selector to apply the collapse to. Be sure to add the class <code>collapse</code> to the collapsible element. If you'd like it to default open, add the additional class <code>in</code>.{{/i}}</p>
+ <p>{{_i}}To add accordion-like group management to a collapsible control, add the data attribute <code>data-parent="#selector"</code>. Refer to the demo to see this in action.{{/i}}</p>
+
+ <h3>{{_i}}Via javascript{{/i}}</h3>
+ <p>{{_i}}Enable manually with:{{/i}}</p>
+ <pre class="prettyprint linenums">$(".collapse").collapse()</pre>
+
+ <h3>{{_i}}Options{{/i}}</h3>
+ <p>{{_i}}Options can be passed via data attributes or javascript. For data attributes, append the option name to <code>data-</code>, as in <code>data-parent=""</code>.{{/i}}</p>
+ <table class="table table-bordered table-striped">
+ <thead>
+ <tr>
+ <th style="width: 100px;">{{_i}}Name{{/i}}</th>
+ <th style="width: 50px;">{{_i}}type{{/i}}</th>
+ <th style="width: 50px;">{{_i}}default{{/i}}</th>
+ <th>{{_i}}description{{/i}}</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{_i}}parent{{/i}}</td>
+ <td>{{_i}}selector{{/i}}</td>
+ <td>false</td>
+ <td>{{_i}}If selector then all collapsible elements under the specified parent will be closed when this collapsible item is shown. (similar to traditional accordion behavior){{/i}}</td>
+ </tr>
+ <tr>
+ <td>{{_i}}toggle{{/i}}</td>
+ <td>{{_i}}boolean{{/i}}</td>
+ <td>true</td>
+ <td>{{_i}}Toggles the collapsible element on invocation{{/i}}</td>
+ </tr>
+ </tbody>
+ </table>
+
+
+ <h3>{{_i}}Methods{{/i}}</h3>
+ <h4>.collapse({{_i}}options{{/i}})</h4>
+ <p>{{_i}}Activates your content as a collapsible element. Accepts an optional options <code>object</code>.{{/i}}
<pre class="prettyprint linenums">
$('#myCollapsible').collapse({
toggle: false
})</pre>
- <h4>.collapse('toggle')</h4>
- <p>{{_i}}Toggles a collapsible element to shown or hidden.{{/i}}</p>
- <h4>.collapse('show')</h4>
- <p>{{_i}}Shows a collapsible element.{{/i}}</p>
- <h4>.collapse('hide')</h4>
- <p>{{_i}}Hides a collapsible element.{{/i}}</p>
-
- <h3>{{_i}}Events{{/i}}</h3>
- <p>{{_i}}Bootstrap's collapse class exposes a few events for hooking into collapse functionality.{{/i}}</p>
- <table class="table table-bordered table-striped">
- <thead>
- <tr>
- <th style="width: 150px;">{{_i}}Event{{/i}}</th>
- <th>{{_i}}Description{{/i}}</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>{{_i}}show{{/i}}</td>
- <td>{{_i}}This event fires immediately when the <code>show</code> instance method is called.{{/i}}</td>
- </tr>
- <tr>
- <td>{{_i}}shown{{/i}}</td>
- <td>{{_i}}This event is fired when a collapse element has been made visible to the user (will wait for css transitions to complete).{{/i}}</td>
- </tr>
- <tr>
- <td>{{_i}}hide{{/i}}</td>
- <td>
- {{_i}}This event is fired immediately when the <code>hide</code> method has been called.{{/i}}
- </td>
- </tr>
- <tr>
- <td>{{_i}}hidden{{/i}}</td>
- <td>{{_i}}This event is fired when a collapse element has been hidden from the user (will wait for css transitions to complete).{{/i}}</td>
- </tr>
- </tbody>
- </table>
+ <h4>.collapse('toggle')</h4>
+ <p>{{_i}}Toggles a collapsible element to shown or hidden.{{/i}}</p>
+ <h4>.collapse('show')</h4>
+ <p>{{_i}}Shows a collapsible element.{{/i}}</p>
+ <h4>.collapse('hide')</h4>
+ <p>{{_i}}Hides a collapsible element.{{/i}}</p>
+
+ <h3>{{_i}}Events{{/i}}</h3>
+ <p>{{_i}}Bootstrap's collapse class exposes a few events for hooking into collapse functionality.{{/i}}</p>
+ <table class="table table-bordered table-striped">
+ <thead>
+ <tr>
+ <th style="width: 150px;">{{_i}}Event{{/i}}</th>
+ <th>{{_i}}Description{{/i}}</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{_i}}show{{/i}}</td>
+ <td>{{_i}}This event fires immediately when the <code>show</code> instance method is called.{{/i}}</td>
+ </tr>
+ <tr>
+ <td>{{_i}}shown{{/i}}</td>
+ <td>{{_i}}This event is fired when a collapse element has been made visible to the user (will wait for css transitions to complete).{{/i}}</td>
+ </tr>
+ <tr>
+ <td>{{_i}}hide{{/i}}</td>
+ <td>
+ {{_i}}This event is fired immediately when the <code>hide</code> method has been called.{{/i}}
+ </td>
+ </tr>
+ <tr>
+ <td>{{_i}}hidden{{/i}}</td>
+ <td>{{_i}}This event is fired when a collapse element has been hidden from the user (will wait for css transitions to complete).{{/i}}</td>
+ </tr>
+ </tbody>
+ </table>
<pre class="prettyprint linenums">
$('#myCollapsible').on('hidden', function () {
// {{_i}}do something…{{/i}}
})</pre>
- </section>
-
-
-
- <!-- Carousel
- ================================================== -->
- <section id="carousel">
- <div class="page-header">
- <h1>{{_i}}Carousel{{/i}} <small>bootstrap-carousel.js</small></h1>
- </div>
-
- <h2>{{_i}}Example carousel{{/i}}</h2>
- <p>{{_i}}The slideshow below shows a generic plugin and component for cycling through elements like a carousel.{{/i}}</p>
- <div class="bs-docs-example">
- <div id="myCarousel" class="carousel slide">
- <div class="carousel-inner">
- <div class="item active">
- <img src="assets/img/bootstrap-mdo-sfmoma-01.jpg" alt="">
- <div class="carousel-caption">
- <h4>{{_i}}First Thumbnail label{{/i}}</h4>
- <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
+ </section>
+
+
+
+ <!-- Carousel
+ ================================================== -->
+ <section id="carousel">
+ <div class="page-header">
+ <h1>{{_i}}Carousel{{/i}} <small>bootstrap-carousel.js</small></h1>
+ </div>
+
+ <h2>{{_i}}Example carousel{{/i}}</h2>
+ <p>{{_i}}The slideshow below shows a generic plugin and component for cycling through elements like a carousel.{{/i}}</p>
+ <div class="bs-docs-example">
+ <div id="myCarousel" class="carousel slide">
+ <div class="carousel-inner">
+ <div class="item active">
+ <img src="assets/img/bootstrap-mdo-sfmoma-01.jpg" alt="">
+ <div class="carousel-caption">
+ <h4>{{_i}}First Thumbnail label{{/i}}</h4>
+ <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
+ </div>
</div>
- </div>
- <div class="item">
- <img src="assets/img/bootstrap-mdo-sfmoma-02.jpg" alt="">
- <div class="carousel-caption">
- <h4>{{_i}}Second Thumbnail label{{/i}}</h4>
- <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
+ <div class="item">
+ <img src="assets/img/bootstrap-mdo-sfmoma-02.jpg" alt="">
+ <div class="carousel-caption">
+ <h4>{{_i}}Second Thumbnail label{{/i}}</h4>
+ <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
+ </div>
</div>
- </div>
- <div class="item">
- <img src="assets/img/bootstrap-mdo-sfmoma-03.jpg" alt="">
- <div class="carousel-caption">
- <h4>{{_i}}Third Thumbnail label{{/i}}</h4>
- <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
+ <div class="item">
+ <img src="assets/img/bootstrap-mdo-sfmoma-03.jpg" alt="">
+ <div class="carousel-caption">
+ <h4>{{_i}}Third Thumbnail label{{/i}}</h4>
+ <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
+ </div>
</div>
</div>
+ <a class="left carousel-control" href="#myCarousel" data-slide="prev">&lsaquo;</a>
+ <a class="right carousel-control" href="#myCarousel" data-slide="next">&rsaquo;</a>
</div>
- <a class="left carousel-control" href="#myCarousel" data-slide="prev">&lsaquo;</a>
- <a class="right carousel-control" href="#myCarousel" data-slide="next">&rsaquo;</a>
- </div>
- </div>{{! /example }}
+ </div>{{! /example }}
<pre class="prettyprint linenums">
&lt;div id="myCarousel" class="carousel slide"&gt;
&lt;!-- {{_i}}Carousel items{{/i}} --&gt;
@@ -1325,197 +1332,199 @@ $('#myCollapsible').on('hidden', function () {
&lt;/div&gt;
</pre>
- <div class="alert alert-warning">
- <strong>{{_i}}Heads up!{{/i}}</strong>
- {{_i}}When implementing this carousel, remove the images we have provided and replace them with your own.{{/i}}
- </div>
-
-
- <hr class="bs-docs-separator">
-
-
- <h2>{{_i}}Usage{{/i}}</h2>
-
- <h3>{{_i}}Via data attributes{{/i}}</h3>
- <p>{{_i}}...{{/i}}</p>
-
- <h3>{{_i}}Via javascript{{/i}}</h3>
- <p>{{_i}}Call carousel manually with:{{/i}}</p>
- <pre class="prettyprint linenums">$('.carousel').carousel()</pre>
-
- <h3>{{_i}}Options{{/i}}</h3>
- <p>{{_i}}Options can be passed via data attributes or javascript. For data attributes, append the option name to <code>data-</code>, as in <code>data-interval=""</code>.{{/i}}</p>
- <table class="table table-bordered table-striped">
- <thead>
- <tr>
- <th style="width: 100px;">{{_i}}Name{{/i}}</th>
- <th style="width: 50px;">{{_i}}type{{/i}}</th>
- <th style="width: 50px;">{{_i}}default{{/i}}</th>
- <th>{{_i}}description{{/i}}</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>{{_i}}interval{{/i}}</td>
- <td>{{_i}}number{{/i}}</td>
- <td>5000</td>
- <td>{{_i}}The amount of time to delay between automatically cycling an item. If false, carousel will not automatically cycle.{{/i}}</td>
- </tr>
- <tr>
- <td>{{_i}}pause{{/i}}</td>
- <td>{{_i}}string{{/i}}</td>
- <td>"hover"</td>
- <td>{{_i}}Pauses the cycling of the carousel on mouseenter and resumes the cycling of the carousel on mouseleave.{{/i}}</td>
- </tr>
- </tbody>
- </table>
-
- <h3>{{_i}}Methods{{/i}}</h3>
- <h4>.carousel({{_i}}options{{/i}})</h4>
- <p>{{_i}}Initializes the carousel with an optional options <code>object</code> and starts cycling through items.{{/i}}</p>
+ <div class="alert alert-warning">
+ <strong>{{_i}}Heads up!{{/i}}</strong>
+ {{_i}}When implementing this carousel, remove the images we have provided and replace them with your own.{{/i}}
+ </div>
+
+
+ <hr class="bs-docs-separator">
+
+
+ <h2>{{_i}}Usage{{/i}}</h2>
+
+ <h3>{{_i}}Via data attributes{{/i}}</h3>
+ <p>{{_i}}...{{/i}}</p>
+
+ <h3>{{_i}}Via javascript{{/i}}</h3>
+ <p>{{_i}}Call carousel manually with:{{/i}}</p>
+ <pre class="prettyprint linenums">$('.carousel').carousel()</pre>
+
+ <h3>{{_i}}Options{{/i}}</h3>
+ <p>{{_i}}Options can be passed via data attributes or javascript. For data attributes, append the option name to <code>data-</code>, as in <code>data-interval=""</code>.{{/i}}</p>
+ <table class="table table-bordered table-striped">
+ <thead>
+ <tr>
+ <th style="width: 100px;">{{_i}}Name{{/i}}</th>
+ <th style="width: 50px;">{{_i}}type{{/i}}</th>
+ <th style="width: 50px;">{{_i}}default{{/i}}</th>
+ <th>{{_i}}description{{/i}}</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{_i}}interval{{/i}}</td>
+ <td>{{_i}}number{{/i}}</td>
+ <td>5000</td>
+ <td>{{_i}}The amount of time to delay between automatically cycling an item. If false, carousel will not automatically cycle.{{/i}}</td>
+ </tr>
+ <tr>
+ <td>{{_i}}pause{{/i}}</td>
+ <td>{{_i}}string{{/i}}</td>
+ <td>"hover"</td>
+ <td>{{_i}}Pauses the cycling of the carousel on mouseenter and resumes the cycling of the carousel on mouseleave.{{/i}}</td>
+ </tr>
+ </tbody>
+ </table>
+
+ <h3>{{_i}}Methods{{/i}}</h3>
+ <h4>.carousel({{_i}}options{{/i}})</h4>
+ <p>{{_i}}Initializes the carousel with an optional options <code>object</code> and starts cycling through items.{{/i}}</p>
<pre class="prettyprint linenums">
$('.carousel').carousel({
interval: 2000
})
</pre>
- <h4>.carousel('cycle')</h4>
- <p>{{_i}}Cycles through the carousel items from left to right.{{/i}}</p>
- <h4>.carousel('pause')</h4>
- <p>{{_i}}Stops the carousel from cycling through items.{{/i}}</p>
- <h4>.carousel(number)</h4>
- <p>{{_i}}Cycles the carousel to a particular frame (0 based, similar to an array).{{/i}}</p>
- <h4>.carousel('prev')</h4>
- <p>{{_i}}Cycles to the previous item.{{/i}}</p>
- <h4>.carousel('next')</h4>
- <p>{{_i}}Cycles to the next item.{{/i}}</p>
-
- <h3>{{_i}}Events{{/i}}</h3>
- <p>{{_i}}Bootstrap's carousel class exposes two events for hooking into carousel functionality.{{/i}}</p>
- <table class="table table-bordered table-striped">
- <thead>
- <tr>
- <th style="width: 150px;">{{_i}}Event{{/i}}</th>
- <th>{{_i}}Description{{/i}}</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>{{_i}}slide{{/i}}</td>
- <td>{{_i}}This event fires immediately when the <code>slide</code> instance method is invoked.{{/i}}</td>
- </tr>
- <tr>
- <td>{{_i}}slid{{/i}}</td>
- <td>{{_i}}This event is fired when the carousel has completed its slide transition.{{/i}}</td>
- </tr>
- </tbody>
- </table>
- </section>
-
-
-
- <!-- Typeahead
- ================================================== -->
- <section id="typeahead">
- <div class="page-header">
- <h1>{{_i}}Typeahead{{/i}} <small>bootstrap-typeahead.js</small></h1>
- </div>
-
-
- <h2>{{_i}}Example{{/i}}</h2>
- <p>{{_i}}A basic, easily extended plugin for quickly creating elegant typeaheads with any form text input.{{/i}}</p>
- <div class="bs-docs-example" style="background-color: #f5f5f5;">
- <input type="text" class="span3" style="margin: 0 auto;" data-provide="typeahead" data-items="4" data-source='["Alabama","Alaska","Arizona","Arkansas","California","Colorado","Connecticut","Delaware","Florida","Georgia","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New Hampshire","New Jersey","New Mexico","New York","North Dakota","North Carolina","Ohio","Oklahoma","Oregon","Pennsylvania","Rhode Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont","Virginia","Washington","West Virginia","Wisconsin","Wyoming"]'>
- </div>{{! /example }}
+ <h4>.carousel('cycle')</h4>
+ <p>{{_i}}Cycles through the carousel items from left to right.{{/i}}</p>
+ <h4>.carousel('pause')</h4>
+ <p>{{_i}}Stops the carousel from cycling through items.{{/i}}</p>
+ <h4>.carousel(number)</h4>
+ <p>{{_i}}Cycles the carousel to a particular frame (0 based, similar to an array).{{/i}}</p>
+ <h4>.carousel('prev')</h4>
+ <p>{{_i}}Cycles to the previous item.{{/i}}</p>
+ <h4>.carousel('next')</h4>
+ <p>{{_i}}Cycles to the next item.{{/i}}</p>
+
+ <h3>{{_i}}Events{{/i}}</h3>
+ <p>{{_i}}Bootstrap's carousel class exposes two events for hooking into carousel functionality.{{/i}}</p>
+ <table class="table table-bordered table-striped">
+ <thead>
+ <tr>
+ <th style="width: 150px;">{{_i}}Event{{/i}}</th>
+ <th>{{_i}}Description{{/i}}</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{_i}}slide{{/i}}</td>
+ <td>{{_i}}This event fires immediately when the <code>slide</code> instance method is invoked.{{/i}}</td>
+ </tr>
+ <tr>
+ <td>{{_i}}slid{{/i}}</td>
+ <td>{{_i}}This event is fired when the carousel has completed its slide transition.{{/i}}</td>
+ </tr>
+ </tbody>
+ </table>
+ </section>
+
+
+
+ <!-- Typeahead
+ ================================================== -->
+ <section id="typeahead">
+ <div class="page-header">
+ <h1>{{_i}}Typeahead{{/i}} <small>bootstrap-typeahead.js</small></h1>
+ </div>
+
+
+ <h2>{{_i}}Example{{/i}}</h2>
+ <p>{{_i}}A basic, easily extended plugin for quickly creating elegant typeaheads with any form text input.{{/i}}</p>
+ <div class="bs-docs-example" style="background-color: #f5f5f5;">
+ <input type="text" class="span3" style="margin: 0 auto;" data-provide="typeahead" data-items="4" data-source='["Alabama","Alaska","Arizona","Arkansas","California","Colorado","Connecticut","Delaware","Florida","Georgia","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New Hampshire","New Jersey","New Mexico","New York","North Dakota","North Carolina","Ohio","Oklahoma","Oregon","Pennsylvania","Rhode Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont","Virginia","Washington","West Virginia","Wisconsin","Wyoming"]'>
+ </div>{{! /example }}
<pre class="prettyprint linenums">
&lt;input type="text" data-provide="typeahead"&gt;
</pre>
- <hr class="bs-docs-separator">
-
-
- <h2>{{_i}}Usage{{/i}}</h2>
-
- <h3>{{_i}}Via data attributes{{/i}}</h3>
- <p>{{_i}}Add data attributes to register an element with typeahead functionality as shown in the example above.{{/i}}</p>
+ <hr class="bs-docs-separator">
+
+
+ <h2>{{_i}}Usage{{/i}}</h2>
+
+ <h3>{{_i}}Via data attributes{{/i}}</h3>
+ <p>{{_i}}Add data attributes to register an element with typeahead functionality as shown in the example above.{{/i}}</p>
+
+ <h3>{{_i}}Via javascript{{/i}}</h3>
+ <p>{{_i}}Call the typeahead manually with:{{/i}}</p>
+ <pre class="prettyprint linenums">$('.typeahead').typeahead()</pre>
+
+ <h3>{{_i}}Options{{/i}}</h3>
+ <p>{{_i}}Options can be passed via data attributes or javascript. For data attributes, append the option name to <code>data-</code>, as in <code>data-source=""</code>.{{/i}}</p>
+ <table class="table table-bordered table-striped">
+ <thead>
+ <tr>
+ <th style="width: 100px;">{{_i}}Name{{/i}}</th>
+ <th style="width: 50px;">{{_i}}type{{/i}}</th>
+ <th style="width: 100px;">{{_i}}default{{/i}}</th>
+ <th>{{_i}}description{{/i}}</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{_i}}source{{/i}}</td>
+ <td>{{_i}}array, function{{/i}}</td>
+ <td>[ ]</td>
+ <td>{{_i}}The data source to query against. May be an array of strings or a function. The function is passed two arguments, the <code>query</code> value in the input field and the <code>process</code> callback. The function may be used synchronously by returning the data source directly or asynchronously via the <code>process</code> callback's single argument.{{/i}}</td>
+ </tr>
+ <tr>
+ <td>{{_i}}items{{/i}}</td>
+ <td>{{_i}}number{{/i}}</td>
+ <td>8</td>
+ <td>{{_i}}The max number of items to display in the dropdown.{{/i}}</td>
+ </tr>
+ <tr>
+ <td>{{_i}}matcher{{/i}}</td>
+ <td>{{_i}}function{{/i}}</td>
+ <td>{{_i}}case insensitive{{/i}}</td>
+ <td>{{_i}}The method used to determine if a query matches an item. Accepts a single argument, the <code>item</code> against which to test the query. Access the current query with <code>this.query</code>. Return a boolean <code>true</code> if query is a match.{{/i}}</td>
+ </tr>
+ <tr>
+ <td>{{_i}}sorter{{/i}}</td>
+ <td>{{_i}}function{{/i}}</td>
+ <td>{{_i}}exact match,<br> case sensitive,<br> case insensitive{{/i}}</td>
+ <td>{{_i}}Method used to sort autocomplete results. Accepts a single argument <code>items</code> and has the scope of the typeahead instance. Reference the current query with <code>this.query</code>.{{/i}}</td>
+ </tr>
+ <tr>
+ <td>{{_i}}highlighter{{/i}}</td>
+ <td>{{_i}}function{{/i}}</td>
+ <td>{{_i}}highlights all default matches{{/i}}</td>
+ <td>{{_i}}Method used to highlight autocomplete results. Accepts a single argument <code>item</code> and has the scope of the typeahead instance. Should return html.{{/i}}</td>
+ </tr>
+ </tbody>
+ </table>
+
+ <h3>{{_i}}Methods{{/i}}</h3>
+ <h4>.typeahead({{_i}}options{{/i}})</h4>
+ <p>{{_i}}Initializes an input with a typeahead.{{/i}}</p>
+ </section>
+
+
+
+ <!-- Affix
+ ================================================== -->
+ <section id="affix">
+ <div class="page-header">
+ <h1>
+ {{_i}}Affix{{/i}}
+ <small>{{_i}}Make an element stick in place{{/i}}</small>
+ </h1>
+ </div>
- <h3>{{_i}}Via javascript{{/i}}</h3>
- <p>{{_i}}Call the typeahead manually with:{{/i}}</p>
- <pre class="prettyprint linenums">$('.typeahead').typeahead()</pre>
+ <h2>{{_i}}...{{/i}}</h2>
+ <p>{{_i}}...{{/i}}</p>
+ <div class="bs-docs-example">
- <h3>{{_i}}Options{{/i}}</h3>
- <p>{{_i}}Options can be passed via data attributes or javascript. For data attributes, append the option name to <code>data-</code>, as in <code>data-source=""</code>.{{/i}}</p>
- <table class="table table-bordered table-striped">
- <thead>
- <tr>
- <th style="width: 100px;">{{_i}}Name{{/i}}</th>
- <th style="width: 50px;">{{_i}}type{{/i}}</th>
- <th style="width: 100px;">{{_i}}default{{/i}}</th>
- <th>{{_i}}description{{/i}}</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>{{_i}}source{{/i}}</td>
- <td>{{_i}}array, function{{/i}}</td>
- <td>[ ]</td>
- <td>{{_i}}The data source to query against. May be an array of strings or a function. The function is passed two arguments, the <code>query</code> value in the input field and the <code>process</code> callback. The function may be used synchronously by returning the data source directly or asynchronously via the <code>process</code> callback's single argument.{{/i}}</td>
- </tr>
- <tr>
- <td>{{_i}}items{{/i}}</td>
- <td>{{_i}}number{{/i}}</td>
- <td>8</td>
- <td>{{_i}}The max number of items to display in the dropdown.{{/i}}</td>
- </tr>
- <tr>
- <td>{{_i}}matcher{{/i}}</td>
- <td>{{_i}}function{{/i}}</td>
- <td>{{_i}}case insensitive{{/i}}</td>
- <td>{{_i}}The method used to determine if a query matches an item. Accepts a single argument, the <code>item</code> against which to test the query. Access the current query with <code>this.query</code>. Return a boolean <code>true</code> if query is a match.{{/i}}</td>
- </tr>
- <tr>
- <td>{{_i}}sorter{{/i}}</td>
- <td>{{_i}}function{{/i}}</td>
- <td>{{_i}}exact match,<br> case sensitive,<br> case insensitive{{/i}}</td>
- <td>{{_i}}Method used to sort autocomplete results. Accepts a single argument <code>items</code> and has the scope of the typeahead instance. Reference the current query with <code>this.query</code>.{{/i}}</td>
- </tr>
- <tr>
- <td>{{_i}}highlighter{{/i}}</td>
- <td>{{_i}}function{{/i}}</td>
- <td>{{_i}}highlights all default matches{{/i}}</td>
- <td>{{_i}}Method used to highlight autocomplete results. Accepts a single argument <code>item</code> and has the scope of the typeahead instance. Should return html.{{/i}}</td>
- </tr>
- </tbody>
- </table>
-
- <h3>{{_i}}Methods{{/i}}</h3>
- <h4>.typeahead({{_i}}options{{/i}})</h4>
- <p>{{_i}}Initializes an input with a typeahead.{{/i}}</p>
- </section>
-
-
-
- <!-- Affix
- ================================================== -->
- <section id="affix">
- <div class="page-header">
- <h1>
- {{_i}}Affix{{/i}}
- <small>{{_i}}Make an element stick in place{{/i}}</small>
- </h1>
- </div>
-
- <h2>{{_i}}...{{/i}}</h2>
- <p>{{_i}}...{{/i}}</p>
- <div class="bs-docs-example">
-
- </div>
+ </div>
<pre class="prettyprint linenums">
...
</pre>
- </section>
+ </section>
+
+ </div>{{! /span9 }}
+ </div>{{! row}}
- </div>{{! /span9 }}
-</div>{{! row}}
+</div>{{! /container }}
diff --git a/docs/templates/pages/scaffolding.mustache b/docs/templates/pages/scaffolding.mustache
index 05e1c4e2ad..86806bb563 100644
--- a/docs/templates/pages/scaffolding.mustache
+++ b/docs/templates/pages/scaffolding.mustache
@@ -1,38 +1,41 @@
<!-- Subhead
================================================== -->
<header class="jumbotron subhead" id="overview">
- <h1>{{_i}}Scaffolding{{/i}}</h1>
- <p class="lead">{{_i}}Bootstrap is built on a responsive 12-column grid. We've also included fixed- and fluid-width layouts based on that system.{{/i}}</p>
+ <div class="container">
+ <h1>{{_i}}Scaffolding{{/i}}</h1>
+ <p class="lead">{{_i}}Bootstrap is built on a responsive 12-column grid and includes fixed- and fluid-width layouts.{{/i}}</p>
+ </div>
</header>
+<div class="container">
-<!-- Docs nav
-================================================== -->
-<div class="row">
- <div class="span3 bs-docs-sidebar">
- <ul class="nav nav-list bs-docs-sidenav">
- <li><a href="#global">{{_i}}Global styles{{/i}} <i class="icon-chevron-right"></i></a></li>
- <li><a href="#gridSystem">{{_i}}Grid system{{/i}} <i class="icon-chevron-right"></i></a></li>
- <li><a href="#fluidGridSystem">{{_i}}Fluid grid system{{/i}} <i class="icon-chevron-right"></i></a></li>
- <li><a href="#gridCustomization">{{_i}}Customizing{{/i}} <i class="icon-chevron-right"></i></a></li>
- <li><a href="#layouts">{{_i}}Layouts{{/i}} <i class="icon-chevron-right"></i></a></li>
- <li><a href="#responsive">{{_i}}Responsive design{{/i}} <i class="icon-chevron-right"></i></a></li>
- </ul>
- </div>
- <div class="span9">
+ <!-- Docs nav
+ ================================================== -->
+ <div class="row">
+ <div class="span3 bs-docs-sidebar">
+ <ul class="nav nav-list bs-docs-sidenav">
+ <li><a href="#global">{{_i}}Global styles{{/i}} <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#gridSystem">{{_i}}Grid system{{/i}} <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#fluidGridSystem">{{_i}}Fluid grid system{{/i}} <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#layouts">{{_i}}Layouts{{/i}} <i class="icon-chevron-right"></i></a></li>
+ <li><a href="#responsive">{{_i}}Responsive design{{/i}} <i class="icon-chevron-right"></i></a></li>
+ </ul>
+ </div>
+ <div class="span9">
- <!-- Global Bootstrap settings
- ================================================== -->
- <section id="global">
- <div class="page-header">
- <h1>{{_i}}Global styles <small>for CSS reset, typography, and links</small>{{/i}}</h1>
- </div>
- <h2>{{_i}}Requires HTML5 doctype{{/i}}</h2>
- <p>{{_i}}Bootstrap makes use of certain HTML elements and CSS properties that require the use of the HTML5 doctype. Include it at the beginning of all your projects.{{/i}}</p>
+ <!-- Global Bootstrap settings
+ ================================================== -->
+ <section id="global">
+ <div class="page-header">
+ <h1>{{_i}}Global styles <small>for CSS reset, typography, and links</small>{{/i}}</h1>
+ </div>
+
+ <h3>{{_i}}Requires HTML5 doctype{{/i}}</h3>
+ <p>{{_i}}Bootstrap makes use of certain HTML elements and CSS properties that require the use of the HTML5 doctype. Include it at the beginning of all your projects.{{/i}}</p>
<pre class="prettyprint linenums">
&lt;!DOCTYPE html&gt;
&lt;html lang="en"&gt;
@@ -40,84 +43,84 @@
&lt;/html&gt;
</pre>
- <h2>{{_i}}Typography and links{{/i}}</h2>
- <p>{{_i}}Bootstrap sets basic global display, typography, and link styles. Specifically, we:{{/i}}</p>
- <ul>
- <li>{{_i}}Remove <code>margin</code> on the body{{/i}}</li>
- <li>{{_i}}Set <code>background-color: white;</code> on the <code>body</code>{{/i}}</li>
- <li>{{_i}}Use the <code>@baseFontFamily</code>, <code>@baseFontSize</code>, and <code>@baseLineHeight</code> attributes as our typographyic base{{/i}}</li>
- <li>{{_i}}Set the global link color via <code>@linkColor</code> and apply link underlines only on <code>:hover</code>{{/i}}</li>
- </ul>
- <p>{{_i}}These styles can be found within <strong>scaffolding.less</strong>.{{/i}}</p>
-
- <h2>{{_i}}Reset via Normalize{{/i}}</h2>
- <p>{{_i}}With Bootstrap 2, the old reset block has been dropped in favor of <a href="http://necolas.github.com/normalize.css/" target="_blank">Normalize.css</a>, a project by <a href="http://twitter.com/necolas" target="_blank">Nicolas Gallagher</a> that also powers the <a href="http://html5boilerplate.com" target="_blank">HTML5 Boilerplate</a>. While we use much of Normalize within our <strong>reset.less</strong>, we have removed some elements specifically for Bootstrap.{{/i}}</p>
+ <h3>{{_i}}Typography and links{{/i}}</h3>
+ <p>{{_i}}Bootstrap sets basic global display, typography, and link styles. Specifically, we:{{/i}}</p>
+ <ul>
+ <li>{{_i}}Remove <code>margin</code> on the body{{/i}}</li>
+ <li>{{_i}}Set <code>background-color: white;</code> on the <code>body</code>{{/i}}</li>
+ <li>{{_i}}Use the <code>@baseFontFamily</code>, <code>@baseFontSize</code>, and <code>@baseLineHeight</code> attributes as our typographyic base{{/i}}</li>
+ <li>{{_i}}Set the global link color via <code>@linkColor</code> and apply link underlines only on <code>:hover</code>{{/i}}</li>
+ </ul>
+ <p>{{_i}}These styles can be found within <strong>scaffolding.less</strong>.{{/i}}</p>
- </section>
+ <h3>{{_i}}Reset via Normalize{{/i}}</h3>
+ <p>{{_i}}With Bootstrap 2, the old reset block has been dropped in favor of <a href="http://necolas.github.com/normalize.css/" target="_blank">Normalize.css</a>, a project by <a href="http://twitter.com/necolas" target="_blank">Nicolas Gallagher</a> that also powers the <a href="http://html5boilerplate.com" target="_blank">HTML5 Boilerplate</a>. While we use much of Normalize within our <strong>reset.less</strong>, we have removed some elements specifically for Bootstrap.{{/i}}</p>
+ </section>
- <!-- Grid system
- ================================================== -->
- <section id="gridSystem">
- <div class="page-header">
- <h1>{{_i}}Default grid system <small>12 columns with a responsive twist</small>{{/i}}</h1>
- </div>
- <h2>{{_i}}Live grid example{{/i}}</h2>
- <p>{{_i}}The default Bootstrap grid system utilizes <strong>12 columns</strong>, making for a 940px wide container without <a href="#responsive">responsive features</a> enabled. With the responsive CSS file added, the grid adapts to be 724px and 1170px wide depending on your viewport. Below 767px viewports, the columns become fluid and stack vertically.{{/i}}</p>
- <div class="bs-docs-grid">
- <div class="row show-grid">
- <div class="span1">1</div>
- <div class="span1">1</div>
- <div class="span1">1</div>
- <div class="span1">1</div>
- <div class="span1">1</div>
- <div class="span1">1</div>
- <div class="span1">1</div>
- <div class="span1">1</div>
- <div class="span1">1</div>
- </div>
- <div class="row show-grid">
- <div class="span2">2</div>
- <div class="span3">3</div>
- <div class="span4">4</div>
+ <!-- Grid system
+ ================================================== -->
+ <section id="gridSystem">
+ <div class="page-header">
+ <h1>{{_i}}Default grid system <small>12 columns with a responsive twist</small>{{/i}}</h1>
</div>
- <div class="row show-grid">
- <div class="span4">4</div>
- <div class="span5">5</div>
- </div>
- <div class="row show-grid">
- <div class="span9">9</div>
+
+ <h2>{{_i}}Live grid example{{/i}}</h2>
+ <p>{{_i}}The default Bootstrap grid system utilizes <strong>12 columns</strong>, making for a 940px wide container without <a href="#responsive">responsive features</a> enabled. With the responsive CSS file added, the grid adapts to be 724px and 1170px wide depending on your viewport. Below 767px viewports, the columns become fluid and stack vertically.{{/i}}</p>
+ <div class="bs-docs-grid">
+ <div class="row show-grid">
+ <div class="span1">1</div>
+ <div class="span1">1</div>
+ <div class="span1">1</div>
+ <div class="span1">1</div>
+ <div class="span1">1</div>
+ <div class="span1">1</div>
+ <div class="span1">1</div>
+ <div class="span1">1</div>
+ <div class="span1">1</div>
+ </div>
+ <div class="row show-grid">
+ <div class="span2">2</div>
+ <div class="span3">3</div>
+ <div class="span4">4</div>
+ </div>
+ <div class="row show-grid">
+ <div class="span4">4</div>
+ <div class="span5">5</div>
+ </div>
+ <div class="row show-grid">
+ <div class="span9">9</div>
+ </div>
</div>
- </div>
- <h3>{{_i}}Basic grid HTML{{/i}}</h3>
- <p>{{_i}}For a simple two column layout, create a <code>.row</code> and add the appropriate number of <code>.span*</code> columns. As this is a 12-column grid, each <code>.span*</code> spans a number of those 12 columns, and should always add up to 12 for each row.{{/i}}</p>
+ <h3>{{_i}}Basic grid HTML{{/i}}</h3>
+ <p>{{_i}}For a simple two column layout, create a <code>.row</code> and add the appropriate number of <code>.span*</code> columns. As this is a 12-column grid, each <code>.span*</code> spans a number of those 12 columns, and should always add up to 12 for each row.{{/i}}</p>
<pre class="prettyprint linenums">
&lt;div class="row"&gt;
&lt;div class="span4"&gt;...&lt;/div&gt;
&lt;div class="span8"&gt;...&lt;/div&gt;
&lt;/div&gt;
</pre>
- <p>{{_i}}Given this example, we have <code>.span4</code> and <code>.span8</code>, making for 12 total columns and a complete row.{{/i}}</p>
-
- <h2>{{_i}}Offsetting columns{{/i}}</h2>
- <p>{{_i}}Move columns to the left using <code>.offset*</code> classes. Each class increases the left margin of a column by a whole column. For example, <code>.offset4</code> moves <code>.span4</code> over four columns.{{/i}}</p>
- <div class="bs-docs-grid">
- <div class="row show-grid">
- <div class="span4">4</div>
- <div class="span3 offset2">3 offset 2</div>
- </div><!-- /row -->
- <div class="row show-grid">
- <div class="span3 offset1">3 offset 1</div>
- <div class="span3 offset2">3 offset 2</div>
- </div><!-- /row -->
- <div class="row show-grid">
- <div class="span6 offset3">6 offset 3</div>
- </div><!-- /row -->
- </div>
+ <p>{{_i}}Given this example, we have <code>.span4</code> and <code>.span8</code>, making for 12 total columns and a complete row.{{/i}}</p>
+
+ <h2>{{_i}}Offsetting columns{{/i}}</h2>
+ <p>{{_i}}Move columns to the left using <code>.offset*</code> classes. Each class increases the left margin of a column by a whole column. For example, <code>.offset4</code> moves <code>.span4</code> over four columns.{{/i}}</p>
+ <div class="bs-docs-grid">
+ <div class="row show-grid">
+ <div class="span4">4</div>
+ <div class="span3 offset2">3 offset 2</div>
+ </div><!-- /row -->
+ <div class="row show-grid">
+ <div class="span3 offset1">3 offset 1</div>
+ <div class="span3 offset2">3 offset 2</div>
+ </div><!-- /row -->
+ <div class="row show-grid">
+ <div class="span6 offset3">6 offset 3</div>
+ </div><!-- /row -->
+ </div>
<pre class="prettyprint linenums">
&lt;div class="row"&gt;
&lt;div class="span4"&gt;...&lt;/div&gt;
@@ -125,23 +128,23 @@
&lt;/div&gt;
</pre>
- <h2>{{_i}}Nesting columns{{/i}}</h2>
- <p>{{_i}}To nest your content with the default grid, add a new <code>.row</code> and set of <code>.span*</code> columns within an existing <code>.span*</code> column. Nested rows should include a set of columns that add up to the number of columns of its parent.{{/i}}</p>
- <h3>{{_i}}Example{{/i}}</h3>
- <p>{{_i}}Here two nested <code>.span4</code> columns are placed within a <code>.span8</code>.{{/i}}</p>
- <div class="row show-grid">
- <div class="span9">
- {{_i}}Level 1 of column{{/i}}
- <div class="row show-grid">
- <div class="span5">
- {{_i}}Level 2{{/i}}
- </div>
- <div class="span4">
- {{_i}}Level 2{{/i}}
+ <h2>{{_i}}Nesting columns{{/i}}</h2>
+ <p>{{_i}}To nest your content with the default grid, add a new <code>.row</code> and set of <code>.span*</code> columns within an existing <code>.span*</code> column. Nested rows should include a set of columns that add up to the number of columns of its parent.{{/i}}</p>
+ <h3>{{_i}}Example{{/i}}</h3>
+ <p>{{_i}}Here two nested <code>.span4</code> columns are placed within a <code>.span8</code>.{{/i}}</p>
+ <div class="row show-grid">
+ <div class="span9">
+ {{_i}}Level 1 of column{{/i}}
+ <div class="row show-grid">
+ <div class="span5">
+ {{_i}}Level 2{{/i}}
+ </div>
+ <div class="span4">
+ {{_i}}Level 2{{/i}}
+ </div>
</div>
</div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="row"&gt;
&lt;div class="span10"&gt;
@@ -153,54 +156,54 @@
&lt;/div&gt;
&lt;/div&gt;
</pre>
- </section>
-
+ </section>
- <!-- Fluid grid system
- ================================================== -->
- <section id="fluidGridSystem">
- <div class="page-header">
- <h1>{{_i}}Fluid grid system <small>12 responsive, percent-based columns</small>{{/i}}</h1>
- </div>
- <h2>{{_i}}Live fluid grid example{{/i}}</h2>
- <p>{{_i}}The fluid grid system uses percents instead of pixels for column widths. It has the same responsive capabilities as our fixed grid system, ensuring proper proportions for key screen resolutions and devices.{{/i}}</p>
- <div class="bs-docs-grid">
- <div class="row-fluid show-grid">
- <div class="span1">1</div>
- <div class="span1">1</div>
- <div class="span1">1</div>
- <div class="span1">1</div>
- <div class="span1">1</div>
- <div class="span1">1</div>
- <div class="span1">1</div>
- <div class="span1">1</div>
- <div class="span1">1</div>
- <div class="span1">1</div>
- <div class="span1">1</div>
- <div class="span1">1</div>
- </div>
- <div class="row-fluid show-grid">
- <div class="span4">4</div>
- <div class="span4">4</div>
- <div class="span4">4</div>
- </div>
- <div class="row-fluid show-grid">
- <div class="span4">4</div>
- <div class="span8">8</div>
- </div>
- <div class="row-fluid show-grid">
- <div class="span6">6</div>
- <div class="span6">6</div>
+ <!-- Fluid grid system
+ ================================================== -->
+ <section id="fluidGridSystem">
+ <div class="page-header">
+ <h1>{{_i}}Fluid grid system <small>12 responsive, percent-based columns</small>{{/i}}</h1>
</div>
- <div class="row-fluid show-grid">
- <div class="span12">12</div>
+
+ <h2>{{_i}}Live fluid grid example{{/i}}</h2>
+ <p>{{_i}}The fluid grid system uses percents instead of pixels for column widths. It has the same responsive capabilities as our fixed grid system, ensuring proper proportions for key screen resolutions and devices.{{/i}}</p>
+ <div class="bs-docs-grid">
+ <div class="row-fluid show-grid">
+ <div class="span1">1</div>
+ <div class="span1">1</div>
+ <div class="span1">1</div>
+ <div class="span1">1</div>
+ <div class="span1">1</div>
+ <div class="span1">1</div>
+ <div class="span1">1</div>
+ <div class="span1">1</div>
+ <div class="span1">1</div>
+ <div class="span1">1</div>
+ <div class="span1">1</div>
+ <div class="span1">1</div>
+ </div>
+ <div class="row-fluid show-grid">
+ <div class="span4">4</div>
+ <div class="span4">4</div>
+ <div class="span4">4</div>
+ </div>
+ <div class="row-fluid show-grid">
+ <div class="span4">4</div>
+ <div class="span8">8</div>
+ </div>
+ <div class="row-fluid show-grid">
+ <div class="span6">6</div>
+ <div class="span6">6</div>
+ </div>
+ <div class="row-fluid show-grid">
+ <div class="span12">12</div>
+ </div>
</div>
- </div>
- <h3>{{_i}}Basic fluid grid HTML{{/i}}</h3>
- <p>{{_i}}Make any row "fluid" by changing <code>.row</code> to <code>.row-fluid</code>. The column classes stay the exact same, making it easy to flip between fixed and fluid grids.{{/i}}</p>
+ <h3>{{_i}}Basic fluid grid HTML{{/i}}</h3>
+ <p>{{_i}}Make any row "fluid" by changing <code>.row</code> to <code>.row-fluid</code>. The column classes stay the exact same, making it easy to flip between fixed and fluid grids.{{/i}}</p>
<pre class="prettyprint linenums">
&lt;div class="row-fluid"&gt;
&lt;div class="span4"&gt;...&lt;/div&gt;
@@ -208,21 +211,21 @@
&lt;/div&gt;
</pre>
- <h2>{{_i}}Fluid offsetting{{/i}}</h2>
- <p>{{_i}}Operates the same way as the fixed grid system offsetting: add <code>.offset*</code> to any column to offset by that many columns.{{/i}}</p>
- <div class="bs-docs-grid">
- <div class="row-fluid show-grid">
- <div class="span4">4</div>
- <div class="span4 offset4">4 offset 4</div>
- </div><!-- /row -->
- <div class="row-fluid show-grid">
- <div class="span3 offset3">3 offset 3</div>
- <div class="span3 offset3">3 offset 3</div>
- </div><!-- /row -->
- <div class="row-fluid show-grid">
- <div class="span6 offset6">6 offset 6</div>
- </div><!-- /row -->
- </div>
+ <h2>{{_i}}Fluid offsetting{{/i}}</h2>
+ <p>{{_i}}Operates the same way as the fixed grid system offsetting: add <code>.offset*</code> to any column to offset by that many columns.{{/i}}</p>
+ <div class="bs-docs-grid">
+ <div class="row-fluid show-grid">
+ <div class="span4">4</div>
+ <div class="span4 offset4">4 offset 4</div>
+ </div><!-- /row -->
+ <div class="row-fluid show-grid">
+ <div class="span3 offset3">3 offset 3</div>
+ <div class="span3 offset3">3 offset 3</div>
+ </div><!-- /row -->
+ <div class="row-fluid show-grid">
+ <div class="span6 offset6">6 offset 6</div>
+ </div><!-- /row -->
+ </div>
<pre class="prettyprint linenums">
&lt;div class="row-fluid"&gt;
&lt;div class="span4"&gt;...&lt;/div&gt;
@@ -230,21 +233,21 @@
&lt;/div&gt;
</pre>
- <h2>{{_i}}Fluid nesting{{/i}}</h2>
- <p>{{_i}}Nesting with fluid grids is a bit different: the number of nested columns should not match the parent's number of columns. Instead, each level of nested columns are reset because each row takes up 100% of the parent column.{{/i}}</p>
- <div class="row-fluid show-grid">
- <div class="span12">
- {{_i}}Fluid 12{{/i}}
- <div class="row-fluid show-grid">
- <div class="span6">
- {{_i}}Fluid 6{{/i}}
- </div>
- <div class="span6">
- {{_i}}Fluid 6{{/i}}
+ <h2>{{_i}}Fluid nesting{{/i}}</h2>
+ <p>{{_i}}Nesting with fluid grids is a bit different: the number of nested columns should not match the parent's number of columns. Instead, each level of nested columns are reset because each row takes up 100% of the parent column.{{/i}}</p>
+ <div class="row-fluid show-grid">
+ <div class="span12">
+ {{_i}}Fluid 12{{/i}}
+ <div class="row-fluid show-grid">
+ <div class="span6">
+ {{_i}}Fluid 6{{/i}}
+ </div>
+ <div class="span6">
+ {{_i}}Fluid 6{{/i}}
+ </div>
</div>
</div>
</div>
- </div>
<pre class="prettyprint linenums">
&lt;div class="row-fluid"&gt;
&lt;div class="span12"&gt;
@@ -257,78 +260,23 @@
&lt;/div&gt;
</pre>
- </section>
-
-
-
- <!-- Customizaton
- ================================================== -->
- <section id="gridCustomization">
- <div class="page-header">
- <h1>{{_i}}Grid customization{{/i}}</h1>
- </div>
-
- <h2>{{_i}}Variables in LESS{{/i}}</h2>
- <p>{{_i}}The default grid is built on a few variables for easy customization via LESS. All variables can be found in <strong>variables.less</strong>.{{/i}}</p>
- <table class="table table-bordered table-striped">
- <thead>
- <tr>
- <th>{{_i}}Variable{{/i}}</th>
- <th>{{_i}}Default value{{/i}}</th>
- <th>{{_i}}Description{{/i}}</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><code>@gridColumns</code></td>
- <td>12</td>
- <td>{{_i}}Number of columns{{/i}}</td>
- </tr>
- <tr>
- <td><code>@gridColumnWidth</code></td>
- <td>60px</td>
- <td>{{_i}}Width of each column{{/i}}</td>
- </tr>
- <tr>
- <td><code>@gridGutterWidth</code></td>
- <td>20px</td>
- <td>{{_i}}Negative space between columns{{/i}}</td>
- </tr>
- <tr>
- <td><code>@fluidGridColumnWidth</code></td>
- <td>6.382978723%</td>
- <td>{{_i}}Width of each fluid column{{/i}}</td>
- </tr>
- <tr>
- <td><code>@fluidGridGutterWidth</code></td>
- <td>2.127659574%</td>
- <td>{{_i}}Negative space between fluid columns{{/i}}</td>
- </tr>
- </tbody>
- </table>
-
- <h3>{{_i}}How to customize{{/i}}</h3>
- <p>{{_i}}Modifying the grid means changing the three <code>@grid*</code> variables and recompiling Bootstrap. Change the grid variables in <strong>variables.less</strong> and use one of the <a href="less.html#compiling">four ways documented to recompile</a>. If you're adding more columns, be sure to add the CSS for those in <strong>grid.less</strong>.{{/i}}</p>
-
- <h2>{{_i}}Staying responsive{{/i}}</h2>
- <p>{{_i}}Customization of the grid only works at the default level, the 940px grid. To maintain the responsive aspects of Bootstrap, you'll also have to manually customize the grids in <strong>responsive.less</strong> until a future update improves this.{{/i}}</p>
-
- </section>
-
-
-
- <!-- Layouts (Default and fluid)
- ================================================== -->
- <section id="layouts">
- <div class="page-header">
- <h1>{{_i}}Layouts <small>Basic templates to create webpages</small>{{/i}}</h1>
- </div>
-
- <h2>{{_i}}Fixed layout{{/i}}</h2>
- <p>{{_i}}Provides a common fixed-width (and optionally responsive) layout with only <code>&lt;div class="container"&gt;</code> required.{{/i}}</p>
- <div class="mini-layout">
- <div class="mini-layout-body"></div>
- </div>
+ </section>
+
+
+
+
+ <!-- Layouts (Default and fluid)
+ ================================================== -->
+ <section id="layouts">
+ <div class="page-header">
+ <h1>{{_i}}Layouts <small>Basic templates to create webpages</small>{{/i}}</h1>
+ </div>
+
+ <h2>{{_i}}Fixed layout{{/i}}</h2>
+ <p>{{_i}}Provides a common fixed-width (and optionally responsive) layout with only <code>&lt;div class="container"&gt;</code> required.{{/i}}</p>
+ <div class="mini-layout">
+ <div class="mini-layout-body"></div>
+ </div>
<pre class="prettyprint linenums">
&lt;body&gt;
&lt;div class="container"&gt;
@@ -337,12 +285,12 @@
&lt;/body&gt;
</pre>
- <h2>{{_i}}Fluid layout{{/i}}</h2>
- <p>{{_i}}Create a fluid, two-column page with <code>&lt;div class="container-fluid"&gt;</code>&mdash;great for applications and docs.{{/i}}</p>
- <div class="mini-layout fluid">
- <div class="mini-layout-sidebar"></div>
- <div class="mini-layout-body"></div>
- </div>
+ <h2>{{_i}}Fluid layout{{/i}}</h2>
+ <p>{{_i}}Create a fluid, two-column page with <code>&lt;div class="container-fluid"&gt;</code>&mdash;great for applications and docs.{{/i}}</p>
+ <div class="mini-layout fluid">
+ <div class="mini-layout-sidebar"></div>
+ <div class="mini-layout-body"></div>
+ </div>
<pre class="prettyprint linenums">
&lt;div class="container-fluid"&gt;
&lt;div class="row-fluid"&gt;
@@ -355,81 +303,81 @@
&lt;/div&gt;
&lt;/div&gt;
</pre>
- </section>
+ </section>
- <!-- Responsive design
- ================================================== -->
- <section id="responsive">
- <div class="page-header">
- <h1>{{_i}}Responsive design <small>Media queries for various devices and resolutions</small>{{/i}}</h1>
- </div>
+ <!-- Responsive design
+ ================================================== -->
+ <section id="responsive">
+ <div class="page-header">
+ <h1>{{_i}}Responsive design <small>Media queries for various devices and resolutions</small>{{/i}}</h1>
+ </div>
- {{! Enabling }}
- <h2>{{_i}}Enabling responsive features{{/i}}</h2>
- <p>{{_i}}Turn on responsive CSS in your project by including the proper meta tag and additional stylesheet within the <code>&lt;head&gt;</code> of your document. If you've compiled Bootstrap from the Customize page, you need only include the meta tag.{{/i}}</p>
+ {{! Enabling }}
+ <h2>{{_i}}Enabling responsive features{{/i}}</h2>
+ <p>{{_i}}Turn on responsive CSS in your project by including the proper meta tag and additional stylesheet within the <code>&lt;head&gt;</code> of your document. If you've compiled Bootstrap from the Customize page, you need only include the meta tag.{{/i}}</p>
<pre class="prettyprint linenums">
&lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&gt;
&lt;link href="assets/css/bootstrap-responsive.css" rel="stylesheet"&gt;
</pre>
- <p><span class="label label-info">{{_i}}Heads up!{{/i}}</span> {{_i}} Bootstrap doesn't include responsive features by default at this time as not everything needs to be responsive. Instead of encouraging developers to remove this feature, we figure it best to enable it as needed.{{/i}}</p>
-
- {{! About }}
- <h2>{{_i}}About responsive Bootstrap{{/i}}</h2>
- <img src="assets/img/responsive-illustrations.png" alt="Responsive devices" style="float: right; margin: 0 0 20px 20px;">
- <p>{{_i}}Media queries allow for custom CSS based on a number of conditions&mdash;ratios, widths, display type, etc&mdash;but usually focuses around <code>min-width</code> and <code>max-width</code>.{{/i}}</p>
- <ul>
- <li>{{_i}}Modify the width of column in our grid{{/i}}</li>
- <li>{{_i}}Stack elements instead of float wherever necessary{{/i}}</li>
- <li>{{_i}}Resize headings and text to be more appropriate for devices{{/i}}</li>
- </ul>
- <p>{{_i}}Use media queries responsibly and only as a start to your mobile audiences. For larger projects, do consider dedicated code bases and not layers of media queries.{{/i}}</p>
-
- {{! Supported }}
- <h2>{{_i}}Supported devices{{/i}}</h2>
- <p>{{_i}}Bootstrap supports a handful of media queries in a single file to help make your projects more appropriate on different devices and screen resolutions. Here's what's included:{{/i}}</p>
- <table class="table table-bordered table-striped">
- <thead>
- <tr>
- <th>{{_i}}Label{{/i}}</th>
- <th>{{_i}}Layout width{{/i}}</th>
- <th>{{_i}}Column width{{/i}}</th>
- <th>{{_i}}Gutter width{{/i}}</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>{{_i}}Phones{{/i}}</td>
- <td>480px and below</td>
- <td class="muted" colspan="2">{{_i}}Fluid columns, no fixed widths{{/i}}</td>
- </tr>
- <tr>
- <td>{{_i}}Phones to tablets{{/i}}</td>
- <td>767px and below</td>
- <td class="muted" colspan="2">{{_i}}Fluid columns, no fixed widths{{/i}}</td>
- </tr>
- <tr>
- <td>{{_i}}Portrait tablets{{/i}}</td>
- <td>768px and above</td>
- <td>42px</td>
- <td>20px</td>
- </tr>
- <tr>
- <td>{{_i}}Default{{/i}}</td>
- <td>980px and up</td>
- <td>60px</td>
- <td>20px</td>
- </tr>
- <tr>
- <td>{{_i}}Large display{{/i}}</td>
- <td>1200px and up</td>
- <td>70px</td>
- <td>30px</td>
- </tr>
- </tbody>
- </table>
+ <p><span class="label label-info">{{_i}}Heads up!{{/i}}</span> {{_i}} Bootstrap doesn't include responsive features by default at this time as not everything needs to be responsive. Instead of encouraging developers to remove this feature, we figure it best to enable it as needed.{{/i}}</p>
+
+ {{! About }}
+ <h2>{{_i}}About responsive Bootstrap{{/i}}</h2>
+ <img src="assets/img/responsive-illustrations.png" alt="Responsive devices" style="float: right; margin: 0 0 20px 20px;">
+ <p>{{_i}}Media queries allow for custom CSS based on a number of conditions&mdash;ratios, widths, display type, etc&mdash;but usually focuses around <code>min-width</code> and <code>max-width</code>.{{/i}}</p>
+ <ul>
+ <li>{{_i}}Modify the width of column in our grid{{/i}}</li>
+ <li>{{_i}}Stack elements instead of float wherever necessary{{/i}}</li>
+ <li>{{_i}}Resize headings and text to be more appropriate for devices{{/i}}</li>
+ </ul>
+ <p>{{_i}}Use media queries responsibly and only as a start to your mobile audiences. For larger projects, do consider dedicated code bases and not layers of media queries.{{/i}}</p>
+
+ {{! Supported }}
+ <h2>{{_i}}Supported devices{{/i}}</h2>
+ <p>{{_i}}Bootstrap supports a handful of media queries in a single file to help make your projects more appropriate on different devices and screen resolutions. Here's what's included:{{/i}}</p>
+ <table class="table table-bordered table-striped">
+ <thead>
+ <tr>
+ <th>{{_i}}Label{{/i}}</th>
+ <th>{{_i}}Layout width{{/i}}</th>
+ <th>{{_i}}Column width{{/i}}</th>
+ <th>{{_i}}Gutter width{{/i}}</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{_i}}Phones{{/i}}</td>
+ <td>480px and below</td>
+ <td class="muted" colspan="2">{{_i}}Fluid columns, no fixed widths{{/i}}</td>
+ </tr>
+ <tr>
+ <td>{{_i}}Phones to tablets{{/i}}</td>
+ <td>767px and below</td>
+ <td class="muted" colspan="2">{{_i}}Fluid columns, no fixed widths{{/i}}</td>
+ </tr>
+ <tr>
+ <td>{{_i}}Portrait tablets{{/i}}</td>
+ <td>768px and above</td>
+ <td>42px</td>
+ <td>20px</td>
+ </tr>
+ <tr>
+ <td>{{_i}}Default{{/i}}</td>
+ <td>980px and up</td>
+ <td>60px</td>
+ <td>20px</td>
+ </tr>
+ <tr>
+ <td>{{_i}}Large display{{/i}}</td>
+ <td>1200px and up</td>
+ <td>70px</td>
+ <td>30px</td>
+ </tr>
+ </tbody>
+ </table>
<pre class="prettyprint linenums">
/* {{_i}}Landscape phones and down{{/i}} */
@media (max-width: 480px) { ... }
@@ -445,81 +393,83 @@
</pre>
- {{! Responsive utility classes }}
- <h2>{{_i}}Responsive utility classes{{/i}}</h2>
- <p>{{_i}}For faster mobile-friendly development, use these utility classes for showing and hiding content by device. Below is a table of the available classes and their effect on a given media query layout (labeled by device). They can be found in <code>responsive.less</code>.{{/i}}</p>
- <table class="table table-bordered table-striped responsive-utilities">
- <thead>
- <tr>
- <th>{{_i}}Class{{/i}}</th>
- <th>{{_i}}Phones <small>767px and below</small>{{/i}}</th>
- <th>{{_i}}Tablets <small>979px to 768px</small>{{/i}}</th>
- <th>{{_i}}Desktops <small>Default</small>{{/i}}</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <th><code>.visible-phone</code></th>
- <td class="is-visible">{{_i}}Visible{{/i}}</td>
- <td class="is-hidden">{{_i}}Hidden{{/i}}</td>
- <td class="is-hidden">{{_i}}Hidden{{/i}}</td>
- </tr>
- <tr>
- <th><code>.visible-tablet</code></th>
- <td class="is-hidden">{{_i}}Hidden{{/i}}</td>
- <td class="is-visible">{{_i}}Visible{{/i}}</td>
- <td class="is-hidden">{{_i}}Hidden{{/i}}</td>
- </tr>
- <tr>
- <th><code>.visible-desktop</code></th>
- <td class="is-hidden">{{_i}}Hidden{{/i}}</td>
- <td class="is-hidden">{{_i}}Hidden{{/i}}</td>
- <td class="is-visible">{{_i}}Visible{{/i}}</td>
- </tr>
- <tr>
- <th><code>.hidden-phone</code></th>
- <td class="is-hidden">{{_i}}Hidden{{/i}}</td>
- <td class="is-visible">{{_i}}Visible{{/i}}</td>
- <td class="is-visible">{{_i}}Visible{{/i}}</td>
- </tr>
- <tr>
- <th><code>.hidden-tablet</code></th>
- <td class="is-visible">{{_i}}Visible{{/i}}</td>
- <td class="is-hidden">{{_i}}Hidden{{/i}}</td>
- <td class="is-visible">{{_i}}Visible{{/i}}</td>
- </tr>
- <tr>
- <th><code>.hidden-desktop</code></th>
- <td class="is-visible">{{_i}}Visible{{/i}}</td>
- <td class="is-visible">{{_i}}Visible{{/i}}</td>
- <td class="is-hidden">{{_i}}Hidden{{/i}}</td>
- </tr>
- </tbody>
- </table>
-
- <h3>{{_i}}When to use{{/i}}</h3>
- <p>{{_i}}Use on a limited basis and avoid creating entirely different versions of the same site. Instead, use them to complement each device's presentation.{{/i}}</p>
-
- <h3>{{_i}}Responsive utilities test case{{/i}}</h3>
- <p>{{_i}}Resize your browser or load on different devices to test the above classes.{{/i}}</p>
- <h4>{{_i}}Visible on...{{/i}}</h4>
- <p>{{_i}}Green checkmarks indicate that class is visible in your current viewport.{{/i}}</p>
- <ul class="responsive-utilities-test">
- <li>{{_i}}Phone{{/i}}<span class="visible-phone">&#10004; {{_i}}Phone{{/i}}</span></li>
- <li>{{_i}}Tablet{{/i}}<span class="visible-tablet">&#10004; {{_i}}Tablet{{/i}}</span></li>
- <li>{{_i}}Desktop{{/i}}<span class="visible-desktop">&#10004; {{_i}}Desktop{{/i}}</span></li>
- </ul>
- <h4>{{_i}}Hidden on...{{/i}}</h4>
- <p>{{_i}}Here, green checkmarks indicate that class is hidden in your current viewport.{{/i}}</p>
- <ul class="responsive-utilities-test hidden-on">
- <li>{{_i}}Phone{{/i}}<span class="hidden-phone">&#10004; {{_i}}Phone{{/i}}</span></li>
- <li>{{_i}}Tablet{{/i}}<span class="hidden-tablet">&#10004; {{_i}}Tablet{{/i}}</span></li>
- <li>{{_i}}Desktop{{/i}}<span class="hidden-desktop">&#10004; {{_i}}Desktop{{/i}}</span></li>
- </ul>
-
- </section>
-
-
-
- </div>{{! /span9 }}
-</div>{{! row}}
+ {{! Responsive utility classes }}
+ <h2>{{_i}}Responsive utility classes{{/i}}</h2>
+ <p>{{_i}}For faster mobile-friendly development, use these utility classes for showing and hiding content by device. Below is a table of the available classes and their effect on a given media query layout (labeled by device). They can be found in <code>responsive.less</code>.{{/i}}</p>
+ <table class="table table-bordered table-striped responsive-utilities">
+ <thead>
+ <tr>
+ <th>{{_i}}Class{{/i}}</th>
+ <th>{{_i}}Phones <small>767px and below</small>{{/i}}</th>
+ <th>{{_i}}Tablets <small>979px to 768px</small>{{/i}}</th>
+ <th>{{_i}}Desktops <small>Default</small>{{/i}}</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <th><code>.visible-phone</code></th>
+ <td class="is-visible">{{_i}}Visible{{/i}}</td>
+ <td class="is-hidden">{{_i}}Hidden{{/i}}</td>
+ <td class="is-hidden">{{_i}}Hidden{{/i}}</td>
+ </tr>
+ <tr>
+ <th><code>.visible-tablet</code></th>
+ <td class="is-hidden">{{_i}}Hidden{{/i}}</td>
+ <td class="is-visible">{{_i}}Visible{{/i}}</td>
+ <td class="is-hidden">{{_i}}Hidden{{/i}}</td>
+ </tr>
+ <tr>
+ <th><code>.visible-desktop</code></th>
+ <td class="is-hidden">{{_i}}Hidden{{/i}}</td>
+ <td class="is-hidden">{{_i}}Hidden{{/i}}</td>
+ <td class="is-visible">{{_i}}Visible{{/i}}</td>
+ </tr>
+ <tr>
+ <th><code>.hidden-phone</code></th>
+ <td class="is-hidden">{{_i}}Hidden{{/i}}</td>
+ <td class="is-visible">{{_i}}Visible{{/i}}</td>
+ <td class="is-visible">{{_i}}Visible{{/i}}</td>
+ </tr>
+ <tr>
+ <th><code>.hidden-tablet</code></th>
+ <td class="is-visible">{{_i}}Visible{{/i}}</td>
+ <td class="is-hidden">{{_i}}Hidden{{/i}}</td>
+ <td class="is-visible">{{_i}}Visible{{/i}}</td>
+ </tr>
+ <tr>
+ <th><code>.hidden-desktop</code></th>
+ <td class="is-visible">{{_i}}Visible{{/i}}</td>
+ <td class="is-visible">{{_i}}Visible{{/i}}</td>
+ <td class="is-hidden">{{_i}}Hidden{{/i}}</td>
+ </tr>
+ </tbody>
+ </table>
+
+ <h3>{{_i}}When to use{{/i}}</h3>
+ <p>{{_i}}Use on a limited basis and avoid creating entirely different versions of the same site. Instead, use them to complement each device's presentation.{{/i}}</p>
+
+ <h3>{{_i}}Responsive utilities test case{{/i}}</h3>
+ <p>{{_i}}Resize your browser or load on different devices to test the above classes.{{/i}}</p>
+ <h4>{{_i}}Visible on...{{/i}}</h4>
+ <p>{{_i}}Green checkmarks indicate that class is visible in your current viewport.{{/i}}</p>
+ <ul class="responsive-utilities-test">
+ <li>{{_i}}Phone{{/i}}<span class="visible-phone">&#10004; {{_i}}Phone{{/i}}</span></li>
+ <li>{{_i}}Tablet{{/i}}<span class="visible-tablet">&#10004; {{_i}}Tablet{{/i}}</span></li>
+ <li>{{_i}}Desktop{{/i}}<span class="visible-desktop">&#10004; {{_i}}Desktop{{/i}}</span></li>
+ </ul>
+ <h4>{{_i}}Hidden on...{{/i}}</h4>
+ <p>{{_i}}Here, green checkmarks indicate that class is hidden in your current viewport.{{/i}}</p>
+ <ul class="responsive-utilities-test hidden-on">
+ <li>{{_i}}Phone{{/i}}<span class="hidden-phone">&#10004; {{_i}}Phone{{/i}}</span></li>
+ <li>{{_i}}Tablet{{/i}}<span class="hidden-tablet">&#10004; {{_i}}Tablet{{/i}}</span></li>
+ <li>{{_i}}Desktop{{/i}}<span class="hidden-desktop">&#10004; {{_i}}Desktop{{/i}}</span></li>
+ </ul>
+
+ </section>
+
+
+
+ </div>{{! /span9 }}
+ </div>{{! row}}
+
+</div>{{! /container }}
diff --git a/docs/upgrading.html b/docs/upgrading.html
index 5d6985725b..d2b4b21c11 100644
--- a/docs/upgrading.html
+++ b/docs/upgrading.html
@@ -66,8 +66,6 @@
</div>
</div>
- <div class="container">
-
<!-- Masthead
================================================== -->
<header class="jumbotron subhead" id="overview">
@@ -263,8 +261,6 @@
</section>
- </div>
-
<!-- Footer