mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-21 04:41:36 +02:00
Merge branch 'master' into panels_and_tables
Conflicts: dist/css/bootstrap.css.map dist/css/bootstrap.min.css docs/dist/css/bootstrap.css.map docs/dist/css/bootstrap.min.css
This commit is contained in:
@@ -44,6 +44,9 @@ module.exports = function (grunt) {
|
|||||||
jshintrc: 'js/.jshintrc'
|
jshintrc: 'js/.jshintrc'
|
||||||
},
|
},
|
||||||
grunt: {
|
grunt: {
|
||||||
|
options: {
|
||||||
|
node: true
|
||||||
|
},
|
||||||
src: ['Gruntfile.js', 'grunt/*.js']
|
src: ['Gruntfile.js', 'grunt/*.js']
|
||||||
},
|
},
|
||||||
src: {
|
src: {
|
||||||
@@ -259,7 +262,7 @@ module.exports = function (grunt) {
|
|||||||
options: {
|
options: {
|
||||||
inject: 'js/tests/unit/phantom.js'
|
inject: 'js/tests/unit/phantom.js'
|
||||||
},
|
},
|
||||||
files: 'js/tests/*.html'
|
files: 'js/tests/index.html'
|
||||||
},
|
},
|
||||||
|
|
||||||
connect: {
|
connect: {
|
||||||
|
6
dist/css/bootstrap.css
vendored
6
dist/css/bootstrap.css
vendored
@@ -1939,6 +1939,9 @@ select[multiple].input-lg {
|
|||||||
width: auto;
|
width: auto;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
.form-inline .input-group > .form-control {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
.form-inline .control-label {
|
.form-inline .control-label {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
@@ -3854,6 +3857,9 @@ select[multiple].input-group-sm > .input-group-btn > .btn {
|
|||||||
width: auto;
|
width: auto;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
.navbar-form .input-group > .form-control {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
.navbar-form .control-label {
|
.navbar-form .control-label {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
|
2
dist/css/bootstrap.css.map
vendored
2
dist/css/bootstrap.css.map
vendored
File diff suppressed because one or more lines are too long
2
dist/css/bootstrap.min.css
vendored
2
dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -102,7 +102,7 @@
|
|||||||
<a href="#progress">Progress bars</a>
|
<a href="#progress">Progress bars</a>
|
||||||
<ul class="nav">
|
<ul class="nav">
|
||||||
<li><a href="#progress-basic">Basic example</a></li>
|
<li><a href="#progress-basic">Basic example</a></li>
|
||||||
<li><a href="#progress-labels">With label</a></li>
|
<li><a href="#progress-label">With label</a></li>
|
||||||
<li><a href="#progress-alternatives">Contextual alternatives</a></li>
|
<li><a href="#progress-alternatives">Contextual alternatives</a></li>
|
||||||
<li><a href="#progress-striped">Striped</a></li>
|
<li><a href="#progress-striped">Striped</a></li>
|
||||||
<li><a href="#progress-animated">Animated</a></li>
|
<li><a href="#progress-animated">Animated</a></li>
|
||||||
|
@@ -3240,7 +3240,7 @@ a {
|
|||||||
<p>Easily truncate text with an ellipsis with a single mixin. <strong>Requires element to be <code>block</code> or <code>inline-block</code> level.</strong></p>
|
<p>Easily truncate text with an ellipsis with a single mixin. <strong>Requires element to be <code>block</code> or <code>inline-block</code> level.</strong></p>
|
||||||
{% highlight scss %}
|
{% highlight scss %}
|
||||||
// Mixin
|
// Mixin
|
||||||
.text-truncate() {
|
.text-overflow() {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
@@ -3250,7 +3250,7 @@ a {
|
|||||||
.branch-name {
|
.branch-name {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
max-width: 200px;
|
max-width: 200px;
|
||||||
.text-truncate();
|
.text-overflow();
|
||||||
}
|
}
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
|
2
docs/dist/css/bootstrap.css.map
vendored
2
docs/dist/css/bootstrap.css.map
vendored
File diff suppressed because one or more lines are too long
2
docs/dist/css/bootstrap.min.css
vendored
2
docs/dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -29,12 +29,12 @@ body {
|
|||||||
@media (min-width: 768px) {
|
@media (min-width: 768px) {
|
||||||
.sidebar {
|
.sidebar {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 51px;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
display: block;
|
display: block;
|
||||||
padding: 70px 20px 20px;
|
padding: 20px;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
|
overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
|
||||||
background-color: #f5f5f5;
|
background-color: #f5f5f5;
|
||||||
|
@@ -1,4 +1,3 @@
|
|||||||
/* jshint node: true */
|
|
||||||
/*!
|
/*!
|
||||||
* Bootstrap Grunt task for Glyphicons data generation
|
* Bootstrap Grunt task for Glyphicons data generation
|
||||||
* http://getbootstrap.com
|
* http://getbootstrap.com
|
||||||
|
@@ -1,4 +1,3 @@
|
|||||||
/* jshint node: true */
|
|
||||||
/*!
|
/*!
|
||||||
* Bootstrap Grunt task for parsing Less docstrings
|
* Bootstrap Grunt task for parsing Less docstrings
|
||||||
* http://getbootstrap.com
|
* http://getbootstrap.com
|
||||||
|
@@ -1,4 +1,3 @@
|
|||||||
/* jshint node: true */
|
|
||||||
/* global btoa: true */
|
/* global btoa: true */
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
/* jshint node: true */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This Grunt task updates the npm-shrinkwrap.canonical.json file that's used as the key for Bootstrap's npm packages cache.
|
This Grunt task updates the npm-shrinkwrap.canonical.json file that's used as the key for Bootstrap's npm packages cache.
|
||||||
This task should be run and the updated file should be committed whenever Bootstrap's dependencies change.
|
This task should be run and the updated file should be committed whenever Bootstrap's dependencies change.
|
||||||
|
@@ -133,9 +133,10 @@ output {
|
|||||||
.placeholder();
|
.placeholder();
|
||||||
|
|
||||||
// Disabled and read-only inputs
|
// Disabled and read-only inputs
|
||||||
// Note: HTML5 says that controls under a fieldset > legend:first-child won't
|
//
|
||||||
// be disabled if the fieldset is disabled. Due to implementation difficulty,
|
// HTML5 says that controls under a fieldset > legend:first-child won't be
|
||||||
// we don't honor that edge case; we style them as disabled anyway.
|
// disabled if the fieldset is disabled. Due to implementation difficulty, we
|
||||||
|
// don't honor that edge case; we style them as disabled anyway.
|
||||||
&[disabled],
|
&[disabled],
|
||||||
&[readonly],
|
&[readonly],
|
||||||
fieldset[disabled] & {
|
fieldset[disabled] & {
|
||||||
@@ -348,6 +349,10 @@ input[type="checkbox"],
|
|||||||
width: auto; // Prevent labels from stacking above inputs in `.form-group`
|
width: auto; // Prevent labels from stacking above inputs in `.form-group`
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
// Input groups need that 100% width though
|
||||||
|
.input-group > .form-control {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
.control-label {
|
.control-label {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
Reference in New Issue
Block a user