aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-11-03 13:44:01 -0700
committerMark Otto <[email protected]>2012-11-03 13:44:01 -0700
commita249d1c8ee597c4f0f29da55b15cf35accd4221c (patch)
treeefc755be687dab37f3298c76d4be1649bfe5dec6 /docs
parent1477e081d46ebf6a5e6acb06debb7edb1a324918 (diff)
parent5d6cf2ee1939515ad41b052ed1c406f96274ea37 (diff)
downloadbootstrap-a249d1c8ee597c4f0f29da55b15cf35accd4221c.tar.xz
bootstrap-a249d1c8ee597c4f0f29da55b15cf35accd4221c.zip
Merge branch '2.2.2-wip' into exploratory
Conflicts: docs/assets/css/bootstrap.css docs/scaffolding.html docs/templates/pages/scaffolding.mustache
Diffstat (limited to 'docs')
-rw-r--r--docs/assets/css/bootstrap.css58
-rw-r--r--docs/assets/css/docs.css6
-rw-r--r--docs/assets/js/README.md2
-rw-r--r--docs/base-css.html6
-rw-r--r--docs/components.html3
-rw-r--r--docs/customize.html1
-rw-r--r--docs/javascript.html6
-rw-r--r--docs/scaffolding.html1
-rw-r--r--docs/templates/pages/base-css.mustache6
-rw-r--r--docs/templates/pages/components.mustache3
-rw-r--r--docs/templates/pages/customize.mustache1
-rw-r--r--docs/templates/pages/javascript.mustache6
-rw-r--r--docs/templates/pages/scaffolding.mustache1
13 files changed, 83 insertions, 17 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css
index 309b07b28..5bde2636e 100644
--- a/docs/assets/css/bootstrap.css
+++ b/docs/assets/css/bootstrap.css
@@ -128,6 +128,58 @@ textarea {
vertical-align: top;
}
+@media print {
+ * {
+ color: #000 !important;
+ text-shadow: none !important;
+ background: transparent !important;
+ box-shadow: none !important;
+ }
+ a,
+ a:visited {
+ text-decoration: underline;
+ }
+ a[href]:after {
+ content: " (" attr(href) ")";
+ }
+ abbr[title]:after {
+ content: " (" attr(title) ")";
+ }
+ .ir a:after,
+ a[href^="javascript:"]:after,
+ a[href^="#"]:after {
+ content: "";
+ }
+ pre,
+ blockquote {
+ border: 1px solid #999;
+ page-break-inside: avoid;
+ }
+ thead {
+ display: table-header-group;
+ }
+ tr,
+ img {
+ page-break-inside: avoid;
+ }
+ img {
+ max-width: 100% !important;
+ }
+ @page {
+ margin: 0.5cm;
+ }
+ p,
+ h2,
+ h3 {
+ orphans: 3;
+ widows: 3;
+ }
+ h2,
+ h3 {
+ page-break-after: avoid;
+ }
+}
+
body {
margin: 0;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
@@ -4561,6 +4613,7 @@ input[type="button"].btn-block {
display: none;
width: 236px;
padding: 1px;
+ white-space: normal;
background-color: #ffffff;
border: 1px solid #ccc;
border: 1px solid rgba(0, 0, 0, 0.2);
@@ -4776,6 +4829,11 @@ a.thumbnail:hover {
border-radius: 9px;
}
+.label:empty,
+.badge:empty {
+ display: none;
+}
+
a.label:hover,
a.badge:hover {
color: #ffffff;
diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css
index 8af21ddef..8852926d3 100644
--- a/docs/assets/css/docs.css
+++ b/docs/assets/css/docs.css
@@ -328,8 +328,14 @@ hr.soften {
margin-bottom: 0;
}
.show-grid .show-grid [class*="span"] {
+ margin-top: 5px;
+}
+.show-grid [class*="span"] [class*="span"] {
background-color: #ccc;
}
+.show-grid [class*="span"] [class*="span"] [class*="span"] {
+ background-color: #999;
+}
.show-grid [class*="span"]:nth-child(even) {
background-color: #ddd;
diff --git a/docs/assets/js/README.md b/docs/assets/js/README.md
index b58fa1d40..66903c71a 100644
--- a/docs/assets/js/README.md
+++ b/docs/assets/js/README.md
@@ -17,7 +17,7 @@ To target a specific plugin, just include the plugins name as a namespace along
---
-### PROGRAMATIC API
+### PROGRAMMATIC API
We also believe you should be able to use all plugins provided by Bootstrap purely through the JS API.
diff --git a/docs/base-css.html b/docs/base-css.html
index 7fe561b97..4a3e8459a 100644
--- a/docs/base-css.html
+++ b/docs/base-css.html
@@ -190,7 +190,7 @@
<h2 id="abbreviations">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>
+ <p>Stylized implementation 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>
@@ -224,7 +224,7 @@
</address>
<address>
<strong>Full Name</strong><br>
- <a href="mailto:#">[email protected]</a>
+ <a href="mailto:#">[email protected]</a>
</address>
</div>
<pre class="prettyprint linenums">
@@ -237,7 +237,7 @@
&lt;address&gt;
&lt;strong&gt;Full Name&lt;/strong&gt;&lt;br&gt;
- &lt;a href="mailto:#"&gt;[email protected]&lt;/a&gt;
+ &lt;a href="mailto:#"&gt;[email protected]&lt;/a&gt;
&lt;/address&gt;
</pre>
diff --git a/docs/components.html b/docs/components.html
index e5486d1e3..969bd0eeb 100644
--- a/docs/components.html
+++ b/docs/components.html
@@ -1644,6 +1644,9 @@
</tbody>
</table>
+ <h3>Easily collapsible</h3>
+ <p>For easy implementation, labels and badges will simply collapse (via CSS's <code>:empty</code> selector) when no content exists within.</p>
+
</section>
diff --git a/docs/customize.html b/docs/customize.html
index 57f1a0b38..18a8debae 100644
--- a/docs/customize.html
+++ b/docs/customize.html
@@ -142,7 +142,6 @@
</div><!-- /span -->
<div class="span3">
<h3>Miscellaneous</h3>
- <label class="checkbox"><input checked="checked" type="checkbox" value="media.less"> Media object</label>
<label class="checkbox"><input checked="checked" type="checkbox" value="wells.less"> Wells</label>
<label class="checkbox"><input checked="checked" type="checkbox" value="close.less"> Close icon</label>
<label class="checkbox"><input checked="checked" type="checkbox" value="utilities.less"> Utilities</label>
diff --git a/docs/javascript.html b/docs/javascript.html
index 6595784c6..1b14e4430 100644
--- a/docs/javascript.html
+++ b/docs/javascript.html
@@ -134,7 +134,7 @@ $("#myModal").modal('show') // initializes and invokes show immed
<h3>Events</h3>
<p>Bootstrap provides custom events for most plugin's unique actions. Generally, these come in an infinitive and past participle form - where the infinitive (ex. <code>show</code>) is triggered at the start of an event, and its past participle form (ex. <code>shown</code>) is trigger on the completion of an action.</p>
- <p>All infinitive events provide preventDefault functionality. This provides the abililty to stop the execution of an action before it starts.</p>
+ <p>All infinitive events provide preventDefault functionality. This provides the ability to stop the execution of an action before it starts.</p>
<pre class="prettyprint linenums">
$('#myModal').on('show', function (e) {
if (!data) return e.preventDefault() // stops modal from being shown
@@ -505,7 +505,7 @@ $('#myModal').on('hidden', function () {
<h3>Methods</h3>
<h4>$().dropdown('toggle')</h4>
- <p>A programatic api for toggling menus for a given navbar or tabbed navigation.</p>
+ <p>A programmatic api for toggling menus for a given navbar or tabbed navigation.</p>
</section>
@@ -634,7 +634,7 @@ $('[data-spy="scroll"]').each(function () {
<h2>Example tabs</h2>
- <p>Add quick, dynamic tab functionality to transiton through panes of local content, even via dropdown menus.</p>
+ <p>Add quick, dynamic tab functionality to transition 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>
diff --git a/docs/scaffolding.html b/docs/scaffolding.html
index d8273e910..596379c87 100644
--- a/docs/scaffolding.html
+++ b/docs/scaffolding.html
@@ -228,7 +228,6 @@
-
<!-- Layouts (Default and fluid)
================================================== -->
<section id="layouts">
diff --git a/docs/templates/pages/base-css.mustache b/docs/templates/pages/base-css.mustache
index 4b5d0ddb4..6e8ee6119 100644
--- a/docs/templates/pages/base-css.mustache
+++ b/docs/templates/pages/base-css.mustache
@@ -127,7 +127,7 @@
{{! Abbreviations }}
<h2 id="abbreviations">{{_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>
+ <p>{{_i}}Stylized implementation 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>
@@ -162,7 +162,7 @@
</address>
<address>
<strong>{{_i}}Full Name{{/i}}</strong><br>
- <a href="mailto:#">{{_i}}[email protected]{{/i}}</a>
+ <a href="mailto:#">{{_i}}[email protected]{{/i}}</a>
</address>
</div>
<pre class="prettyprint linenums">
@@ -175,7 +175,7 @@
&lt;address&gt;
&lt;strong&gt;{{_i}}Full Name{{/i}}&lt;/strong&gt;&lt;br&gt;
- &lt;a href="mailto:#"&gt;{{_i}}[email protected]{{/i}}&lt;/a&gt;
+ &lt;a href="mailto:#"&gt;{{_i}}[email protected]{{/i}}&lt;/a&gt;
&lt;/address&gt;
</pre>
diff --git a/docs/templates/pages/components.mustache b/docs/templates/pages/components.mustache
index 02e53c0ac..62eff9740 100644
--- a/docs/templates/pages/components.mustache
+++ b/docs/templates/pages/components.mustache
@@ -1575,6 +1575,9 @@
</tbody>
</table>
+ <h3>{{_i}}Easily collapsible{{/i}}</h3>
+ <p>{{_i}}For easy implementation, labels and badges will simply collapse (via CSS's <code>:empty</code> selector) when no content exists within.{{/i}}</p>
+
</section>
diff --git a/docs/templates/pages/customize.mustache b/docs/templates/pages/customize.mustache
index 386f6930a..6674da87b 100644
--- a/docs/templates/pages/customize.mustache
+++ b/docs/templates/pages/customize.mustache
@@ -73,7 +73,6 @@
</div><!-- /span -->
<div class="span3">
<h3>{{_i}}Miscellaneous{{/i}}</h3>
- <label class="checkbox"><input checked="checked" type="checkbox" value="media.less"> {{_i}}Media object{{/i}}</label>
<label class="checkbox"><input checked="checked" type="checkbox" value="wells.less"> {{_i}}Wells{{/i}}</label>
<label class="checkbox"><input checked="checked" type="checkbox" value="close.less"> {{_i}}Close icon{{/i}}</label>
<label class="checkbox"><input checked="checked" type="checkbox" value="utilities.less"> {{_i}}Utilities{{/i}}</label>
diff --git a/docs/templates/pages/javascript.mustache b/docs/templates/pages/javascript.mustache
index e34d56150..913c8aa95 100644
--- a/docs/templates/pages/javascript.mustache
+++ b/docs/templates/pages/javascript.mustache
@@ -65,7 +65,7 @@ $("#myModal").modal('show') // initializes and invokes show immed
<h3>{{_i}}Events{{/i}}</h3>
<p>{{_i}}Bootstrap provides custom events for most plugin's unique actions. Generally, these come in an infinitive and past participle form - where the infinitive (ex. <code>show</code>) is triggered at the start of an event, and its past participle form (ex. <code>shown</code>) is trigger on the completion of an action.{{/i}}</p>
- <p>{{_i}}All infinitive events provide preventDefault functionality. This provides the abililty to stop the execution of an action before it starts.{{/i}}</p>
+ <p>{{_i}}All infinitive events provide preventDefault functionality. This provides the ability to stop the execution of an action before it starts.{{/i}}</p>
<pre class="prettyprint linenums">
$('#myModal').on('show', function (e) {
if (!data) return e.preventDefault() // stops modal from being shown
@@ -437,7 +437,7 @@ $('#myModal').on('hidden', function () {
<h3>{{_i}}Methods{{/i}}</h3>
<h4>$().dropdown('toggle')</h4>
- <p>{{_i}}A programatic api for toggling menus for a given navbar or tabbed navigation.{{/i}}</p>
+ <p>{{_i}}A programmatic api for toggling menus for a given navbar or tabbed navigation.{{/i}}</p>
</section>
@@ -566,7 +566,7 @@ $('[data-spy="scroll"]').each(function () {
<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>
+ <p>{{_i}}Add quick, dynamic tab functionality to transition 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>
diff --git a/docs/templates/pages/scaffolding.mustache b/docs/templates/pages/scaffolding.mustache
index 8da12d0a5..6818bf459 100644
--- a/docs/templates/pages/scaffolding.mustache
+++ b/docs/templates/pages/scaffolding.mustache
@@ -159,7 +159,6 @@
-
<!-- Layouts (Default and fluid)
================================================== -->
<section id="layouts">