diff --git a/bootstrap.css b/bootstrap.css
index 5fa1067a05..b859657ef0 100644
--- a/bootstrap.css
+++ b/bootstrap.css
@@ -6,7 +6,7 @@
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
- * Date: Sun Jan 8 15:38:44 PST 2012
+ * Date: Sun Jan 8 19:32:37 PST 2012
*/
html, body {
margin: 0;
@@ -2525,9 +2525,9 @@ i {
padding: 9px 14px 9px;
font-size: 15px;
line-height: normal;
- -webkit-border-radius: 6px;
- -moz-border-radius: 6px;
- border-radius: 6px;
+ -webkit-border-radius: 5px;
+ -moz-border-radius: 5px;
+ border-radius: 5px;
}
.btn.small {
padding: 7px 9px 7px;
diff --git a/bootstrap.min.css b/bootstrap.min.css
index 648efecb7e..3dc0151638 100644
--- a/bootstrap.min.css
+++ b/bootstrap.min.css
@@ -445,7 +445,7 @@ i{background-image:url(docs/assets/img/glyphicons-halflings-sprite.png);backgrou
.btn.active,.btn:active{-webkit-box-shadow:inset 0 2px 4px rgba(0, 0, 0, 0.25),0 1px 2px rgba(0, 0, 0, 0.05);-moz-box-shadow:inset 0 2px 4px rgba(0, 0, 0, 0.25),0 1px 2px rgba(0, 0, 0, 0.05);box-shadow:inset 0 2px 4px rgba(0, 0, 0, 0.25),0 1px 2px rgba(0, 0, 0, 0.05);}
.btn.disabled{cursor:default;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);filter:alpha(opacity=65);-moz-opacity:0.65;opacity:0.65;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;}
.btn[disabled]{cursor:default;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);filter:alpha(opacity=65);-moz-opacity:0.65;opacity:0.65;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;}
-.btn.large{padding:9px 14px 9px;font-size:15px;line-height:normal;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;}
+.btn.large{padding:9px 14px 9px;font-size:15px;line-height:normal;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;}
.btn.small{padding:7px 9px 7px;font-size:11px;}
:root .alert-message,:root .btn{border-radius:0 \0;}
button.btn::-moz-focus-inner,input[type=submit].btn::-moz-focus-inner{padding:0;border:0;}
diff --git a/docs/base-css.html b/docs/base-css.html
index c1cb3fd2dd..29f5d1d197 100644
--- a/docs/base-css.html
+++ b/docs/base-css.html
@@ -1277,152 +1277,6 @@
-
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.
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> --
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.
- -CSS for button groups is in a separate file, button-groups.less.
-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.
-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> --
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.
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> ++
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.
+ +CSS for button groups is in a separate file, button-groups.less.
+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.
+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> ++
For simple transition effects, include bootstrap-transition.js once to slide in modals or fade out alert messages.
-* Required for animation in plugins
-A streamlined, but flexible, take on the traditional javascript modal plugin with only the minimum required functionality and smart defaults.
Add dropdown menus to nearly anything in Bootstrap with this simple plugin. Bootstrap features full dropdown menu support on in the navbar, tabs, and pills.
Use scrollspy to automatically update the links in your navbar to show the current active link based on scroll position.
Use this plugin to make tabs and pills more useful by allowing them to toggle through tabbable panes of local content.
A new take on the jQuery Tipsy plugin, Twipsy uses CSS3 animations, data attributes for titles, and the new event API in jQuery 1.7.
Add small overlays of content, like those on the iPad, to any element for housing secondary information.
* Requires Twipsy to be included
The alert plugin is a tiny class for adding close functionality to alerts.
Do more with buttons. Control button states or create groups of buttons for more components like toolbars.
+Do more with buttons. Control button states or create groups of buttons for more components like toolbars.
-Get base styles and flexible support for collapsible components like accordions and navigation.
@@ -117,26 +111,78 @@A basic, easily extended plugin for quickly creating elegant typeaheads with any form text input.
For simple transition effects, include bootstrap-transition.js once to slide in modals or fade out alert messages.
+* Required for animation in plugins
+Note: All plugins require the latest version of jQuery to be included.
Our Modal plugin is a super slim take on the traditional modal js plugin, taking special care to include only the bare functionality that we require here at twitter.
- Download +A streamlined, but flexible, take on the traditional javascript modal plugin with only the minimum required functionality and smart defaults.
+ Download fileBelow is a statically rendered modal.
+Toggle a modal via javascript by clicking the button below. It will slide down and fade in from the top of the page.
+ +Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem.
+ +This button should trigger a popover on hover.
+ +This link and that link should have Twipsy tooltips on hover.
+Call the modal via javascript:
$('#myModal').modal(options)
Notice Individual twipsy instance options can alternatively be specified through the use of data attributes.
- For performance reasons, the Twipsy and Popover data-apis are opt in. If you would like to use them just specify a selector option.
+For performance reasons, the Twipsy and Popover data-apis are opt in. If you would like to use them just specify a selector option.
Attaches a twipsy handler to an element collection.
@@ -586,29 +693,34 @@ $('a[data-toggle="tab"]').on('shown', function (e) {Hides an elements twipsy.
$('#element').twipsy('hide')-
Tight pants next level keffiyeh you probably haven't heard of them. Photo booth beard raw denim letterpress vegan messenger bag stumptown. Farm-to-table seitan, mcsweeney's fixie sustainable quinoa 8-bit american apparel have a terry richardson vinyl chambray. Beard stumptown, cardigans banh mi lomo thundercats. Tofu biodiesel williamsburg marfa, four loko mcsweeney's cleanse vegan chambray. A really ironic artisan whatever keytar, scenester farm-to-table banksy Austin twitter handle freegan cred raw denim single-origin coffee viral. -
-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 +Add small overlays of content, like those on the iPad, to any element for housing secondary information.
+* Requires Twipsy to be included
+ Download fileHover over the button to trigger the popover.
+ +Enable popovers via javascript:
$('#example').popover(options)
Stateful | ++ + | +
Single toggle | ++ + | +
Checkbox | +
+
+
+
+
+
+ |
+
Radio | +
+
+
+
+
+
+ |
+
Enable buttons via javascript:
$('.tabs').button()
Data attributes are integral to the button plugin. Check out the example code below for the various markup types.
@@ -810,64 +967,62 @@ $('#my-alert').bind('closed', function () { <script> $('.btn').button('complete') </script> -Stateful | -- - | -
Single Toggle | -- - | -
Checkbox | -
-
-
-
-
-
- |
-
Radio | -
-
-
-
-
-
- |
-
The collapse plugin offers simple, flexible collapsible element support for making accordions and other collapsible ui components.
- Download +Get base styles and flexible support for collapsible components like accordions and navigation.
+ Download fileUsing the collapse plugin, we built a simple accordion style widget:
++ Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS. +
++ Blog +1 eiusmod, williamsburg chambray craft beer brooklyn. Trust fund squid whatever, sunt hoodie skateboard mustache 3 wolf moon art party wes anderson ad leggings officia. Skateboard keytar incididunt gluten-free retro sartorial, single-origin coffee et viral. Art party blog sunt, readymade fugiat 8-bit aesthetic ex echo park fanny pack keytar. Thundercats sustainable labore, mustache adipisicing tattooed dolore aute occaecat velit 8-bit raw denim letterpress. In occaecat freegan, next level single-origin coffee chambray excepteur nihil duis exercitation adipisicing ex sartorial twee squid. You probably haven't heard of them fugiat ea retro eiusmod quis cosby sweater, +1 fap sapiente biodiesel banksy. +
++ Tempor gentrify pariatur nihil salvia, irony synth incididunt odio commodo brunch aute. Four loko est vice echo park wes anderson jean shorts, tempor ea vero locavore. Seitan DIY dolore readymade williamsburg viral. Dolor fap master cleanse delectus, ad butcher labore duis vice mollit cillum exercitation eu banh mi. Austin banksy 3 wolf moon locavore sed, helvetica next level VHS you probably haven't heard of them ethical odio. Incididunt locavore minim, do seitan consequat qui thundercats labore before they sold out retro laborum. Esse twee readymade laboris fap vice, voluptate DIY. +
+Enable via javascript:
$(".collapse").collapse()
A basic, easily extended plugin for quickly creating elegant typeaheads.
- Download +A basic, easily extended plugin for quickly creating elegant typeaheads with any form text input.
+ Download fileStart typing in the field below to show the typeahead results.
+Call the typeahead via javascript:
$('.typeahead').typeahead()-