]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
move css builder and downloader to dedicated page, start to update remaining sections...
authorMark Otto <markdotto@gmail.com>
Wed, 25 Jan 2012 09:22:29 +0000 (01:22 -0800)
committerMark Otto <markdotto@gmail.com>
Wed, 25 Jan 2012 09:22:29 +0000 (01:22 -0800)
20 files changed:
bootstrap.css
bootstrap.min.css
docs/assets/css/docs.css
docs/assets/js/google-code-prettify/prettify.css
docs/base-css.html
docs/components.html
docs/download.html [new file with mode: 0644]
docs/index.html
docs/javascript.html
docs/less.html
docs/scaffolding.html
docs/templates/layout.mustache
docs/templates/pages/base-css.mustache
docs/templates/pages/components.mustache
docs/templates/pages/download.mustache [new file with mode: 0644]
docs/templates/pages/javascript.mustache
docs/templates/pages/less.mustache
docs/templates/pages/scaffolding.mustache
docs/upgrading.html
lib/forms.less

index 33be3d9660ddc18c893b3103a0ef542b6c6bd028..3b04dc30e8568190c08dc5e4517b44f6e5e49b72 100644 (file)
@@ -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: Tue Jan 24 23:35:08 PST 2012
+ * Date: Wed Jan 25 01:02:35 PST 2012
  */
 article,
 aside,
@@ -577,9 +577,9 @@ textarea {
   margin-left: 10px;
 }
 input, textarea {
-  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
-  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
-  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
+  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
+  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
+  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
   -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
   -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
   -ms-transition: border linear 0.2s, box-shadow linear 0.2s;
@@ -588,9 +588,9 @@ input, textarea {
 }
 input:focus, textarea:focus {
   border-color: rgba(82, 168, 236, 0.8);
-  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1), 0 0 8px rgba(82, 168, 236, 0.6);
-  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1), 0 0 8px rgba(82, 168, 236, 0.6);
-  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1), 0 0 8px rgba(82, 168, 236, 0.6);
+  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
+  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
+  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
   outline: 0;
 }
 input[type=file]:focus, input[type=checkbox]:focus, select:focus {
index 3c2b70663becb31622ecaadb985cfa09984674a3..4cbd235022487f324131943a58f4e07ad8b571e2 100644 (file)
@@ -108,8 +108,8 @@ textarea{height:auto;}
 .controls>.radio:first-child,.controls>.checkbox:first-child{padding-top:6px;}
 .radio.inline,.checkbox.inline{display:inline-block;margin-bottom:0;}
 .radio.inline+.radio.inline,.checkbox.inline+.checkbox.inline{margin-left:10px;}
-input,textarea{-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.1);-moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.1);box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.1);-webkit-transition:border linear 0.2s,box-shadow linear 0.2s;-moz-transition:border linear 0.2s,box-shadow linear 0.2s;-ms-transition:border linear 0.2s,box-shadow linear 0.2s;-o-transition:border linear 0.2s,box-shadow linear 0.2s;transition:border linear 0.2s,box-shadow linear 0.2s;}
-input:focus,textarea:focus{border-color:rgba(82, 168, 236, 0.8);-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.1),0 0 8px rgba(82, 168, 236, 0.6);-moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.1),0 0 8px rgba(82, 168, 236, 0.6);box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.1),0 0 8px rgba(82, 168, 236, 0.6);outline:0;}
+input,textarea{-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);-moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);-webkit-transition:border linear 0.2s,box-shadow linear 0.2s;-moz-transition:border linear 0.2s,box-shadow linear 0.2s;-ms-transition:border linear 0.2s,box-shadow linear 0.2s;-o-transition:border linear 0.2s,box-shadow linear 0.2s;transition:border linear 0.2s,box-shadow linear 0.2s;}
+input:focus,textarea:focus{border-color:rgba(82, 168, 236, 0.8);-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075),0 0 8px rgba(82, 168, 236, 0.6);-moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075),0 0 8px rgba(82, 168, 236, 0.6);box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075),0 0 8px rgba(82, 168, 236, 0.6);outline:0;}
 input[type=file]:focus,input[type=checkbox]:focus,select:focus{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;outline:1px dotted #666;}
 .input-mini{width:60px;}
 .input-small{width:90px;}
index 8c30e733d8b8117b2275c96a090c22ca02910ac6..12c534fb2da46b1629eae6e9b6e1dc5b24fabeb4 100644 (file)
@@ -442,68 +442,78 @@ section {
 }
 
 
-/* CSS Chop Shop
+/* Download page
 -------------------------------------------------- */
-.builder {
+.download .page-header {
+  margin-top: 36px;
 }
-.builder .span2 {
-  width: 160px;
-}
-.builder ul {
-  margin: 0;
-  list-style: none;
-}
-.builder .tabs {
-  margin-right: 0;
-}
-.builder .tabs a {
-  width: 160px;
-  padding: 14px;
-  font-size: 14px;
-}
-.builder .tab-content {
-  padding: 19px;
-  margin-left: 189px;
-  border: 1px solid #e5e5e5;
-  -webkit-border-radius: 0 4px 4px 4px;
-     -moz-border-radius: 0 4px 4px 4px;
-          border-radius: 0 4px 4px 4px;
+.page-header .toggle-all {
+  margin-top: 13px;
 }
 
 /* Space out h3s when following a section */
-.builder input + h3,
-.builder .checkbox + h3 {
+.download h3 {
+  margin-bottom: 5px;
+}
+.download-builder input + h3,
+.download-builder .checkbox + h3 {
   margin-top: 9px;
 }
 
 /* Fields for variables */
-.builder input + h3 {
-  margin-top: 9px;
-}
-.builder #variables label {
-  margin-bottom: 2px;
-  color: #555;
-}
-.builder input[type=text] {
+.download-builder input[type=text] {
   margin-bottom: 9px;
   font-family: Menlo, Monaco, "Courier New", monospace;
   font-size: 12px;
   color: #d14;
   background-color: #f7f7f9;
 }
-.builder input[type=text]:focus {
+.download-builder input[type=text]:focus {
   background-color: #fff;
 }
 
+/* Custom, larger checkbox labels */
+.download .checkbox {
+  padding: 6px 10px 6px 25px;
+  font-size: 14px;
+  color: #555;
+  background-color: #f9f9f9;
+  -webkit-border-radius: 3px;
+     -moz-border-radius: 3px;
+          border-radius: 3px;
+  cursor: pointer;
+}
+.download .checkbox:hover {
+  color: #333;
+  background-color: #f5f5f5;
+}
+.download .checkbox input[type=checkbox] {
+  position: relative;
+  top: 1px;
+}
+.download .checkbox small {
+  font-size: 12px;
+  color: #777;
+}
 
-.builder-actions {
-  margin-top: 18px;
-  padding-top: 18px;
-  border-top: 1px solid #eee;
+/* Giant download button */
+.download-btn {
+  pading: 18px 20px;
+  margin: 45px 0;
+  text-align: center;
+  border: 1px solid #eee;
+  -webkit-border-radius: 4px;
+     -moz-border-radius: 4px;
+          border-radius: 4px;
 }
-.builder-actions .toggle-all {
-  float: right;
-  line-height: 36px;
+.btn.xlarge {
+  margin: 36px auto;
+  padding: 14px 24px;
+  font-size: 30px;
+  text-align: center;
+  -webkit-border-radius: 6px;
+     -moz-border-radius: 6px;
+          border-radius: 6px;
 }
 
 
index 0d54905fbcd91f126bc3bc45d05763d75d3c67a1..aedd8d1a915767e9fd96ae4b4ec9a088f30c3ca1 100644 (file)
@@ -27,8 +27,4 @@ ol.linenums li {
   color: #bebec5;
   line-height: 18px;
   text-shadow: 0 1px 0 #fff;
-}
-/* Alternate shading for lines */
-li.L1, li.L3, li.L5, li.L7, li.L9 {
-  
 }
\ No newline at end of file
index 6847c0616a0c8071e59a0130f9288f175fd50b20..75c7efe5e6f40b8cee4e1be01735ea2894050cac 100644 (file)
@@ -51,6 +51,9 @@
             <li class="">
               <a href="./less.html">Using LESS</a>
             </li>
+            <li class="">
+              <a href="./download.html">Download</a>
+            </li>
           </ul>
         </div>
       </div>
   <p class="lead">On top of the scaffolding, basic HTML elements are styled and enhanced with extensible classes to provide a fresh, consistent look and feel.</p>
   <div class="subnav">
     <ul class="nav pills">
-      <li><a href="./base-css.html#typography">Typography</a></li>
-      <li><a href="./base-css.html#tables">Tables</a></li>
-      <li><a href="./base-css.html#forms">Forms</a></li>
-      <li><a href="./base-css.html#buttons">Buttons</a></li>
-      <li><a href="./base-css.html#icons">Icons by Glyphicons</a></li>
+      <li><a href="#typography">Typography</a></li>
+      <li><a href="#tables">Tables</a></li>
+      <li><a href="#forms">Forms</a></li>
+      <li><a href="#buttons">Buttons</a></li>
+      <li><a href="#icons">Icons by Glyphicons</a></li>
     </ul>
   </div>
 </header>
index d823998d954780964ea662edf40a1c96769a9a1b..c1cec739cd4e3a08551f6f8cbc38119938df756d 100644 (file)
@@ -51,6 +51,9 @@
             <li class="">
               <a href="./less.html">Using LESS</a>
             </li>
+            <li class="">
+              <a href="./download.html">Download</a>
+            </li>
           </ul>
         </div>
       </div>
   <p class="lead">Dozens of reusable components are built into Bootstrap to provide navigation, alerts, popovers, and much more.</p>
   <div class="subnav">
     <ul class="nav pills">
-      <li><a href="./components.html#buttonGroups">Button groups</a></li>
-      <li><a href="./components.html#buttonDropdowns">Button dropdowns</a></li>
-      <li><a href="./components.html#navs">Nav, tabs, pills</a></li>
-      <li><a href="./components.html#navbar">Navbar</a></li>
-      <li><a href="./components.html#breadcrumbs">Breadcrumbs</a></li>
-      <li><a href="./components.html#pagination">Pagination</a></li>
-      <li><a href="./components.html#thumbnails">Thumbnails</a></li>
-      <li><a href="./components.html#alerts">Alerts</a></li>
-      <li><a href="./components.html#progress">Progress bars</a></li>
+      <li><a href="#buttonGroups">Button groups</a></li>
+      <li><a href="#buttonDropdowns">Button dropdowns</a></li>
+      <li><a href="#navs">Nav, tabs, pills</a></li>
+      <li><a href="#navbar">Navbar</a></li>
+      <li><a href="#breadcrumbs">Breadcrumbs</a></li>
+      <li><a href="#pagination">Pagination</a></li>
+      <li><a href="#thumbnails">Thumbnails</a></li>
+      <li><a href="#alerts">Alerts</a></li>
+      <li><a href="#progress">Progress bars</a></li>
     </ul>
   </div>
 </header>
diff --git a/docs/download.html b/docs/download.html
new file mode 100644 (file)
index 0000000..1d74c4f
--- /dev/null
@@ -0,0 +1,312 @@
+<!DOCTYPE html>
+<html lang="en">
+  <head>
+    <meta charset="utf-8">
+    <title>Bootstrap, from Twitter</title>
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
+    <meta name="description" content="">
+    <meta name="author" content="">
+
+    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
+    <!--[if lt IE 9]>
+      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
+    <![endif]-->
+
+    <!-- Le styles -->
+    <link href="../bootstrap.css" rel="stylesheet">
+    <link href="assets/css/docs.css" rel="stylesheet">
+    <link href="assets/js/google-code-prettify/prettify.css" rel="stylesheet">
+
+    <!-- Le fav and touch icons -->
+    <link rel="shortcut icon" href="images/favicon.ico">
+    <link rel="apple-touch-icon" href="images/apple-touch-icon.png">
+    <link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png">
+    <link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
+  </head>
+
+  <body>
+  
+  <!-- Navbar
+    ================================================== -->
+    <div class="navbar navbar-fixed">
+      <div class="navbar-inner">
+        <div class="container">
+          <a class="brand" href="./index.html">Bootstrap</a>
+          <ul class="nav">
+            <li class="">
+              <a href="./index.html">Overview</a>
+            </li>
+            <li class="">
+              <a href="./scaffolding.html">Scaffolding</a>
+            </li>
+            <li class="">
+              <a href="./base-css.html">Base CSS</a>
+            </li>
+            <li class="">
+              <a href="./components.html">Components</a>
+            </li>
+            <li class="">
+              <a href="./javascript.html">Javascript plugins</a>
+            </li>
+            <li class="">
+              <a href="./less.html">Using LESS</a>
+            </li>
+            <li class="active">
+              <a href="./download.html">Download</a>
+            </li>
+          </ul>
+        </div>
+      </div>
+    </div>
+
+    <div class="container">
+
+<div class="alert">
+  <strong>Heads up!</strong> This page is still under construction and is missing plenty of documentation. Hang tight!
+</div>
+
+<!-- Masthead
+================================================== -->
+<header class="jumbotron subhead" id="overview">
+  <h1>Download and customize Bootstrap</h1>
+  <p class="lead"><a href="https://github.com/twitter/bootstrap/zipball/master">Download the full repository</a> or customize your entire Bootstrap build by selecting only the components, javascript plugins, and assets you need.</p>
+</header>
+
+<div class="download">
+  <div class="page-header">
+    <a class="pull-right toggle-all" href="#">Toggle all</a>
+    <h1>
+      1. Select components
+      <small>Get just the CSS you need</small>
+    </h1>
+  </div>
+  <div class="row download-builder">
+    <div class="span3">
+      <h3>Scaffolding</h3>
+      <label class="checkbox"><input type="checkbox" value=""> CSS reset</label>
+      <label class="checkbox"><input type="checkbox" value=""> Grid system</label>
+      <label class="checkbox"><input type="checkbox" value=""> Layouts</label>
+      <h3>Base CSS</h3>
+      <label class="checkbox"><input type="checkbox" value=""> Headings and body</label>
+      <label class="checkbox"><input type="checkbox" value=""> Code and pre</label>
+      <label class="checkbox"><input type="checkbox" value=""> Labels</label>
+      <label class="checkbox"><input type="checkbox" value=""> Tables</label>
+      <label class="checkbox"><input type="checkbox" value=""> Forms</label>
+      <label class="checkbox"><input type="checkbox" value=""> Buttons</label>
+      <label class="checkbox"><input type="checkbox" value=""> Icons</label>
+    </div><!-- /span -->
+    <div class="span3">
+      <h3>Components</h3>
+      <label class="checkbox"><input type="checkbox" value=""> Button groups</label>
+      <label class="checkbox"><input type="checkbox" value=""> Combo buttons</label>
+      <label class="checkbox"><input type="checkbox" value=""> Navs, tabs, and pills</label>
+      <label class="checkbox"><input type="checkbox" value=""> Navbar</label>
+      <label class="checkbox"><input type="checkbox" value=""> Breadcrumbs</label>
+      <label class="checkbox"><input type="checkbox" value=""> Pagination</label>
+      <label class="checkbox"><input type="checkbox" value=""> Pager</label>
+      <label class="checkbox"><input type="checkbox" value=""> Thumbnails</label>
+      <label class="checkbox"><input type="checkbox" value=""> Alerts</label>
+      <label class="checkbox"><input type="checkbox" value=""> Progress bars</label>
+    </div><!-- /span -->
+    <div class="span3">
+      <h3>JS Components</h3>
+      <label class="checkbox"><input type="checkbox" value=""> Tooltips</label>
+      <label class="checkbox"><input type="checkbox" value=""> Popovers</label>
+      <label class="checkbox"><input type="checkbox" value=""> Modals</label>
+      <label class="checkbox"><input type="checkbox" value=""> Dropdowns</label>
+      <label class="checkbox"><input type="checkbox" value=""> Tabs</label>
+      <label class="checkbox"><input type="checkbox" value=""> Collapse</label>
+      <label class="checkbox"><input type="checkbox" value=""> Carousel</label>
+    </div><!-- /span -->
+    <div class="span3">
+      <h3>Miscellaneous</h3>
+      <label class="checkbox"><input type="checkbox" value=""> Wells</label>
+      <label class="checkbox"><input type="checkbox" value=""> Close icon</label>
+      <label class="checkbox"><input type="checkbox" value=""> Utilities</label>
+      <label class="checkbox"><input type="checkbox" value=""> Component animations</label>
+      <h3>Responsive</h3>
+      <label class="checkbox"><input type="checkbox" value=""> Max-width 480px</label>
+      <label class="checkbox"><input type="checkbox" value=""> Max-width 768px</label>
+      <label class="checkbox"><input type="checkbox" value=""> Max-width 1210px</label>
+    </div><!-- /span -->
+  </div><!-- /row -->
+
+  <div class="page-header">
+    <a class="pull-right toggle-all" href="#">Reset to defaults</a>
+    <h1>
+      2. Modify variables
+      <small>Customize Bootstrap without using a LESS compiler</small>
+    </h1>
+  </div>
+  <div class="row download-builder">
+    <div class="span4">
+      <h3>Links</h3>
+      <label>@linkColor</label>
+      <input type="text" class="span3" value="#08c">
+      <label>@linkColorHover</label>
+      <input type="text" class="span3" value="darken(@linkColor, 15%)">
+      <h3>Grid system</h3>
+      <label>@gridColumns</label>
+      <input type="text" class="span3" value="">
+      <label>@gridColumnWidth</label>
+      <input type="text" class="span3" value="">
+      <label>@gridGutterWidth</label>
+      <input type="text" class="span3" value="">
+      <label>@siteWidth</label>
+      <input type="text" class="span3" value="">
+      <label>@fluidSidebarWidth</label>
+      <input type="text" class="span3" value="">
+    </div><!-- /span -->
+    <div class="span4">
+      <h3>Typography</h3>
+      <label>@baseFontSize</label>
+      <input type="text" class="span3" value="13px">
+      <label>@baseFontFamily</label>
+      <input type="text" class="span3" value="'Helvetica Neue', Helvetica, Arial, sans-serif">
+      <label>@baseLineHeight</label>
+      <input type="text" class="span3" value="18px">
+      <h3>Forms</h3>
+      <label>@primaryButtonColor</label>
+      <input type="text" class="span3" value="@blue">
+      <label>@placeholderText</label>
+      <input type="text" class="span3" value="@grayLight">
+      <h3>Navbar</h3>
+      <label>@navbarHeight</label>
+      <input type="text" class="span3" value="40px">
+      <label>@navbarBackground</label>
+      <input type="text" class="span3" value="@grayDarker">
+      <label>@navbarBackgroundHighlight</label>
+      <input type="text" class="span3" value="@grayDark">
+    </div><!-- /span -->
+    <div class="span4">
+      <h3>Form states &amp; alerts</h3>
+      <label>@warningText</label>
+      <input type="text" class="span3" value="#c09853">
+      <label>@warningBackground</label>
+      <input type="text" class="span3" value="#fcf8e3">
+      <label>@warningBorder</label>
+      <input type="text" class="span3" value="#f3edd2">
+      <label>@errorText</label>
+      <input type="text" class="span3" value="#b94a48">
+      <label>@errorBackground</label>
+      <input type="text" class="span3" value="#f2dede">
+      <label>@errorBorder</label>
+      <input type="text" class="span3" value="#e9c7c7">
+      <label>@successText</label>
+      <input type="text" class="span3" value="#468847">
+      <label>@successBackground</label>
+      <input type="text" class="span3" value="#dff0d8">
+      <label>@successBorder</label>
+      <input type="text" class="span3" value="#cfe8c4">
+      <label>@infoText</label>
+      <input type="text" class="span3" value="#3a87ad">
+      <label>@infoBackground</label>
+      <input type="text" class="span3" value="#d9edf7">
+      <label>@infoBorder</label>
+      <input type="text" class="span3" value="#bfe1f2">
+    </div><!-- /span -->
+  </div><!-- /row -->
+
+  <div class="page-header">
+    <a class="pull-right toggle-all" href="#">Toggle all</a>
+    <h1>
+      3. Select jQuery plugins
+      <small>Quickly add only the necessary javascript</small>
+    </h1>
+  </div>
+  <div class="row download-builder">
+    <div class="span4">
+      <label class="checkbox">
+        <input type="checkbox" checked="true" value="bootstrap-modal.js">
+        Modals
+      </label>
+      <label class="checkbox">
+        <input type="checkbox" checked="true" value="bootstrap-dropdown.js">
+        Dropdowns
+      </label>
+      <label class="checkbox">
+        <input type="checkbox" checked="true" value="bootstrap-scrollspy.js">
+        Scrollspy
+      </label>
+      <label class="checkbox">
+        <input type="checkbox" checked="true" value="bootstrap-tab.js">
+        Togglable tabs
+      </label>
+      <label class="checkbox">
+        <input type="checkbox" checked="true" value="bootstrap-tooltip.js">
+        Tooltips
+      </label>
+      <label class="checkbox">
+        <input type="checkbox" checked="true" value="bootstrap-popover.js">
+        Popovers <small>(requires Tooltips)</small>
+      </label>
+    </div><!-- /span -->
+    <div class="span4">
+      <label class="checkbox">
+        <input type="checkbox" checked="true" value="bootstrap-alert.js">
+        Alert messages
+      </label>
+      <label class="checkbox">
+        <input type="checkbox" checked="true" value="bootstrap-button.js">
+        Buttons
+      </label>
+      <label class="checkbox">
+        <input type="checkbox" checked="true" value="bootstrap-collapse.js">
+        Collapse
+      </label>
+      <label class="checkbox">
+        <input type="checkbox" checked="true" value="bootstrap-carousel.js">
+        Carousel
+      </label>
+      <label class="checkbox">
+        <input type="checkbox" checked="true" value="bootstrap-typeahead.js">
+        Typeahead
+      </label>
+      <label class="checkbox">
+        <input type="checkbox" checked="true" value="bootstrap-transition.js">
+        Transitions <small>(required for any animation)</small>
+      </label>
+    </div><!-- /span -->
+    <div class="span4">
+      <h4 class="muted">Heads up!</h4>
+      <p class="muted">All plugins require the latest version of <a href="http://jquery.com/" target="_blank">jQuery</a> to be included.</p>
+    </div><!-- /span -->
+  </div><!-- /row -->
+
+  <div class="download-btn">
+    <a class="btn xlarge primary" href="#">Build and Download</a>
+  </div>
+</div><!-- /download -->
+
+     <!-- Footer
+      ================================================== -->
+      <footer class="footer">
+        <p class="pull-right"><a href="#">Back to top</a></p>
+        <p>Designed and built with all the love in the world <a href="http://twitter.com/twitter" target="_blank">@twitter</a> by <a href="http://twitter.com/mdo" target="_blank">@mdo</a> and <a href="http://twitter.com/fat" target="_blank">@fat</a>.</p>
+        <p>Code licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License v2.0</a>. Documentation licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p>
+        <p>Icons from <a href="http://glyphicons.com">Glyphicons Free</a>, licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p>
+      </footer>
+
+    </div><!-- /container -->
+
+
+    <!-- Le javascript -->
+    <!-- Placed at the end of the document so the pages load faster -->
+    <!-- <script src="http://code.jquery.com/jquery-1.7.min.js"></script> -->
+    <script src="../js/tests/vendor/jquery.js"></script>
+    <script src="assets/js/google-code-prettify/prettify.js"></script>
+    <script src="../js/bootstrap-transition.js"></script>
+    <script src="../js/bootstrap-alert.js"></script>
+    <script src="../js/bootstrap-modal.js"></script>
+    <script src="../js/bootstrap-dropdown.js"></script>
+    <script src="../js/bootstrap-scrollspy.js"></script>
+    <script src="../js/bootstrap-tab.js"></script>
+    <script src="../js/bootstrap-tooltip.js"></script>
+    <script src="../js/bootstrap-popover.js"></script>
+    <script src="../js/bootstrap-button.js"></script>
+    <script src="../js/bootstrap-collapse.js"></script>
+    <script src="../js/bootstrap-carousel.js"></script>
+    <script src="../js/bootstrap-typeahead.js"></script>
+    <script src="assets/js/application.js"></script>
+  </body>
+</html>
index 2bbcaa78aad986ae4872923bfc4ddd0c061fcf0f..83e65c97e6a9c4b74125941efac494e5c846ddd2 100644 (file)
@@ -51,6 +51,9 @@
             <li class="">
               <a href="./less.html">Using LESS</a>
             </li>
+            <li class="">
+              <a href="./download.html">Download</a>
+            </li>
           </ul>
         </div>
       </div>
index 425d347cb8b9081a489e18be2b2ebacddfdc2a12..a7818ff4616f92c72fa6c933fa732b54b5523a45 100644 (file)
@@ -51,6 +51,9 @@
             <li class="">
               <a href="./less.html">Using LESS</a>
             </li>
+            <li class="">
+              <a href="./download.html">Download</a>
+            </li>
           </ul>
         </div>
       </div>
         <p class="lead">Bring Bootstrap's components to life&mdash;now with 12 custom <a href="http://jquery.com/" target="_blank">jQuery</a> plugins.
         <div class="subnav">
           <ul class="nav pills">
-            <li><a href="./javascript.html#javascript">Overview</a></li>
-            <li><a href="./javascript.html#modals">Modal</a></li>
-            <li><a href="./javascript.html#dropdowns">Dropdown</a></li>
-            <li><a href="./javascript.html#scrollspy">Scrollspy</a></li>
-            <li><a href="./javascript.html#tabs">Tab</a></li>
-            <li><a href="./javascript.html#tooltips">Tooltip</a></li>
-            <li><a href="./javascript.html#popovers">Popover</a></li>
-            <li><a href="./javascript.html#alerts">Alert</a></li>
-            <li><a href="./javascript.html#buttons">Button</a></li>
-            <li><a href="./javascript.html#collapse">Collapse</a></li>
-            <li><a href="./javascript.html#carousel">Carousel</a></li>
-            <li><a href="./javascript.html#typeahead">Typeahead</a></li>
+            <li><a href="#javascript">Overview</a></li>
+            <li><a href="#modals">Modal</a></li>
+            <li><a href="#dropdowns">Dropdown</a></li>
+            <li><a href="#scrollspy">Scrollspy</a></li>
+            <li><a href="#tabs">Tab</a></li>
+            <li><a href="#tooltips">Tooltip</a></li>
+            <li><a href="#popovers">Popover</a></li>
+            <li><a href="#alerts">Alert</a></li>
+            <li><a href="#buttons">Button</a></li>
+            <li><a href="#collapse">Collapse</a></li>
+            <li><a href="#carousel">Carousel</a></li>
+            <li><a href="#typeahead">Typeahead</a></li>
           </ul>
         </div>
       </header>
index 55138c71aae32ed0f32ea2b4dc18edb19f6aa0b4..6bb04e8d86ff3ef71bd7d6f5a5f12b1c6fbbf51c 100644 (file)
@@ -51,6 +51,9 @@
             <li class="active">
               <a href="./less.html">Using LESS</a>
             </li>
+            <li class="">
+              <a href="./download.html">Download</a>
+            </li>
           </ul>
         </div>
       </div>
   <p class="lead">Customize and extend Bootstrap with <a href="http://lesscss.org" target="_blank">LESS</a>, a CSS preprocessor, to take advantage of the variables, mixins, and more used to build Bootstrap's CSS.</p>
   <div class="subnav">
     <ul class="nav pills">
-      <li><a href="./less.html#builtWith">Built with Less</a></li>
-      <li><a href="./less.html#variables">Variables</a></li>
-      <li><a href="./less.html#mixins">Mixins</a></li>
-      <li><a href="./less.html#compiling">Compiling Bootstrap</a></li>
+      <li><a href="#builtWith">Built with Less</a></li>
+      <li><a href="#variables">Variables</a></li>
+      <li><a href="#mixins">Mixins</a></li>
+      <li><a href="#compiling">Compiling Bootstrap</a></li>
     </ul>
   </div>
 </header>
 
 
 
-<!-- BUILDER
-================================================== -->
-<section id="builder">
-  <div class="page-header">
-    <h1>Chop Shop <small>Customize your build of Bootstrap</small></h1>
-  </div>
-
-  <form class="form-horizontal builder">
-    <div class="tabbable tabs-left">
-      <ul class="nav tabs">
-        <li class="active">
-          <a href="#components" data-toggle="tab">1. Select components</a>
-        </li>
-        <li><a href="#variables" data-toggle="tab">2. Customize variables</a></li>
-        <li><a href="#download" data-toggle="tab">3. Build and download</a></li>
-      </ul>
-      <div class="tab-content">
-        <div class="tab-pane active" id="components">
-          <div class="row">
-            <div class="span2 builder-section">
-              <h3>Scaffolding</h3>
-              <label class="checkbox"><input type="checkbox" value=""> CSS reset</label>
-              <label class="checkbox"><input type="checkbox" value=""> Grid system</label>
-              <label class="checkbox"><input type="checkbox" value=""> Layouts</label>
-              <h3>Base CSS</h3>
-              <label class="checkbox"><input type="checkbox" value=""> Headings and body</label>
-              <label class="checkbox"><input type="checkbox" value=""> Code and pre</label>
-              <label class="checkbox"><input type="checkbox" value=""> Labels</label>
-              <label class="checkbox"><input type="checkbox" value=""> Tables</label>
-              <label class="checkbox"><input type="checkbox" value=""> Forms</label>
-              <label class="checkbox"><input type="checkbox" value=""> Buttons</label>
-              <label class="checkbox"><input type="checkbox" value=""> Icons</label>
-            </div>
-            <div class="span2 builder-section">
-              <h3>Components</h3>
-              <label class="checkbox"><input type="checkbox" value=""> Button groups</label>
-              <label class="checkbox"><input type="checkbox" value=""> Combo buttons</label>
-              <label class="checkbox"><input type="checkbox" value=""> Navs, tabs, and pills</label>
-              <label class="checkbox"><input type="checkbox" value=""> Navbar</label>
-              <label class="checkbox"><input type="checkbox" value=""> Breadcrumbs</label>
-              <label class="checkbox"><input type="checkbox" value=""> Pagination</label>
-              <label class="checkbox"><input type="checkbox" value=""> Pager</label>
-              <label class="checkbox"><input type="checkbox" value=""> Thumbnails</label>
-              <label class="checkbox"><input type="checkbox" value=""> Alerts</label>
-              <label class="checkbox"><input type="checkbox" value=""> Progress bars</label>
-            </div>
-            <div class="span2 builder-section">
-              <h3>JS Components</h3>
-              <label class="checkbox"><input type="checkbox" value=""> Tooltips</label>
-              <label class="checkbox"><input type="checkbox" value=""> Popovers</label>
-              <label class="checkbox"><input type="checkbox" value=""> Modals</label>
-              <label class="checkbox"><input type="checkbox" value=""> Dropdowns</label>
-              <label class="checkbox"><input type="checkbox" value=""> Tabs</label>
-              <label class="checkbox"><input type="checkbox" value=""> Collapse</label>
-              <label class="checkbox"><input type="checkbox" value=""> Carousel</label>
-            </div>
-            <div class="span2 builder-section">
-              <h3>Responsive</h3>
-              <label class="checkbox"><input type="checkbox" value=""> Max-width 480px</label>
-              <label class="checkbox"><input type="checkbox" value=""> Max-width 768px</label>
-              <label class="checkbox"><input type="checkbox" value=""> Max-width 1210px</label>
-              <h3>Miscellaneous</h3>
-              <label class="checkbox"><input type="checkbox" value=""> Wells</label>
-              <label class="checkbox"><input type="checkbox" value=""> Close icon</label>
-              <label class="checkbox"><input type="checkbox" value=""> Utilities</label>
-              <label class="checkbox"><input type="checkbox" value=""> Component animations</label>
-            </div>
-          </div>
-          <div class="builder-actions">
-            <a class="toggle-all" href="">Reset variables</a>
-            <a class="btn large primary" href="">Next: Customize variables</a>
-          </div>        
-        </div><!-- /tab-pane -->
-        <div class="tab-pane" id="variables">
-          <div class="row">
-            <div class="span3">
-              <h3>Links</h3>
-              <label>@linkColor</label>
-              <input type="text" class="span3" value="#08c">
-              <label>@linkColorHove</label>
-              <input type="text" class="span3" value="darken(@linkColor, 15%)">
-              <h3>Grid system</h3>
-              <label>@gridColumns</label>
-              <input type="text" class="span3" value="">
-              <label>@gridColumnWidth</label>
-              <input type="text" class="span3" value="">
-              <label>@gridGutterWidth</label>
-              <input type="text" class="span3" value="">
-              <label>@siteWidth</label>
-              <input type="text" class="span3" value="">
-              <label>@fluidSidebarWidth</label>
-              <input type="text" class="span3" value="">
-            </div><!-- /span -->
-            <div class="span3">
-              <h3>Typography</h3>
-              <label>@baseFontSize</label>
-              <input type="text" class="span3" value="13px">
-              <label>@baseFontFamily</label>
-              <input type="text" class="span3" value="'Helvetica Neue', Helvetica, Arial, sans-serif">
-              <label>@baseLineHeight</label>
-              <input type="text" class="span3" value="18px">
-              <h3>Forms</h3>
-              <label>@primaryButtonColor</label>
-              <input type="text" class="span3" value="@blue">
-              <label>@placeholderText</label>
-              <input type="text" class="span3" value="@grayLight">
-              <h3>Navbar</h3>
-              <label>@navbarHeight</label>
-              <input type="text" class="span3" value="40px">
-              <label>@navbarBackground</label>
-              <input type="text" class="span3" value="@grayDarker">
-              <label>@navbarBackgroundHighlight</label>
-              <input type="text" class="span3" value="@grayDark">
-            </div><!-- /span -->
-            <div class="span3">
-              <h3>Form states &amp; alerts</h3>
-              <label>@warningText</label>
-              <input type="text" class="span3" value="#c09853">
-              <label>@warningBackground</label>
-              <input type="text" class="span3" value="#fcf8e3">
-              <label>@warningBorder</label>
-              <input type="text" class="span3" value="#f3edd2">
-              <label>@errorText</label>
-              <input type="text" class="span3" value="#b94a48">
-              <label>@errorBackground</label>
-              <input type="text" class="span3" value="#f2dede">
-              <label>@errorBorder</label>
-              <input type="text" class="span3" value="#e9c7c7">
-              <label>@successText</label>
-              <input type="text" class="span3" value="#468847">
-              <label>@successBackground</label>
-              <input type="text" class="span3" value="#dff0d8">
-              <label>@successBorder</label>
-              <input type="text" class="span3" value="#cfe8c4">
-              <label>@infoText</label>
-              <input type="text" class="span3" value="#3a87ad">
-              <label>@infoBackground</label>
-              <input type="text" class="span3" value="#d9edf7">
-              <label>@infoBorder</label>
-              <input type="text" class="span3" value="#bfe1f2">
-            </div><!-- /span -->
-          </div><!-- /row -->
-          <div class="builder-actions">
-            <a class="btn large primary" href="">Next: Build and download</a>
-          </div>        
-        </div><!-- /tab-pane -->
-        <div class="tab-pane" id="download">
-          <h2>And you're set!</h2>
-          <p class="lead">We've compiled your selected CSS and customized variables and have them ready to download as a tidy ZIP file. Choose from compiled or compiled and minified CSS files.</p>
-          <a class="btn large primary">Download CSS</a> <a class="btn large primary">Download minified CSS</a>
-          <hr>
-          <p>Looking to customize your javascript? Head over to the <a href="./javascript.html#javascript">Javascript plugins page</a> to build your own Bootstrap JS bundle.</p>
-        </div><!-- /tab-pane -->
-      </div><!-- /tab-content -->
-    </div><!-- /tabbable -->
-  </form>
-
-</section>
-
-
-
 <!-- BUILT WITH LESS
 ================================================== -->
 <section id="builtWith">
   <div class="row">
     <div class="span4">
       <h3>Why LESS?</h3>
-      <p>Bootstrap is made with LESS at it's core, a dynamic stylesheet language created by <a href="http://cloudhead.io">Alexis Sellier</a>. It makes developing systems-based CSS faster, easier, and more fun.</p>
+      <p>Bootstrap is made with LESS at it's core, a dynamic stylesheet language created by our good friend, <a href="http://cloudhead.io">Alexis Sellier</a>. It makes developing systems-based CSS faster, easier, and more fun.</p>
     </div>
     <div class="span4">
       <h3>What's included?</h3>
 ================================================== -->
 <section id="variables">
   <div class="page-header">
-    <h1>Variables <small>from variables.less</small></h1>
+    <h1>Bootstrap variables <small></small></h1>
   </div>
 
   <h3>Hyperlinks</h3>
 <!-- MIXINS
 ================================================== -->
 <div class="page-header" id="mixins">
-  <h1>Mixins <small>from mixins.less</small></h1>
-</div>
-
-
-
-<!-- OPERATIONS
-================================================== -->
-<div class="page-header" id="operations">
-  <h1>Operations</h1>
-</div>
-
-
-
-<!-- COMPILING LESS AND BOOTSTRAP
-================================================== -->
-<div class="page-header" id="compiling">
-  <h1>Compiling LESS and Bootstrap</h1>
+  <h1>Bootstrap mixins <small></small></h1>
 </div>
-
-
-
-
-<!-- Using Bootstrap w/ Less
-================================================== -->
-<section id="less">
-<div class="page-header">
-  <h1>Using Bootstrap with Less <small>Supercharge your CSS with variables, mixins, and functions</small></h1>
-</div>
-<div class="row">
-  <div class="span3">
-    <p>Bootstrap was built with <a href="http://markdotto.com/bootstrap/">Preboot</a>, an open-source pack of mixins and variables to be used in conjunction with <a href="http://lesscss.org" target="_blank">Less</a>, a CSS preprocessor for faster and easier web development.</p>
-    <p>Check out how we used Preboot in Bootstrap and how you can make use of it should you choose to run Less on your next project.</p>
-  </div>
-  <div class="span9">
-    <h2>How to use it</h2>
-    <p>Use this option to make full use of Bootstrap’s Less variables, mixins, and nesting in CSS via javascript in your browser.</p>
-<pre class="prettyprint linenums">
-&lt;link rel="stylesheet/less" href="less/bootstrap.less" media="all" /&gt;
-&lt;script src="js/less-1.1.3.min.js"&gt;&lt;/script&gt;</pre>
-<p>Not feeling the .js solution? <a href="http://incident57.com/less" target="_blank">Try the Less Mac app</a> or <a href="http://lesscss.org/#-client-side-usage" target="_blank">use Node.js</a> to compile when you deploy your code.</p>
-
-    <h2>What’s included</h2>
-    <p>Here are some of the highlights of what’s included in Twitter Bootstrap as part of Bootstrap. Head over to the Bootstrap website or Github project page to download and learn more.</p>
-    <h3>Variables</h3>
-    <p>Variables in Less are perfect for maintaining and updating your CSS headache free. When you want to change a color value or a frequently used value, update it in one spot and you’re set.</p>
-<pre class="prettyprint linenums">
-// Links
-@linkColor:         #8b59c2;
-@linkColorHover:    darken(@linkColor, 10);
-
-// Grays
-@black:             #000;
-@grayDark:          lighten(@black, 25%);
-@gray:              lighten(@black, 50%);
-@grayLight:         lighten(@black, 70%);
-@grayLighter:       lighten(@black, 90%);
-@white:             #fff;
-
-// Accent Colors
-@blue:              #08b5fb;
-@green:             #46a546;
-@red:               #9d261d;
-@yellow:            #ffc40d;
-@orange:            #f89406;
-@pink:              #c3325f;
-@purple:            #7a43b6;
-
-// Baseline grid
-@basefont:          13px;
-@baseline:          18px;
-</pre>
-
-<h3>Commenting</h3>
-<p>Less also provides another style of commenting in addition to CSS’s normal <code>/* ... */</code> syntax.</p>
-<pre class="prettyprint linenums">
-// This is a comment
-/* This is also a comment */
-</pre>
-
 <h3>Mixins up the wazoo</h3>
 <p>Mixins are basically includes or partials for CSS, allowing you to combine a block of code into one. They’re great for vendor prefixed properties like <code>box-shadow</code>, cross-browser gradients, font stacks, and more. Below is a sample of the mixins that are included with Bootstrap.</p>
 <h4>Font stacks</h4>
 }
 </pre>
 
-    <h2 id="compiling">Compiling Less</h2>
-    <p>After modifying the <code>.less</code> files in /lib/, you'll need to recompile them in order to regenerate the bootstrap-*.*.*.css and bootstrap-*.*.*.min.css files. If you're submitting a pull request to GitHub, you must always recompile.</p>
-    <h3>Ways to compile</h3>
-    <table class="table table-bordered table-striped">
-      <thead>
-        <tr>
-          <th style="width: 120px;">Method</th>
-          <th>Steps</th>
-        </tr>
-      </thead>
-      <tbody>
-        <tr>
-          <td>Node with makefile</td>
-          <td>
-            <p>Install the LESS command line compiler with npm by running the following command:</p>
-            <pre>$ npm install less</pre>
-            <p>Once installed just run <code>make</code> from the root of your bootstrap directory and you're all set.</p>
-            <p>Additionally, if you have <a href="https://github.com/mynyml/watchr">watchr</a> installed, you may run <code>make watch</code> to have bootstrap automatically rebuilt every time you edit a file in the bootstrap lib (this isn't required, just a convenience method).</p>
-          </td>
-        </tr>
-          <td>Javascript</td>
-          <td>
-            <p><a href="http://lesscss.org/">Download the latest Less.js</a> and include the path to it (and Bootstrap) in the <code>&lt;head&gt;</code>.</p>
+
+<!-- COMPILING LESS AND BOOTSTRAP
+================================================== -->
+<section id="compiling">
+  <div class="page-header">
+    <h1>Compiling Bootstrap with LESS</h1>
+  </div>
+  <div class="alert alert-info">
+    <strong>Note:</strong> If you're submitting a pull request to GitHub with modified CSS, you <strong>must</strong> recompile the CSS via any of these methods.
+  </div>
+  <h2>Tools for compiling</h2>
+  <div class="row">
+    <div class="span4">
+      <h3>Node with makefile</h3>
+      <p>Install the LESS command line compiler with npm by running the following command:</p>
+      <pre>$ npm install less</pre>
+      <p>Once installed just run <code>make</code> from the root of your bootstrap directory and you're all set.</p>
+      <p>Additionally, if you have <a href="https://github.com/mynyml/watchr">watchr</a> installed, you may run <code>make watch</code> to have bootstrap automatically rebuilt every time you edit a file in the bootstrap lib (this isn't required, just a convenience method).</p>
+    </div><!-- /span4 -->
+    <div class="span4">
+      <h3>Command line</h3>
+      <p>Install the LESS command line tool via Node and run the following command:</p>
+        <pre>$ lessc ./lib/bootstrap.less > bootstrap.css</pre>
+      <p>Be sure to include <code>--compress</code> in that command if you're trying to save some bytes!</p>
+    </div><!-- /span4 -->
+    <div class="span4">
+      <h3>Javascript</h3>
+      <p><a href="http://lesscss.org/">Download the latest Less.js</a> and include the path to it (and Bootstrap) in the <code>&lt;head&gt;</code>.</p>
 <pre class="prettyprint">
 &lt;link rel="stylesheet/less" href="/path/to/bootstrap.less"&gt;
 &lt;script src="/path/to/less.js"&gt;&lt;/script&gt;
 </pre>
-            <p>To recompile the .less files, just save them and reload your page. Less.js compiles them and stores them in local storage.</p>
-          </td>
-        </tr>
-        <tr>
-          <td>Command line</td>
-          <td>
-            <p>Install the LESS command line tool via Node and run the following command:</p>
-              <pre>$ lessc ./lib/bootstrap.less > bootstrap.css</pre>
-            <p>Be sure to include <code>--compress</code> in that command if you're trying to save some bytes!</p>
-          </td>
-        </tr>
-        <tr>
-          <td><a href="http://incident57.com/less/" target="_blank">Unofficial Mac app</a></td>
-          <td>
-            <p><a href="http://incident57.com/less/">The unofficial Mac app</a> watches directories of .less files and compiles the code to local files after every save of a watched .less file.</p>
-            <p>If you like, you can toggle preferences in the app for automatic minifying and which directory the compiled files end up in.</p>
-          </td>
-        </tr>
-        <tr>
-          <td><a href="http://crunchapp.net/" target="_blank">Crunch</a></td>
-          <td>Crunch is a great looking LESS editor and compiler built on Adobe Air.</td>
-        </tr>
-        <tr>
-          <td><a href="http://incident57.com/codekit/" target="_blank">CodeKit</a></td>
-          <td>Created by the same guy as the unofficial Mac app, CodeKit is a Mac app that compiles LESS, SASS, Stylus, and CoffeeScript.</td>
-        </tr>
-        <tr>
-          <td><a href="http://wearekiss.com/simpless" target="_blank">Simpless</a></td>
-          <td>Mac, Linux, and PC app for drag and drop compiling of LESS files. Plus, the <a href="https://github.com/Paratron/SimpLESS" target="_blank">source code is on GitHub</a>.</td>
-        </tr>
-      </tbody>
-    </table>
-  </div>
-</div>
-
+      <p>To recompile the .less files, just save them and reload your page. Less.js compiles them and stores them in local storage.</p>
+    </div><!-- /span4 -->
+  </div><!-- /row -->
+  <div class="row">
+    <div class="span4">
+      <h3>Unofficial Mac app</h3>
+      <p><a href="http://incident57.com/less/">The unofficial Mac app</a> watches directories of .less files and compiles the code to local files after every save of a watched .less file.</p>
+      <p>If you like, you can toggle preferences in the app for automatic minifying and which directory the compiled files end up in.</p>
+    </div><!-- /span4 -->
+    <div class="span4">
+      <h3>More Mac apps</h3>
+      <h4><a href="http://crunchapp.net/" target="_blank">Crunch</a></h4>
+      <p>Crunch is a great looking LESS editor and compiler built on Adobe Air.</p>
+      <h4><a href="http://incident57.com/codekit/" target="_blank">CodeKit</a></h4>
+      <p>Created by the same guy as the unofficial Mac app, CodeKit is a Mac app that compiles LESS, SASS, Stylus, and CoffeeScript.</p>
+      <h4><a href="http://wearekiss.com/simpless" target="_blank">Simpless</a></h4>
+      <p>Mac, Linux, and PC app for drag and drop compiling of LESS files. Plus, the <a href="https://github.com/Paratron/SimpLESS" target="_blank">source code is on GitHub</a>.</p>
+    </div><!-- /span4 -->
+  </div><!-- /row -->
 </section>
+
      <!-- Footer
       ================================================== -->
       <footer class="footer">
index bb18b03945929b2f79e7da7ae2f493ed36acfda0..3e2ddf077d0c233cd384a7e537509c8b9666d327 100644 (file)
@@ -51,6 +51,9 @@
             <li class="">
               <a href="./less.html">Using LESS</a>
             </li>
+            <li class="">
+              <a href="./download.html">Download</a>
+            </li>
           </ul>
         </div>
       </div>
@@ -65,9 +68,9 @@
         <p class="lead">Bootstrap is built on a responsive 12-column grid. We've also included fixed- and fluid-width layouts based on that system.</p>
         <div class="subnav">
           <ul class="nav pills">
-            <li><a href="./scaffolding.html#grid-system">Grid system</a></li>
-            <li><a href="./scaffolding.html#layouts">Layouts</a></li>
-            <li><a href="./scaffolding.html#responsive">Responsive design</a></li>
+            <li><a href="#grid-system">Grid system</a></li>
+            <li><a href="#layouts">Layouts</a></li>
+            <li><a href="#responsive">Responsive design</a></li>
           </ul>
         </div>
       </header>
index 919872db246534ff051d3301570caa816d2e11c7..1fec7788ef723c01026089cdccb27fdd56e4cbc1 100644 (file)
@@ -51,6 +51,9 @@
             <li class="{{less}}">
               <a href="./less.html">Using LESS</a>
             </li>
+            <li class="{{download}}">
+              <a href="./download.html">Download</a>
+            </li>
           </ul>
         </div>
       </div>
index ba864ce9e56864eb9ba565f8bc21d8e7a8403b22..6308522595a3a82d6cdd1c70638f5875e2a567f0 100644 (file)
@@ -5,11 +5,11 @@
   <p class="lead">{{_i}}On top of the scaffolding, basic HTML elements are styled and enhanced with extensible classes to provide a fresh, consistent look and feel.{{/i}}</p>
   <div class="subnav">
     <ul class="nav pills">
-      <li><a href="./base-css.html#typography">{{_i}}Typography{{/i}}</a></li>
-      <li><a href="./base-css.html#tables">{{_i}}Tables{{/i}}</a></li>
-      <li><a href="./base-css.html#forms">{{_i}}Forms{{/i}}</a></li>
-      <li><a href="./base-css.html#buttons">{{_i}}Buttons{{/i}}</a></li>
-      <li><a href="./base-css.html#icons">{{_i}}Icons by Glyphicons{{/i}}</a></li>
+      <li><a href="#typography">{{_i}}Typography{{/i}}</a></li>
+      <li><a href="#tables">{{_i}}Tables{{/i}}</a></li>
+      <li><a href="#forms">{{_i}}Forms{{/i}}</a></li>
+      <li><a href="#buttons">{{_i}}Buttons{{/i}}</a></li>
+      <li><a href="#icons">{{_i}}Icons by Glyphicons{{/i}}</a></li>
     </ul>
   </div>
 </header>
index 94d72a5403df16c6788b4dd8a330d8d2eb7e61a5..5da0e6989edb19268f7aec4c7f1e228b61fec9d3 100644 (file)
@@ -5,15 +5,15 @@
   <p class="lead">{{_i}}Dozens of reusable components are built into Bootstrap to provide navigation, alerts, popovers, and much more.{{/i}}</p>
   <div class="subnav">
     <ul class="nav pills">
-      <li><a href="./components.html#buttonGroups">{{_i}}Button groups{{/i}}</a></li>
-      <li><a href="./components.html#buttonDropdowns">{{_i}}Button dropdowns{{/i}}</a></li>
-      <li><a href="./components.html#navs">{{_i}}Nav, tabs, pills{{/i}}</a></li>
-      <li><a href="./components.html#navbar">{{_i}}Navbar{{/i}}</a></li>
-      <li><a href="./components.html#breadcrumbs">{{_i}}Breadcrumbs{{/i}}</a></li>
-      <li><a href="./components.html#pagination">{{_i}}Pagination{{/i}}</a></li>
-      <li><a href="./components.html#thumbnails">{{_i}}Thumbnails{{/i}}</a></li>
-      <li><a href="./components.html#alerts">{{_i}}Alerts{{/i}}</a></li>
-      <li><a href="./components.html#progress">{{_i}}Progress bars{{/i}}</a></li>
+      <li><a href="#buttonGroups">{{_i}}Button groups{{/i}}</a></li>
+      <li><a href="#buttonDropdowns">{{_i}}Button dropdowns{{/i}}</a></li>
+      <li><a href="#navs">{{_i}}Nav, tabs, pills{{/i}}</a></li>
+      <li><a href="#navbar">{{_i}}Navbar{{/i}}</a></li>
+      <li><a href="#breadcrumbs">{{_i}}Breadcrumbs{{/i}}</a></li>
+      <li><a href="#pagination">{{_i}}Pagination{{/i}}</a></li>
+      <li><a href="#thumbnails">{{_i}}Thumbnails{{/i}}</a></li>
+      <li><a href="#alerts">{{_i}}Alerts{{/i}}</a></li>
+      <li><a href="#progress">{{_i}}Progress bars{{/i}}</a></li>
     </ul>
   </div>
 </header>
diff --git a/docs/templates/pages/download.mustache b/docs/templates/pages/download.mustache
new file mode 100644 (file)
index 0000000..453bf11
--- /dev/null
@@ -0,0 +1,216 @@
+<div class="alert">
+  <strong>Heads up!</strong> This page is still under construction and is missing plenty of documentation. Hang tight!
+</div>
+
+<!-- Masthead
+================================================== -->
+<header class="jumbotron subhead" id="overview">
+  <h1>{{_i}}Download and customize Bootstrap{{/i}}</h1>
+  <p class="lead">{{_i}}<a href="https://github.com/twitter/bootstrap/zipball/master">Download the full repository</a> or customize your entire Bootstrap build by selecting only the components, javascript plugins, and assets you need.{{/i}}</p>
+</header>
+
+<div class="download">
+  <div class="page-header">
+    <a class="pull-right toggle-all" href="#">Toggle all</a>
+    <h1>
+      1. Select components
+      <small>Get just the CSS you need</small>
+    </h1>
+  </div>
+  <div class="row download-builder">
+    <div class="span3">
+      <h3>Scaffolding</h3>
+      <label class="checkbox"><input type="checkbox" value=""> CSS reset</label>
+      <label class="checkbox"><input type="checkbox" value=""> Grid system</label>
+      <label class="checkbox"><input type="checkbox" value=""> Layouts</label>
+      <h3>Base CSS</h3>
+      <label class="checkbox"><input type="checkbox" value=""> Headings and body</label>
+      <label class="checkbox"><input type="checkbox" value=""> Code and pre</label>
+      <label class="checkbox"><input type="checkbox" value=""> Labels</label>
+      <label class="checkbox"><input type="checkbox" value=""> Tables</label>
+      <label class="checkbox"><input type="checkbox" value=""> Forms</label>
+      <label class="checkbox"><input type="checkbox" value=""> Buttons</label>
+      <label class="checkbox"><input type="checkbox" value=""> Icons</label>
+    </div><!-- /span -->
+    <div class="span3">
+      <h3>Components</h3>
+      <label class="checkbox"><input type="checkbox" value=""> Button groups</label>
+      <label class="checkbox"><input type="checkbox" value=""> Combo buttons</label>
+      <label class="checkbox"><input type="checkbox" value=""> Navs, tabs, and pills</label>
+      <label class="checkbox"><input type="checkbox" value=""> Navbar</label>
+      <label class="checkbox"><input type="checkbox" value=""> Breadcrumbs</label>
+      <label class="checkbox"><input type="checkbox" value=""> Pagination</label>
+      <label class="checkbox"><input type="checkbox" value=""> Pager</label>
+      <label class="checkbox"><input type="checkbox" value=""> Thumbnails</label>
+      <label class="checkbox"><input type="checkbox" value=""> Alerts</label>
+      <label class="checkbox"><input type="checkbox" value=""> Progress bars</label>
+    </div><!-- /span -->
+    <div class="span3">
+      <h3>JS Components</h3>
+      <label class="checkbox"><input type="checkbox" value=""> Tooltips</label>
+      <label class="checkbox"><input type="checkbox" value=""> Popovers</label>
+      <label class="checkbox"><input type="checkbox" value=""> Modals</label>
+      <label class="checkbox"><input type="checkbox" value=""> Dropdowns</label>
+      <label class="checkbox"><input type="checkbox" value=""> Tabs</label>
+      <label class="checkbox"><input type="checkbox" value=""> Collapse</label>
+      <label class="checkbox"><input type="checkbox" value=""> Carousel</label>
+    </div><!-- /span -->
+    <div class="span3">
+      <h3>Miscellaneous</h3>
+      <label class="checkbox"><input type="checkbox" value=""> Wells</label>
+      <label class="checkbox"><input type="checkbox" value=""> Close icon</label>
+      <label class="checkbox"><input type="checkbox" value=""> Utilities</label>
+      <label class="checkbox"><input type="checkbox" value=""> Component animations</label>
+      <h3>Responsive</h3>
+      <label class="checkbox"><input type="checkbox" value=""> Max-width 480px</label>
+      <label class="checkbox"><input type="checkbox" value=""> Max-width 768px</label>
+      <label class="checkbox"><input type="checkbox" value=""> Max-width 1210px</label>
+    </div><!-- /span -->
+  </div><!-- /row -->
+
+  <div class="page-header">
+    <a class="pull-right toggle-all" href="#">Reset to defaults</a>
+    <h1>
+      2. Modify variables
+      <small>Customize Bootstrap without using a LESS compiler</small>
+    </h1>
+  </div>
+  <div class="row download-builder">
+    <div class="span4">
+      <h3>Links</h3>
+      <label>@linkColor</label>
+      <input type="text" class="span3" value="#08c">
+      <label>@linkColorHover</label>
+      <input type="text" class="span3" value="darken(@linkColor, 15%)">
+      <h3>Grid system</h3>
+      <label>@gridColumns</label>
+      <input type="text" class="span3" value="">
+      <label>@gridColumnWidth</label>
+      <input type="text" class="span3" value="">
+      <label>@gridGutterWidth</label>
+      <input type="text" class="span3" value="">
+      <label>@siteWidth</label>
+      <input type="text" class="span3" value="">
+      <label>@fluidSidebarWidth</label>
+      <input type="text" class="span3" value="">
+    </div><!-- /span -->
+    <div class="span4">
+      <h3>Typography</h3>
+      <label>@baseFontSize</label>
+      <input type="text" class="span3" value="13px">
+      <label>@baseFontFamily</label>
+      <input type="text" class="span3" value="'Helvetica Neue', Helvetica, Arial, sans-serif">
+      <label>@baseLineHeight</label>
+      <input type="text" class="span3" value="18px">
+      <h3>Forms</h3>
+      <label>@primaryButtonColor</label>
+      <input type="text" class="span3" value="@blue">
+      <label>@placeholderText</label>
+      <input type="text" class="span3" value="@grayLight">
+      <h3>Navbar</h3>
+      <label>@navbarHeight</label>
+      <input type="text" class="span3" value="40px">
+      <label>@navbarBackground</label>
+      <input type="text" class="span3" value="@grayDarker">
+      <label>@navbarBackgroundHighlight</label>
+      <input type="text" class="span3" value="@grayDark">
+    </div><!-- /span -->
+    <div class="span4">
+      <h3>Form states &amp; alerts</h3>
+      <label>@warningText</label>
+      <input type="text" class="span3" value="#c09853">
+      <label>@warningBackground</label>
+      <input type="text" class="span3" value="#fcf8e3">
+      <label>@warningBorder</label>
+      <input type="text" class="span3" value="#f3edd2">
+      <label>@errorText</label>
+      <input type="text" class="span3" value="#b94a48">
+      <label>@errorBackground</label>
+      <input type="text" class="span3" value="#f2dede">
+      <label>@errorBorder</label>
+      <input type="text" class="span3" value="#e9c7c7">
+      <label>@successText</label>
+      <input type="text" class="span3" value="#468847">
+      <label>@successBackground</label>
+      <input type="text" class="span3" value="#dff0d8">
+      <label>@successBorder</label>
+      <input type="text" class="span3" value="#cfe8c4">
+      <label>@infoText</label>
+      <input type="text" class="span3" value="#3a87ad">
+      <label>@infoBackground</label>
+      <input type="text" class="span3" value="#d9edf7">
+      <label>@infoBorder</label>
+      <input type="text" class="span3" value="#bfe1f2">
+    </div><!-- /span -->
+  </div><!-- /row -->
+
+  <div class="page-header">
+    <a class="pull-right toggle-all" href="#">Toggle all</a>
+    <h1>
+      3. Select jQuery plugins
+      <small>Quickly add only the necessary javascript</small>
+    </h1>
+  </div>
+  <div class="row download-builder">
+    <div class="span4">
+      <label class="checkbox">
+        <input type="checkbox" checked="true" value="bootstrap-modal.js">
+        Modals
+      </label>
+      <label class="checkbox">
+        <input type="checkbox" checked="true" value="bootstrap-dropdown.js">
+        Dropdowns
+      </label>
+      <label class="checkbox">
+        <input type="checkbox" checked="true" value="bootstrap-scrollspy.js">
+        Scrollspy
+      </label>
+      <label class="checkbox">
+        <input type="checkbox" checked="true" value="bootstrap-tab.js">
+        Togglable tabs
+      </label>
+      <label class="checkbox">
+        <input type="checkbox" checked="true" value="bootstrap-tooltip.js">
+        Tooltips
+      </label>
+      <label class="checkbox">
+        <input type="checkbox" checked="true" value="bootstrap-popover.js">
+        Popovers <small>(requires Tooltips)</small>
+      </label>
+    </div><!-- /span -->
+    <div class="span4">
+      <label class="checkbox">
+        <input type="checkbox" checked="true" value="bootstrap-alert.js">
+        Alert messages
+      </label>
+      <label class="checkbox">
+        <input type="checkbox" checked="true" value="bootstrap-button.js">
+        Buttons
+      </label>
+      <label class="checkbox">
+        <input type="checkbox" checked="true" value="bootstrap-collapse.js">
+        Collapse
+      </label>
+      <label class="checkbox">
+        <input type="checkbox" checked="true" value="bootstrap-carousel.js">
+        Carousel
+      </label>
+      <label class="checkbox">
+        <input type="checkbox" checked="true" value="bootstrap-typeahead.js">
+        Typeahead
+      </label>
+      <label class="checkbox">
+        <input type="checkbox" checked="true" value="bootstrap-transition.js">
+        Transitions <small>(required for any animation)</small>
+      </label>
+    </div><!-- /span -->
+    <div class="span4">
+      <h4 class="muted">Heads up!</h4>
+      <p class="muted">{{_i}}All plugins require the latest version of <a href="http://jquery.com/" target="_blank">jQuery</a> to be included.{{/i}}</p>
+    </div><!-- /span -->
+  </div><!-- /row -->
+
+  <div class="download-btn">
+    <a class="btn xlarge primary" href="#">Build and Download</a>
+  </div>
+</div><!-- /download -->
index 2ac950251b6a32b6be5c772f5c41b9b358ae0077..df114841a7a63273c72cd003042812d4de69eb2d 100644 (file)
@@ -5,18 +5,18 @@
         <p class="lead">{{_i}}Bring Bootstrap's components to life&mdash;now with 12 custom <a href="http://jquery.com/" target="_blank">jQuery</a> plugins.{{/i}}
         <div class="subnav">
           <ul class="nav pills">
-            <li><a href="./javascript.html#javascript">{{_i}}Overview{{/i}}</a></li>
-            <li><a href="./javascript.html#modals">{{_i}}Modal{{/i}}</a></li>
-            <li><a href="./javascript.html#dropdowns">{{_i}}Dropdown{{/i}}</a></li>
-            <li><a href="./javascript.html#scrollspy">{{_i}}Scrollspy{{/i}}</a></li>
-            <li><a href="./javascript.html#tabs">{{_i}}Tab{{/i}}</a></li>
-            <li><a href="./javascript.html#tooltips">{{_i}}Tooltip{{/i}}</a></li>
-            <li><a href="./javascript.html#popovers">{{_i}}Popover{{/i}}</a></li>
-            <li><a href="./javascript.html#alerts">{{_i}}Alert{{/i}}</a></li>
-            <li><a href="./javascript.html#buttons">{{_i}}Button{{/i}}</a></li>
-            <li><a href="./javascript.html#collapse">{{_i}}Collapse{{/i}}</a></li>
-            <li><a href="./javascript.html#carousel">{{_i}}Carousel{{/i}}</a></li>
-            <li><a href="./javascript.html#typeahead">{{_i}}Typeahead{{/i}}</a></li>
+            <li><a href="#javascript">{{_i}}Overview{{/i}}</a></li>
+            <li><a href="#modals">{{_i}}Modal{{/i}}</a></li>
+            <li><a href="#dropdowns">{{_i}}Dropdown{{/i}}</a></li>
+            <li><a href="#scrollspy">{{_i}}Scrollspy{{/i}}</a></li>
+            <li><a href="#tabs">{{_i}}Tab{{/i}}</a></li>
+            <li><a href="#tooltips">{{_i}}Tooltip{{/i}}</a></li>
+            <li><a href="#popovers">{{_i}}Popover{{/i}}</a></li>
+            <li><a href="#alerts">{{_i}}Alert{{/i}}</a></li>
+            <li><a href="#buttons">{{_i}}Button{{/i}}</a></li>
+            <li><a href="#collapse">{{_i}}Collapse{{/i}}</a></li>
+            <li><a href="#carousel">{{_i}}Carousel{{/i}}</a></li>
+            <li><a href="#typeahead">{{_i}}Typeahead{{/i}}</a></li>
           </ul>
         </div>
       </header>
index 2633abdf3ff16775cf7ea7fe22083b1a50192b5f..76ecf70c9ece29959451e11080bb635f26981754 100644 (file)
   <p class="lead">{{_i}}Customize and extend Bootstrap with <a href="http://lesscss.org" target="_blank">LESS</a>, a CSS preprocessor, to take advantage of the variables, mixins, and more used to build Bootstrap's CSS.{{/i}}</p>
   <div class="subnav">
     <ul class="nav pills">
-      <li><a href="./less.html#builtWith">{{_i}}Built with Less{{/i}}</a></li>
-      <li><a href="./less.html#variables">{{_i}}Variables{{/i}}</a></li>
-      <li><a href="./less.html#mixins">{{_i}}Mixins{{/i}}</a></li>
-      <li><a href="./less.html#compiling">{{_i}}Compiling Bootstrap{{/i}}</a></li>
+      <li><a href="#builtWith">{{_i}}Built with Less{{/i}}</a></li>
+      <li><a href="#variables">{{_i}}Variables{{/i}}</a></li>
+      <li><a href="#mixins">{{_i}}Mixins{{/i}}</a></li>
+      <li><a href="#compiling">{{_i}}Compiling Bootstrap{{/i}}</a></li>
     </ul>
   </div>
 </header>
 
 
 
-<!-- BUILDER
-================================================== -->
-<section id="builder">
-  <div class="page-header">
-    <h1>Chop Shop <small>Customize your build of Bootstrap</small></h1>
-  </div>
-
-  <form class="form-horizontal builder">
-    <div class="tabbable tabs-left">
-      <ul class="nav tabs">
-        <li class="active">
-          <a href="#components" data-toggle="tab">1. Select components</a>
-        </li>
-        <li><a href="#variables" data-toggle="tab">2. Customize variables</a></li>
-        <li><a href="#download" data-toggle="tab">3. Build and download</a></li>
-      </ul>
-      <div class="tab-content">
-        <div class="tab-pane active" id="components">
-          <div class="row">
-            <div class="span2 builder-section">
-              <h3>Scaffolding</h3>
-              <label class="checkbox"><input type="checkbox" value=""> CSS reset</label>
-              <label class="checkbox"><input type="checkbox" value=""> Grid system</label>
-              <label class="checkbox"><input type="checkbox" value=""> Layouts</label>
-              <h3>Base CSS</h3>
-              <label class="checkbox"><input type="checkbox" value=""> Headings and body</label>
-              <label class="checkbox"><input type="checkbox" value=""> Code and pre</label>
-              <label class="checkbox"><input type="checkbox" value=""> Labels</label>
-              <label class="checkbox"><input type="checkbox" value=""> Tables</label>
-              <label class="checkbox"><input type="checkbox" value=""> Forms</label>
-              <label class="checkbox"><input type="checkbox" value=""> Buttons</label>
-              <label class="checkbox"><input type="checkbox" value=""> Icons</label>
-            </div>
-            <div class="span2 builder-section">
-              <h3>Components</h3>
-              <label class="checkbox"><input type="checkbox" value=""> Button groups</label>
-              <label class="checkbox"><input type="checkbox" value=""> Combo buttons</label>
-              <label class="checkbox"><input type="checkbox" value=""> Navs, tabs, and pills</label>
-              <label class="checkbox"><input type="checkbox" value=""> Navbar</label>
-              <label class="checkbox"><input type="checkbox" value=""> Breadcrumbs</label>
-              <label class="checkbox"><input type="checkbox" value=""> Pagination</label>
-              <label class="checkbox"><input type="checkbox" value=""> Pager</label>
-              <label class="checkbox"><input type="checkbox" value=""> Thumbnails</label>
-              <label class="checkbox"><input type="checkbox" value=""> Alerts</label>
-              <label class="checkbox"><input type="checkbox" value=""> Progress bars</label>
-            </div>
-            <div class="span2 builder-section">
-              <h3>JS Components</h3>
-              <label class="checkbox"><input type="checkbox" value=""> Tooltips</label>
-              <label class="checkbox"><input type="checkbox" value=""> Popovers</label>
-              <label class="checkbox"><input type="checkbox" value=""> Modals</label>
-              <label class="checkbox"><input type="checkbox" value=""> Dropdowns</label>
-              <label class="checkbox"><input type="checkbox" value=""> Tabs</label>
-              <label class="checkbox"><input type="checkbox" value=""> Collapse</label>
-              <label class="checkbox"><input type="checkbox" value=""> Carousel</label>
-            </div>
-            <div class="span2 builder-section">
-              <h3>Responsive</h3>
-              <label class="checkbox"><input type="checkbox" value=""> Max-width 480px</label>
-              <label class="checkbox"><input type="checkbox" value=""> Max-width 768px</label>
-              <label class="checkbox"><input type="checkbox" value=""> Max-width 1210px</label>
-              <h3>Miscellaneous</h3>
-              <label class="checkbox"><input type="checkbox" value=""> Wells</label>
-              <label class="checkbox"><input type="checkbox" value=""> Close icon</label>
-              <label class="checkbox"><input type="checkbox" value=""> Utilities</label>
-              <label class="checkbox"><input type="checkbox" value=""> Component animations</label>
-            </div>
-          </div>
-          <div class="builder-actions">
-            <a class="toggle-all" href="">Reset variables</a>
-            <a class="btn large primary" href="">Next: Customize variables</a>
-          </div>        
-        </div><!-- /tab-pane -->
-        <div class="tab-pane" id="variables">
-          <div class="row">
-            <div class="span3">
-              <h3>Links</h3>
-              <label>@linkColor</label>
-              <input type="text" class="span3" value="#08c">
-              <label>@linkColorHove</label>
-              <input type="text" class="span3" value="darken(@linkColor, 15%)">
-              <h3>Grid system</h3>
-              <label>@gridColumns</label>
-              <input type="text" class="span3" value="">
-              <label>@gridColumnWidth</label>
-              <input type="text" class="span3" value="">
-              <label>@gridGutterWidth</label>
-              <input type="text" class="span3" value="">
-              <label>@siteWidth</label>
-              <input type="text" class="span3" value="">
-              <label>@fluidSidebarWidth</label>
-              <input type="text" class="span3" value="">
-            </div><!-- /span -->
-            <div class="span3">
-              <h3>Typography</h3>
-              <label>@baseFontSize</label>
-              <input type="text" class="span3" value="13px">
-              <label>@baseFontFamily</label>
-              <input type="text" class="span3" value="'Helvetica Neue', Helvetica, Arial, sans-serif">
-              <label>@baseLineHeight</label>
-              <input type="text" class="span3" value="18px">
-              <h3>Forms</h3>
-              <label>@primaryButtonColor</label>
-              <input type="text" class="span3" value="@blue">
-              <label>@placeholderText</label>
-              <input type="text" class="span3" value="@grayLight">
-              <h3>Navbar</h3>
-              <label>@navbarHeight</label>
-              <input type="text" class="span3" value="40px">
-              <label>@navbarBackground</label>
-              <input type="text" class="span3" value="@grayDarker">
-              <label>@navbarBackgroundHighlight</label>
-              <input type="text" class="span3" value="@grayDark">
-            </div><!-- /span -->
-            <div class="span3">
-              <h3>Form states &amp; alerts</h3>
-              <label>@warningText</label>
-              <input type="text" class="span3" value="#c09853">
-              <label>@warningBackground</label>
-              <input type="text" class="span3" value="#fcf8e3">
-              <label>@warningBorder</label>
-              <input type="text" class="span3" value="#f3edd2">
-              <label>@errorText</label>
-              <input type="text" class="span3" value="#b94a48">
-              <label>@errorBackground</label>
-              <input type="text" class="span3" value="#f2dede">
-              <label>@errorBorder</label>
-              <input type="text" class="span3" value="#e9c7c7">
-              <label>@successText</label>
-              <input type="text" class="span3" value="#468847">
-              <label>@successBackground</label>
-              <input type="text" class="span3" value="#dff0d8">
-              <label>@successBorder</label>
-              <input type="text" class="span3" value="#cfe8c4">
-              <label>@infoText</label>
-              <input type="text" class="span3" value="#3a87ad">
-              <label>@infoBackground</label>
-              <input type="text" class="span3" value="#d9edf7">
-              <label>@infoBorder</label>
-              <input type="text" class="span3" value="#bfe1f2">
-            </div><!-- /span -->
-          </div><!-- /row -->
-          <div class="builder-actions">
-            <a class="btn large primary" href="">Next: Build and download</a>
-          </div>        
-        </div><!-- /tab-pane -->
-        <div class="tab-pane" id="download">
-          <h2>And you're set!</h2>
-          <p class="lead">We've compiled your selected CSS and customized variables and have them ready to download as a tidy ZIP file. Choose from compiled or compiled and minified CSS files.</p>
-          <a class="btn large primary">Download CSS</a> <a class="btn large primary">Download minified CSS</a>
-          <hr>
-          <p>Looking to customize your javascript? Head over to the <a href="./javascript.html#javascript">Javascript plugins page</a> to build your own Bootstrap JS bundle.</p>
-        </div><!-- /tab-pane -->
-      </div><!-- /tab-content -->
-    </div><!-- /tabbable -->
-  </form>
-
-</section>
-
-
-
 <!-- BUILT WITH LESS
 ================================================== -->
 <section id="builtWith">
   <div class="row">
     <div class="span4">
       <h3>{{_i}}Why LESS?{{/i}}</h3>
-      <p>{{_i}}Bootstrap is made with LESS at it's core, a dynamic stylesheet language created by <a href="http://cloudhead.io">Alexis Sellier</a>. It makes developing systems-based CSS faster, easier, and more fun.{{/i}}</p>
+      <p>{{_i}}Bootstrap is made with LESS at it's core, a dynamic stylesheet language created by our good friend, <a href="http://cloudhead.io">Alexis Sellier</a>. It makes developing systems-based CSS faster, easier, and more fun.{{/i}}</p>
     </div>
     <div class="span4">
       <h3>{{_i}}What's included?{{/i}}</h3>
 ================================================== -->
 <section id="variables">
   <div class="page-header">
-    <h1>{{_i}}Variables <small>from variables.less</small>{{/i}}</h1>
+    <h1>{{_i}}Bootstrap variables <small></small>{{/i}}</h1>
   </div>
 
   <h3>{{_i}}Hyperlinks{{/i}}</h3>
 <!-- MIXINS
 ================================================== -->
 <div class="page-header" id="mixins">
-  <h1>{{_i}}Mixins <small>from mixins.less</small>{{/i}}</h1>
+  <h1>{{_i}}Bootstrap mixins <small></small>{{/i}}</h1>
 </div>
-
-
-
-<!-- OPERATIONS
-================================================== -->
-<div class="page-header" id="operations">
-  <h1>{{_i}}Operations{{/i}}</h1>
-</div>
-
-
-
-<!-- COMPILING LESS AND BOOTSTRAP
-================================================== -->
-<div class="page-header" id="compiling">
-  <h1>{{_i}}Compiling LESS and Bootstrap{{/i}}</h1>
-</div>
-
-
-
-
-<!-- Using Bootstrap w/ Less
-================================================== -->
-<section id="less">
-<div class="page-header">
-  <h1>{{_i}}Using Bootstrap with Less <small>Supercharge your CSS with variables, mixins, and functions</small>{{/i}}</h1>
-</div>
-<div class="row">
-  <div class="span3">
-    <p>{{_i}}Bootstrap was built with <a href="http://markdotto.com/bootstrap/">Preboot</a>, an open-source pack of mixins and variables to be used in conjunction with <a href="http://lesscss.org" target="_blank">Less</a>, a CSS preprocessor for faster and easier web development.{{/i}}</p>
-    <p>{{_i}}Check out how we used Preboot in Bootstrap and how you can make use of it should you choose to run Less on your next project.{{/i}}</p>
-  </div>
-  <div class="span9">
-    <h2>{{_i}}How to use it{{/i}}</h2>
-    <p>{{_i}}Use this option to make full use of Bootstrap’s Less variables, mixins, and nesting in CSS via javascript in your browser.{{/i}}</p>
-<pre class="prettyprint linenums">
-&lt;link rel="stylesheet/less" href="less/bootstrap.less" media="all" /&gt;
-&lt;script src="js/less-1.1.3.min.js"&gt;&lt;/script&gt;</pre>
-<p>{{_i}}Not feeling the .js solution? <a href="http://incident57.com/less" target="_blank">Try the Less Mac app</a> or <a href="http://lesscss.org/#-client-side-usage" target="_blank">use Node.js</a> to compile when you deploy your code.{{/i}}</p>
-
-    <h2>{{_i}}What’s included{{/i}}</h2>
-    <p>{{_i}}Here are some of the highlights of what’s included in Twitter Bootstrap as part of Bootstrap. Head over to the Bootstrap website or Github project page to download and learn more.{{/i}}</p>
-    <h3>{{_i}}Variables{{/i}}</h3>
-    <p>{{_i}}Variables in Less are perfect for maintaining and updating your CSS headache free. When you want to change a color value or a frequently used value, update it in one spot and you’re set.{{/i}}</p>
-<pre class="prettyprint linenums">
-// Links
-@linkColor:         #8b59c2;
-@linkColorHover:    darken(@linkColor, 10);
-
-// Grays
-@black:             #000;
-@grayDark:          lighten(@black, 25%);
-@gray:              lighten(@black, 50%);
-@grayLight:         lighten(@black, 70%);
-@grayLighter:       lighten(@black, 90%);
-@white:             #fff;
-
-// Accent Colors
-@blue:              #08b5fb;
-@green:             #46a546;
-@red:               #9d261d;
-@yellow:            #ffc40d;
-@orange:            #f89406;
-@pink:              #c3325f;
-@purple:            #7a43b6;
-
-// Baseline grid
-@basefont:          13px;
-@baseline:          18px;
-</pre>
-
-<h3>{{_i}}Commenting{{/i}}</h3>
-<p>{{_i}}Less also provides another style of commenting in addition to CSS’s normal <code>/* ... */</code> syntax.{{/i}}</p>
-<pre class="prettyprint linenums">
-// This is a comment
-/* This is also a comment */
-</pre>
-
 <h3>{{_i}}Mixins up the wazoo{{/i}}</h3>
 <p>{{_i}}Mixins are basically includes or partials for CSS, allowing you to combine a block of code into one. They’re great for vendor prefixed properties like <code>box-shadow</code>, cross-browser gradients, font stacks, and more. Below is a sample of the mixins that are included with Bootstrap.{{/i}}</p>
 <h4>{{_i}}Font stacks{{/i}}</h4>
 }
 </pre>
 
-    <h2 id="compiling">{{_i}}Compiling Less{{/i}}</h2>
-    <p>{{_i}}After modifying the <code>.less</code> files in /lib/, you'll need to recompile them in order to regenerate the bootstrap-*.*.*.css and bootstrap-*.*.*.min.css files. If you're submitting a pull request to GitHub, you must always recompile.{{/i}}</p>
-    <h3>{{_i}}Ways to compile{{/i}}</h3>
-    <table class="table table-bordered table-striped">
-      <thead>
-        <tr>
-          <th style="width: 120px;">{{_i}}Method{{/i}}</th>
-          <th>{{_i}}Steps{{/i}}</th>
-        </tr>
-      </thead>
-      <tbody>
-        <tr>
-          <td>{{_i}}Node with makefile{{/i}}</td>
-          <td>
-            <p>{{_i}}Install the LESS command line compiler with npm by running the following command:{{/i}}</p>
-            <pre>$ npm install less</pre>
-            <p>{{_i}}Once installed just run <code>make</code> from the root of your bootstrap directory and you're all set.{{/i}}</p>
-            <p>{{_i}}Additionally, if you have <a href="https://github.com/mynyml/watchr">watchr</a> installed, you may run <code>make watch</code> to have bootstrap automatically rebuilt every time you edit a file in the bootstrap lib (this isn't required, just a convenience method).{{/i}}</p>
-          </td>
-        </tr>
-          <td>{{_i}}Javascript{{/i}}</td>
-          <td>
-            <p>{{_i}}<a href="http://lesscss.org/">Download the latest Less.js</a> and include the path to it (and Bootstrap) in the <code>&lt;head&gt;</code>.{{/i}}</p>
+
+<!-- COMPILING LESS AND BOOTSTRAP
+================================================== -->
+<section id="compiling">
+  <div class="page-header">
+    <h1>{{_i}}Compiling Bootstrap with LESS{{/i}}</h1>
+  </div>
+  <div class="alert alert-info">
+    {{_i}}<strong>Note:</strong> If you're submitting a pull request to GitHub with modified CSS, you <strong>must</strong> recompile the CSS via any of these methods.{{/i}}
+  </div>
+  <h2>{{_i}}Tools for compiling{{/i}}</h2>
+  <div class="row">
+    <div class="span4">
+      <h3>{{_i}}Node with makefile{{/i}}</h3>
+      <p>{{_i}}Install the LESS command line compiler with npm by running the following command:{{/i}}</p>
+      <pre>$ npm install less</pre>
+      <p>{{_i}}Once installed just run <code>make</code> from the root of your bootstrap directory and you're all set.{{/i}}</p>
+      <p>{{_i}}Additionally, if you have <a href="https://github.com/mynyml/watchr">watchr</a> installed, you may run <code>make watch</code> to have bootstrap automatically rebuilt every time you edit a file in the bootstrap lib (this isn't required, just a convenience method).{{/i}}</p>
+    </div><!-- /span4 -->
+    <div class="span4">
+      <h3>{{_i}}Command line{{/i}}</h3>
+      <p>{{_i}}Install the LESS command line tool via Node and run the following command:{{/i}}</p>
+        <pre>$ lessc ./lib/bootstrap.less > bootstrap.css</pre>
+      <p>{{_i}}Be sure to include <code>--compress</code> in that command if you're trying to save some bytes!{{/i}}</p>
+    </div><!-- /span4 -->
+    <div class="span4">
+      <h3>{{_i}}Javascript{{/i}}</h3>
+      <p>{{_i}}<a href="http://lesscss.org/">Download the latest Less.js</a> and include the path to it (and Bootstrap) in the <code>&lt;head&gt;</code>.{{/i}}</p>
 <pre class="prettyprint">
 &lt;link rel="stylesheet/less" href="/path/to/bootstrap.less"&gt;
 &lt;script src="/path/to/less.js"&gt;&lt;/script&gt;
 </pre>
-            <p>{{_i}}To recompile the .less files, just save them and reload your page. Less.js compiles them and stores them in local storage.{{/i}}</p>
-          </td>
-        </tr>
-        <tr>
-          <td>{{_i}}Command line{{/i}}</td>
-          <td>
-            <p>{{_i}}Install the LESS command line tool via Node and run the following command:{{/i}}</p>
-              <pre>$ lessc ./lib/bootstrap.less > bootstrap.css</pre>
-            <p>{{_i}}Be sure to include <code>--compress</code> in that command if you're trying to save some bytes!{{/i}}</p>
-          </td>
-        </tr>
-        <tr>
-          <td><a href="http://incident57.com/less/" target="_blank">{{_i}}Unofficial Mac app{{/i}}</a></td>
-          <td>
-            <p>{{_i}}<a href="http://incident57.com/less/">The unofficial Mac app</a> watches directories of .less files and compiles the code to local files after every save of a watched .less file.{{/i}}</p>
-            <p>{{_i}}If you like, you can toggle preferences in the app for automatic minifying and which directory the compiled files end up in.{{/i}}</p>
-          </td>
-        </tr>
-        <tr>
-          <td><a href="http://crunchapp.net/" target="_blank">Crunch</a></td>
-          <td>{{_i}}Crunch is a great looking LESS editor and compiler built on Adobe Air.{{/i}}</td>
-        </tr>
-        <tr>
-          <td><a href="http://incident57.com/codekit/" target="_blank">CodeKit</a></td>
-          <td>{{_i}}Created by the same guy as the unofficial Mac app, CodeKit is a Mac app that compiles LESS, SASS, Stylus, and CoffeeScript.{{/i}}</td>
-        </tr>
-        <tr>
-          <td><a href="http://wearekiss.com/simpless" target="_blank">Simpless</a></td>
-          <td>{{_i}}Mac, Linux, and PC app for drag and drop compiling of LESS files. Plus, the <a href="https://github.com/Paratron/SimpLESS" target="_blank">source code is on GitHub</a>.{{/i}}</td>
-        </tr>
-      </tbody>
-    </table>
-  </div>
-</div>
-
-</section>
\ No newline at end of file
+      <p>{{_i}}To recompile the .less files, just save them and reload your page. Less.js compiles them and stores them in local storage.{{/i}}</p>
+    </div><!-- /span4 -->
+  </div><!-- /row -->
+  <div class="row">
+    <div class="span4">
+      <h3>{{_i}}Unofficial Mac app{{/i}}</h3>
+      <p>{{_i}}<a href="http://incident57.com/less/">The unofficial Mac app</a> watches directories of .less files and compiles the code to local files after every save of a watched .less file.{{/i}}</p>
+      <p>{{_i}}If you like, you can toggle preferences in the app for automatic minifying and which directory the compiled files end up in.{{/i}}</p>
+    </div><!-- /span4 -->
+    <div class="span4">
+      <h3>{{_i}}More Mac apps{{/i}}</h3>
+      <h4><a href="http://crunchapp.net/" target="_blank">Crunch</a></h4>
+      <p>{{_i}}Crunch is a great looking LESS editor and compiler built on Adobe Air.{{/i}}</p>
+      <h4><a href="http://incident57.com/codekit/" target="_blank">CodeKit</a></h4>
+      <p>{{_i}}Created by the same guy as the unofficial Mac app, CodeKit is a Mac app that compiles LESS, SASS, Stylus, and CoffeeScript.{{/i}}</p>
+      <h4><a href="http://wearekiss.com/simpless" target="_blank">Simpless</a></h4>
+      <p>{{_i}}Mac, Linux, and PC app for drag and drop compiling of LESS files. Plus, the <a href="https://github.com/Paratron/SimpLESS" target="_blank">source code is on GitHub</a>.{{/i}}</p>
+    </div><!-- /span4 -->
+  </div><!-- /row -->
+</section>
index ed80dabfca0f97979a91eb8d1aff9501829744b9..981c60706dcaac1f483d8fb9d255dc56cc2f5c99 100644 (file)
@@ -5,9 +5,9 @@
         <p class="lead">{{_i}}Bootstrap is built on a responsive 12-column grid. We've also included fixed- and fluid-width layouts based on that system.{{/i}}</p>
         <div class="subnav">
           <ul class="nav pills">
-            <li><a href="./scaffolding.html#grid-system">{{_i}}Grid system{{/i}}</a></li>
-            <li><a href="./scaffolding.html#layouts">{{_i}}Layouts{{/i}}</a></li>
-            <li><a href="./scaffolding.html#responsive">{{_i}}Responsive design{{/i}}</a></li>
+            <li><a href="#grid-system">{{_i}}Grid system{{/i}}</a></li>
+            <li><a href="#layouts">{{_i}}Layouts{{/i}}</a></li>
+            <li><a href="#responsive">{{_i}}Responsive design{{/i}}</a></li>
           </ul>
         </div>
       </header>
index 7dab4c0000076af4956afb5964775b987ffc22cb..75b8e7327baae820db5f685fa3aa86c8170a5038 100644 (file)
@@ -51,6 +51,9 @@
             <li class="">
               <a href="./less.html">Using LESS</a>
             </li>
+            <li class="">
+              <a href="./download.html">Download</a>
+            </li>
           </ul>
         </div>
       </div>
index e35b23da0201ca4cd0e27ea7ad99d723db325f7d..100b0ab9155a163cf5f21e840cb03c1f3201f403 100644 (file)
@@ -166,14 +166,14 @@ textarea {
 
 input,
 textarea {
-  .box-shadow(inset 0 1px 1px rgba(0,0,0,.1));
+  .box-shadow(inset 0 1px 1px rgba(0,0,0,.075));
   @transition: border linear .2s, box-shadow linear .2s;
   .transition(@transition);
 }
 input:focus,
 textarea:focus {
   border-color: rgba(82,168,236,.8);
-  @shadow: inset 0 1px 1px rgba(0,0,0,.1), 0 0 8px rgba(82,168,236,.6);
+  @shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6);
   .box-shadow(@shadow);
   outline: 0;
 }