Commit e148923f authored by Mark Otto's avatar Mark Otto
Browse files

Merge branch 'master' of github.com:twbs/bootstrap

Conflicts:
	dist/css/bootstrap.min.css
parents ef636bd6 22d308b2
Showing with 79 additions and 39 deletions
+79 -39
...@@ -63,7 +63,8 @@ module.exports = function(grunt) { ...@@ -63,7 +63,8 @@ module.exports = function(grunt) {
uglify: { uglify: {
options: { options: {
banner: '<%= banner %>' banner: '<%= banner %>',
report: 'min'
}, },
bootstrap: { bootstrap: {
src: ['<%= concat.bootstrap.dest %>'], src: ['<%= concat.bootstrap.dest %>'],
...@@ -217,4 +218,4 @@ module.exports = function(grunt) { ...@@ -217,4 +218,4 @@ module.exports = function(grunt) {
var files = getFiles('js') + getFiles('less') + getFiles('fonts') var files = getFiles('js') + getFiles('less') + getFiles('fonts')
fs.writeFileSync('assets/js/raw-files.js', files) fs.writeFileSync('assets/js/raw-files.js', files)
}); });
}; };
\ No newline at end of file
...@@ -659,7 +659,7 @@ JSZip.prototype = (function () { ...@@ -659,7 +659,7 @@ JSZip.prototype = (function () {
if ( !this.files.hasOwnProperty(name) ) { continue; } if ( !this.files.hasOwnProperty(name) ) { continue; }
var file = this.files[name]; var file = this.files[name];
var compressionName = file.compression || options.compression.toUpperCase(); var compressionName = file.options.compression || options.compression.toUpperCase();
var compression = JSZip.compressions[compressionName]; var compression = JSZip.compressions[compressionName];
if (!compression) { if (!compression) {
throw new Error(compressionName + " is not a valid compression method !"); throw new Error(compressionName + " is not a valid compression method !");
...@@ -1422,4 +1422,4 @@ JSZip.base64 = (function() { ...@@ -1422,4 +1422,4 @@ JSZip.base64 = (function() {
}()); }());
// enforcing Stuk's coding style // enforcing Stuk's coding style
// vim: set shiftwidth=3 softtabstop=3: // vim: set shiftwidth=3 softtabstop=3:
\ No newline at end of file
...@@ -2102,7 +2102,7 @@ body { padding-bottom: 70px; } ...@@ -2102,7 +2102,7 @@ body { padding-bottom: 70px; }
<div class="page-header"> <div class="page-header">
<h1 id="jumbotron">Jumbotron</h1> <h1 id="jumbotron">Jumbotron</h1>
</div> </div>
<p>A lightweight, flexible component that can optional extend the entire viewport to showcase key content on your site. To make the jumbotron full width, don't include it within a <code>.container</code>. Placing it within a container will keep it at the width of the rest of your content and provide rounded corners.</p> <p>A lightweight, flexible component that can optionally extend the entire viewport to showcase key content on your site. To make the jumbotron full width, don't include it within a <code>.container</code>. Placing it within a container will keep it at the width of the rest of your content and provide rounded corners.</p>
<div class="bs-example"> <div class="bs-example">
<div class="jumbotron"> <div class="jumbotron">
<div class="container"> <div class="container">
......
...@@ -45,7 +45,7 @@ base_url: "../" ...@@ -45,7 +45,7 @@ base_url: "../"
<p>Bootstrap sets basic global display, typography, and link styles. Specifically, we:</p> <p>Bootstrap sets basic global display, typography, and link styles. Specifically, we:</p>
<ul> <ul>
<li>Remove <code>margin</code> on the body</li> <li>Remove <code>margin</code> on the body</li>
<li>Set <code>background-color: white;</code> on the <code>body</code></li> <li>Set <code>background-color: #fff;</code> on the <code>body</code></li>
<li>Use the <code>@font-family-base</code>, <code>@font-size-base</code>, and <code>@line-height-base</code> attributes as our typographic base</li> <li>Use the <code>@font-family-base</code>, <code>@font-size-base</code>, and <code>@line-height-base</code> attributes as our typographic base</li>
<li>Set the global link color via <code>@link-color</code> and apply link underlines only on <code>:hover</code></li> <li>Set the global link color via <code>@link-color</code> and apply link underlines only on <code>:hover</code></li>
</ul> </ul>
......
/*! normalize.css v2.1.0 | MIT License | git.io/normalize */ /*! normalize.css v2.1.3 | MIT License | git.io/normalize */
article, article,
aside, aside,
...@@ -26,7 +26,8 @@ audio:not([controls]) { ...@@ -26,7 +26,8 @@ audio:not([controls]) {
height: 0; height: 0;
} }
[hidden] { [hidden],
template {
display: none; display: none;
} }
...@@ -40,6 +41,10 @@ body { ...@@ -40,6 +41,10 @@ body {
margin: 0; margin: 0;
} }
a {
background: transparent;
}
a:focus { a:focus {
outline: thin dotted; outline: thin dotted;
} }
...@@ -3950,7 +3955,7 @@ textarea.input-group-sm > .input-group-btn > .btn { ...@@ -3950,7 +3955,7 @@ textarea.input-group-sm > .input-group-btn > .btn {
} }
.nav-pills > li > a { .nav-pills > li > a {
border-radius: 5px; border-radius: 4px;
} }
.nav-pills > li + li { .nav-pills > li + li {
......
This diff is collapsed.
...@@ -445,11 +445,34 @@ bootstrap/ ...@@ -445,11 +445,34 @@ bootstrap/
<td><code>.bar-*</code></td> <td><code>.bar-*</code></td>
<td><code>.progress-bar-*</code></td> <td><code>.progress-bar-*</code></td>
</tr> </tr>
<tr>
<td><code>.accordion</code></td>
<td><code>.panel-group</code></td>
</tr>
<tr>
<td><code>.accordion-group</code></td>
<td><code>.panel .panel-default</code></td>
</tr>
<tr>
<td><code>.accordion-heading</code></td>
<td><code>.panel-heading</code></td>
</tr>
<tr>
<td><code>.accordion-body</code></td>
<td><code>.panel-collapse</code></td>
</tr>
<tr>
<td><code>.accordion-inner</code></td>
<td><code>.panel-body</code></td>
</tr>
<tr>
<td><code>.alert-error</code></td>
<td><code>.alert-danger</code></td>
</tr>
</tbody> </tbody>
</table> </table>
</div><!-- /.table-responsive --> </div><!-- /.table-responsive -->
<h2 id="migration-new">What's new</h2> <h2 id="migration-new">What's new</h2>
<p>We've added new elements and changed some existing ones. Here are the new or updated styles.</p> <p>We've added new elements and changed some existing ones. Here are the new or updated styles.</p>
<div class="table-responsive"> <div class="table-responsive">
......
...@@ -750,10 +750,10 @@ $('#myTab li:eq(2) a').tab('show') // Select third tab (0-indexed) ...@@ -750,10 +750,10 @@ $('#myTab li:eq(2) a').tab('show') // Select third tab (0-indexed)
</p> </p>
{% highlight html %} {% highlight html %}
<ul class="nav nav-tabs" id="myTab"> <ul class="nav nav-tabs" id="myTab">
<li class="active"><a href="#home">Home</a></li> <li class="active"><a href="#home" data-toggle="tab">Home</a></li>
<li><a href="#profile">Profile</a></li> <li><a href="#profile" data-toggle="tab">Profile</a></li>
<li><a href="#messages">Messages</a></li> <li><a href="#messages" data-toggle="tab">Messages</a></li>
<li><a href="#settings">Settings</a></li> <li><a href="#settings" data-toggle="tab">Settings</a></li>
</ul> </ul>
<div class="tab-content"> <div class="tab-content">
...@@ -1456,7 +1456,7 @@ $('.btn-group').button() ...@@ -1456,7 +1456,7 @@ $('.btn-group').button()
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading"> <div class="panel-heading">
<h4 class="panel-title"> <h4 class="panel-title">
<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion" href="#collapseOne"> <a data-toggle="collapse" data-parent="#accordion" href="#collapseOne">
Collapsible Group Item #1 Collapsible Group Item #1
</a> </a>
</h4> </h4>
...@@ -1470,7 +1470,7 @@ $('.btn-group').button() ...@@ -1470,7 +1470,7 @@ $('.btn-group').button()
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading"> <div class="panel-heading">
<h4 class="panel-title"> <h4 class="panel-title">
<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion" href="#collapseTwo"> <a data-toggle="collapse" data-parent="#accordion" href="#collapseTwo">
Collapsible Group Item #2 Collapsible Group Item #2
</a> </a>
</h4> </h4>
...@@ -1484,7 +1484,7 @@ $('.btn-group').button() ...@@ -1484,7 +1484,7 @@ $('.btn-group').button()
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading"> <div class="panel-heading">
<h4 class="panel-title"> <h4 class="panel-title">
<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion" href="#collapseThree"> <a data-toggle="collapse" data-parent="#accordion" href="#collapseThree">
Collapsible Group Item #3 Collapsible Group Item #3
</a> </a>
</h4> </h4>
...@@ -1502,7 +1502,7 @@ $('.btn-group').button() ...@@ -1502,7 +1502,7 @@ $('.btn-group').button()
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading"> <div class="panel-heading">
<h4 class="panel-title"> <h4 class="panel-title">
<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion" href="#collapseOne"> <a data-toggle="collapse" data-parent="#accordion" href="#collapseOne">
Collapsible Group Item #1 Collapsible Group Item #1
</a> </a>
</h4> </h4>
...@@ -1516,7 +1516,7 @@ $('.btn-group').button() ...@@ -1516,7 +1516,7 @@ $('.btn-group').button()
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading"> <div class="panel-heading">
<h4 class="panel-title"> <h4 class="panel-title">
<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion" href="#collapseTwo"> <a data-toggle="collapse" data-parent="#accordion" href="#collapseTwo">
Collapsible Group Item #2 Collapsible Group Item #2
</a> </a>
</h4> </h4>
...@@ -1530,7 +1530,7 @@ $('.btn-group').button() ...@@ -1530,7 +1530,7 @@ $('.btn-group').button()
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading"> <div class="panel-heading">
<h4 class="panel-title"> <h4 class="panel-title">
<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion" href="#collapseThree"> <a data-toggle="collapse" data-parent="#accordion" href="#collapseThree">
Collapsible Group Item #3 Collapsible Group Item #3
</a> </a>
</h4> </h4>
......
{ {
"validthis": true, "asi" : true,
"laxcomma" : true, "boss" : true,
"laxbreak" : true,
"browser" : true, "browser" : true,
"eqeqeq" : false, "curly" : false,
"eqnull" : true,
"debug" : true, "debug" : true,
"devel" : true, "devel" : true,
"curly" : false, "eqeqeq" : false,
"boss" : true, "eqnull" : true,
"expr" : true, "expr" : true,
"asi" : true "laxbreak" : true,
"laxcomma" : true,
"validthis": true
} }
\ No newline at end of file
...@@ -559,7 +559,7 @@ ...@@ -559,7 +559,7 @@
} }
.responsive-invisibility() { .responsive-invisibility() {
&, &,
tr&, tr&,
th&, th&,
td& { display: none !important; } td& { display: none !important; }
......
...@@ -120,7 +120,7 @@ ...@@ -120,7 +120,7 @@
// Links rendered as pills // Links rendered as pills
> a { > a {
border-radius: 5px; border-radius: @nav-pills-border-radius;
} }
+ li { + li {
margin-left: 2px; margin-left: 2px;
......
/*! normalize.css v2.1.0 | MIT License | git.io/normalize */ /*! normalize.css v2.1.3 | MIT License | git.io/normalize */
// ========================================================================== // ==========================================================================
// HTML5 display definitions // HTML5 display definitions
...@@ -44,10 +44,12 @@ audio:not([controls]) { ...@@ -44,10 +44,12 @@ audio:not([controls]) {
} }
// //
// Address styling not present in IE 8/9. // Address `[hidden]` styling not present in IE 8/9.
// Hide the `template` element in IE, Safari, and Firefox < 22.
// //
[hidden] { [hidden],
template {
display: none; display: none;
} }
...@@ -63,8 +65,8 @@ audio:not([controls]) { ...@@ -63,8 +65,8 @@ audio:not([controls]) {
html { html {
font-family: sans-serif; // 1 font-family: sans-serif; // 1
-webkit-text-size-adjust: 100%; // 2
-ms-text-size-adjust: 100%; // 2 -ms-text-size-adjust: 100%; // 2
-webkit-text-size-adjust: 100%; // 2
} }
// //
...@@ -79,6 +81,14 @@ body { ...@@ -79,6 +81,14 @@ body {
// Links // Links
// ========================================================================== // ==========================================================================
//
// Remove the gray background color from active links in IE 10.
//
a {
background: transparent;
}
// //
// Address `outline` inconsistency between Chrome and other browsers. // Address `outline` inconsistency between Chrome and other browsers.
// //
...@@ -329,8 +339,8 @@ html input[disabled] { ...@@ -329,8 +339,8 @@ html input[disabled] {
} }
// //
// 1. Address box sizing set to `content-box` in IE 8/9. // 1. Address box sizing set to `content-box` in IE 8/9/10.
// 2. Remove excess padding in IE 8/9. // 2. Remove excess padding in IE 8/9/10.
// //
input[type="checkbox"], input[type="checkbox"],
......
...@@ -336,6 +336,7 @@ ...@@ -336,6 +336,7 @@
@nav-tabs-justified-active-link-border-color: @body-bg; @nav-tabs-justified-active-link-border-color: @body-bg;
// Pills // Pills
@nav-pills-border-radius: @border-radius-base;
@nav-pills-active-link-hover-bg: @component-active-bg; @nav-pills-active-link-hover-bg: @component-active-bg;
@nav-pills-active-link-hover-color: @component-active-color; @nav-pills-active-link-hover-color: @component-active-color;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment