From 8a7abc7493a07935d4d91b2cc56a82523fd53970 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Wed, 21 Dec 2011 16:00:50 -0600 Subject: docs updates, forms updated to include error states and more examples, remove text-shadow from gradientbar mixin to fix bug --- docs/base-css.html | 80 +++++++++++++++++++++++++++++++++++--- docs/components.html | 107 ++++++++++++++++++++++++++++++++++++++++++++------- docs/upgrading.html | 2 +- 3 files changed, 169 insertions(+), 20 deletions(-) (limited to 'docs') diff --git a/docs/base-css.html b/docs/base-css.html index 209897402..63ec53306 100644 --- a/docs/base-css.html +++ b/docs/base-css.html @@ -762,6 +762,43 @@

Forms

+ +

Four types of forms

@@ -842,7 +879,7 @@
- Example form + Example form section
@@ -850,6 +887,16 @@

Help text here. Be sure to fill this out like so, or else!

+
+ +
+
+ @ + +
+ Here's some help text +
+
@@ -874,23 +921,44 @@
- Example form + Example form section +
+ +
+ +
+
+
+ +
+ +
+
-
+
+ +
+ + Something may have gone wrong +
+
+
+ Please correct the error
-
- +
+
- + + Woohoo!
diff --git a/docs/components.html b/docs/components.html index 56e71b0f7..11d83c51a 100644 --- a/docs/components.html +++ b/docs/components.html @@ -201,11 +201,33 @@ - -
- + + + + + + + + + + +
+ +
-

Step nav

Placeholder for now!

@@ -486,7 +535,17 @@
- +
+ + + + + -
@@ -676,7 +735,17 @@
- +
+ + + + + + + + + +
+ +

Popovers

@@ -721,6 +800,8 @@ Lorem ipsum dolar sit amet illo error ipsum verita
+ + - - - - - - - - - - - - diff --git a/docs/javascript.html b/docs/javascript.html index 568991969..91fe94910 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -26,17 +26,6 @@ - - - @@ -147,7 +136,7 @@ - + @@ -306,7 +295,7 @@ $('#myModal').bind('hidden', function () { Download
-

Using boostrap-dropdown.js

+

Using bootstrap-dropdown.js

$('.dropdown-toggle').dropdown()

Markup

To quickly add dropdown functionality to any element just add data-toggle="dropdown". Any valid bootstrap dropdown will automatically be activated.

@@ -380,7 +369,7 @@ $('#myModal').bind('hidden', function () { Download
-

Using boostrap-scrollspy.js

+

Using bootstrap-scrollspy.js

$('#navbar').dropdown()

Markup

To easily add scrollspy behavior to your topbar navigation, just add data-spy="scroll" to the element you want to spy on (most typically this would be the body). @@ -454,7 +443,7 @@ $('#myModal').bind('hidden', function () { Download

-

Using boostrap-tab.js

+

Using bootstrap-tab.js

$('#myTab').tab('show')

Markup

You can activate a tab or pill navigation without writing any javascript by simply specifying data-toggle="tab" or data-toggle="pill" on an element.

@@ -651,11 +640,11 @@ $('a[data-toggle="tab"]').bind('shown', function (e) {
-

The popover plugin provides a simple interface for adding popovers to your application. It extends the boostrap-twipsy.js plugin, so be sure to grab that file as well when including popovers in your project!

+

The popover plugin provides a simple interface for adding popovers to your application. It extends the bootstrap-twipsy.js plugin, so be sure to grab that file as well when including popovers in your project!

Download
-

Using boostrap-popover.js

+

Using bootstrap-popover.js

$('#example').popover(options)

Options

bootstrap-popover.jsThe popover plugin provides a simple interface for adding popovers to your application. It extends the boostrap-twipsy.js plugin, so be sure to grab that file as well when including popovers in your project!The popover plugin provides a simple interface for adding popovers to your application. It extends the bootstrap-twipsy.js plugin, so be sure to grab that file as well when including popovers in your project!
bootstrap-button.js
-- cgit v1.2.3