diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index c1562c203a..ff7f8ea5e4 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -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: Fri Jan 27 19:56:12 PST 2012 + * Date: Fri Jan 27 20:04:50 PST 2012 */ article, aside, @@ -528,7 +528,7 @@ select, label input, label textarea, label select { display: block; } -input[type=image], input[type=checkbox], input[type=radio] { +input[type="image"], input[type="checkbox"], input[type="radio"] { width: auto; height: auto; padding: 0; @@ -543,7 +543,7 @@ input[type=image], input[type=checkbox], input[type=radio] { -moz-border-radius: 0; border-radius: 0; } -input[type=file] { +input[type="file"] { padding: initial; line-height: initial; border: initial; @@ -553,11 +553,11 @@ input[type=file] { -moz-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; height: auto; } -select, input[type=file] { +select, input[type="file"] { height: 28px; /* 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] { height: auto; } -input[type=image] { +input[type="image"] { -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; @@ -581,13 +581,13 @@ input[type=image] { textarea { height: auto; } -input[type=hidden] { +input[type="hidden"] { display: none; } .radio, .checkbox { padding-left: 18px; } -.radio input[type=radio], .checkbox input[type=checkbox] { +.radio input[type="radio"], .checkbox input[type="checkbox"] { float: left; margin-left: -18px; } @@ -620,7 +620,7 @@ input:focus, textarea:focus { /* 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; -moz-box-shadow: none; box-shadow: none; @@ -2660,19 +2660,19 @@ table .span12 { .btn.small .icon { margin-top: -1px; } -button.btn, input[type=submit].btn { +button.btn, input[type="submit"].btn { *padding-top: 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; border: 0; } -button.btn.large, input[type=submit].btn.large { +button.btn.large, input[type="submit"].btn.large { *padding-top: 7px; *padding-bottom: 7px; } -button.btn.small, input[type=submit].btn.small { +button.btn.small, input[type="submit"].btn.small { *padding-top: 3px; *padding-bottom: 3px; } diff --git a/less/buttons.less b/less/buttons.less index 1333592c21..8d75248b3a 100644 --- a/less/buttons.less +++ b/less/buttons.less @@ -113,7 +113,7 @@ // Help Firefox not be a jerk about adding extra padding to buttons button.btn, -input[type=submit].btn { +input[type="submit"].btn { &::-moz-focus-inner { padding: 0; border: 0; diff --git a/less/forms.less b/less/forms.less index 86e9757252..edd4165850 100644 --- a/less/forms.less +++ b/less/forms.less @@ -75,9 +75,9 @@ label select { } // Mini reset for unique input types -input[type=image], -input[type=checkbox], -input[type=radio] { +input[type="image"], +input[type="checkbox"], +input[type="radio"] { width: auto; height: auto; padding: 0; @@ -90,7 +90,7 @@ input[type=radio] { } // Reset the file input to browser defaults -input[type=file] { +input[type="file"] { padding: initial; line-height: initial; border: initial; @@ -100,16 +100,16 @@ input[type=file] { } // Help out input buttons -input[type=button], -input[type=reset], -input[type=submit] { +input[type="button"], +input[type="reset"], +input[type="submit"] { width: auto; height: auto; } // Set the height of select and file controls to match text inputs 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 */ *margin-top: 4px; /* For IE7, add top margin to align select with labels */ line-height: 28px; @@ -128,7 +128,7 @@ select[size] { } // Remove shadow from image inputs -input[type=image] { +input[type="image"] { .box-shadow(none); } @@ -138,7 +138,7 @@ textarea { } // Hidden inputs -input[type=hidden] { +input[type="hidden"] { display: none; } @@ -152,8 +152,8 @@ input[type=hidden] { .checkbox { padding-left: 18px; } -.radio input[type=radio], -.checkbox input[type=checkbox] { +.radio input[type="radio"], +.checkbox input[type="checkbox"] { float: left; margin-left: -18px; } @@ -193,8 +193,8 @@ textarea:focus { .box-shadow(@shadow); outline: thin dotted \9; /* IE6-8 */ } -input[type=file]:focus, -input[type=checkbox]:focus, +input[type="file"]:focus, +input[type="checkbox"]:focus, select:focus { .box-shadow(none); // override for file inputs .tab-focus(); diff --git a/less/modals.less b/less/modals.less index 0368e01e10..7f07d11e49 100644 --- a/less/modals.less +++ b/less/modals.less @@ -60,6 +60,6 @@ .btn { float: right; 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 } }