* Designed and built with all the love in the world @twitter by @mdo and @fat.
* Date: Tue Sep 6 21:46:15 PDT 2011
* Date: Thu Sep 8 09:31:40 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).
<p>Download, fork, pull, file issues, and more with the official Bootstrap repo on Github.</p>
<p><atarget="_blank"href="https://github.com/twitter/bootstrap"class="btn primary">Bootstrap on GitHub »</a></p>
...
...
@@ -173,19 +173,19 @@
<h1>Grid system <small>Rock the standard 940px or roll your own</small></h1>
</div>
<divclass="row">
<divclass="span4 columns">
<divclass="span4">
<h2>Default grid</h2>
<p>The default grid system provided as part of Bootstrap is a 940px wide 16-column grid. It’s a flavor of the popular 960 grid system, but without the additional margin/padding on the left and right sides.</p>
</div>
<divclass="span12 columns">
<divclass="span12">
<h3>Example grid markup</h3>
<p>As shown here, a basic layout can be created with two "columns," each spanning a number of the 16 foundational columns we defined as part of our grid system. See the examples below for more variations.</p>
<p>The default and simple 940px-wide, centered layout for just about any website or page provided by a single <code><div.container></code>.</p>
<divclass="mini-layout">
...
...
@@ -304,7 +304,7 @@
</body>
</pre>
</div><!-- /col -->
<divclass="span8 columns">
<divclass="span8">
<h2>Fluid layout</h2>
<p>An alternative, flexible fluid page structure with min- and max-widths and a left-hand sidebar. Great for apps and docs.</p>
<divclass="mini-layout fluid">
...
...
@@ -338,13 +338,13 @@
<!-- Headings & Paragraph Copy -->
<divclass="row">
<divclass="span4 columns">
<divclass="span4">
<h2>Headings & copy</h2>
<p>A standard typographic hierarchy for structuring your webpages.</p>
<p>The entire typographic grid is based on two Less variables in our preboot.less file: <code>@basefont</code> and <code>@baseline</code>. The first is the base font-size used throughout and the second is the base line-height.</p>
<p>We use those variables, and some math, to create the margins, paddings, and line-heights of all our type and more.</p>
</div>
<divclass="span4 columns">
<divclass="span4">
<h1>h1. Heading 1</h1>
<h2>h2. Heading 2</h2>
<h3>h3. Heading 3</h3>
...
...
@@ -352,7 +352,7 @@
<h5>h5. Heading 5</h5>
<h6>h6. Heading 6</h6>
</div>
<divclass="span8 columns">
<divclass="span8">
<h3>Example paragraph</h3>
<p>Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
<p>Using emphasis, addresses, & abbreviations</p>
<p>
...
...
@@ -371,7 +371,7 @@
<code><abbr></code>
</p>
</div>
<divclass="span12 columns">
<divclass="span12">
<h4>When to use</h4>
<p>Emphasis tags (<code><strong></code> and <code><em></code>) should be used to indicate additional importance or emphasis of a word or phrase relative to its surrounding copy. Use <code><strong></code> for importance and <code><em></code> for <em>stress</em> emphasis.</p>
<h3>Emphasis in a paragraph</h3>
...
...
@@ -405,7 +405,7 @@
<!-- Blockquotes -->
<divclass="row">
<divclass="span4 columns">
<divclass="span4">
<h2>Blockquotes</h2>
<p>
<code><blockquote></code>
...
...
@@ -413,7 +413,7 @@
<code><small></code>
</p>
</div>
<divclass="span12 columns">
<divclass="span12">
<h4>How to quote</h4>
<p>To include a blockquote, wrap <code><blockquote></code> around <code><p></code> and <code><small></code> tags. Use the <code><small></code> element to cite your source and you'll get an em dash <code>&mdash;</code> before it.</p>
<p>Always wrap your column headers in a <code><thead></code> such that hierarchy is <code><thead></code> > <code><tr></code> > <code><th></code>.</p>
<p>Similar to the column headers, all your table’s body content should be wrapped in a <code><tbody></code> so your hierarchy is <code><tbody></code> > <code><tr></code> > <code><td></code>.</p>
</div>
<divclass="span12 columns">
<divclass="span12">
<h3>Example: Default table styles</h3>
<p>All tables will be automatically styled with only the essential borders to ensure readability and maintain structure. No need to add extra classes or attributes.</p>
<table>
...
...
@@ -648,11 +648,11 @@
<h1>Forms</h1>
</div>
<divclass="row">
<divclass="span4 columns">
<divclass="span4">
<h2>Default styles</h2>
<p>All forms are given default styles to present them in a readable and scalable way. Styles are provided for text inputs, select lists, textareas, radio buttons and checkboxes, and buttons.</p>
</div>
<divclass="span12 columns">
<divclass="span12">
<form>
<fieldset>
<legend>Example form legend</legend>
...
...
@@ -836,11 +836,11 @@
<br/>
<divclass="row">
<divclass="span4 columns">
<divclass="span4">
<h2>Stacked forms</h2>
<p>Add <code>.form-stacked</code> to your form’s HTML and you’ll have labels on top of their fields instead of to their left. This works great if your forms are short or you have two columns of inputs for heavier forms.</p>
</div>
<divclass="span12 columns">
<divclass="span12">
<formaction=""class="form-stacked">
<fieldset>
<legend>Example form legend</legend>
...
...
@@ -903,12 +903,12 @@
</div><!-- /row -->
<divclass="row">
<divclass="span4 columns">
<divclass="span4">
<h2>Buttons</h2>
<p>As a convention, buttons are used for actions while links are used for objects. For instance, "Download" could be a button and "recent activity" could be a link.</p>
<p>All buttons default to a light gray style, but a number of functional classes can be applied for different color styles. These classes include a blue <code>.primary</code> class, a light-blue <code>.info</code> class, a green <code>.success</code> class, and a red <code>.danger</code> class. Plus, rolling your own styles is easy peasy.</p>
</div>
<divclass="span12 columns">
<divclass="span12">
<h3>Example buttons</h3>
<p>Button styles can be applied to anything with the <code>.btn</code> applied. Typically you’ll want to apply these to only <code><a></code>, <code><button></code>, and select <code><input></code> elements. Here’s how it looks:</p>
<divclass="well"style="padding: 14px 19px;">
...
...
@@ -968,7 +968,7 @@
</ul>
</li>
</ul>
<formaction="">
<formclass="pull-left"action="">
<inputtype="text"placeholder="Search"/>
</form>
<ulclass="nav secondary-nav">
...
...
@@ -988,15 +988,15 @@
</div><!-- /topbar-wrapper -->
<divclass="row">
<divclass="span5 columns">
<divclass="span5">
<h4>What is it</h4>
<p>Our topbar is a fixed bar that houses a website’s logo or name, primary navigation, and search form.</p>
</div>
<divclass="span5 columns">
<divclass="span5">
<h4>Customizable</h4>
<p>All elements within, and the entire topbar as well, are optional. You can choose to include a logo/name, nav, search, and a secondary nav—or any combination of that.</p>
</div>
<divclass="span6 columns">
<divclass="span6">
<h4>Dropdowns included</h4>
<p>As part of the main navigation, we’ve included the ability for you to add dropdowns to your nav. Check out the secondary nav above (right aligned) to see how it’s done. Dropdowns <code>li</code> tags also support <code>.active</code> for showing current page selection.</p>
</div>
...
...
@@ -1006,12 +1006,12 @@
<br/>
<divclass="row">
<divclass="span4 columns">
<divclass="span4">
<h2>Tabs and pills</h2>
<p>Create simple secondary navigation with a <code><ul></code>. Swap between tabs or pills by adding the appropriate class.</p>
<p>Great for sub-sections of content like our account settings pages and user timelines for toggling between pages of like content. Available in tabbed or pill styles.</p>
</div>
<divclass="span12 columns">
<divclass="span12">
<ulclass="tabs">
<liclass="active"><ahref="#">Home</a></li>
<li><ahref="#">Profile</a></li>
...
...
@@ -1056,13 +1056,41 @@
</div>
</div><!-- /row -->
<!-- Breadcrumbs -->
<divclass="row">
<divclass="span4">
<h2>Breadcrumbs</h2>
<p>Breadcrumb navigation is used as a way to show users where they are within an app or a site, but not for primary navigation.</p>
<p>Ultra simplistic and minimally styled pagination inspired by Rdio. The large block is hard to miss, easily scalable, and provides large click areas.</p>
<p>For messages that require a bit of explanation, we have paragraph style alerts. These are perfect for bubbling up longer error messages, warning a user of a pending action, or just presenting information for more emphasis on the page.</p>
</div>
<divclass="span12 columns">
<divclass="span12">
<divclass="alert-message block-message warning">
<aclass="close"href="#">×</a>
<p><strong>Holy guacamole! This is a warning!</strong> Best check yo self, you’re not looking too good. Nulla vitae elit libero, a pharetra augue. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.</p>
...
...
@@ -1209,11 +1237,11 @@
<h1>Popovers <small>Components for displaying content in modals, tooltips, and popovers</small></h1>
</div>
<divclass="row">
<divclass="span4 columns">
<divclass="span4">
<h2>Modals</h2>
<p>Modals—dialogs or lightboxes—are great for contextual actions in situations where it’s important that the background context be maintained.</p>
<p>Twipsies are super useful for aiding a confused user and pointing them in the right direction.</p>
</div>
<divclass="span12 columns">
<divclass="span12">
<divclass="twipsies well">
<divstyle="position: relative">
<pclass="muted"style="margin-bottom: 0">
...
...
@@ -1268,11 +1296,11 @@ Lorem ipsum dolar sit amet illo error <a href="#" title="below">ipsum</a> verita
<!-- Popovers -->
<divclass="row">
<divclass="span4 columns">
<divclass="span4">
<h2>Popovers</h2>
<p>Use popovers to provide subtextual information to a page without affecting layout.</p>
</div>
<divclass="span12 columns">
<divclass="span12">
<divclass="well popover-well">
<divclass="popover-wrapper">
<divclass="popover left">
...
...
@@ -1300,10 +1328,10 @@ Lorem ipsum dolar sit amet illo error <a href="#" title="below">ipsum</a> verita
<h1>Using Javascript with Bootstrap <small>An index of plugins to get you started</small></h1>
</div>
<divclass="row">
<divclass="span4 columns">
<divclass="span4">
<p>Integrating javascript with the Bootstrap library is super easy. Below we go over the basics and provide you with some awesome plugins to get you started!</p>
</div>
<divclass="span12 columns">
<divclass="span12">
<h2>Getting started</h2>
<p>We've set out to make your interactive work with Bootstrap even more simple, offering several lightweight plugins for things like modals, tooltips, and other dynamic components. These plugins have been coded up to work with either <ahref="http://jquery.com/"target="_blank">jQuery</a> or <ahref="http://ender.no.de"target="_blank">Ender</a>, but we encourage you to extend and modify them to fit your development needs!</p>
<h2>Do I need javascript?</h2>
...
...
@@ -1332,11 +1360,11 @@ Lorem ipsum dolar sit amet illo error <a href="#" title="below">ipsum</a> verita
<h1>Using Bootstrap with Less <small>Supercharge your CSS with variables, mixins, and functions</small></h1>
</div>
<divclass="row">
<divclass="span4 columns">
<divclass="span4">
<p>Bootstrap was built with <ahref="http://markdotto.com/bootstrap/">Preboot</a>, an open-source pack of mixins and variables to be used in conjunction with <ahref="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>
<divclass="span12 columns">
<divclass="span12">
<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>