diff --git a/bootstrap-1.3.0.css b/bootstrap-1.3.0.css index d7e39b8230..fd1a173c65 100644 --- a/bootstrap-1.3.0.css +++ b/bootstrap-1.3.0.css @@ -1,12 +1,12 @@ /*! - * Bootstrap v1.2.0 + * Bootstrap v1.3.0 * * Copyright 2011 Twitter, Inc * Licensed under the Apache License v2.0 * http://www.apache.org/licenses/LICENSE-2.0 * * Designed and built with all the love in the world @twitter by @mdo and @fat. - * Date: Fri Sep 9 00:02:14 PDT 2011 + * Date: Fri Sep 9 20:23:37 PDT 2011 */ /* Reset.less * Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc). @@ -1012,7 +1012,7 @@ textarea[readonly] { padding-top: 9px; } .form-stacked legend { - margin-left: 0; + padding-left: 0; } .form-stacked label { display: block; diff --git a/bootstrap-1.3.0.min.css b/bootstrap-1.3.0.min.css index c0153cb1fc..fc3e09b9e7 100644 --- a/bootstrap-1.3.0.min.css +++ b/bootstrap-1.3.0.min.css @@ -160,7 +160,7 @@ input[disabled],select[disabled],textarea[disabled],input[readonly],select[reado .inputs-list li:first-child{padding-top:5px;} .inputs-list input[type=radio],.inputs-list input[type=checkbox]{margin-bottom:0;} .form-stacked{padding-left:20px;}.form-stacked fieldset{padding-top:9px;} -.form-stacked legend{margin-left:0;} +.form-stacked legend{padding-left:0;} .form-stacked label{display:block;float:none;width:auto;font-weight:bold;text-align:left;line-height:20px;padding-top:0;} .form-stacked .clearfix{margin-bottom:9px;}.form-stacked .clearfix div.input{margin-left:0;} .form-stacked .inputs-list{margin-bottom:0;}.form-stacked .inputs-list li{padding-top:0;}.form-stacked .inputs-list li label{font-weight:normal;padding-top:0;} diff --git a/docs/assets/js/application.js b/docs/assets/js/application.js index 4753293980..db59c79f9c 100644 --- a/docs/assets/js/application.js +++ b/docs/assets/js/application.js @@ -3,7 +3,7 @@ $(document).ready(function(){ // Dropdown example for topbar nav // =============================== - $(".topbar").dropdown() // catch any dropdowns on the page + $('body').dropdown() // catch any dropdowns on the page // table sort example diff --git a/docs/index.html b/docs/index.html index 558f3fcf24..4a3f1a8c42 100644 --- a/docs/index.html +++ b/docs/index.html @@ -82,7 +82,7 @@
For the quickest and easiest start, just copy this snippet into your webpage.
Our Modal plugin is a super slim take on the traditional modal js plugin! We took special care to include only the bare functionality that we require at twitter.
- Download + Downloadboolean
) - if true, it will include a modal-backdrop element.boolean
) - if true, it will close the modal when escape key is pressed.string
) - alternative way of supplying modal class with HTML content.Returns an instance of the modal class. Accepts an optional options object
. If you want your modal to fade in and out, just add a .fade
class to your .modal
element (refer to the demo to see this in action).
Activates your content as a modal. Accepts an optional options object
. If you want your modal to fade in and out, just add a .fade
class to your .modal
element (refer to the demo to see this in action).
$('#modal-content').modal({ closeOnEscape: true })-
Returns an instance of the modal class. Toggle the modal open state.
-$('#modal-content').modal().toggle()-
Returns an instance of the modal class. Opens the modal.
-$('#modal-content').modal().open()-
Returns an instance of the modal class. Closes the modal.
-$('#modal-content').modal().close()+
Trigger events to make things happen!
+Toggle the modal open state.
+$('#modal-content').trigger('modal:toggle')+
Opens the modal.
+$('#modal-content').trigger('modal:open')+
Closes the modal.
+$('#modal-content').trigger('modal:close')
Based on the excellent jQuery.tipsy plugin written by Jason Frame; twipsy is an updated version, which doesn't rely on images, uses css3 for animations, and data-attributes for title storage!
- Download + DownloadThe 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!
- Download + DownloadThe alert plugin is a super tiny class for adding close functionality to alerts.
+ Download +$(".alert-message").alert()+
Wraps all alerts with close functionality. To have your alerts animate out when closed, make sure they have the .fade
and .in
class already applied to them.