mirror of https://github.com/twbs/bootstrap.git
Allow multiple buttons in `.input-prepend` and `.input-append`.
This has a look similar to button groups.
This commit is contained in:
parent
d335adf644
commit
fedce0cec7
|
@ -391,7 +391,7 @@ select:focus:required:invalid {
|
||||||
}
|
}
|
||||||
.add-on,
|
.add-on,
|
||||||
.btn {
|
.btn {
|
||||||
.border-radius(3px 0 0 3px);
|
.border-radius(0);
|
||||||
}
|
}
|
||||||
.active {
|
.active {
|
||||||
background-color: lighten(@green, 30);
|
background-color: lighten(@green, 30);
|
||||||
|
@ -403,6 +403,10 @@ select:focus:required:invalid {
|
||||||
.btn {
|
.btn {
|
||||||
margin-right: -1px;
|
margin-right: -1px;
|
||||||
}
|
}
|
||||||
|
.add-on:first-child,
|
||||||
|
.btn:first-child {
|
||||||
|
.border-radius(3px 0 0 3px);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.input-append {
|
.input-append {
|
||||||
input,
|
input,
|
||||||
|
@ -417,6 +421,9 @@ select:focus:required:invalid {
|
||||||
.add-on,
|
.add-on,
|
||||||
.btn {
|
.btn {
|
||||||
margin-left: -1px;
|
margin-left: -1px;
|
||||||
|
}
|
||||||
|
.add-on:last-child,
|
||||||
|
.btn:last-child {
|
||||||
.border-radius(0 3px 3px 0);
|
.border-radius(0 3px 3px 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue