2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03:00

enable buttons in input-append and input-prepend

This commit is contained in:
Mark Otto
2012-03-11 23:43:19 -07:00
parent debc4b752f
commit c35b04cccd
5 changed files with 58 additions and 10 deletions
+11 -4
View File
@@ -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);
}