aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-01-25 11:21:44 -0800
committerMark Otto <[email protected]>2012-01-25 11:21:44 -0800
commitd3c5dd4e6acc421e06ef72680e794cfd9d52a04a (patch)
tree6e7c14e5c7b50e61856d90bdb7421107d11b4a95 /lib
parentcfa925cab6dbb10af28ddca6d38e76aed97bb1ef (diff)
downloadbootstrap-d3c5dd4e6acc421e06ef72680e794cfd9d52a04a.tar.xz
bootstrap-d3c5dd4e6acc421e06ef72680e794cfd9d52a04a.zip
updated comments in forms.less and added uneditable-textarea class to extend uneditable-input
Diffstat (limited to 'lib')
-rw-r--r--lib/forms.less8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/forms.less b/lib/forms.less
index 100b0ab91..178c21018 100644
--- a/lib/forms.less
+++ b/lib/forms.less
@@ -63,6 +63,10 @@ select,
border: 1px solid #ccc;
.border-radius(3px);
}
+.uneditable-textarea {
+ width: auto;
+ height: auto;
+}
// Mini reset for unique input types
input[type=image],
@@ -72,7 +76,7 @@ input[type=radio] {
height: auto;
padding: 0;
margin: 3px 0;
- *margin-top: 0; /* IE6-7 */
+ *margin-top: 0; /* IE7 */
line-height: normal;
border: none;
cursor: pointer;
@@ -99,7 +103,7 @@ input[type=submit] {
// Set the height of select and file controls to match text inputs
select,
input[type=file] {
- height: @baseLineHeight * 1.5; // In IE7, the height of the select element cannot be changed by height, only font-size
+ height: @baseLineHeight * 1.5; /* 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: @baseLineHeight * 1.5;
}