From 648c4689273647c321dd6e3979d910282e9a9339 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Wed, 26 Oct 2011 23:11:56 -0700 Subject: breaking down the main page into subpages for easier, more comprehensive documentation --- docs/components.html | 705 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 705 insertions(+) create mode 100644 docs/components.html (limited to 'docs/components.html') diff --git a/docs/components.html b/docs/components.html new file mode 100644 index 000000000..0e3f0a223 --- /dev/null +++ b/docs/components.html @@ -0,0 +1,705 @@ + + + + + Bootstrap, from Twitter + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+

Components

+

Reusable patterns for navigation, alerts, popovers, and much more

+
+ + + +
+ + +
+
+

Media grid

+

Display thumbnails of varying sizes on pages with a low HTML footprint and minimal styles.

+
+
+

Example thumbnails

+

Thumbnails in the .media-grid can be any size, but they work best when mapped directly to the built-in Bootstrap grid system. Image widths like 90, 210, and 330 combine with a few pixels of padding to equal the .span2, .span4, and .span6 column sizes.

+

Large

+ +

Medium

+ +

Small

+ +

Coding them

+

Media grids are easy to use and rather simple on the markup side. Their dimensions are purely based on the size of the images included.

+
+<ul class="media-grid">
+  <li>
+    <a href="#">
+      <img class="thumbnail" src="http://placehold.it/330x230" alt="">
+    </a>
+  </li>
+  <li>
+    <a href="#">
+      <img class="thumbnail" src="http://placehold.it/330x230" alt="">
+    </a>
+  </li>
+</ul>
+
+
+
+
+ + + + + + + + + +
+ + +
+
+

Basic alerts

+

.alert-message

+

One-line messages for highlighting the failure, possible failure, or success of an action. Particularly useful for forms.

+

Get the javascript »

+
+
+
+ × +

Holy guacamole! Best check yo self, you’re not looking too good.

+
+
+ × +

Oh snap! Change this and that and try again.

+
+
+ × +

Well done! You successfully read this alert message.

+
+
+ × +

Heads up! This is an alert that needs your attention, but it’s not a huge priority just yet.

+
+ +

Example code

+
+<div class="alert-message warning">
+  <a class="close" href="#">×</a>
+  <p><strong>Holy guacamole!</strong> Best check yo self, you’re not looking too good.</p>
+</div>
+
+
+
+ +
+
+

Block messages

+

.alert-message.block-message

+

For messages that require a bit of explanation, we have paragraph style alerts. These are perfect for bubbling up longer error messages, warning a user of a pending action, or just presenting information for more emphasis on the page.

+

Get the javascript »

+
+
+
+ × +

Holy guacamole! This is a warning! 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.

+ +
+
+ × +

Oh snap! You got an error! Change this and that and try again.

+
    +
  • Duis mollis est non commodo luctus
  • +
  • Nisi erat porttitor ligula
  • +
  • Eget lacinia odio sem nec elit
  • +
+ +
+
+ × +

Well done! You successfully read this alert message. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Maecenas faucibus mollis interdum.

+ +
+
+ × +

Heads up! This is an alert that needs your attention, but it’s not a huge priority just yet.

+ +
+ +

Example code

+
+<div class="alert-message block-message warning">
+  <a class="close" href="#">×</a>
+  <p><strong>Holy guacamole! This is a warning!</strong> 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 class="alert-actions">
+    <a class="btn small" href="#">Take this action</a> <a class="btn small" href="#">Or do this</a>
+  </div>
+</div>
+
+
+
+
+ + + +
+ +
+
+

Modals

+

Modals—dialogs or lightboxes—are great for contextual actions in situations where it’s important that the background context be maintained.

+

Get the javascript »

+
+
+
+ + +
+
+
+ + +
+
+

Tooltips

+

Twipsies are super useful for aiding a confused user and pointing them in the right direction.

+

Get the javascript »

+
+
+
+
+

+Lorem ipsum dolar sit amet illo error ipsum veritatis aut iste perspiciatis iste voluptas natus illo quasi odit aut natus consequuntur consequuntur, aut natus illo voluptatem odit perspiciatis laudantium rem doloremque totam voluptas. Voluptasdicta eaque beatae aperiam ut enim voluptatem explicabo explicabo, voluptas quia odit fugit accusantium totam totam architecto explicabo sit quasi fugit fugit, totam doloremque unde sunt sed dicta quae accusantium fugit voluptas nemo voluptas voluptatem rem quae aut veritatis quasi quae. +

