mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-12 00:24:03 +02:00
Use the new mixin.
This commit is contained in:
@@ -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
|
||||
//
|
||||
|
Reference in New Issue
Block a user