1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00
jellyfin-web/src/components/toast/toast.scss

44 lines
792 B
SCSS
Raw Normal View History

2022-01-17 23:27:28 +03:00
.toastContainer {
2018-10-23 01:13:23 +03:00
position: fixed;
2022-07-03 10:13:06 -04:00
inset-inline-start: 0;
2022-01-17 23:27:28 +03:00
bottom: 0;
pointer-events: none;
z-index: 9999999;
padding: 1em;
display: flex;
flex-direction: column;
}
.toast {
2018-10-23 01:13:23 +03:00
min-width: 20em;
box-sizing: border-box;
box-shadow: 0 0.0725em 0.29em 0 rgba(0, 0, 0, 0.37);
2020-01-19 15:00:37 +01:00
border-radius: 0.15em;
2018-10-23 01:13:23 +03:00
cursor: default;
2020-01-19 15:00:37 +01:00
transition: transform 0.3s ease-out;
2018-10-23 01:13:23 +03:00
min-height: initial;
padding: 1em 1.5em;
font-size: 110%;
2022-01-17 23:27:28 +03:00
margin: 0.25em 0;
margin-right: auto;
pointer-events: initial;
}
.toast:first-child {
margin-top: 0;
}
.toast:last-child {
margin-bottom: 0;
transform: translateY(16em);
2018-10-23 01:13:23 +03:00
}
2022-01-17 23:27:28 +03:00
.toast.toastVisible {
transform: none;
}
2022-01-17 23:27:28 +03:00
.toast.toastHide {
opacity: 0;
transition: opacity 0.3s ease-out;
}