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:
authorGleb Mazovetskiy <glex.spb@gmail.com>2015-11-17 10:06:24 +0300
committerGleb Mazovetskiy <glex.spb@gmail.com>2015-11-17 10:06:24 +0300
commit289d93f77336bc8b78e6328eea69f558c144e5bd (patch)
tree61021f4e8746fad95f751c66e6bb3cae6def99da /assets/stylesheets/bootstrap/_card.scss
parentc00bd6966ae0e74c7ba16f4e2450a2a7b0289694 (diff)
rake update[v4-dev]
Diffstat (limited to 'assets/stylesheets/bootstrap/_card.scss')
-rw-r--r--assets/stylesheets/bootstrap/_card.scss11
1 files changed, 8 insertions, 3 deletions
diff --git a/assets/stylesheets/bootstrap/_card.scss b/assets/stylesheets/bootstrap/_card.scss
index aff6036..f6a4fd8 100644
--- a/assets/stylesheets/bootstrap/_card.scss
+++ b/assets/stylesheets/bootstrap/_card.scss
@@ -4,6 +4,7 @@
.card {
position: relative;
+ display: block;
margin-bottom: $card-spacer-y;
background-color: $card-bg;
border: $card-border-width solid $card-border-color;
@@ -135,7 +136,7 @@
}
.card-link {
@include hover-focus {
- color: #fff;
+ color: $card-link-hover-color;
}
}
}
@@ -169,10 +170,10 @@
// Card image caps
.card-img-top {
- @include border-radius(.25rem .25rem 0 0);
+ @include border-radius($card-border-radius-inner $card-border-radius-inner 0 0);
}
.card-img-bottom {
- @include border-radius(0 0 .25rem .25rem);
+ @include border-radius(0 0 $card-border-radius-inner $card-border-radius-inner);
}
@@ -246,6 +247,8 @@
// Handle rounded corners
@if $enable-rounded {
&:first-child {
+ @include border-right-radius(0);
+
.card-img-top {
border-top-right-radius: 0;
}
@@ -254,6 +257,8 @@
}
}
&:last-child {
+ @include border-left-radius(0);
+
.card-img-top {
border-top-left-radius: 0;
}