mirror of https://github.com/ColorlibHQ/AdminLTE
24 lines
408 B
SCSS
24 lines
408 B
SCSS
//
|
|
// Mixins: Toasts
|
|
//
|
|
|
|
// Toast Variant
|
|
@mixin toast-variant($name, $color) {
|
|
&.bg-#{$name} {
|
|
background-color: rgba($color, .9) !important;
|
|
@if (color-yiq($color) == $yiq-text-light) {
|
|
|
|
.close {
|
|
color: color-yiq($color);
|
|
text-shadow: 0 1px 0 $black;
|
|
}
|
|
}
|
|
|
|
.toast-header {
|
|
background-color: rgba($color, .85);
|
|
color: color-yiq($color);
|
|
}
|
|
}
|
|
}
|
|
|