mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-11 08:54:23 +01:00
Use the new mixin.
This commit is contained in:
parent
cc814f4d76
commit
beb11714dd
@ -92,27 +92,21 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
.card-primary {
|
.card-primary {
|
||||||
background-color: $brand-primary;
|
@include card-variant($brand-primary);
|
||||||
border-color: $brand-primary;
|
|
||||||
}
|
}
|
||||||
.card-success {
|
.card-success {
|
||||||
background-color: $brand-success;
|
@include card-variant($brand-success);
|
||||||
border-color: $brand-success;
|
|
||||||
}
|
}
|
||||||
.card-info {
|
.card-info {
|
||||||
background-color: $brand-info;
|
@include card-variant($brand-info);
|
||||||
border-color: $brand-info;
|
|
||||||
}
|
}
|
||||||
.card-warning {
|
.card-warning {
|
||||||
background-color: $brand-warning;
|
@include card-variant($brand-warning);
|
||||||
border-color: $brand-warning;
|
|
||||||
}
|
}
|
||||||
.card-danger {
|
.card-danger {
|
||||||
background-color: $brand-danger;
|
@include card-variant($brand-danger);
|
||||||
border-color: $brand-danger;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Inverse text within a card for use with dark backgrounds
|
// Inverse text within a card for use with dark backgrounds
|
||||||
//
|
//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user