+
+
+
+
+ + +
+
+

Popovers

+

Use popovers to provide subtextual information to a page without affecting layout.

+

Get the javascript »

+
+
+
+
+
+
+
+

Popover Title

+
+

Etiam porta sem malesuada magna mollis euismod. Maecenas faucibus mollis interdum. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.

+
+
+
+ +
+
+
+
+
+ + + + +
+ + + + + + + + + + + + + + -- cgit v1.2.3 From b4c894961c0b75361ead496f1686eb3cf41c5c97 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Wed, 26 Oct 2011 23:24:22 -0700 Subject: address issue #414 and fix up a number of docs loose ends --- docs/components.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/components.html') diff --git a/docs/components.html b/docs/components.html index 0e3f0a223..59273ac19 100644 --- a/docs/components.html +++ b/docs/components.html @@ -548,7 +548,7 @@

Block messages

-

.alert-message.block-message

+

<div class="alert-message block-message">

For messages that require a bit of explanation, we have paragraph style alerts. These are perfect for bubbling up longer error messages, warning a user of a pending action, or just presenting information for more emphasis on the page.

Get the javascript »

-- cgit v1.2.3 From 19feb1b1ff56db21bc36106e3b57943ca490a912 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Wed, 26 Oct 2011 23:25:57 -0700 Subject: fix new navbar in components --- docs/components.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/components.html') diff --git a/docs/components.html b/docs/components.html index 59273ac19..c18d8c113 100644 --- a/docs/components.html +++ b/docs/components.html @@ -158,7 +158,7 @@

Fixed navbar

- +
+
+

Sidebar navigation with icon

+
+ +
+
+
+

Simple markup

+
+<ul class="nav list">
+  <li class="nav-header">List header</li>
+  <li class="active"><a href="#"><i class="home"></i> Home</a></li>
+  <li><a href="#"><i class="download"></i> Downloads</a></li>
+  <li><a href="#"><i class="film"></i> Movies</a></li>
+  ...
+</ul>
+
+
+

Tabbable nav Bring tabs to life via javascript

-- cgit v1.2.3 From 2376da40fb020289bcec4d2fe49ca2dc6f4eae97 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 8 Jan 2012 03:11:51 -0800 Subject: cleanup organization of tabbable nav section --- docs/components.html | 53 +++++++++++++--------------------------------------- 1 file changed, 13 insertions(+), 40 deletions(-) (limited to 'docs/components.html') diff --git a/docs/components.html b/docs/components.html index bd8753401..3208e2390 100644 --- a/docs/components.html +++ b/docs/components.html @@ -262,23 +262,13 @@

What's included

-

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
  • -
  • left
  • -
+

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.

Changing between them is easy and only requires changing very little markup.

-
-

Custom jQuery plugin

-

All tabbable tabs are powered by our lightweight jQuery plugin. Read more about how to bring tabbable tabs to life on the javascript docs page.

-

Get the javascript →

-
+

Tabbable example

To make tabs tabbable, wrap the .tabs in another div with class .tabbable.

-
+
-
-

Straightforward markup

-

Using tabbable tabs requires a wrapping div, a set of tabs, and a set of tabbable panes of content.

+
+
+

Custom jQuery plugin

+

All tabbable tabs are powered by our lightweight jQuery plugin. Read more about how to bring tabbable tabs to life on the javascript docs page.

+

Get the javascript →

+
+
+ +

Straightforward markup

+

Using tabbable tabs requires a wrapping div, a set of tabs, and a set of tabbable panes of content.

 <div class="tabbable">
   <ul class="nav tabs">
@@ -315,8 +312,6 @@
   </div>
 </div>
 
-
-

Tabbable in any direction

@@ -809,28 +804,6 @@ - -
- - -
- - - - - - - -
-- cgit v1.2.3 From 21eb2dac8a650ba13dabb41fd2d221ff918cdd30 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 8 Jan 2012 03:18:48 -0800 Subject: add icons in nav list example and markup --- docs/components.html | 36 ++++++++++++++++++++++++++++++++---- 1 file changed, 32 insertions(+), 4 deletions(-) (limited to 'docs/components.html') diff --git a/docs/components.html b/docs/components.html index 3208e2390..2a9d15846 100644 --- a/docs/components.html +++ b/docs/components.html @@ -222,9 +222,12 @@

