implemented toasts

This commit is contained in:
Fran Jurmanović
2021-06-12 21:21:03 +02:00
parent ecedbb8b57
commit 64b54b3568
17 changed files with 7186 additions and 11 deletions

View File

@@ -10,3 +10,4 @@
@import './layout/index.scss';
@import './app-dropdown/index.scss';
@import './input-field/index.scss';
@import './toast-portal/index.scss';

View File

@@ -0,0 +1 @@
@import './toast-portal.scss';

View File

@@ -0,0 +1,29 @@
toast-portal {
.toast-portal {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 2500;
overflow: visible;
pointer-events: none;
background: none !important;
.toast-list {
position: absolute;
top: 5px;
right: 7px;
.toast {
&.--default {
position: relative;
width: 200px;
height: 40px;
background-color: $gray-07;
border: 1px solid $gray-08;
border-radius: 4px;
}
}
}
}
}