mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-13 01:08:58 +01:00
Merge pull request #18246 from vsn4ik/use-mixin-border-radius
Use border-radius mixin in button-groups.less
This commit is contained in:
commit
8248b9e210
@ -173,14 +173,12 @@
|
|||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
&:first-child:not(:last-child) {
|
&:first-child:not(:last-child) {
|
||||||
border-top-left-radius: @btn-border-radius-base;
|
.border-top-radius(@btn-border-radius-base);
|
||||||
border-top-right-radius: @btn-border-radius-base;
|
|
||||||
.border-bottom-radius(0);
|
.border-bottom-radius(0);
|
||||||
}
|
}
|
||||||
&:last-child:not(:first-child) {
|
&:last-child:not(:first-child) {
|
||||||
border-bottom-left-radius: @btn-border-radius-base;
|
|
||||||
border-bottom-right-radius: @btn-border-radius-base;
|
|
||||||
.border-top-radius(0);
|
.border-top-radius(0);
|
||||||
|
.border-bottom-radius(@btn-border-radius-base);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {
|
.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {
|
||||||
|
Loading…
Reference in New Issue
Block a user