2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-20 20:00:36 +03:00

[v3] Use border-radius mixin in button-groups.less

This commit is contained in:
vsn4ik
2015-11-14 01:16:38 +03:00
parent f14ee8fd44
commit 33315652ae
+2 -4
View File
@@ -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 {