aboutsummaryrefslogtreecommitdiff
path: root/lib/forms.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2011-12-10 22:29:49 -0800
committerMark Otto <[email protected]>2011-12-10 22:29:49 -0800
commitd2e56ad53d5d5c93cd6206a6829ee2054f583c5b (patch)
tree10c5d693243750fffbba2eab570c054f0e8bb5a6 /lib/forms.less
parentd587845149471ad9ed07bc57c1a8652c54d17c55 (diff)
downloadbootstrap-d2e56ad53d5d5c93cd6206a6829ee2054f583c5b.tar.xz
bootstrap-d2e56ad53d5d5c93cd6206a6829ee2054f583c5b.zip
unstyle image inputs
Diffstat (limited to 'lib/forms.less')
-rw-r--r--lib/forms.less8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/forms.less b/lib/forms.less
index e85b9f201..8d4369b18 100644
--- a/lib/forms.less
+++ b/lib/forms.less
@@ -53,7 +53,8 @@ select,
.border-radius(3px);
}
-/* Mini reset for unique input types */
+// Mini reset for unique input types
+input[type=image],
input[type=checkbox],
input[type=radio] {
width: auto;
@@ -98,6 +99,11 @@ select[multiple] {
background-color: @white; // Fixes Chromium bug?
}
+// Remove shadow from image inputs
+input[type=image] {
+ .box-shadow(none);
+}
+
textarea {
height: auto;
}