You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
700 B
35 lines
700 B
4 years ago
|
// Labels
|
||
|
.label {
|
||
|
@include label-base();
|
||
|
@include label-variant(lighten($body-font-color, 5%), $bg-color-dark);
|
||
|
display: inline-block;
|
||
|
|
||
|
// Label rounded
|
||
|
&.label-rounded {
|
||
|
border-radius: 5rem;
|
||
|
padding-left: .4rem;
|
||
|
padding-right: .4rem;
|
||
|
}
|
||
|
|
||
|
// Label colors
|
||
|
&.label-primary {
|
||
|
@include label-variant($light-color, $primary-color);
|
||
|
}
|
||
|
|
||
|
&.label-secondary {
|
||
|
@include label-variant($primary-color, $secondary-color);
|
||
|
}
|
||
|
|
||
|
&.label-success {
|
||
|
@include label-variant($light-color, $success-color);
|
||
|
}
|
||
|
|
||
|
&.label-warning {
|
||
|
@include label-variant($light-color, $warning-color);
|
||
|
}
|
||
|
|
||
|
&.label-error {
|
||
|
@include label-variant($light-color, $error-color);
|
||
|
}
|
||
|
}
|