mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
use quotes on attr selectors more consistently
This commit is contained in:
parent
0fa6422918
commit
9800196bf7
4 changed files with 29 additions and 29 deletions
26
docs/assets/css/bootstrap.css
vendored
26
docs/assets/css/bootstrap.css
vendored
|
@ -6,7 +6,7 @@
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Designed and built with all the love in the world @twitter by @mdo and @fat.
|
* Designed and built with all the love in the world @twitter by @mdo and @fat.
|
||||||
* Date: Fri Jan 27 19:56:12 PST 2012
|
* Date: Fri Jan 27 20:04:50 PST 2012
|
||||||
*/
|
*/
|
||||||
article,
|
article,
|
||||||
aside,
|
aside,
|
||||||
|
@ -528,7 +528,7 @@ select,
|
||||||
label input, label textarea, label select {
|
label input, label textarea, label select {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
input[type=image], input[type=checkbox], input[type=radio] {
|
input[type="image"], input[type="checkbox"], input[type="radio"] {
|
||||||
width: auto;
|
width: auto;
|
||||||
height: auto;
|
height: auto;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
@ -543,7 +543,7 @@ input[type=image], input[type=checkbox], input[type=radio] {
|
||||||
-moz-border-radius: 0;
|
-moz-border-radius: 0;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
input[type=file] {
|
input[type="file"] {
|
||||||
padding: initial;
|
padding: initial;
|
||||||
line-height: initial;
|
line-height: initial;
|
||||||
border: initial;
|
border: initial;
|
||||||
|
@ -553,11 +553,11 @@ input[type=file] {
|
||||||
-moz-box-shadow: none;
|
-moz-box-shadow: none;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
input[type=button], input[type=reset], input[type=submit] {
|
input[type="button"], input[type="reset"], input[type="submit"] {
|
||||||
width: auto;
|
width: auto;
|
||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
select, input[type=file] {
|
select, input[type="file"] {
|
||||||
height: 28px;
|
height: 28px;
|
||||||
/* In IE7, the height of the select element cannot be changed by height, only font-size */
|
/* In IE7, the height of the select element cannot be changed by height, only font-size */
|
||||||
|
|
||||||
|
@ -573,7 +573,7 @@ select {
|
||||||
select[multiple], select[size] {
|
select[multiple], select[size] {
|
||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
input[type=image] {
|
input[type="image"] {
|
||||||
-webkit-box-shadow: none;
|
-webkit-box-shadow: none;
|
||||||
-moz-box-shadow: none;
|
-moz-box-shadow: none;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
|
@ -581,13 +581,13 @@ input[type=image] {
|
||||||
textarea {
|
textarea {
|
||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
input[type=hidden] {
|
input[type="hidden"] {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.radio, .checkbox {
|
.radio, .checkbox {
|
||||||
padding-left: 18px;
|
padding-left: 18px;
|
||||||
}
|
}
|
||||||
.radio input[type=radio], .checkbox input[type=checkbox] {
|
.radio input[type="radio"], .checkbox input[type="checkbox"] {
|
||||||
float: left;
|
float: left;
|
||||||
margin-left: -18px;
|
margin-left: -18px;
|
||||||
}
|
}
|
||||||
|
@ -620,7 +620,7 @@ input:focus, textarea:focus {
|
||||||
/* IE6-8 */
|
/* IE6-8 */
|
||||||
|
|
||||||
}
|
}
|
||||||
input[type=file]:focus, input[type=checkbox]:focus, select:focus {
|
input[type="file"]:focus, input[type="checkbox"]:focus, select:focus {
|
||||||
-webkit-box-shadow: none;
|
-webkit-box-shadow: none;
|
||||||
-moz-box-shadow: none;
|
-moz-box-shadow: none;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
|
@ -2660,19 +2660,19 @@ table .span12 {
|
||||||
.btn.small .icon {
|
.btn.small .icon {
|
||||||
margin-top: -1px;
|
margin-top: -1px;
|
||||||
}
|
}
|
||||||
button.btn, input[type=submit].btn {
|
button.btn, input[type="submit"].btn {
|
||||||
*padding-top: 2px;
|
*padding-top: 2px;
|
||||||
*padding-bottom: 2px;
|
*padding-bottom: 2px;
|
||||||
}
|
}
|
||||||
button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner {
|
button.btn::-moz-focus-inner, input[type="submit"].btn::-moz-focus-inner {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
border: 0;
|
border: 0;
|
||||||
}
|
}
|
||||||
button.btn.large, input[type=submit].btn.large {
|
button.btn.large, input[type="submit"].btn.large {
|
||||||
*padding-top: 7px;
|
*padding-top: 7px;
|
||||||
*padding-bottom: 7px;
|
*padding-bottom: 7px;
|
||||||
}
|
}
|
||||||
button.btn.small, input[type=submit].btn.small {
|
button.btn.small, input[type="submit"].btn.small {
|
||||||
*padding-top: 3px;
|
*padding-top: 3px;
|
||||||
*padding-bottom: 3px;
|
*padding-bottom: 3px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -113,7 +113,7 @@
|
||||||
|
|
||||||
// Help Firefox not be a jerk about adding extra padding to buttons
|
// Help Firefox not be a jerk about adding extra padding to buttons
|
||||||
button.btn,
|
button.btn,
|
||||||
input[type=submit].btn {
|
input[type="submit"].btn {
|
||||||
&::-moz-focus-inner {
|
&::-moz-focus-inner {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
border: 0;
|
border: 0;
|
||||||
|
|
|
@ -75,9 +75,9 @@ label select {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Mini reset for unique input types
|
// Mini reset for unique input types
|
||||||
input[type=image],
|
input[type="image"],
|
||||||
input[type=checkbox],
|
input[type="checkbox"],
|
||||||
input[type=radio] {
|
input[type="radio"] {
|
||||||
width: auto;
|
width: auto;
|
||||||
height: auto;
|
height: auto;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
@ -90,7 +90,7 @@ input[type=radio] {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Reset the file input to browser defaults
|
// Reset the file input to browser defaults
|
||||||
input[type=file] {
|
input[type="file"] {
|
||||||
padding: initial;
|
padding: initial;
|
||||||
line-height: initial;
|
line-height: initial;
|
||||||
border: initial;
|
border: initial;
|
||||||
|
@ -100,16 +100,16 @@ input[type=file] {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Help out input buttons
|
// Help out input buttons
|
||||||
input[type=button],
|
input[type="button"],
|
||||||
input[type=reset],
|
input[type="reset"],
|
||||||
input[type=submit] {
|
input[type="submit"] {
|
||||||
width: auto;
|
width: auto;
|
||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set the height of select and file controls to match text inputs
|
// Set the height of select and file controls to match text inputs
|
||||||
select,
|
select,
|
||||||
input[type=file] {
|
input[type="file"] {
|
||||||
height: 28px; /* In IE7, the height of the select element cannot be changed by height, only font-size */
|
height: 28px; /* In IE7, the height of the select element cannot be changed by height, only font-size */
|
||||||
*margin-top: 4px; /* For IE7, add top margin to align select with labels */
|
*margin-top: 4px; /* For IE7, add top margin to align select with labels */
|
||||||
line-height: 28px;
|
line-height: 28px;
|
||||||
|
@ -128,7 +128,7 @@ select[size] {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Remove shadow from image inputs
|
// Remove shadow from image inputs
|
||||||
input[type=image] {
|
input[type="image"] {
|
||||||
.box-shadow(none);
|
.box-shadow(none);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -138,7 +138,7 @@ textarea {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Hidden inputs
|
// Hidden inputs
|
||||||
input[type=hidden] {
|
input[type="hidden"] {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -152,8 +152,8 @@ input[type=hidden] {
|
||||||
.checkbox {
|
.checkbox {
|
||||||
padding-left: 18px;
|
padding-left: 18px;
|
||||||
}
|
}
|
||||||
.radio input[type=radio],
|
.radio input[type="radio"],
|
||||||
.checkbox input[type=checkbox] {
|
.checkbox input[type="checkbox"] {
|
||||||
float: left;
|
float: left;
|
||||||
margin-left: -18px;
|
margin-left: -18px;
|
||||||
}
|
}
|
||||||
|
@ -193,8 +193,8 @@ textarea:focus {
|
||||||
.box-shadow(@shadow);
|
.box-shadow(@shadow);
|
||||||
outline: thin dotted \9; /* IE6-8 */
|
outline: thin dotted \9; /* IE6-8 */
|
||||||
}
|
}
|
||||||
input[type=file]:focus,
|
input[type="file"]:focus,
|
||||||
input[type=checkbox]:focus,
|
input[type="checkbox"]:focus,
|
||||||
select:focus {
|
select:focus {
|
||||||
.box-shadow(none); // override for file inputs
|
.box-shadow(none); // override for file inputs
|
||||||
.tab-focus();
|
.tab-focus();
|
||||||
|
|
|
@ -60,6 +60,6 @@
|
||||||
.btn {
|
.btn {
|
||||||
float: right;
|
float: right;
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
margin-bottom: 0; // account for input[type=submit] which gets the bottom margin like all other inputs
|
margin-bottom: 0; // account for input[type="submit"] which gets the bottom margin like all other inputs
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue