2019-09-16 10:05:25 +00:00
|
|
|
//
|
|
|
|
// Component: Toasts
|
|
|
|
//
|
|
|
|
|
|
|
|
.toasts-top-right {
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
z-index: $zindex-toasts;
|
|
|
|
|
|
|
|
&.fixed {
|
|
|
|
position: fixed;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.toasts-top-left {
|
|
|
|
left: 0;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
z-index: $zindex-toasts;
|
|
|
|
|
|
|
|
&.fixed {
|
|
|
|
position: fixed;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.toasts-bottom-right {
|
|
|
|
bottom: 0;
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
z-index: $zindex-toasts;
|
|
|
|
|
|
|
|
&.fixed {
|
|
|
|
position: fixed;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.toasts-bottom-left {
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
position: absolute;
|
|
|
|
z-index: $zindex-toasts;
|
|
|
|
|
|
|
|
&.fixed {
|
|
|
|
position: fixed;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-04-13 12:24:31 +00:00
|
|
|
@include dark-mode () {
|
2020-09-23 14:08:15 +00:00
|
|
|
.toast {
|
|
|
|
background-color: rgba($dark, .85);
|
|
|
|
color: $white;
|
|
|
|
|
|
|
|
.toast-header {
|
|
|
|
background-color: rgba($dark, .7);
|
|
|
|
color: $gray-100;
|
|
|
|
}
|
2021-03-09 19:44:26 +00:00
|
|
|
|
|
|
|
@each $name, $color in $theme-colors-alt {
|
|
|
|
@include toast-variant($name, $color);
|
|
|
|
}
|
|
|
|
|
|
|
|
@each $name, $color in $colors-alt {
|
|
|
|
@include toast-variant($name, $color);
|
|
|
|
}
|
2020-09-23 14:08:15 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-03-09 19:44:26 +00:00
|
|
|
|
2019-09-16 10:05:25 +00:00
|
|
|
.toast {
|
|
|
|
@each $name, $color in $theme-colors {
|
|
|
|
@include toast-variant($name, $color);
|
|
|
|
}
|
|
|
|
@each $name, $color in $colors {
|
|
|
|
@include toast-variant($name, $color);
|
|
|
|
}
|
|
|
|
}
|