Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorArnold Daniels <arnold@adaniels.nl>2012-04-06 00:08:32 +0400
committerArnold Daniels <arnold@adaniels.nl>2012-04-06 00:08:32 +0400
commitfedce0cec70a56713f95d36585f9e3adaad2c332 (patch)
tree1832637afdfe7f7c9cc68ea2bf098d38b0bf04fe /less
parentd335adf644b213a5ebc9cee3f37f781ad55194ef (diff)
Allow multiple buttons in `.input-prepend` and `.input-append`.
This has a look similar to button groups.
Diffstat (limited to '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 8d9c253083..1da8d7500f 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);
}
}