aboutsummaryrefslogtreecommitdiff
path: root/less/forms.less
diff options
context:
space:
mode:
Diffstat (limited to 'less/forms.less')
-rw-r--r--less/forms.less31
1 files changed, 18 insertions, 13 deletions
diff --git a/less/forms.less b/less/forms.less
index e6e54f835..fad9f15e5 100644
--- a/less/forms.less
+++ b/less/forms.less
@@ -218,20 +218,19 @@ input[type="number"] {
// horizontal sizing, wrap controls in the predefined grid classes. `<select>`
// element gets special love because it's special, and that's a fact!
-.form-control {
- &.input-large {
- height: @input-height-large;
- padding: @padding-large-vertical @padding-large-horizontal;
- font-size: @font-size-large;
- border-radius: @border-radius-large;
- }
- &.input-small {
- height: @input-height-small;
- padding: @padding-small-vertical @padding-small-horizontal;
- font-size: @font-size-small;
- border-radius: @border-radius-small;
- }
+.input-large {
+ height: @input-height-large;
+ padding: @padding-large-vertical @padding-large-horizontal;
+ font-size: @font-size-large;
+ border-radius: @border-radius-large;
}
+.input-small {
+ height: @input-height-small;
+ padding: @padding-small-vertical @padding-small-horizontal;
+ font-size: @font-size-small;
+ border-radius: @border-radius-small;
+}
+
select {
&.input-large {
height: @input-height-large;
@@ -242,6 +241,12 @@ select {
line-height: @input-height-small;
}
}
+textarea {
+ &.input-large,
+ &.input-small {
+ height: auto;
+ }
+}
// Form control feedback states