aboutsummaryrefslogtreecommitdiff
path: root/less/forms.less
diff options
context:
space:
mode:
authorArnold Daniels <[email protected]>2012-04-05 23:08:32 +0300
committerArnold Daniels <[email protected]>2012-04-05 23:08:32 +0300
commitfedce0cec70a56713f95d36585f9e3adaad2c332 (patch)
tree1832637afdfe7f7c9cc68ea2bf098d38b0bf04fe /less/forms.less
parentd335adf644b213a5ebc9cee3f37f781ad55194ef (diff)
downloadbootstrap-fedce0cec70a56713f95d36585f9e3adaad2c332.tar.xz
bootstrap-fedce0cec70a56713f95d36585f9e3adaad2c332.zip
Allow multiple buttons in `.input-prepend` and `.input-append`.
This has a look similar to button groups.
Diffstat (limited to 'less/forms.less')
-rw-r--r--less/forms.less9
1 files changed, 8 insertions, 1 deletions
diff --git a/less/forms.less b/less/forms.less
index 8d9c25308..1da8d7500 100644
--- a/less/forms.less
+++ b/less/forms.less
@@ -391,7 +391,7 @@ select:focus:required:invalid {
}
.add-on,
.btn {
- .border-radius(3px 0 0 3px);
+ .border-radius(0);
}
.active {
background-color: lighten(@green, 30);
@@ -403,6 +403,10 @@ select:focus:required:invalid {
.btn {
margin-right: -1px;
}
+ .add-on:first-child,
+ .btn:first-child {
+ .border-radius(3px 0 0 3px);
+ }
}
.input-append {
input,
@@ -417,6 +421,9 @@ select:focus:required:invalid {
.add-on,
.btn {
margin-left: -1px;
+ }
+ .add-on:last-child,
+ .btn:last-child {
.border-radius(0 3px 3px 0);
}
}