feat(mobile): add slide-up-sheet animation and screen transition CSS
This commit is contained in:
@@ -456,6 +456,19 @@
|
|||||||
.call-refraction::after { animation: none !important; opacity: 0; }
|
.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 ── */
|
/* ── Electron window drag regions ── */
|
||||||
.titlebar-drag { -webkit-app-region: drag; }
|
.titlebar-drag { -webkit-app-region: drag; }
|
||||||
.titlebar-no-drag { -webkit-app-region: no-drag; }
|
.titlebar-no-drag { -webkit-app-region: no-drag; }
|
||||||
|
|||||||
@@ -73,6 +73,15 @@ export default {
|
|||||||
fontFamily: {
|
fontFamily: {
|
||||||
sans: ['DM Sans', '-apple-system', 'BlinkMacSystemFont', 'system-ui', 'sans-serif'],
|
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: [],
|
plugins: [],
|
||||||
|
|||||||
Reference in New Issue
Block a user