aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-02-11 17:12:32 -0800
committerMark Otto <[email protected]>2012-02-11 17:12:32 -0800
commita497e9010a5fcf4fce7e7112a0d3f32da57e8adb (patch)
tree9acda228e2840541b93c7c9fad53399d6534fb07 /docs
parent5a3dfb72bfcf1859690c76a8ddb8457eb962bdb3 (diff)
downloadbootstrap-a497e9010a5fcf4fce7e7112a0d3f32da57e8adb.tar.xz
bootstrap-a497e9010a5fcf4fce7e7112a0d3f32da57e8adb.zip
make button examples button element and add upgrade note on tooltip positions per #1532
Diffstat (limited to 'docs')
-rw-r--r--docs/assets/bootstrap.zipbin52683 -> 52683 bytes
-rw-r--r--docs/base-css.html16
-rw-r--r--docs/templates/pages/base-css.mustache16
-rw-r--r--docs/templates/pages/upgrading.mustache4
4 files changed, 20 insertions, 16 deletions
diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip
index 77e70e94d..dc3849f1d 100644
--- a/docs/assets/bootstrap.zip
+++ b/docs/assets/bootstrap.zip
Binary files differ
diff --git a/docs/base-css.html b/docs/base-css.html
index 678504b72..2ee0f2d29 100644
--- a/docs/base-css.html
+++ b/docs/base-css.html
@@ -1301,23 +1301,23 @@ For example, &lt;code&gt;section&lt;/code&gt; should be wrapped as inline.
<h3>Multiple sizes</h3>
<p>Fancy larger or smaller buttons? Add <code>.btn-large</code> or <code>.btn-small</code> for two additional sizes.</p>
<p>
- <a href="#" class="btn btn-large btn-primary">Primary action</a>
- <a href="#" class="btn btn-large">Action</a>
+ <button class="btn btn-large btn-primary">Primary action</button>
+ <button class="btn btn-large">Action</button>
</p>
<p>
- <a href="#" class="btn btn-small btn-primary">Primary action</a>
- <a href="#" class="btn btn-small">Action</a>
+ <button class="btn btn-small btn-primary">Primary action</button>
+ <button class="btn btn-small">Action</button>
</p>
<br>
<h3>Disabled state</h3>
<p>For disabled buttons, use <code>.btn-disabled</code> for links and <code>:disabled</code> for <code>&lt;button&gt;</code> elements.</p>
<p>
- <a href="#" class="btn btn-large btn-primary disabled">Primary action</a>
- <a href="#" class="btn btn-large disabled">Action</a>
+ <a href="#" class="btn btn-large btn-primary disabled">Primary link</a>
+ <a href="#" class="btn btn-large disabled">Link</a>
</p>
<p>
- <button class="btn btn-large btn-primary disabled" disabled="disabled">Primary action</button>
- <button class="btn btn-large" disabled>Action</button>
+ <button class="btn btn-large btn-primary disabled" disabled="disabled">Primary button</button>
+ <button class="btn btn-large" disabled>Button</button>
</p>
</div>
<div class="span4">
diff --git a/docs/templates/pages/base-css.mustache b/docs/templates/pages/base-css.mustache
index f1584ed74..01b79c7a5 100644
--- a/docs/templates/pages/base-css.mustache
+++ b/docs/templates/pages/base-css.mustache
@@ -1225,23 +1225,23 @@
<h3>{{_i}}Multiple sizes{{/i}}</h3>
<p>{{_i}}Fancy larger or smaller buttons? Add <code>.btn-large</code> or <code>.btn-small</code> for two additional sizes.{{/i}}</p>
<p>
- <a href="#" class="btn btn-large btn-primary">{{_i}}Primary action{{/i}}</a>
- <a href="#" class="btn btn-large">{{_i}}Action{{/i}}</a>
+ <button class="btn btn-large btn-primary">{{_i}}Primary action{{/i}}</button>
+ <button class="btn btn-large">{{_i}}Action{{/i}}</button>
</p>
<p>
- <a href="#" class="btn btn-small btn-primary">{{_i}}Primary action{{/i}}</a>
- <a href="#" class="btn btn-small">{{_i}}Action{{/i}}</a>
+ <button class="btn btn-small btn-primary">{{_i}}Primary action{{/i}}</button>
+ <button class="btn btn-small">{{_i}}Action{{/i}}</button>
</p>
<br>
<h3>{{_i}}Disabled state{{/i}}</h3>
<p>{{_i}}For disabled buttons, use <code>.btn-disabled</code> for links and <code>:disabled</code> for <code>&lt;button&gt;</code> elements.{{/i}}</p>
<p>
- <a href="#" class="btn btn-large btn-primary disabled">{{_i}}Primary action{{/i}}</a>
- <a href="#" class="btn btn-large disabled">{{_i}}Action{{/i}}</a>
+ <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>
<p>
- <button class="btn btn-large btn-primary disabled" disabled="disabled">{{_i}}Primary action{{/i}}</button>
- <button class="btn btn-large" disabled>{{_i}}Action{{/i}}</button>
+ <button class="btn btn-large btn-primary disabled" disabled="disabled">{{_i}}Primary button{{/i}}</button>
+ <button class="btn btn-large" disabled>{{_i}}Button{{/i}}</button>
</p>
</div>
<div class="span4">
diff --git a/docs/templates/pages/upgrading.mustache b/docs/templates/pages/upgrading.mustache
index 77e2e02cd..5a370f113 100644
--- a/docs/templates/pages/upgrading.mustache
+++ b/docs/templates/pages/upgrading.mustache
@@ -179,6 +179,10 @@
<li>{{_i}}The <code>animate</code> option was renamed to <code>animation</code>.{{/i}}</li>
<li>{{_i}}The <code>html</code> option was removed, as the tooltips default to allowing HTML now.{{/i}}</li>
</ul>
+ <h3>{{_i}}Tooltips{{/i}}</h3>
+ <ul>
+ <li>{{_i}}Values for <code>placement</code> option changed from <code>above</code> and <code>below</code> to <code>top</code> and <code>bottom</code>. (Affects popovers, too.){{/i}}</li>
+ </ul>
<h3>{{_i}}Popovers{{/i}}</h3>
<ul>
<li>{{_i}}Child elements now properly namespaced: <code>.title</code> to <code>.popover-title</code>, <code>.inner</code> to <code>.popover-inner</code>, and <code>.content</code> to <code>.popover-content</code>.{{/i}}</li>