SHiNE-server/shine-UI/styles/layout.css
AidarKC b33fa4aeaa 30 03 25
Добавил сайт с UI прямо сюда
2026-03-30 00:43:49 +03:00

56 lines
1.1 KiB
CSS

body {
display: flex;
justify-content: center;
}
.app-shell {
width: min(100vw, 430px);
height: 100dvh;
position: relative;
background: linear-gradient(165deg, rgba(16, 22, 36, 0.96), rgba(11, 16, 27, 0.99));
border-left: 1px solid rgba(255, 255, 255, 0.05);
border-right: 1px solid rgba(255, 255, 255, 0.05);
box-shadow: var(--shadow);
overflow: hidden;
}
.screen-content {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 118px;
overflow-y: auto;
padding: 14px 14px 24px;
}
.screen-content.no-app-chrome {
bottom: 0;
padding-bottom: calc(24px + env(safe-area-inset-bottom));
}
.page-label-slot {
position: absolute;
left: 0;
right: 0;
bottom: 99px;
padding: 0 14px;
}
.toolbar-slot {
position: absolute;
left: 0;
right: 0;
bottom: 0;
padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
background: linear-gradient(180deg, rgba(10, 14, 23, 0) 0%, rgba(10, 14, 23, 0.95) 42%);
}
@media (min-width: 900px) {
.app-shell {
margin: 16px 0;
height: calc(100dvh - 32px);
border-radius: 24px;
}
}