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:
authorBlake Embrey <hello@blakeembrey.com>2013-05-11 20:38:48 +0400
committerBlake Embrey <hello@blakeembrey.com>2013-05-11 20:38:48 +0400
commit60c24ddd976f24ac773c27d091a5a2559f54d2b0 (patch)
treed36d5d748edf27986990926b3a3570a0f5c53b67 /less
parent8051695c87d7420862307090ac49ca2d1e74b40b (diff)
Fix the selectors for the .input-group-btn selector.
Diffstat (limited to 'less')
-rw-r--r--less/forms.less10
1 files changed, 6 insertions, 4 deletions
diff --git a/less/forms.less b/less/forms.less
index cc69e935f0..1735200006 100644
--- a/less/forms.less
+++ b/less/forms.less
@@ -410,8 +410,9 @@ select:focus:invalid {
// Reset rounded corners
.input-group input:first-child,
.input-group-addon:first-child,
-.input-group-btn:first-child > .btn:first-child,
-.input-group-btn:first-child > .dropdown-toggle:first-child {
+.input-group-btn:first-child > .btn,
+.input-group-btn:first-child > .dropdown-toggle,
+.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) {
.border-right-radius(0);
}
.input-group-addon:first-child {
@@ -419,8 +420,9 @@ select:focus:invalid {
}
.input-group input:last-child,
.input-group-addon:last-child,
-.input-group-btn:last-child > .btn:last-child,
-.input-group-btn:last-child > .dropdown-toggle {
+.input-group-btn:last-child > .btn,
+.input-group-btn:last-child > .dropdown-toggle,
+.input-group-btn:first-child > .btn:not(:first-child) {
.border-left-radius(0);
}
.input-group-addon:last-child {