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:
authorMark Otto <markotto@twitter.com>2012-03-12 10:43:19 +0400
committerMark Otto <markotto@twitter.com>2012-03-12 10:43:19 +0400
commitc35b04cccda86164268508b59aa28655a31c1793 (patch)
treebb4af0a9efb67afaf59f2084bb68edca2e5a18a6 /less
parentdebc4b752ff0850d9d034598793bf6becf4eae76 (diff)
enable buttons in input-append and input-prepend
Diffstat (limited to '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 a5e8c761f6..6e1d0fae33 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);
}