aboutsummaryrefslogtreecommitdiff
path: root/less/forms.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-07-26 15:41:16 -0700
committerMark Otto <[email protected]>2013-07-26 15:41:16 -0700
commit68827689e877aca14197a1e889531dcc2130ce18 (patch)
tree3f8e2a6d0a4c5c8193032a0ad08f389511566968 /less/forms.less
parent73427f717d6c946317cec34df5d852321e20e3ca (diff)
downloadbootstrap-68827689e877aca14197a1e889531dcc2130ce18.tar.xz
bootstrap-68827689e877aca14197a1e889531dcc2130ce18.zip
Use `.form-control` in input sizing CSS
Diffstat (limited to 'less/forms.less')
-rw-r--r--less/forms.less22
1 files changed, 4 insertions, 18 deletions
diff --git a/less/forms.less b/less/forms.less
index 4f04c454c..c079c6396 100644
--- a/less/forms.less
+++ b/less/forms.less
@@ -215,24 +215,10 @@ input[type="number"] {
// Form control sizing
//
// Relative text size, padding, and border-radii changes for form controls. For
-// horizontal sizing, wrap controls in the predefined grid classes.
-
-select,
-textarea,
-input[type="text"],
-input[type="password"],
-input[type="datetime"],
-input[type="datetime-local"],
-input[type="date"],
-input[type="month"],
-input[type="time"],
-input[type="week"],
-input[type="number"],
-input[type="email"],
-input[type="url"],
-input[type="search"],
-input[type="tel"],
-input[type="color"] {
+// 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;