Files
feishin/src/renderer/layouts/mobile-layout/mobile-layout.module.css
T
2026-01-16 03:55:18 -08:00

55 lines
1.1 KiB
CSS

.layout {
position: relative;
display: grid;
grid-template-areas:
'window-bar'
'main-content'
'player';
grid-template-rows: 0 calc(100vh - 90px) 90px;
grid-template-columns: 1fr;
gap: 0;
width: 100vw;
height: 100vh;
overflow: hidden;
background: var(--theme-colors-background);
}
.windows,
.macos {
grid-template-rows: 30px calc(100vh - 120px) 90px;
}
.drawer-button {
position: absolute;
bottom: calc(90px + 0.75rem);
left: 0.75rem;
z-index: 100;
background: color-mix(in srgb, var(--theme-colors-background) 90%, transparent);
border: 1px solid var(--theme-colors-border);
backdrop-filter: blur(10px);
}
@media (height < 192px) {
.drawer-button {
display: none;
}
}
.main-content {
position: relative;
grid-area: main-content;
overflow-x: hidden;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
.full-screen-player-overlay {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 200;
overflow: hidden;
}