This commit is contained in:
pakerpale
2020-11-08 18:34:31 +09:00
parent 20c9739ba9
commit b5f92c5127
3151 changed files with 928399 additions and 28 deletions

View File

@@ -0,0 +1,23 @@
//
// 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);
}
}
}