1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-31 17:11:48 +02:00

Merge pull request #19667 from vsn4ik/v4-dev-use-border-radius-mixin

Use @border-radius and add $nav-tabs-border-radius variable
This commit is contained in:
Mark Otto
2016-05-09 09:56:28 -07:00
4 changed files with 13 additions and 16 deletions

View File

@@ -48,20 +48,16 @@
}
}
@if $enable-rounded {
.card {
> .list-group:first-child {
.list-group-item:first-child {
border-top-left-radius: $card-border-radius;
border-top-right-radius: $card-border-radius;
}
.card {
> .list-group:first-child {
.list-group-item:first-child {
@include border-top-radius($card-border-radius);
}
}
> .list-group:last-child {
.list-group-item:last-child {
border-bottom-right-radius: $card-border-radius;
border-bottom-left-radius: $card-border-radius;
}
> .list-group:last-child {
.list-group-item:last-child {
@include border-bottom-radius($card-border-radius);
}
}
}
@@ -195,10 +191,10 @@
// Card image caps
.card-img-top {
@include border-radius($card-border-radius-inner $card-border-radius-inner 0 0);
@include border-top-radius($card-border-radius-inner);
}
.card-img-bottom {
@include border-radius(0 0 $card-border-radius-inner $card-border-radius-inner);
@include border-bottom-radius($card-border-radius-inner);
}