Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap-rubygem.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'assets/stylesheets/bootstrap/_card.scss')
-rw-r--r--assets/stylesheets/bootstrap/_card.scss26
1 files changed, 17 insertions, 9 deletions
diff --git a/assets/stylesheets/bootstrap/_card.scss b/assets/stylesheets/bootstrap/_card.scss
index a739f19..a3a435a 100644
--- a/assets/stylesheets/bootstrap/_card.scss
+++ b/assets/stylesheets/bootstrap/_card.scss
@@ -194,10 +194,12 @@
&:first-child {
@include border-right-radius(0);
- .card-img-top {
+ .card-img-top,
+ .card-header {
border-top-right-radius: 0;
}
- .card-img-bottom {
+ .card-img-bottom,
+ .card-footer {
border-bottom-right-radius: 0;
}
}
@@ -205,10 +207,12 @@
&:last-child {
@include border-left-radius(0);
- .card-img-top {
+ .card-img-top,
+ .card-header {
border-top-left-radius: 0;
}
- .card-img-bottom {
+ .card-img-bottom,
+ .card-footer {
border-bottom-left-radius: 0;
}
}
@@ -216,20 +220,24 @@
&:only-child {
@include border-radius($card-border-radius);
- .card-img-top {
+ .card-img-top,
+ .card-header {
@include border-top-radius($card-border-radius);
}
- .card-img-bottom {
+ .card-img-bottom,
+ .card-footer {
@include border-bottom-radius($card-border-radius);
}
}
&:not(:first-child):not(:last-child):not(:only-child) {
- border-radius: 0;
+ @include border-radius(0);
.card-img-top,
- .card-img-bottom {
- border-radius: 0;
+ .card-img-bottom,
+ .card-header,
+ .card-footer {
+ @include border-radius(0);
}
}
}