mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-21 18:54:30 +01:00
more nesting in button-groups.less
This commit is contained in:
parent
95655e7275
commit
f12d6401f2
@ -72,9 +72,11 @@
|
|||||||
.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {
|
.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
.btn-group > .btn-group:first-child > .btn:last-child,
|
.btn-group > .btn-group:first-child {
|
||||||
.btn-group > .btn-group:first-child > .dropdown-toggle {
|
> .btn:last-child,
|
||||||
.border-right-radius(0);
|
> .dropdown-toggle {
|
||||||
|
.border-right-radius(0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.btn-group > .btn-group:last-child > .btn:first-child {
|
.btn-group > .btn-group:last-child > .btn:first-child {
|
||||||
.border-left-radius(0);
|
.border-left-radius(0);
|
||||||
@ -134,14 +136,16 @@
|
|||||||
margin-top: -1px;
|
margin-top: -1px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.btn-group-vertical .btn:not(:first-child):not(:last-child) {
|
.btn-group-vertical .btn {
|
||||||
border-radius: 0;
|
&:not(:first-child):not(:last-child) {
|
||||||
}
|
border-radius: 0;
|
||||||
.btn-group-vertical .btn:first-child {
|
}
|
||||||
.border-bottom-radius(0);
|
&:first-child {
|
||||||
}
|
.border-bottom-radius(0);
|
||||||
.btn-group-vertical .btn:last-child {
|
}
|
||||||
.border-top-radius(0);
|
&:last-child {
|
||||||
|
.border-top-radius(0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user