Application-style navigation

Nav lists provide 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.

Structurally, they're built on the same core nav styles as tabs and pills, so usage and customization are straightforward.

+

With icons

+

Nav lists are also easy to equip with icons. Add the proper <i> tag with class and you're set.

-

Example sidebar navigation

+

Example nav list

+

Take a list of links and add class="nav list":

-
-
-

Simple markup

 <ul class="nav list">
   <li class="nav-header">
@@ -253,6 +253,34 @@
   </li>
   ...
 </ul>
+
+
+
+

Example with icons

+

Same example, but with <i> tags for icons.

+
+ +
+
+<ul class="nav list">
+  ...
+  <li>
+    <a href="#">
+      <i class="book"></i>
+      Library
+    </a>
+  </li>
+  ...
+</ul>
 
-- cgit v1.2.3 From 0d62778b28147f599015489d281e749893907087 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 8 Jan 2012 13:22:20 -0800 Subject: correct navbar scaffolding code snippet --- docs/components.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/components.html') diff --git a/docs/components.html b/docs/components.html index 2a9d15846..0c70ef168 100644 --- a/docs/components.html +++ b/docs/components.html @@ -506,7 +506,7 @@
 <div class="navbar navbar-static">
   <div class="navbar-inner">
-    <div class="container" style="width: auto;">
+    <div class="container">
       ...
     </div>
   </div>
-- 
cgit v1.2.3


From dbe5e666af51a4d85923c1a7754da1c929dfc249 Mon Sep 17 00:00:00 2001
From: Maik Schreiber 
Date: Mon, 9 Jan 2012 00:02:13 +0100
Subject: fix typo

---
 docs/components.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'docs/components.html')

diff --git a/docs/components.html b/docs/components.html
index 0c70ef168..104bedf54 100644
--- a/docs/components.html
+++ b/docs/components.html
@@ -512,7 +512,7 @@
   </div>
 </div>
 
-

To make the navbar fixed, swamp the .navbar-static class for .navbar-fixed. In your CSS, you will also need to account for the overlap it causes by adding padding-top: 40px; to your <body>.

+

To make the navbar fixed, swap the .navbar-static class for .navbar-fixed. In your CSS, you will also need to account for the overlap it causes by adding padding-top: 40px; to your <body>.

 <div class="navbar navbar-fixed">
   ...
-- 
cgit v1.2.3


From 83c0896999c91f4d85bb75434f4a4ecfaff07fe0 Mon Sep 17 00:00:00 2001
From: Mark Otto 
Date: Sun, 8 Jan 2012 21:48:07 -0800
Subject: updated js pages to put examples first

---
 docs/components.html | 164 ++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 163 insertions(+), 1 deletion(-)

(limited to 'docs/components.html')

diff --git a/docs/components.html b/docs/components.html
index 104bedf54..f3e8d42a5 100644
--- a/docs/components.html
+++ b/docs/components.html
@@ -55,9 +55,171 @@
 
 
 
+  
+  
+ +
+
+

Button groups

+

Use button groups to join multiple buttons together as one composite component. Build them with a series of <a> or <button> elements.

+

You can also combine sets of <div class="btn-group"> into a <div class="btn-toolbar"> for more complex projects.

+
+
+ Left + Middle + Right +
+
+
+
+
+ 1 + 2 + 3 + 4 +
+
+ 5 + 6 + 7 +
+
+ 8 +
+
+
+ +
+
+

Example markup

+

Here's how the HTML looks for a standard button group built with anchor tag buttons:

+
+<div class="btn-group">
+  <a class="btn" href="#">1</a>
+  <a class="btn" href="#">2</a>
+  <a class="btn" href="#">3</a>
+</div>
+
+

And with a toolbar for multiple groups:

+
+<div class="btn-toolbar">
+  <div class="btn-group">
+    ...
+  </div>
+</div>
+
+
+
+

Checkbox and radio flavors

+

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 the Javascript docs for that.

+

Get the javascript »

+
+

Heads up

+

CSS for button groups is in a separate file, button-groups.less.

+
+
+
+ + + + +
+ +
+
+

Split button dropdowns

+

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.

+ +
+
+

Example markup

+

Similar to a button group, our markup uses regular button markup, but with a handful of additions to refine the style and support Bootstrap's dropdown jQuery plugin.

+
+<div class="btn-group">
+  <a class="btn" href="#">Action</a>
+  <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
+    <span class="caret"></span>
+  </a>
+  <ul class="dropdown-menu">
+    <!-- dropdown menu links -->
+  </ul>
+</div>
+
+
+
+
+ + + -
+ - -
- -
-
-

Modals

-

Modals—dialogs or lightboxes—are great for contextual actions in situations where it’s important that the background context be maintained.

-

Get the javascript »

-
-
-
- - -
-
-
- -
- - - - - - - - - -
- - -
-
-

Popovers

-

Use popovers to provide subtextual information to a page without affecting layout.

-

Get the javascript »

-
-
-
-
-
-
-
-

Popover Title

-
-

Etiam porta sem malesuada magna mollis euismod. Maecenas faucibus mollis interdum. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.

-
-
-
- -
-
-
-
-
-- cgit v1.2.3 From 6f2f947a4309a8fdeb7067612447c0f1a15dcfd9 Mon Sep 17 00:00:00 2001 From: Jacob Thornton Date: Wed, 11 Jan 2012 21:42:55 -0800 Subject: add build tool for js + rename twipsy to tooltip + lots of little doc cleanup --- docs/components.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'docs/components.html') diff --git a/docs/components.html b/docs/components.html index ee1634cca..873bbf682 100644 --- a/docs/components.html +++ b/docs/components.html @@ -147,7 +147,7 @@
  • Separated link
  • - +
    Action @@ -158,7 +158,7 @@
  • Separated link
  • -
    +
    Danger @@ -214,7 +214,7 @@
    - + +-->

    Tabs on the bottom

    Flip the order of the HTML and add a class to put tabs on the bottom.

    @@ -1035,7 +1035,7 @@
    - +
    @@ -1195,7 +1195,7 @@ - + -- cgit v1.2.3 From 391248c0e3ba9b00b0b4a02e4d94475e9ae9877a Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Thu, 12 Jan 2012 15:29:16 -0800 Subject: nuke uber footer, bring back topbar dropdowns --- docs/components.html | 72 +++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 66 insertions(+), 6 deletions(-) (limited to 'docs/components.html') diff --git a/docs/components.html b/docs/components.html index 873bbf682..b9d75edbe 100644 --- a/docs/components.html +++ b/docs/components.html @@ -34,11 +34,71 @@ Bootstrap @@ -127,7 +187,7 @@ -
    +
    -- cgit v1.2.3 From 11be9cd16370ecd15d227917d98ff63eccae68ae Mon Sep 17 00:00:00 2001 From: Purwandi Date: Fri, 13 Jan 2012 14:57:21 +0700 Subject: Fix id anchor javascript --- docs/components.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'docs/components.html') diff --git a/docs/components.html b/docs/components.html index b9d75edbe..fa3dc5a20 100644 --- a/docs/components.html +++ b/docs/components.html @@ -80,13 +80,13 @@
     <ul class="pager">
    -  <li>
    +  <li class="previous">
         <a href="#">&larr; Older</a>
       </li>
    -  <li>
    +  <li class="next">
         <a href="#">Newer &rarr;</a>
       </li>
     </ul>
    -- 
    cgit v1.2.3
    
    
    From fe160261e460903cae251de25eaf41f236bd051e Mon Sep 17 00:00:00 2001
    From: Mark Otto 
    Date: Sun, 15 Jan 2012 11:30:24 -0800
    Subject: normalize the alert classes to match last night's flip for form and
     table classes
    
    ---
     docs/components.html | 20 ++++++++++----------
     1 file changed, 10 insertions(+), 10 deletions(-)
    
    (limited to 'docs/components.html')
    
    diff --git a/docs/components.html b/docs/components.html
    index 83a024456..c9390272d 100644
    --- a/docs/components.html
    +++ b/docs/components.html
    @@ -1132,7 +1132,7 @@
           

    Rewritten base class

    With Bootstrap 2, we've simplified the base class: .alert instead of .alert-message. We've also reduced the minimum required markup—no <p> is required by default, just the outter <div>.

    Single alert message

    -

    For a more durable component with less code, we've removed the differentiating look for block alerts, messages that com with more padding and typically more text. The class also has changed to .block-alert.

    +

    For a more durable component with less code, we've removed the differentiating look for block alerts, messages that com with more padding and typically more text. The class also has changed to .alert-block.


    Goes great with javascript

    Bootstrap comes with a great jQuery plugin that supports alert messages, making dismissing them quick and easy.

    @@ -1151,14 +1151,14 @@ <strong>Warning!</strong> Best check yo self, you’re not looking too good. </div>
    -

    Easily extend the standard alert message with two optional classes: .block-alert for more padding and text controls and .alert-heading for a matching heading.

    -
    +

    Easily extend the standard alert message with two optional classes: .alert-block for more padding and text controls and .alert-heading for a matching heading.

    +
    ×

    Warning!

    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.

    -<div class="alert block-alert">
    +<div class="alert alert-block">
       <a class="close">×</a>
       <h4 class="alert-heading">Warning!</h4>
       Best check yo self, you’re not...
    @@ -1171,36 +1171,36 @@
       

    Error or danger

    -
    +
    × Oh snap! Change a few things up and try submitting again.
    -<div class="alert error-alert">
    +<div class="alert alert-error">
       ...
     </div>
     

    Success

    -
    +
    × Well done! You successfully read this important alert message.
    -<div class="alert success-alert">
    +<div class="alert alert-success">
       ...
     </div>
     

    Information

    -
    +
    × Heads up! This alert needs your attention, but it’s not super important.
    -<div class="alert info-alert">
    +<div class="alert alert-info">
       ...
     </div>
     
    -- cgit v1.2.3 From 127c0d0b52c52227dcd3f346d371e5cd4219a08f Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 15 Jan 2012 13:12:29 -0800 Subject: make dl and child elements less specific --- docs/components.html | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) (limited to 'docs/components.html') diff --git a/docs/components.html b/docs/components.html index c9390272d..1343a4279 100644 --- a/docs/components.html +++ b/docs/components.html @@ -865,33 +865,29 @@

    The default pagination component is flexible and works in a number of variations.

    -- cgit v1.2.3 From f1a88eede391cbb4beaadce60768a351724d7633 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 16 Jan 2012 17:27:30 -0800 Subject: fix js link in docs nav, restyle accordion with new css --- docs/components.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/components.html') diff --git a/docs/components.html b/docs/components.html index 1343a4279..dd7f098b5 100644 --- a/docs/components.html +++ b/docs/components.html @@ -81,7 +81,7 @@

    Browser support

    -

    Progress bars use CSS3 gradients, transitions, and animations to achieve all theire effects. These features are not supported in IE7-8 or older versions of Firefox.

    +

    Progress bars use CSS3 gradients, transitions, and animations to achieve all their effects. These features are not supported in IE7-8 or older versions of Firefox.

    Opera does not support animations at this time.

    -- cgit v1.2.3 From 0523c053a79430b3dab775fab2d572841f743c5a Mon Sep 17 00:00:00 2001 From: Olivier Laviale Date: Sun, 22 Jan 2012 21:45:20 +0100 Subject: Fixed typo --- docs/components.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 docs/components.html (limited to 'docs/components.html') diff --git a/docs/components.html b/docs/components.html old mode 100644 new mode 100755 index 7d0593874..984e8c76d --- a/docs/components.html +++ b/docs/components.html @@ -1128,7 +1128,7 @@

    Rewritten base class

    With Bootstrap 2, we've simplified the base class: .alert instead of .alert-message. We've also reduced the minimum required markup—no <p> is required by default, just the outter <div>.

    Single alert message

    -

    For a more durable component with less code, we've removed the differentiating look for block alerts, messages that com with more padding and typically more text. The class also has changed to .alert-block.

    +

    For a more durable component with less code, we've removed the differentiating look for block alerts, messages that come with more padding and typically more text. The class also has changed to .alert-block.


    Goes great with javascript

    Bootstrap comes with a great jQuery plugin that supports alert messages, making dismissing them quick and easy.

    -- cgit v1.2.3 From a7bf0295fbf3ce9abc1ca44680f4a6eaf17339b5 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 23 Jan 2012 11:55:04 -0800 Subject: remove dropdowns, add in sub nav instead --- docs/components.html | 80 +++++++++++++--------------------------------------- 1 file changed, 20 insertions(+), 60 deletions(-) (limited to 'docs/components.html') diff --git a/docs/components.html b/docs/components.html index 984e8c76d..47efee5ac 100755 --- a/docs/components.html +++ b/docs/components.html @@ -34,71 +34,20 @@ Bootstrap
    @@ -112,6 +61,17 @@

    Components

    Dozens of reusable components are built into Bootstrap to provide navigation, alerts, popovers, and much more.

    +
    -- cgit v1.2.3 From ea8f5883fd58ff5e356944e4a93543c05abf2220 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 23 Jan 2012 12:04:48 -0800 Subject: clean up subnav aesthetics --- docs/components.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/components.html') diff --git a/docs/components.html b/docs/components.html index 47efee5ac..8cd76bedc 100755 --- a/docs/components.html +++ b/docs/components.html @@ -63,13 +63,13 @@

    Dozens of reusable components are built into Bootstrap to provide navigation, alerts, popovers, and much more.

    -- cgit v1.2.3 From f764aee4b919c28974dba7b91edac9a04172ba25 Mon Sep 17 00:00:00 2001 From: Jacob Thornton Date: Mon, 23 Jan 2012 14:14:16 -0800 Subject: add templates for doc generation --- docs/components.html | 51 +++++++++++++++++++++++++++++---------------------- 1 file changed, 29 insertions(+), 22 deletions(-) mode change 100755 => 100644 docs/components.html (limited to 'docs/components.html') diff --git a/docs/components.html b/docs/components.html old mode 100755 new mode 100644 index 984e8c76d..ea58cecb8 --- a/docs/components.html +++ b/docs/components.html @@ -7,7 +7,7 @@ - + @@ -18,10 +18,11 @@ - - - - + + + + + @@ -33,8 +34,8 @@
    Bootstrap -
  • Progress bars
  • -
  • Typeahead
  • -
  • +
  • Using LESS @@ -107,13 +108,12 @@
    - -
    -

    Components

    -

    Dozens of reusable components are built into Bootstrap to provide navigation, alerts, popovers, and much more.

    -
    - + +
    +

    Components

    +

    Dozens of reusable components are built into Bootstrap to provide navigation, alerts, popovers, and much more.

    +
    +
    + - + + + + - + + + + + + -- cgit v1.2.3 From b4b1ef68398b68dcdfa29465d06cd76d6bf2c49d Mon Sep 17 00:00:00 2001 From: Jacob Thornton Date: Mon, 23 Jan 2012 15:17:32 -0800 Subject: rebuild with new templates --- docs/components.html | 110 ++++++++++++--------------------------------------- 1 file changed, 25 insertions(+), 85 deletions(-) (limited to 'docs/components.html') diff --git a/docs/components.html b/docs/components.html index ee14526e5..4a1e4fc6f 100644 --- a/docs/components.html +++ b/docs/components.html @@ -27,82 +27,30 @@ -
  • - Download + Customize
  • -- cgit v1.2.3 From d02c6957d44761c35121cb88af727802ce4d9e5e Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 27 Jan 2012 19:49:56 -0800 Subject: fixing up buttons and examples of implementing icons --- docs/components.html | 153 +++++++++++++++++++++++++-------------------------- 1 file changed, 74 insertions(+), 79 deletions(-) (limited to 'docs/components.html') diff --git a/docs/components.html b/docs/components.html index cf5fcb928..6ebf6a4f0 100644 --- a/docs/components.html +++ b/docs/components.html @@ -96,32 +96,29 @@

    Button groups

    Use button groups to join multiple buttons together as one composite component. Build them with a series of <a> or <button> elements.

    You can also combine sets of <div class="btn-group"> into a <div class="btn-toolbar"> for more complex projects.

    -
    + -
    -
    -
    - 1 - 2 - 3 - 4 -
    -
    - 5 - 6 - 7 -
    -
    - 8 -
    +
    +
    + 1 + 2 + 3 + 4 +
    +
    + 5 + 6 + 7 +
    +
    + 8
    -

    Example markup

    @@ -165,67 +162,65 @@

    Split button dropdowns

    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.

    - + +

    Example markup

    -- cgit v1.2.3 From cb8606f2c84adb57c82dd7bd401574a2376ff952 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 27 Jan 2012 22:52:45 -0800 Subject: adding wells and close icon to the docs under misc in components, with a new subnav style --- docs/components.html | 229 ++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 171 insertions(+), 58 deletions(-) (limited to 'docs/components.html') diff --git a/docs/components.html b/docs/components.html index 6ebf6a4f0..a52558220 100644 --- a/docs/components.html +++ b/docs/components.html @@ -70,15 +70,27 @@

    Dozens of reusable components are built into Bootstrap to provide navigation, alerts, popovers, and much more.

    @@ -927,6 +939,66 @@ + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    LabelsMarkup
    + Default + + <span class="label">Default</span> +
    + New + + <span class="label success">New</span> +
    + Warning + + <span class="label warning">Warning</span> +
    + Important + + <span class="label important">Important</span> +
    + Info + + <span class="label info">Info</span> +
    +
    + + +
    @@ -1168,32 +1240,32 @@ -
    - +
    + -

    Examples and markup

    -
    -
    -

    Basic

    -

    Default progress bar with a vertical gradient.

    -
    -
    -
    +

    Examples and markup

    +
    +
    +

    Basic

    +

    Default progress bar with a vertical gradient.

    +
    +
    +
     <div class="progress">
       <div class="bar"
            style="width: 60%;"></div>
     </div>
     
    -
    -
    -

    Striped

    -

    Uses a gradient to create a striped effect.

    -
    -
    -
    +
    +
    +

    Striped

    +

    Uses a gradient to create a striped effect.

    +
    +
    +
     <div class="progress info
          striped">
    @@ -1201,13 +1273,13 @@
            style="width: 20%;"></div>
     </div>
     
    -
    -
    -

    Animated

    -

    Takes the striped example and animates it.

    -
    -
    -
    +
    +
    +

    Animated

    +

    Takes the striped example and animates it.

    +
    +
    +
     <div class="progress danger
          striped active">
    @@ -1215,34 +1287,75 @@
            style="width: 40%;"></div>
     </div>
     
    -
    -
    +
    +
    + +

    Options and browser support

    +
    +
    +

    Additional colors

    +

    Progress bars utilize some of the same classes as buttons and alert messages for quick styling.

    +
      +
    • .info
    • +
    • .success
    • +
    • .danger
    • +
    +

    Alternatively, you can customize the LESS files and roll your own colors and sizes.

    +
    +
    +

    Behavior

    +

    Progress bars use CSS3 transitions, so if you dynamically adjust the width via javascript, it will smoothly resize.

    +

    If you use the .active class, your .striped progress bars will animate the stripes left to right.

    +
    +
    +

    Browser support

    +

    Progress bars use CSS3 gradients, transitions, and animations to achieve all their effects. These features are not supported in IE7-8 or older versions of Firefox.

    +

    Opera does not support animations at this time.

    +
    +
    + +
    + + + + + + +
    + +
    +
    +

    Wells

    +

    Use the well as a simple effect on an element to give it an inset effect.

    +
    + Look, I'm in a well! +
    +
    +<div class="well">
    +  ...
    +</div>
    +
    +
    + +
    +

    Close icon

    +

    Use the generic close icon for dismissing content like modals and alerts.

    +

    ×

    +
    <a class="close">&times;</a>
    +
    +
    +
    + + -

    Options and browser support

    -
    -
    -

    Additional colors

    -

    Progress bars utilize some of the same classes as buttons and alert messages for quick styling.

    -
      -
    • .info
    • -
    • .success
    • -
    • .danger
    • -
    -

    Alternatively, you can customize the LESS files and roll your own colors and sizes.

    -
    -
    -

    Behavior

    -

    Progress bars use CSS3 transitions, so if you dynamically adjust the width via javascript, it will smoothly resize.

    -

    If you use the .active class, your .striped progress bars will animate the stripes left to right.

    -
    -
    -

    Browser support

    -

    Progress bars use CSS3 gradients, transitions, and animations to achieve all their effects. These features are not supported in IE7-8 or older versions of Firefox.

    -

    Opera does not support animations at this time.

    -
    -
    -
    -<div class="tabbable tabs-bottom">
    +<div class="tabbable tabs-below">
       <ul class="nav tabs">
         ...
       </ul>
    -- 
    cgit v1.2.3
    
    
    From 23e076c1bb73c4950d473cb36218937b2607bc13 Mon Sep 17 00:00:00 2001
    From: Mark Otto 
    Date: Sat, 28 Jan 2012 15:09:23 -0800
    Subject: add in a navbar button for toggling the nav items
    
    ---
     docs/components.html | 5 +++++
     1 file changed, 5 insertions(+)
    
    (limited to 'docs/components.html')
    
    diff --git a/docs/components.html b/docs/components.html
    index 1d5cbc926..f584d90bd 100644
    --- a/docs/components.html
    +++ b/docs/components.html
    @@ -33,6 +33,11 @@
         
    -
    +

    Nav links

    Nav items are simple to add via unordered lists.

    @@ -763,9 +770,9 @@ </li> </ul>
    -

    Get the javascript →

    -
    - +

    Get the javascript →

    + +
    -- cgit v1.2.3 From 99ac6ca08ed27126d2ad1dd4d0e820205aab9c48 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 28 Jan 2012 18:39:36 -0800 Subject: update components page to include docs for the new navbar collapse feature, re-add responsive.less to downloader --- docs/components.html | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) (limited to 'docs/components.html') diff --git a/docs/components.html b/docs/components.html index 950d1f35c..710e7de77 100644 --- a/docs/components.html +++ b/docs/components.html @@ -467,7 +467,7 @@

    Nav links

    -- cgit v1.2.3 From 59d9983ebcc889b5e5626d672311e92657bfe3e8 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 28 Jan 2012 22:03:14 -0800 Subject: updates to responsive and docs for responsive navbar --- docs/components.html | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/components.html') diff --git a/docs/components.html b/docs/components.html index 710e7de77..f9f8db057 100644 --- a/docs/components.html +++ b/docs/components.html @@ -766,6 +766,9 @@ </div> </div> +
    + Heads up! The responsive navbar requires the collapse plugin. +
    -- cgit v1.2.3 From 487dbfdda4692e3212f13d5e6282d7818b4c9934 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 28 Jan 2012 22:14:51 -0800 Subject: namespace progress bars and labels classes --- docs/components.html | 42 +++++++++++++++++++----------------------- 1 file changed, 19 insertions(+), 23 deletions(-) (limited to 'docs/components.html') diff --git a/docs/components.html b/docs/components.html index f9f8db057..52483572e 100644 --- a/docs/components.html +++ b/docs/components.html @@ -1007,34 +1007,34 @@ - New + New - <span class="label success">New</span> + <span class="label label-success">New</span> - Warning + Warning - <span class="label warning">Warning</span> + <span class="label label-warning">Warning</span> - Important + Important - <span class="label important">Important</span> + <span class="label label-important">Important</span> - Info + Info - <span class="label info">Info</span> + <span class="label label-info">Info</span> @@ -1307,12 +1307,12 @@

    Striped

    Uses a gradient to create a striped effect.

    -
    +
    -<div class="progress info
    -     striped">
    +<div class="progress progress-info
    +     progress-striped">
       <div class="bar"
            style="width: 20%;"></div>
     </div>
    @@ -1321,12 +1321,12 @@
         

    Animated

    Takes the striped example and animates it.

    -
    +
    -<div class="progress danger
    -     striped active">
    +<div class="progress progress-danger
    +     progress-striped active">
       <div class="bar"
            style="width: 40%;"></div>
     </div>
    @@ -1338,18 +1338,18 @@
       

    Additional colors

    -

    Progress bars utilize some of the same classes as buttons and alert messages for quick styling.

    +

    Progress bars utilize some of the same class names as buttons and alerts for similar styling.

      -
    • .info
    • -
    • .success
    • -
    • .danger
    • +
    • .progress-info
    • +
    • .progress-success
    • +
    • .progress-danger

    Alternatively, you can customize the LESS files and roll your own colors and sizes.

    Behavior

    Progress bars use CSS3 transitions, so if you dynamically adjust the width via javascript, it will smoothly resize.

    -

    If you use the .active class, your .striped progress bars will animate the stripes left to right.

    +

    If you use the .active class, your .progress-striped progress bars will animate the stripes left to right.

    Browser support

    @@ -1398,10 +1398,6 @@
    - - - -