Code for the littler Buttons the Computer used in the Turing Machine portion of the book.
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.
 
buttons-computer/sass/_toasts.scss

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;
}
}
}