6989a98d75
- Arkitektur: docs/auth/passwordless-architecture.md - Backend: iom/quixzoom-auth-service/ (FastAPI + Redis) - Webb: quixzoom-market-pages/se/login/ (QR-kod + polling) - App: iom/quixzoom-app/src/features/auth/ (push + deep links) Flöde: QR-kod → app-godkännande → webb-inloggad
61 lines
1.2 KiB
SCSS
61 lines
1.2 KiB
SCSS
.#{$rt-namespace}__toast-container {
|
|
z-index: $rt-z-index;
|
|
-webkit-transform: translate3d(0, 0, #{$rt-z-index}px);
|
|
position: fixed;
|
|
padding: 4px;
|
|
width: $rt-toast-width;
|
|
box-sizing: border-box;
|
|
color: #fff;
|
|
&--top-left {
|
|
top: 1em;
|
|
left: 1em;
|
|
}
|
|
&--top-center {
|
|
top: 1em;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
}
|
|
&--top-right {
|
|
top: 1em;
|
|
right: 1em;
|
|
}
|
|
&--bottom-left {
|
|
bottom: 1em;
|
|
left: 1em;
|
|
}
|
|
&--bottom-center {
|
|
bottom: 1em;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
}
|
|
&--bottom-right {
|
|
bottom: 1em;
|
|
right: 1em;
|
|
}
|
|
}
|
|
|
|
@media #{$rt-mobile} {
|
|
.#{$rt-namespace}__toast-container {
|
|
width: 100vw;
|
|
padding: 0;
|
|
left: 0;
|
|
margin: 0;
|
|
&--top-left,
|
|
&--top-center,
|
|
&--top-right {
|
|
top: 0;
|
|
transform: translateX(0);
|
|
}
|
|
&--bottom-left,
|
|
&--bottom-center,
|
|
&--bottom-right {
|
|
bottom: 0;
|
|
transform: translateX(0);
|
|
}
|
|
&--rtl{
|
|
right: 0;
|
|
left: initial;
|
|
}
|
|
}
|
|
}
|