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.
47 lines
834 B
47 lines
834 B
// Toasts
|
|
.toast {
|
|
@include toast-variant($dark-color, $gray-color);
|
|
border-radius: $border-radius;
|
|
color: $black !important;
|
|
display: block;
|
|
padding: $layout-spacing;
|
|
width: 100%;
|
|
|
|
&.toast-primary {
|
|
@include toast-variant($gray-color-light, $primary-color);
|
|
}
|
|
|
|
&.toast-success {
|
|
@include toast-variant(lighten($success-color, 30%), $success-color);
|
|
}
|
|
|
|
&.toast-warning {
|
|
@include toast-variant(lighten($warning-color, 30%), $warning-color);
|
|
}
|
|
|
|
&.toast-error {
|
|
@include toast-variant(lighten($error-color, 60%), $error-color);
|
|
}
|
|
|
|
a {
|
|
color: $black !important;
|
|
text-decoration: underline;
|
|
|
|
&:focus,
|
|
&:hover,
|
|
&:active,
|
|
&.active {
|
|
opacity: .75;
|
|
}
|
|
}
|
|
|
|
.btn-clear {
|
|
margin: $unit-h;
|
|
}
|
|
|
|
p {
|
|
&:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
}
|
|
|