mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Use the new mixin.
This commit is contained in:
parent
cc814f4d76
commit
beb11714dd
1 changed files with 5 additions and 11 deletions
|
@ -92,27 +92,21 @@
|
|||
//
|
||||
|
||||
.card-primary {
|
||||
background-color: $brand-primary;
|
||||
border-color: $brand-primary;
|
||||
@include card-variant($brand-primary);
|
||||
}
|
||||
.card-success {
|
||||
background-color: $brand-success;
|
||||
border-color: $brand-success;
|
||||
@include card-variant($brand-success);
|
||||
}
|
||||
.card-info {
|
||||
background-color: $brand-info;
|
||||
border-color: $brand-info;
|
||||
@include card-variant($brand-info);
|
||||
}
|
||||
.card-warning {
|
||||
background-color: $brand-warning;
|
||||
border-color: $brand-warning;
|
||||
@include card-variant($brand-warning);
|
||||
}
|
||||
.card-danger {
|
||||
background-color: $brand-danger;
|
||||
border-color: $brand-danger;
|
||||
@include card-variant($brand-danger);
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// Inverse text within a card for use with dark backgrounds
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue