File tree 4 files changed +13
-16
lines changed 4 files changed +13
-16
lines changed Original file line number Diff line number Diff line change 48
48
}
49
49
}
50
50
51
- @if $enable-rounded {
52
- .card {
53
- > .list-group :first-child {
54
- .list-group-item :first-child {
55
- border-top-left-radius : $card-border-radius ;
56
- border-top-right-radius : $card-border-radius ;
57
- }
51
+ .card {
52
+ > .list-group :first-child {
53
+ .list-group-item :first-child {
54
+ @include border-top-radius ($card-border-radius );
58
55
}
56
+ }
59
57
60
- > .list-group :last-child {
61
- .list-group-item :last-child {
62
- border-bottom-right-radius : $card-border-radius ;
63
- border-bottom-left-radius : $card-border-radius ;
64
- }
58
+ > .list-group :last-child {
59
+ .list-group-item :last-child {
60
+ @include border-bottom-radius ($card-border-radius );
65
61
}
66
62
}
67
63
}
195
191
196
192
// Card image caps
197
193
.card-img-top {
198
- @include border-radius ($card-border-radius-inner $card-border-radius-inner 0 0 );
194
+ @include border-top- radius ($card-border-radius-inner );
199
195
}
200
196
.card-img-bottom {
201
- @include border-radius ( 0 0 $card-border- radius-inner $card-border-radius-inner );
197
+ @include border-bottom- radius ( $card-border-radius-inner );
202
198
}
203
199
204
200
Original file line number Diff line number Diff line change 19
19
padding : $thumbnail-padding ;
20
20
background-color : $thumbnail-bg ;
21
21
border : $thumbnail-border-width solid $thumbnail-border-color ;
22
- border-radius : $thumbnail-border-radius ;
22
+ @include border-radius ( $thumbnail-border-radius ) ;
23
23
transition : all .2s ease-in-out ;
24
24
@include box-shadow ($thumbnail-box-shadow );
25
25
Original file line number Diff line number Diff line change 65
65
display : block ;
66
66
padding : $nav-link-padding ;
67
67
border : $nav-tabs-border-width solid transparent ;
68
- @include border-radius ($border-radius $ border-radius 0 0 );
68
+ @include border-top- radius ($nav-tabs- border-radius );
69
69
70
70
@include hover-focus {
71
71
border-color : $nav-tabs-link-hover-border-color $nav-tabs-link-hover-border-color $nav-tabs-border-color ;
Original file line number Diff line number Diff line change @@ -502,6 +502,7 @@ $nav-disabled-link-hover-bg: transparent !default;
502
502
503
503
$nav-tabs-border-color : #ddd !default ;
504
504
$nav-tabs-border-width : $border-width !default ;
505
+ $nav-tabs-border-radius : $border-radius !default ;
505
506
$nav-tabs-link-hover-border-color : $gray-lighter !default ;
506
507
$nav-tabs-active-link-hover-color : $gray !default ;
507
508
$nav-tabs-active-link-hover-bg : $body-bg !default ;
You can’t perform that action at this time.
0 commit comments