updated comments in forms.less and added uneditable-textarea class to extend uneditable-input

This commit is contained in:
Mark Otto
2012-01-25 11:21:44 -08:00
parent cfa925cab6
commit d3c5dd4e6a
3 changed files with 15 additions and 4 deletions

10
bootstrap.css vendored
View File

@@ -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: Wed Jan 25 11:15:41 PST 2012
* Date: Wed Jan 25 11:21:22 PST 2012
*/
article,
aside,
@@ -510,13 +510,17 @@ select,
-moz-border-radius: 3px;
border-radius: 3px;
}
.uneditable-textarea {
width: auto;
height: auto;
}
input[type=image], input[type=checkbox], input[type=radio] {
width: auto;
height: auto;
padding: 0;
margin: 3px 0;
*margin-top: 0;
/* IE6-7 */
/* IE7 */
line-height: normal;
border: none;
@@ -538,6 +542,8 @@ input[type=button], input[type=reset], input[type=submit] {
}
select, input[type=file] {
height: 27px;
/* 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 */