Merge branch '3.0.0-wip' of github.com:twitter/bootstrap into 3.0.0-wip
@ -48,13 +48,13 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Quick back to top -->
|
|
||||||
<a href="#" class="bs-top">
|
|
||||||
Back to top
|
|
||||||
</a>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!-- Quick back to top -->
|
||||||
|
<a href="#" class="bs-top">
|
||||||
|
Back to top
|
||||||
|
</a>
|
||||||
|
|
||||||
<!-- Footer
|
<!-- Footer
|
||||||
================================================== -->
|
================================================== -->
|
||||||
<footer class="bs-footer">
|
<footer class="bs-footer">
|
||||||
|
@ -15,15 +15,15 @@ body {
|
|||||||
|
|
||||||
/* Custom docs button */
|
/* Custom docs button */
|
||||||
.btn-bs {
|
.btn-bs {
|
||||||
color: #b94a48;
|
color: #563d7c;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
border-color: #e5e5e5;
|
border-color: #e5e5e5;
|
||||||
}
|
}
|
||||||
.btn-bs:hover,
|
.btn-bs:hover,
|
||||||
.btn-bs:active {
|
.btn-bs:active {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
background-color: #b94a48;
|
background-color: #563d7c;
|
||||||
border-color: #b94a48;
|
border-color: #563d7c;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Temp CSS until RC2 */
|
/* Temp CSS until RC2 */
|
||||||
@ -39,13 +39,13 @@ body {
|
|||||||
-------------------------------------------------- */
|
-------------------------------------------------- */
|
||||||
|
|
||||||
.bs-docs-nav {
|
.bs-docs-nav {
|
||||||
background-color: #b94a48;
|
background-color: #563d7c;
|
||||||
}
|
}
|
||||||
.bs-docs-nav .navbar-brand {
|
.bs-docs-nav .navbar-brand {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
.bs-docs-nav .navbar-nav > li > a {
|
.bs-docs-nav .navbar-nav > li > a {
|
||||||
color: #e6cac8;
|
color: #cdbfe3;
|
||||||
}
|
}
|
||||||
.bs-docs-nav .navbar-nav > li > a:hover {
|
.bs-docs-nav .navbar-nav > li > a:hover {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
@ -53,14 +53,14 @@ body {
|
|||||||
.bs-docs-nav .navbar-nav > .active > a,
|
.bs-docs-nav .navbar-nav > .active > a,
|
||||||
.bs-docs-nav .navbar-nav > .active > a:hover {
|
.bs-docs-nav .navbar-nav > .active > a:hover {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
background-color: #993c3a;
|
background-color: #463265;
|
||||||
}
|
}
|
||||||
.bs-docs-nav .navbar-toggle {
|
.bs-docs-nav .navbar-toggle {
|
||||||
border-color: #b94a48;
|
border-color: #563d7c;
|
||||||
}
|
}
|
||||||
.bs-docs-nav .navbar-toggle:hover {
|
.bs-docs-nav .navbar-toggle:hover {
|
||||||
background-color: #993c3a;
|
background-color: #463265;
|
||||||
border-color: #993c3a;
|
border-color: #463265;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Old docs callout */
|
/* Old docs callout */
|
||||||
@ -152,7 +152,7 @@ body {
|
|||||||
border-bottom: 1px solid #e5e5e5;
|
border-bottom: 1px solid #e5e5e5;
|
||||||
}
|
}
|
||||||
.bs-header h1 {
|
.bs-header h1 {
|
||||||
color: #b94a48;
|
color: #563d7c;
|
||||||
}
|
}
|
||||||
.bs-header p {
|
.bs-header p {
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
@ -239,9 +239,9 @@ body {
|
|||||||
.bs-sidebar .nav > .active:hover > a,
|
.bs-sidebar .nav > .active:hover > a,
|
||||||
.bs-sidebar .nav > .active:focus > a {
|
.bs-sidebar .nav > .active:focus > a {
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
color: #b94a48;
|
color: #563d7c;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border-right: 1px solid #b94a48;
|
border-right: 1px solid #563d7c;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Nav: second level (shown on .active) */
|
/* Nav: second level (shown on .active) */
|
||||||
@ -308,9 +308,8 @@ body {
|
|||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
background-color: #eee;
|
background-color: #eee;
|
||||||
border: 1px solid #ddd;
|
border: 1px solid #ddd;
|
||||||
/* Todo: reconcile these */
|
background-color: rgba(86,61,124,.15);
|
||||||
background-color: rgba(185,74,72,.15);
|
border: 1px solid rgba(86,61,124,.2);
|
||||||
border: 1px solid rgba(185,74,72,.2);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 5.5 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 722 B After Width: | Height: | Size: 1.9 KiB |
@ -9,7 +9,7 @@
|
|||||||
var $window = $(window)
|
var $window = $(window)
|
||||||
|
|
||||||
// Disable certain links in docs
|
// Disable certain links in docs
|
||||||
$('[href=#]').click(function (e) {
|
$('.bs-docs-container [href=#]').click(function (e) {
|
||||||
e.preventDefault()
|
e.preventDefault()
|
||||||
})
|
})
|
||||||
|
|
||||||
|
4
css.html
@ -539,15 +539,19 @@ lead: "Global CSS settings, fundamental HTML elements styled and enhanced with e
|
|||||||
<p>Convey meaning through color with a handful of emphasis utility classes.</p>
|
<p>Convey meaning through color with a handful of emphasis utility classes.</p>
|
||||||
<div class="bs-example">
|
<div class="bs-example">
|
||||||
<p class="text-muted">Fusce dapibus, tellus ac cursus commodo, tortor mauris nibh.</p>
|
<p class="text-muted">Fusce dapibus, tellus ac cursus commodo, tortor mauris nibh.</p>
|
||||||
|
<p class="text-primary">Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
|
||||||
<p class="text-warning">Etiam porta sem malesuada magna mollis euismod.</p>
|
<p class="text-warning">Etiam porta sem malesuada magna mollis euismod.</p>
|
||||||
<p class="text-danger">Donec ullamcorper nulla non metus auctor fringilla.</p>
|
<p class="text-danger">Donec ullamcorper nulla non metus auctor fringilla.</p>
|
||||||
<p class="text-success">Duis mollis, est non commodo luctus, nisi erat porttitor ligula.</p>
|
<p class="text-success">Duis mollis, est non commodo luctus, nisi erat porttitor ligula.</p>
|
||||||
|
<p class="text-info">Maecenas sed diam eget risus varius blandit sit amet non magna.</p>
|
||||||
</div>
|
</div>
|
||||||
{% highlight html %}
|
{% highlight html %}
|
||||||
<p class="text-muted">...</p>
|
<p class="text-muted">...</p>
|
||||||
|
<p class="text-primary">...</p>
|
||||||
<p class="text-warning">...</p>
|
<p class="text-warning">...</p>
|
||||||
<p class="text-danger">...</p>
|
<p class="text-danger">...</p>
|
||||||
<p class="text-success">...</p>
|
<p class="text-success">...</p>
|
||||||
|
<p class="text-info">...</p>
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
|
|
||||||
|
20
dist/css/bootstrap.css
vendored
@ -379,36 +379,24 @@ cite {
|
|||||||
color: #999999;
|
color: #999999;
|
||||||
}
|
}
|
||||||
|
|
||||||
a.text-muted:hover,
|
.text-primary {
|
||||||
a.text-muted:focus {
|
color: #428bca;
|
||||||
color: #808080;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.text-warning {
|
.text-warning {
|
||||||
color: #c09853;
|
color: #c09853;
|
||||||
}
|
}
|
||||||
|
|
||||||
a.text-warning:hover,
|
|
||||||
a.text-warning:focus {
|
|
||||||
color: #a47e3c;
|
|
||||||
}
|
|
||||||
|
|
||||||
.text-danger {
|
.text-danger {
|
||||||
color: #b94a48;
|
color: #b94a48;
|
||||||
}
|
}
|
||||||
|
|
||||||
a.text-danger:hover,
|
|
||||||
a.text-danger:focus {
|
|
||||||
color: #953b39;
|
|
||||||
}
|
|
||||||
|
|
||||||
.text-success {
|
.text-success {
|
||||||
color: #468847;
|
color: #468847;
|
||||||
}
|
}
|
||||||
|
|
||||||
a.text-success:hover,
|
.text-info {
|
||||||
a.text-success:focus {
|
color: #3a87ad;
|
||||||
color: #356635;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.text-left {
|
.text-left {
|
||||||
|
2
dist/css/bootstrap.min.css
vendored
@ -23,25 +23,18 @@ p {
|
|||||||
// Ex: 14px base font * 85% = about 12px
|
// Ex: 14px base font * 85% = about 12px
|
||||||
small { font-size: 85%; }
|
small { font-size: 85%; }
|
||||||
|
|
||||||
|
// Undo browser default styling
|
||||||
cite { font-style: normal; }
|
cite { font-style: normal; }
|
||||||
|
|
||||||
// Utility classes
|
// Contextual emphasis
|
||||||
.text-muted { color: @gray-light; }
|
.text-muted { color: @gray-light; }
|
||||||
a.text-muted:hover,
|
.text-primary { color: @brand-primary; }
|
||||||
a.text-muted:focus { color: darken(@gray-light, 10%); }
|
|
||||||
|
|
||||||
.text-warning { color: @state-warning-text; }
|
.text-warning { color: @state-warning-text; }
|
||||||
a.text-warning:hover,
|
|
||||||
a.text-warning:focus { color: darken(@state-warning-text, 10%); }
|
|
||||||
|
|
||||||
.text-danger { color: @state-danger-text; }
|
.text-danger { color: @state-danger-text; }
|
||||||
a.text-danger:hover,
|
|
||||||
a.text-danger:focus { color: darken(@state-danger-text, 10%); }
|
|
||||||
|
|
||||||
.text-success { color: @state-success-text; }
|
.text-success { color: @state-success-text; }
|
||||||
a.text-success:hover,
|
.text-info { color: @state-info-text; }
|
||||||
a.text-success:focus { color: darken(@state-success-text, 10%); }
|
|
||||||
|
|
||||||
|
// Alignment
|
||||||
.text-left { text-align: left; }
|
.text-left { text-align: left; }
|
||||||
.text-right { text-align: right; }
|
.text-right { text-align: right; }
|
||||||
.text-center { text-align: center; }
|
.text-center { text-align: center; }
|
||||||
|