diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css index a39dc3c6e0..c91afd73a8 100644 --- a/docs/assets/css/docs.css +++ b/docs/assets/css/docs.css @@ -69,81 +69,6 @@ body > .navbar-fixed-top .brand:hover { } - -/* Left nav --------------------------------------------------- */ - -.bs-docs-nav { - display: none; - position: fixed; - top: 0; - left: 0; - bottom: 0; - overflow-y: scroll; - width: 150px; - padding: 25px; - background-color: #dde2e9; - text-shadow: 0 1px 0 rgba(255,255,255,.55); - -webkit-box-shadow: inset -10px 0 15px rgba(0,0,0,.15); - -moz-box-shadow: inset -10px 0 15px rgba(0,0,0,.15); - box-shadow: inset -10px 0 15px rgba(0,0,0,.15); - background-color: #444; - text-shadow: 0 1px 0 rgba(0,0,0,.5); -} -.bs-docs-nav ul { - margin-left: 0; - margin-bottom: 15px; -} -.bs-docs-nav ul li { - list-style: none; - line-height: 1; -} -.bs-docs-nav a:hover { - text-decoration: none; -} -.bs-docs-nav ul li a { - display: block; - width: 145px; - padding: 0 30px; - margin: 0 -30px; - font-size: 12px; - line-height: 22px; - color: #444; - color: #999; -} -.bs-docs-nav ul li a:hover { - color: #333; - color: #fff; - background-color: rgba(0,0,0,.05); -} -.bs-docs-nav > ul > li > a { - font-size: 14px; - font-weight: bold; - line-height: 24px; - color: #333; - color: #fff; -} - -/* Logo wordmark */ -.bs-docs-logo { - font-size: 24px; - font-weight: bold; - line-height: 1; - margin-top: 0; - margin-bottom: 20px; -} -.bs-docs-logo a { - color: #a4b4cb; - color: #333; - text-shadow: 0 1px 0 #555; -} -.bs-docs-logo a:hover { - color: #8e9db3; - color: #222; -} - - - /* Space out sub-sections more -------------------------------------------------- */ @@ -151,6 +76,11 @@ section { padding-top: 60px; } +section > .table { + font-size: 13px; +} + + /* Table of contents */ .bs-docs-contents li { line-height: 25px; diff --git a/docs/javascript.html b/docs/javascript.html index 90079292b4..b83612d52e 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -106,10 +106,13 @@
If you have downloaded the latest version of Bootstrap, both bootstrap.js and bootstrap.min.js contain all of these plugins.
-...
+...
@@ -126,8 +129,16 @@For simple transition effects, include bootstrap-transition.js once to slide in modals or fade out alerts.
-* Required for animation in plugins
+For simple transition effects, include bootstrap-transition.js once alongside the other JS files. If you're using the compiled (or minified) bootstrap.js, there is no need to include this—it's already there.
+A few examples of the transition plugin:
+A streamlined, but flexible, take on the traditional javascript modal plugin with only the minimum required functionality and smart defaults.
-Below is a statically rendered modal.
++<div class="modal hide fade"> + <div class="modal-header"> + <button type="button" class="close" data-dismiss="modal">×</button> + <h3>Modal header</h3> + </div> + <div class="modal-body"> + <p>One fine body…</p> + </div> + <div class="modal-footer"> + <a href="#" class="btn">Close</a> + <a href="#" class="btn btn-primary">Save changes</a> + </div> +</div> +-
Toggle a modal via javascript by clicking the button below. It will slide down and fade in from the top of the page.
- - -Call the modal via javascript:
$('#myModal').modal(options)+