feat(mobile): add slide-up-sheet animation and screen transition CSS

This commit is contained in:
Jannis Braun
2026-03-17 15:29:41 +01:00
parent 8bd74ec608
commit b0647fccb6
2 changed files with 22 additions and 0 deletions
+13
View File
@@ -456,6 +456,19 @@
.call-refraction::after { animation: none !important; opacity: 0; }
}
/* ── MOBILE SCREEN TRANSITIONS ── */
.mobile-screen-enter {
transform: translateX(100%);
}
.mobile-screen-enter-active {
transform: translateX(0);
transition: transform 200ms ease-out;
}
.mobile-screen-exit-active {
transform: translateX(100%);
transition: transform 200ms ease-out;
}
/* ── Electron window drag regions ── */
.titlebar-drag { -webkit-app-region: drag; }
.titlebar-no-drag { -webkit-app-region: no-drag; }
+9
View File
@@ -73,6 +73,15 @@ export default {
fontFamily: {
sans: ['DM Sans', '-apple-system', 'BlinkMacSystemFont', 'system-ui', 'sans-serif'],
},
animation: {
'slide-up-sheet': 'slide-up-sheet 200ms ease-out',
},
keyframes: {
'slide-up-sheet': {
'0%': { transform: 'translateY(100%)' },
'100%': { transform: 'translateY(0)' },
},
},
},
},
plugins: [],