aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-11-22 22:04:21 -0800
committerMark Otto <[email protected]>2012-11-22 22:04:21 -0800
commit7e56e2265d67ae81ad8be52af4d56f189929207a (patch)
tree8bede49f32e25f4acfe95a2a7cc86bd273805474 /docs
parentfa1c130552022520161a2b0c595e2ca431df0c97 (diff)
parente0d0190803398ce12b2fe88e31e45993b35cf17e (diff)
downloadbootstrap-7e56e2265d67ae81ad8be52af4d56f189929207a.tar.xz
bootstrap-7e56e2265d67ae81ad8be52af4d56f189929207a.zip
Merge branch '2.2.2-wip' into exploratory
Conflicts: less/button-groups.less
Diffstat (limited to 'docs')
-rw-r--r--docs/assets/css/bootstrap.css10
-rw-r--r--docs/assets/css/docs.css10
-rw-r--r--docs/base-css.html1
-rw-r--r--docs/components.html1
-rw-r--r--docs/customize.html1
-rw-r--r--docs/extend.html1
-rw-r--r--docs/getting-started.html1
-rw-r--r--docs/index.html9
-rw-r--r--docs/javascript.html15
-rw-r--r--docs/scaffolding.html1
-rw-r--r--docs/templates/layout.mustache1
-rw-r--r--docs/templates/pages/index.mustache8
-rw-r--r--docs/templates/pages/javascript.mustache14
13 files changed, 31 insertions, 42 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css
index f5dd155fc..a27f7a41b 100644
--- a/docs/assets/css/bootstrap.css
+++ b/docs/assets/css/bootstrap.css
@@ -1295,7 +1295,7 @@ input[type="checkbox"][readonly] {
background-color: transparent;
}
-.control-group.warning > label,
+.control-group.warning .control-label,
.control-group.warning .help-block,
.control-group.warning .help-inline {
color: #c09853;
@@ -1332,7 +1332,7 @@ input[type="checkbox"][readonly] {
border-color: #c09853;
}
-.control-group.error > label,
+.control-group.error .control-label,
.control-group.error .help-block,
.control-group.error .help-inline {
color: #b94a48;
@@ -1369,7 +1369,7 @@ input[type="checkbox"][readonly] {
border-color: #b94a48;
}
-.control-group.success > label,
+.control-group.success .control-label,
.control-group.success .help-block,
.control-group.success .help-inline {
color: #468847;
@@ -1406,7 +1406,7 @@ input[type="checkbox"][readonly] {
border-color: #468847;
}
-.control-group.info > label,
+.control-group.info .control-label,
.control-group.info .help-block,
.control-group.info .help-inline {
color: #3a87ad;
@@ -3888,7 +3888,7 @@ input[type="button"].btn-block {
.navbar-form .input-append,
.navbar-form .input-prepend {
- margin-top: 6px;
+ margin-top: 5px;
white-space: nowrap;
}
diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css
index ebd111fd8..9a7525422 100644
--- a/docs/assets/css/docs.css
+++ b/docs/assets/css/docs.css
@@ -281,9 +281,10 @@ only screen and ( -o-min-device-pixel-ratio: 2/1) {
line-height: 1.25;
color: #999;
}
-.marketing img {
+.marketing-img {
display: block;
margin: 0 auto 30px;
+ max-height: 145px;
}
@@ -292,7 +293,8 @@ only screen and ( -o-min-device-pixel-ratio: 2/1) {
-------------------------------------------------- */
.footer {
- padding: 70px 0;
+ text-align: center;
+ padding: 30px 0;
margin-top: 70px;
border-top: 1px solid #e5e5e5;
background-color: #f5f5f5;
@@ -988,8 +990,4 @@ form.bs-docs-example {
padding-top: 20px;
padding-bottom: 20px;
}
- /* Unfloat the back to top in footer to prevent odd text wrapping */
- .footer .pull-right {
- float: none;
- }
}
diff --git a/docs/base-css.html b/docs/base-css.html
index 6a1698aec..1cebfadf0 100644
--- a/docs/base-css.html
+++ b/docs/base-css.html
@@ -2155,7 +2155,6 @@ For example, &lt;code&gt;&lt;section&gt;&lt;/code&gt; should be wrapped as inlin
================================================== -->
<footer class="footer">
<div class="container">
- <p class="pull-right"><a href="#">Back to top</a></p>
<p>Designed and built with all the love in the world by <a href="http://twitter.com/mdo" target="_blank">@mdo</a> and <a href="http://twitter.com/fat" target="_blank">@fat</a>.</p>
<p>Code licensed under <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License v2.0</a>, documentation under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p>
<p><a href="http://glyphicons.com">Glyphicons Free</a> licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p>
diff --git a/docs/components.html b/docs/components.html
index 927efd26a..ecaf64198 100644
--- a/docs/components.html
+++ b/docs/components.html
@@ -2315,7 +2315,6 @@ class="clearfix"
================================================== -->
<footer class="footer">
<div class="container">
- <p class="pull-right"><a href="#">Back to top</a></p>
<p>Designed and built with all the love in the world by <a href="http://twitter.com/mdo" target="_blank">@mdo</a> and <a href="http://twitter.com/fat" target="_blank">@fat</a>.</p>
<p>Code licensed under <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License v2.0</a>, documentation under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p>
<p><a href="http://glyphicons.com">Glyphicons Free</a> licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p>
diff --git a/docs/customize.html b/docs/customize.html
index 744cb848b..017494f67 100644
--- a/docs/customize.html
+++ b/docs/customize.html
@@ -466,7 +466,6 @@
================================================== -->
<footer class="footer">
<div class="container">
- <p class="pull-right"><a href="#">Back to top</a></p>
<p>Designed and built with all the love in the world by <a href="http://twitter.com/mdo" target="_blank">@mdo</a> and <a href="http://twitter.com/fat" target="_blank">@fat</a>.</p>
<p>Code licensed under <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License v2.0</a>, documentation under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p>
<p><a href="http://glyphicons.com">Glyphicons Free</a> licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p>
diff --git a/docs/extend.html b/docs/extend.html
index 1b93e3a6b..36840ac0d 100644
--- a/docs/extend.html
+++ b/docs/extend.html
@@ -242,7 +242,6 @@
================================================== -->
<footer class="footer">
<div class="container">
- <p class="pull-right"><a href="#">Back to top</a></p>
<p>Designed and built with all the love in the world by <a href="http://twitter.com/mdo" target="_blank">@mdo</a> and <a href="http://twitter.com/fat" target="_blank">@fat</a>.</p>
<p>Code licensed under <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License v2.0</a>, documentation under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p>
<p><a href="http://glyphicons.com">Glyphicons Free</a> licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p>
diff --git a/docs/getting-started.html b/docs/getting-started.html
index 833f308c7..c178224b6 100644
--- a/docs/getting-started.html
+++ b/docs/getting-started.html
@@ -318,7 +318,6 @@
================================================== -->
<footer class="footer">
<div class="container">
- <p class="pull-right"><a href="#">Back to top</a></p>
<p>Designed and built with all the love in the world by <a href="http://twitter.com/mdo" target="_blank">@mdo</a> and <a href="http://twitter.com/fat" target="_blank">@fat</a>.</p>
<p>Code licensed under <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License v2.0</a>, documentation under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p>
<p><a href="http://glyphicons.com">Glyphicons Free</a> licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p>
diff --git a/docs/index.html b/docs/index.html
index 8fd7f2b1a..5ab993382 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -97,7 +97,7 @@
<iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=twitter&repo=bootstrap&type=watch&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="100px" height="20px"></iframe>
</li>
<li>
- <iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=twitter&repo=bootstrap&type=fork&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="98px" height="20px"></iframe>
+ <iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=twitter&repo=bootstrap&type=fork&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="102px" height="20px"></iframe>
</li>
<li class="follow-btn">
<a href="https://twitter.com/twbootstrap" class="twitter-follow-button" data-link-color="#0069D6" data-show-count="true">Follow @twbootstrap</a>
@@ -118,17 +118,17 @@
<div class="row">
<div class="span4">
- <img src="assets/img/bs-docs-twitter-github.png">
+ <img class="marketing-img" src="assets/img/bs-docs-twitter-github.png">
<h2>By nerds, for nerds.</h2>
<p>Built at Twitter by <a href="http://twitter.com/mdo">@mdo</a> and <a href="http://twitter.com/fat">@fat</a>, Bootstrap utilizes <a href="http://lesscss.org">LESS CSS</a>, is compiled via <a href="http://nodejs.org">Node</a>, and is managed through <a href="http://github.com">GitHub</a> to help nerds do awesome stuff on the web.</p>
</div>
<div class="span4">
- <img src="assets/img/bs-docs-responsive-illustrations.png">
+ <img class="marketing-img" src="assets/img/bs-docs-responsive-illustrations.png">
<h2>Made for everyone.</h2>
<p>Bootstrap was made to not only look and behave great in the latest desktop browsers (including IE8+), but in tablet and smartphone browsers via <a href="./scaffolding.html#responsive">responsive CSS</a> as well.</p>
</div>
<div class="span4">
- <img src="assets/img/bs-docs-bootstrap-features.png">
+ <img class="marketing-img" src="assets/img/bs-docs-bootstrap-features.png">
<h2>Packed with features.</h2>
<p>A 12-column responsive <a href="./scaffolding.html#grid">grid</a>, dozens of components, <a href="./javascript.html">JavaScript plugins</a>, typography, form controls, and even a <a href="./customize.html">web-based Customizer</a> to make Bootstrap your own.</p>
</div>
@@ -171,7 +171,6 @@
================================================== -->
<footer class="footer">
<div class="container">
- <p class="pull-right"><a href="#">Back to top</a></p>
<p>Designed and built with all the love in the world by <a href="http://twitter.com/mdo" target="_blank">@mdo</a> and <a href="http://twitter.com/fat" target="_blank">@fat</a>.</p>
<p>Code licensed under <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License v2.0</a>, documentation under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p>
<p><a href="http://glyphicons.com">Glyphicons Free</a> licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p>
diff --git a/docs/javascript.html b/docs/javascript.html
index 516759cc1..457ee776a 100644
--- a/docs/javascript.html
+++ b/docs/javascript.html
@@ -1135,7 +1135,7 @@ $('#my-alert').bind('closed', function () {
<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>
+ <pre class="prettyprint linenums">&lt;button type="button" class="btn btn-primary" 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>
@@ -1148,9 +1148,9 @@ $('#my-alert').bind('closed', function () {
</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;
- &lt;button type="button" class="btn"&gt;Middle&lt;/button&gt;
- &lt;button type="button" class="btn"&gt;Right&lt;/button&gt;
+ &lt;button type="button" class="btn btn-primary"&gt;Left&lt;/button&gt;
+ &lt;button type="button" class="btn btn-primary"&gt;Middle&lt;/button&gt;
+ &lt;button type="button" class="btn btn-primary"&gt;Right&lt;/button&gt;
&lt;/div&gt;
</pre>
@@ -1165,9 +1165,9 @@ $('#my-alert').bind('closed', function () {
</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;
- &lt;button type="button" class="btn"&gt;Middle&lt;/button&gt;
- &lt;button type="button" class="btn"&gt;Right&lt;/button&gt;
+ &lt;button type="button" class="btn btn-primary"&gt;Left&lt;/button&gt;
+ &lt;button type="button" class="btn btn-primary"&gt;Middle&lt;/button&gt;
+ &lt;button type="button" class="btn btn-primary"&gt;Right&lt;/button&gt;
&lt;/div&gt;
</pre>
@@ -1708,7 +1708,6 @@ $('[data-spy="affix"]').each(function () {
================================================== -->
<footer class="footer">
<div class="container">
- <p class="pull-right"><a href="#">Back to top</a></p>
<p>Designed and built with all the love in the world by <a href="http://twitter.com/mdo" target="_blank">@mdo</a> and <a href="http://twitter.com/fat" target="_blank">@fat</a>.</p>
<p>Code licensed under <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License v2.0</a>, documentation under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p>
<p><a href="http://glyphicons.com">Glyphicons Free</a> licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p>
diff --git a/docs/scaffolding.html b/docs/scaffolding.html
index 6a0e4ba0b..80705502f 100644
--- a/docs/scaffolding.html
+++ b/docs/scaffolding.html
@@ -436,7 +436,6 @@
================================================== -->
<footer class="footer">
<div class="container">
- <p class="pull-right"><a href="#">Back to top</a></p>
<p>Designed and built with all the love in the world by <a href="http://twitter.com/mdo" target="_blank">@mdo</a> and <a href="http://twitter.com/fat" target="_blank">@fat</a>.</p>
<p>Code licensed under <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License v2.0</a>, documentation under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p>
<p><a href="http://glyphicons.com">Glyphicons Free</a> licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p>
diff --git a/docs/templates/layout.mustache b/docs/templates/layout.mustache
index cdbee0793..2ed7cfe1f 100644
--- a/docs/templates/layout.mustache
+++ b/docs/templates/layout.mustache
@@ -86,7 +86,6 @@
================================================== -->
<footer class="footer">
<div class="container">
- <p class="pull-right"><a href="#">{{_i}}Back to top{{/i}}</a></p>
<p>{{_i}}Designed and built with all the love in the world by <a href="http://twitter.com/mdo" target="_blank">@mdo</a> and <a href="http://twitter.com/fat" target="_blank">@fat</a>.{{/i}}</p>
<p>{{_i}}Code licensed under <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License v2.0</a>, documentation under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.{{/i}}</p>
<p>{{_i}}<a href="http://glyphicons.com">Glyphicons Free</a> licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.{{/i}}</p>
diff --git a/docs/templates/pages/index.mustache b/docs/templates/pages/index.mustache
index b7f112cb1..50ec7be15 100644
--- a/docs/templates/pages/index.mustache
+++ b/docs/templates/pages/index.mustache
@@ -29,7 +29,7 @@
<iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=twitter&repo=bootstrap&type=watch&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="100px" height="20px"></iframe>
</li>
<li>
- <iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=twitter&repo=bootstrap&type=fork&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="98px" height="20px"></iframe>
+ <iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=twitter&repo=bootstrap&type=fork&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="102px" height="20px"></iframe>
</li>
<li class="follow-btn">
<a href="https://twitter.com/twbootstrap" class="twitter-follow-button" data-link-color="#0069D6" data-show-count="true">{{_i}}Follow @twbootstrap{{/i}}</a>
@@ -50,17 +50,17 @@
<div class="row">
<div class="span4">
- <img src="assets/img/bs-docs-twitter-github.png">
+ <img class="marketing-img" src="assets/img/bs-docs-twitter-github.png">
<h2>{{_i}}By nerds, for nerds.{{/i}}</h2>
<p>{{_i}}Built at Twitter by <a href="http://twitter.com/mdo">@mdo</a> and <a href="http://twitter.com/fat">@fat</a>, Bootstrap utilizes <a href="http://lesscss.org">LESS CSS</a>, is compiled via <a href="http://nodejs.org">Node</a>, and is managed through <a href="http://github.com">GitHub</a> to help nerds do awesome stuff on the web.{{/i}}</p>
</div>
<div class="span4">
- <img src="assets/img/bs-docs-responsive-illustrations.png">
+ <img class="marketing-img" src="assets/img/bs-docs-responsive-illustrations.png">
<h2>{{_i}}Made for everyone.{{/i}}</h2>
<p>{{_i}}Bootstrap was made to not only look and behave great in the latest desktop browsers (including IE8+), but in tablet and smartphone browsers via <a href="./scaffolding.html#responsive">responsive CSS</a> as well.{{/i}}</p>
</div>
<div class="span4">
- <img src="assets/img/bs-docs-bootstrap-features.png">
+ <img class="marketing-img" src="assets/img/bs-docs-bootstrap-features.png">
<h2>{{_i}}Packed with features.{{/i}}</h2>
<p>{{_i}}A 12-column responsive <a href="./scaffolding.html#grid">grid</a>, dozens of components, <a href="./javascript.html">JavaScript plugins</a>, typography, form controls, and even a <a href="./customize.html">web-based Customizer</a> to make Bootstrap your own.{{/i}}</p>
</div>
diff --git a/docs/templates/pages/javascript.mustache b/docs/templates/pages/javascript.mustache
index f36dc94bd..64714bb11 100644
--- a/docs/templates/pages/javascript.mustache
+++ b/docs/templates/pages/javascript.mustache
@@ -1068,7 +1068,7 @@ $('#my-alert').bind('closed', function () {
<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>
+ <pre class="prettyprint linenums">&lt;button type="button" class="btn btn-primary" 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>
@@ -1081,9 +1081,9 @@ $('#my-alert').bind('closed', function () {
</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;
- &lt;button type="button" class="btn"&gt;Middle&lt;/button&gt;
- &lt;button type="button" class="btn"&gt;Right&lt;/button&gt;
+ &lt;button type="button" class="btn btn-primary"&gt;Left&lt;/button&gt;
+ &lt;button type="button" class="btn btn-primary"&gt;Middle&lt;/button&gt;
+ &lt;button type="button" class="btn btn-primary"&gt;Right&lt;/button&gt;
&lt;/div&gt;
</pre>
@@ -1098,9 +1098,9 @@ $('#my-alert').bind('closed', function () {
</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;
- &lt;button type="button" class="btn"&gt;Middle&lt;/button&gt;
- &lt;button type="button" class="btn"&gt;Right&lt;/button&gt;
+ &lt;button type="button" class="btn btn-primary"&gt;Left&lt;/button&gt;
+ &lt;button type="button" class="btn btn-primary"&gt;Middle&lt;/button&gt;
+ &lt;button type="button" class="btn btn-primary"&gt;Right&lt;/button&gt;
&lt;/div&gt;
</pre>