aboutsummaryrefslogtreecommitdiff
path: root/less/forms.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-03-11 23:43:19 -0700
committerMark Otto <[email protected]>2012-03-11 23:43:19 -0700
commitc35b04cccda86164268508b59aa28655a31c1793 (patch)
treebb4af0a9efb67afaf59f2084bb68edca2e5a18a6 /less/forms.less
parentdebc4b752ff0850d9d034598793bf6becf4eae76 (diff)
downloadbootstrap-c35b04cccda86164268508b59aa28655a31c1793.tar.xz
bootstrap-c35b04cccda86164268508b59aa28655a31c1793.zip
enable buttons in input-append and input-prepend
Diffstat (limited to 'less/forms.less')
-rw-r--r--less/forms.less15
1 files changed, 11 insertions, 4 deletions
diff --git a/less/forms.less b/less/forms.less
index a5e8c761f..6e1d0fae3 100644
--- a/less/forms.less
+++ b/less/forms.less
@@ -387,6 +387,9 @@ select:focus:required:invalid {
vertical-align: middle;
background-color: @grayLighter;
border: 1px solid #ccc;
+ }
+ .add-on,
+ .btn {
.border-radius(3px 0 0 3px);
}
.active {
@@ -395,7 +398,8 @@ select:focus:required:invalid {
}
}
.input-prepend {
- .add-on {
+ .add-on,
+ .btn {
margin-right: -1px;
}
}
@@ -409,7 +413,8 @@ select:focus:required:invalid {
border-left-color: #eee;
border-right-color: #ccc;
}
- .add-on {
+ .add-on,
+ .btn {
margin-left: -1px;
.border-radius(0 3px 3px 0);
}
@@ -421,11 +426,13 @@ select:focus:required:invalid {
.uneditable-input {
.border-radius(0);
}
- .add-on:first-child {
+ .add-on:first-child,
+ .btn:first-child {
margin-right: -1px;
.border-radius(3px 0 0 3px);
}
- .add-on:last-child {
+ .add-on:last-child,
+ .btn:last-child {
margin-left: -1px;
.border-radius(0 3px 3px 0);
}