diff options
author | Gleb Mazovetskiy <glex.spb@gmail.com> | 2017-09-03 18:50:19 +0300 |
---|---|---|
committer | Gleb Mazovetskiy <glex.spb@gmail.com> | 2017-09-03 18:50:19 +0300 |
commit | b12fdcd48c26cee905c3365626247f452fb941f2 (patch) | |
tree | 96dd5cefb67fc380b71ae589672fa415b4903d81 /assets/stylesheets/bootstrap/_card.scss | |
parent | fb2f045b8ed4a17ec5cacffd19bb5bea7e7fe9fd (diff) |
rake update[v4-dev]
Diffstat (limited to 'assets/stylesheets/bootstrap/_card.scss')
-rw-r--r-- | assets/stylesheets/bootstrap/_card.scss | 31 |
1 files changed, 25 insertions, 6 deletions
diff --git a/assets/stylesheets/bootstrap/_card.scss b/assets/stylesheets/bootstrap/_card.scss index 1ab85a4..40fa425 100644 --- a/assets/stylesheets/bootstrap/_card.scss +++ b/assets/stylesheets/bootstrap/_card.scss @@ -56,6 +56,10 @@ @include border-bottom-radius($card-border-radius); } } + + .card-header + .list-group > .list-group-item:first-child { + border-top: 0; + } } @@ -130,9 +134,15 @@ // Card deck -@include media-breakpoint-up(sm) { - .card-deck { - display: flex; +.card-deck { + display: flex; + flex-direction: column; + + .card { + margin-bottom: $card-deck-margin; + } + + @include media-breakpoint-up(sm) { flex-flow: row wrap; margin-right: -$card-deck-margin; margin-left: -$card-deck-margin; @@ -142,6 +152,7 @@ flex: 1 0 0%; flex-direction: column; margin-right: $card-deck-margin; + margin-bottom: 0; // Override the default margin-left: $card-deck-margin; } } @@ -152,13 +163,20 @@ // Card groups // -@include media-breakpoint-up(sm) { - .card-group { - display: flex; +.card-group { + display: flex; + flex-direction: column; + + .card { + margin-bottom: $card-group-margin; + } + + @include media-breakpoint-up(sm) { flex-flow: row wrap; .card { flex: 1 0 0%; + margin-bottom: 0; + .card { margin-left: 0; @@ -177,6 +195,7 @@ border-bottom-right-radius: 0; } } + &:last-child { @include border-left-radius(0); |