mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
what up breadcrumbs, we added you
This commit is contained in:
parent
f6d20a8939
commit
1af96b9a58
5 changed files with 183 additions and 78 deletions
37
bootstrap-1.2.0.css
vendored
37
bootstrap-1.2.0.css
vendored
|
@ -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 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).
|
||||
|
@ -1227,6 +1227,9 @@ table .headerSortUp.purple, table .headerSortDown.purple {
|
|||
-moz-opacity: 1;
|
||||
opacity: 1;
|
||||
}
|
||||
.topbar form.pull-right {
|
||||
float: right;
|
||||
}
|
||||
.topbar input {
|
||||
background-color: #444;
|
||||
background-color: rgba(255, 255, 255, 0.3);
|
||||
|
@ -1591,6 +1594,38 @@ a.menu:after, .dropdown-toggle:after {
|
|||
color: #fff;
|
||||
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
.breadcrumb {
|
||||
margin: 0 0 18px;
|
||||
padding: 7px 14px;
|
||||
background-color: #f5f5f5;
|
||||
background-repeat: repeat-x;
|
||||
background-image: -khtml-gradient(linear, left top, left bottom, from(#ffffff), to(#f5f5f5));
|
||||
background-image: -moz-linear-gradient(top, #ffffff, #f5f5f5);
|
||||
background-image: -ms-linear-gradient(top, #ffffff, #f5f5f5);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(100%, #f5f5f5));
|
||||
background-image: -webkit-linear-gradient(top, #ffffff, #f5f5f5);
|
||||
background-image: -o-linear-gradient(top, #ffffff, #f5f5f5);
|
||||
background-image: linear-gradient(top, #ffffff, #f5f5f5);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f5f5f5', GradientType=0);
|
||||
border: 1px solid #ddd;
|
||||
-webkit-border-radius: 3px;
|
||||
-moz-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
-webkit-box-shadow: inset 0 1px 0 #ffffff;
|
||||
-moz-box-shadow: inset 0 1px 0 #ffffff;
|
||||
box-shadow: inset 0 1px 0 #ffffff;
|
||||
}
|
||||
.breadcrumb li {
|
||||
display: inline;
|
||||
text-shadow: 0 1px 0 #fff;
|
||||
}
|
||||
.breadcrumb .divider {
|
||||
padding: 0 5px;
|
||||
color: #bfbfbf;
|
||||
}
|
||||
.breadcrumb .active a {
|
||||
color: #404040;
|
||||
}
|
||||
.hero-unit {
|
||||
background-color: #f5f5f5;
|
||||
margin-bottom: 30px;
|
||||
|
|
4
bootstrap-1.2.0.min.css
vendored
4
bootstrap-1.2.0.min.css
vendored
|
@ -193,6 +193,7 @@ table .headerSortUp.purple,table .headerSortDown.purple{background-color:#e2d5f0
|
|||
.topbar h3{position:relative;}.topbar h3 a{float:left;display:block;padding:8px 20px 12px;margin-left:-20px;color:#ffffff;font-size:20px;font-weight:200;line-height:1;}
|
||||
.topbar p{margin:0;line-height:40px;}.topbar p a:hover{background-color:transparent;}
|
||||
.topbar form{float:left;margin:5px 0 0 0;position:relative;filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1;}
|
||||
.topbar form.pull-right{float:right;}
|
||||
.topbar input{background-color:#444;background-color:rgba(255, 255, 255, 0.3);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:normal;font-weight:13px;line-height:1;padding:4px 9px;color:#fff;color:rgba(255, 255, 255, 0.75);border:1px solid #111;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1),0 1px 0px rgba(255, 255, 255, 0.25);-moz-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1),0 1px 0px rgba(255, 255, 255, 0.25);box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1),0 1px 0px rgba(255, 255, 255, 0.25);-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none;}.topbar input:-moz-placeholder{color:#e6e6e6;}
|
||||
.topbar input::-webkit-input-placeholder{color:#e6e6e6;}
|
||||
.topbar input:hover{background-color:#bfbfbf;background-color:rgba(255, 255, 255, 0.5);color:#fff;}
|
||||
|
@ -226,6 +227,9 @@ a.menu:after,.dropdown-toggle:after{width:0;height:0;display:inline-block;conten
|
|||
.tabs li.open a.menu:after,.tabs .dropdown.open .dropdown-toggle:after{border-top-color:#555;}
|
||||
.pills a{margin:5px 3px 5px 0;padding:0 15px;text-shadow:0 1px 1px #fff;line-height:30px;-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px;}.pills a:hover{background:#0050a3;color:#fff;text-decoration:none;text-shadow:0 1px 1px rgba(0, 0, 0, 0.25);}
|
||||
.pills .active a{background:#0069d6;color:#fff;text-shadow:0 1px 1px rgba(0, 0, 0, 0.25);}
|
||||
.breadcrumb{margin:0 0 18px;padding:7px 14px;background-color:#f5f5f5;background-repeat:repeat-x;background-image:-khtml-gradient(linear, left top, left bottom, from(#ffffff), to(#f5f5f5));background-image:-moz-linear-gradient(top, #ffffff, #f5f5f5);background-image:-ms-linear-gradient(top, #ffffff, #f5f5f5);background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(100%, #f5f5f5));background-image:-webkit-linear-gradient(top, #ffffff, #f5f5f5);background-image:-o-linear-gradient(top, #ffffff, #f5f5f5);background-image:linear-gradient(top, #ffffff, #f5f5f5);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f5f5f5', GradientType=0);border:1px solid #ddd;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:inset 0 1px 0 #ffffff;-moz-box-shadow:inset 0 1px 0 #ffffff;box-shadow:inset 0 1px 0 #ffffff;}.breadcrumb li{display:inline;text-shadow:0 1px 0 #fff;}
|
||||
.breadcrumb .divider{padding:0 5px;color:#bfbfbf;}
|
||||
.breadcrumb .active a{color:#404040;}
|
||||
.hero-unit{background-color:#f5f5f5;margin-bottom:30px;padding:60px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;}.hero-unit h1{margin-bottom:0;font-size:60px;line-height:1;letter-spacing:-1px;}
|
||||
.hero-unit p{font-size:18px;font-weight:200;line-height:27px;}
|
||||
footer{margin-top:17px;padding-top:17px;border-top:1px solid #eee;}
|
||||
|
|
180
docs/index.html
180
docs/index.html
|
@ -75,14 +75,14 @@
|
|||
<div class="quickstart">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="span5 columns">
|
||||
<div class="span5">
|
||||
<h6>Hotlink the CSS</h6>
|
||||
<p>For the quickest and easiest start, just copy this snippet into your webpage.</p>
|
||||
<form>
|
||||
<textarea class="copy-code" rows="1"><link rel="stylesheet" href="http://twitter.github.com/bootstrap/assets/css/bootstrap-1.2.0.min.css"></textarea>
|
||||
</form>
|
||||
</div>
|
||||
<div class="span5 columns">
|
||||
<div class="span5">
|
||||
<h6>Use it with Less</h6>
|
||||
<p>A fan of using Less? No problem, just clone the repo and add these lines:</p>
|
||||
<form>
|
||||
|
@ -90,7 +90,7 @@
|
|||
<script src="/path/to/less.js"></script></textarea>
|
||||
</form>
|
||||
</div>
|
||||
<div class="span5 columns">
|
||||
<div class="span5">
|
||||
<h6>Fork on GitHub</h6>
|
||||
<p>Download, fork, pull, file issues, and more with the official Bootstrap repo on Github.</p>
|
||||
<p><a target="_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>
|
||||
<div class="row">
|
||||
<div class="span4 columns">
|
||||
<div class="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>
|
||||
<div class="span12 columns">
|
||||
<div class="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>
|
||||
<pre class="prettyprint linenums">
|
||||
<div class="row">
|
||||
<div class="span6 columns">
|
||||
<div class="span6">
|
||||
...
|
||||
</div>
|
||||
<div class="span10 columns">
|
||||
<div class="span10">
|
||||
...
|
||||
</div>
|
||||
</div>
|
||||
|
@ -211,28 +211,28 @@
|
|||
<div class="span1 column">1</div>
|
||||
</div><!-- /row -->
|
||||
<div class="row show-grid" title="8 column layout">
|
||||
<div class="span2 columns">2</div>
|
||||
<div class="span2 columns">2</div>
|
||||
<div class="span2 columns">2</div>
|
||||
<div class="span2 columns">2</div>
|
||||
<div class="span2 columns">2</div>
|
||||
<div class="span2 columns">2</div>
|
||||
<div class="span2 columns">2</div>
|
||||
<div class="span2 columns">2</div>
|
||||
<div class="span2">2</div>
|
||||
<div class="span2">2</div>
|
||||
<div class="span2">2</div>
|
||||
<div class="span2">2</div>
|
||||
<div class="span2">2</div>
|
||||
<div class="span2">2</div>
|
||||
<div class="span2">2</div>
|
||||
<div class="span2">2</div>
|
||||
</div><!-- /row -->
|
||||
<div class="row show-grid" title="Example uncommon layout">
|
||||
<div class="span3 columns">3</div>
|
||||
<div class="span3 columns">3</div>
|
||||
<div class="span3 columns">3</div>
|
||||
<div class="span3 columns">3</div>
|
||||
<div class="span3 columns">3</div>
|
||||
<div class="span3">3</div>
|
||||
<div class="span3">3</div>
|
||||
<div class="span3">3</div>
|
||||
<div class="span3">3</div>
|
||||
<div class="span3">3</div>
|
||||
<div class="span1 column">1</div>
|
||||
</div><!-- /row -->
|
||||
<div class="row show-grid" title="Four column layout">
|
||||
<div class="span4 columns">4</div>
|
||||
<div class="span4 columns">4</div>
|
||||
<div class="span4 columns">4</div>
|
||||
<div class="span4 columns">4</div>
|
||||
<div class="span4">4</div>
|
||||
<div class="span4">4</div>
|
||||
<div class="span4">4</div>
|
||||
<div class="span4">4</div>
|
||||
</div><!-- /row -->
|
||||
<div class="row show-grid" title="Default three column layout">
|
||||
<div class="span-one-third column">1/3</div>
|
||||
|
@ -244,24 +244,24 @@
|
|||
<div class="span-two-thirds column">2/3</div>
|
||||
</div><!-- /row -->
|
||||
<div class="row show-grid" title="Irregular three column layout">
|
||||
<div class="span4 columns">4</div>
|
||||
<div class="span6 columns">6</div>
|
||||
<div class="span6 columns">6</div>
|
||||
<div class="span4">4</div>
|
||||
<div class="span6">6</div>
|
||||
<div class="span6">6</div>
|
||||
</div><!-- /row -->
|
||||
<div class="row show-grid" title="Half and half">
|
||||
<div class="span8 columns">8</div>
|
||||
<div class="span8 columns">8</div>
|
||||
<div class="span8">8</div>
|
||||
<div class="span8">8</div>
|
||||
</div><!-- /row -->
|
||||
<div class="row show-grid" title="Example uncommon two-column layout">
|
||||
<div class="span5 columns">5</div>
|
||||
<div class="span11 columns">11</div>
|
||||
<div class="span5">5</div>
|
||||
<div class="span11">11</div>
|
||||
</div><!-- /row -->
|
||||
<div class="row show-grid" title="Unnecessary single column layout">
|
||||
<div class="span16 columns">16</div>
|
||||
<div class="span16">16</div>
|
||||
</div><!-- /row -->
|
||||
<h4>Offsetting columns</h4>
|
||||
<div class="row show-grid">
|
||||
<div class="span4 columns">4</div>
|
||||
<div class="span4">4</div>
|
||||
<div class="span8 columns offset4">8 offset 4</div>
|
||||
</div><!-- /row -->
|
||||
<div class="row show-grid">
|
||||
|
@ -290,7 +290,7 @@
|
|||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="span8 columns">
|
||||
<div class="span8">
|
||||
<h2>Fixed layout</h2>
|
||||
<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>
|
||||
<div class="mini-layout">
|
||||
|
@ -304,7 +304,7 @@
|
|||
</body>
|
||||
</pre>
|
||||
</div><!-- /col -->
|
||||
<div class="span8 columns">
|
||||
<div class="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>
|
||||
<div class="mini-layout fluid">
|
||||
|
@ -338,13 +338,13 @@
|
|||
|
||||
<!-- Headings & Paragraph Copy -->
|
||||
<div class="row">
|
||||
<div class="span4 columns">
|
||||
<div class="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>
|
||||
<div class="span4 columns">
|
||||
<div class="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>
|
||||
<div class="span8 columns">
|
||||
<div class="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>
|
||||
<h1>Example heading <small>Has sub-heading…</small></h1>
|
||||
|
@ -361,7 +361,7 @@
|
|||
|
||||
<!-- Misc Elements -->
|
||||
<div class="row">
|
||||
<div class="span4 columns">
|
||||
<div class="span4">
|
||||
<h2>Misc. elements</h2>
|
||||
<p>Using emphasis, addresses, & abbreviations</p>
|
||||
<p>
|
||||
|
@ -371,7 +371,7 @@
|
|||
<code><abbr></code>
|
||||
</p>
|
||||
</div>
|
||||
<div class="span12 columns">
|
||||
<div class="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 -->
|
||||
<div class="row">
|
||||
<div class="span4 columns">
|
||||
<div class="span4">
|
||||
<h2>Blockquotes</h2>
|
||||
<p>
|
||||
<code><blockquote></code>
|
||||
|
@ -413,7 +413,7 @@
|
|||
<code><small></code>
|
||||
</p>
|
||||
</div>
|
||||
<div class="span12 columns">
|
||||
<div class="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>
|
||||
<blockquote>
|
||||
|
@ -425,7 +425,7 @@
|
|||
|
||||
<h2>Lists</h2>
|
||||
<div class="row">
|
||||
<div class="span4 columns">
|
||||
<div class="span4">
|
||||
<h4>Unordered <code><ul></code></h4>
|
||||
<ul>
|
||||
<li>Lorem ipsum dolor sit amet</li>
|
||||
|
@ -445,7 +445,7 @@
|
|||
<li>Eget porttitor lorem</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="span4 columns">
|
||||
<div class="span4">
|
||||
<h4>Unstyled <code><ul.unstyled></code></h4>
|
||||
<ul class="unstyled">
|
||||
<li>Lorem ipsum dolor sit amet</li>
|
||||
|
@ -465,7 +465,7 @@
|
|||
<li>Eget porttitor lorem</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="span4 columns">
|
||||
<div class="span4">
|
||||
<h4>Ordered <code><ol></code></h4>
|
||||
<ol>
|
||||
<li>Lorem ipsum dolor sit amet</li>
|
||||
|
@ -478,7 +478,7 @@
|
|||
<li>Eget porttitor lorem</li>
|
||||
</ol>
|
||||
</div>
|
||||
<div class="span4 columns">
|
||||
<div class="span4">
|
||||
<h4>Description <code>dl</code></h4>
|
||||
<dl>
|
||||
<dt>Description lists</dt>
|
||||
|
@ -503,7 +503,7 @@
|
|||
</div>
|
||||
<!-- Table structure -->
|
||||
<div class="row">
|
||||
<div class="span4 columns">
|
||||
<div class="span4">
|
||||
<h2>Building tables</h2>
|
||||
<p>
|
||||
<code><table></code>
|
||||
|
@ -519,7 +519,7 @@
|
|||
<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>
|
||||
<div class="span12 columns">
|
||||
<div class="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>
|
||||
<div class="row">
|
||||
<div class="span4 columns">
|
||||
<div class="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>
|
||||
<div class="span12 columns">
|
||||
<div class="span12">
|
||||
<form>
|
||||
<fieldset>
|
||||
<legend>Example form legend</legend>
|
||||
|
@ -836,11 +836,11 @@
|
|||
<br />
|
||||
|
||||
<div class="row">
|
||||
<div class="span4 columns">
|
||||
<div class="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>
|
||||
<div class="span12 columns">
|
||||
<div class="span12">
|
||||
<form action="" class="form-stacked">
|
||||
<fieldset>
|
||||
<legend>Example form legend</legend>
|
||||
|
@ -903,12 +903,12 @@
|
|||
</div><!-- /row -->
|
||||
|
||||
<div class="row">
|
||||
<div class="span4 columns">
|
||||
<div class="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>
|
||||
<div class="span12 columns">
|
||||
<div class="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>
|
||||
<div class="well" style="padding: 14px 19px;">
|
||||
|
@ -968,7 +968,7 @@
|
|||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<form action="">
|
||||
<form class="pull-left" action="">
|
||||
<input type="text" placeholder="Search" />
|
||||
</form>
|
||||
<ul class="nav secondary-nav">
|
||||
|
@ -988,15 +988,15 @@
|
|||
</div><!-- /topbar-wrapper -->
|
||||
|
||||
<div class="row">
|
||||
<div class="span5 columns">
|
||||
<div class="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>
|
||||
<div class="span5 columns">
|
||||
<div class="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>
|
||||
<div class="span6 columns">
|
||||
<div class="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 />
|
||||
|
||||
<div class="row">
|
||||
<div class="span4 columns">
|
||||
<div class="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>
|
||||
<div class="span12 columns">
|
||||
<div class="span12">
|
||||
<ul class="tabs">
|
||||
<li class="active"><a href="#">Home</a></li>
|
||||
<li><a href="#">Profile</a></li>
|
||||
|
@ -1056,13 +1056,41 @@
|
|||
</div>
|
||||
</div><!-- /row -->
|
||||
|
||||
<!-- Breadcrumbs -->
|
||||
<div class="row">
|
||||
<div class="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>
|
||||
</div>
|
||||
<div class="span12">
|
||||
<ul class="breadcrumb">
|
||||
<li class="active">Home</li>
|
||||
</ul>
|
||||
<ul class="breadcrumb">
|
||||
<li><a href="#">Home</a> <span class="divider">/</span></li>
|
||||
<li class="active">Middle page</li>
|
||||
</ul>
|
||||
<ul class="breadcrumb">
|
||||
<li><a href="#">Home</a> <span class="divider">/</span></li>
|
||||
<li><a href="#">Middle page</a> <span class="divider">/</span></li>
|
||||
<li class="active">Another one</li>
|
||||
</ul>
|
||||
<ul class="breadcrumb">
|
||||
<li><a href="#">Home</a> <span class="divider">/</span></li>
|
||||
<li><a href="#">Middle page</a> <span class="divider">/</span></li>
|
||||
<li><a href="#">Another one</a> <span class="divider">/</span></li>
|
||||
<li class="active">You are here</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Pagination -->
|
||||
<div class="row">
|
||||
<div class="span4 columns">
|
||||
<div class="span4">
|
||||
<h2>Pagination</h2>
|
||||
<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>
|
||||
</div>
|
||||
<div class="span12 columns">
|
||||
<div class="span12">
|
||||
<div class="pagination">
|
||||
<ul>
|
||||
<li class="prev disabled"><a href="#">← Previous</a></li>
|
||||
|
@ -1132,12 +1160,12 @@
|
|||
</div>
|
||||
<!-- Basic alert messages -->
|
||||
<div class="row">
|
||||
<div class="span4 columns">
|
||||
<div class="span4">
|
||||
<h2>Basic alerts</h2>
|
||||
<p><code>div.alert-message</code></p>
|
||||
<p>One-line messages for highlighting the failure, possible failure, or success of an action. Particularly useful for forms.</p>
|
||||
</div>
|
||||
<div class="span12 columns">
|
||||
<div class="span12">
|
||||
<div class="alert-message warning">
|
||||
<a class="close" href="#">×</a>
|
||||
<p><strong>Holy guacamole!</strong> Best check yo self, you’re not looking too good.</p>
|
||||
|
@ -1158,12 +1186,12 @@
|
|||
</div><!-- /row -->
|
||||
<!-- Block messages -->
|
||||
<div class="row">
|
||||
<div class="span4 columns">
|
||||
<div class="span4">
|
||||
<h2>Block messages</h2>
|
||||
<p><code>div.alert-message.block-message</code></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>
|
||||
<div class="span12 columns">
|
||||
<div class="span12">
|
||||
<div class="alert-message block-message warning">
|
||||
<a class="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>
|
||||
<div class="row">
|
||||
<div class="span4 columns">
|
||||
<div class="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>
|
||||
</div>
|
||||
<div class="span12 columns">
|
||||
<div class="span12">
|
||||
<div class="well" style="background-color: #888; border: none; padding: 40px;">
|
||||
<!-- Modal -->
|
||||
<div class="modal" style="position: relative; top: auto; left: auto; margin: 0 auto; z-index: 1">
|
||||
|
@ -1235,11 +1263,11 @@
|
|||
|
||||
<!-- Tooltips -->
|
||||
<div class="row">
|
||||
<div class="span4 columns">
|
||||
<div class="span4">
|
||||
<h2>Tool Tips</h2>
|
||||
<p>Twipsies are super useful for aiding a confused user and pointing them in the right direction.</p>
|
||||
</div>
|
||||
<div class="span12 columns">
|
||||
<div class="span12">
|
||||
<div class="twipsies well">
|
||||
<div style="position: relative">
|
||||
<p class="muted" style="margin-bottom: 0">
|
||||
|
@ -1268,11 +1296,11 @@ Lorem ipsum dolar sit amet illo error <a href="#" title="below">ipsum</a> verita
|
|||
|
||||
<!-- Popovers -->
|
||||
<div class="row">
|
||||
<div class="span4 columns">
|
||||
<div class="span4">
|
||||
<h2>Popovers</h2>
|
||||
<p>Use popovers to provide subtextual information to a page without affecting layout.</p>
|
||||
</div>
|
||||
<div class="span12 columns">
|
||||
<div class="span12">
|
||||
<div class="well popover-well">
|
||||
<div class="popover-wrapper">
|
||||
<div class="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>
|
||||
<div class="row">
|
||||
<div class="span4 columns">
|
||||
<div class="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>
|
||||
<div class="span12 columns">
|
||||
<div class="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 <a href="http://jquery.com/" target="_blank">jQuery</a> or <a href="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>
|
||||
<div class="row">
|
||||
<div class="span4 columns">
|
||||
<div class="span4">
|
||||
<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="span12 columns">
|
||||
<div class="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>
|
||||
<pre class="prettyprint linenums">
|
||||
|
|
|
@ -60,6 +60,10 @@
|
|||
border-left: 1px solid #eee;
|
||||
}
|
||||
|
||||
.topbar .btn {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<!-- Le fav and touch icons -->
|
||||
|
@ -80,7 +84,11 @@
|
|||
<li><a href="#about">About</a></li>
|
||||
<li><a href="#contact">Contact</a></li>
|
||||
</ul>
|
||||
<p class="pull-right">Logged in as <a href="#">username</a></p>
|
||||
<form action="" class="pull-right">
|
||||
<input class="input-small" type="text" placeholder="Username">
|
||||
<input class="input-small" type="password" placeholder="Password">
|
||||
<button class="btn" type="submit">Sign in</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -62,6 +62,10 @@
|
|||
position: relative;
|
||||
.opacity(100);
|
||||
}
|
||||
// Todo: remove from v2.0 when ready, added for legacy
|
||||
form.pull-right {
|
||||
float: right;
|
||||
}
|
||||
input {
|
||||
background-color: #444;
|
||||
background-color: rgba(255,255,255,.3);
|
||||
|
@ -398,6 +402,32 @@ a.menu:after,
|
|||
}
|
||||
|
||||
|
||||
// BREADCRUMBS
|
||||
// -----------
|
||||
|
||||
.breadcrumb {
|
||||
margin: 0 0 @baseline;
|
||||
padding: 7px 14px;
|
||||
#gradient > .vertical(#ffffff, #f5f5f5);
|
||||
border: 1px solid #ddd;
|
||||
.border-radius(3px);
|
||||
.box-shadow(inset 0 1px 0 #fff);
|
||||
li {
|
||||
display: inline;
|
||||
text-shadow: 0 1px 0 #fff;
|
||||
}
|
||||
.divider {
|
||||
padding: 0 5px;
|
||||
color: @grayLight;
|
||||
}
|
||||
a {
|
||||
}
|
||||
.active a {
|
||||
color: @grayDark;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// PAGE HEADERS
|
||||
// ------------
|
||||
|
||||
|
|
Loading…
Reference in a new issue