ci / contract / contract (сгенерированный код совпадает с openapi.yaml) (push) Successful in 50s
ci / ts / ts (packages + web) (push) Successful in 43s
ci / docker / docker (образы собираются — их сервер собирает сам при обновлении) (push) Successful in 27s
ci / mobile / mobile (Metro-бандл Android) (push) Successful in 1m22s
- core: AuthSession keeps the access token in memory, refreshes it once for all parallel requests (single-flight) and retries them; refresh races between tabs are retried, reuse signs out; ApiError carries problem+json codes and field errors - web: TanStack Router with guards — guests go to /login, the bootstrap admin to /setup/admin, temporary passwords to /setup/password, admin pages by role - login, setup screens, Classic shell (top bar, role-based sidebar, empty player), settings: name, theme, language, password, devices - users admin: search, role filter, create with a one-time temporary password, reset, block, role change, delete as the policy allows; audit log for admins - ru/en strings for auth, admin and error codes; language and theme are saved in the profile Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
167 lines
2.7 KiB
CSS
167 lines
2.7 KiB
CSS
.screen {
|
|
position: relative;
|
|
min-height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.backdrop {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 0;
|
|
pointer-events: none;
|
|
opacity: var(--amb-op);
|
|
}
|
|
|
|
.backdrop span {
|
|
position: absolute;
|
|
border-radius: 50%;
|
|
filter: blur(30px);
|
|
}
|
|
|
|
.blob1 {
|
|
width: 62vmax;
|
|
height: 62vmax;
|
|
left: -18vmax;
|
|
top: -24vmax;
|
|
background: radial-gradient(circle, rgba(47, 128, 255, 0.34), transparent 65%);
|
|
animation: drift1 16s ease-in-out infinite alternate;
|
|
}
|
|
|
|
.blob2 {
|
|
width: 55vmax;
|
|
height: 55vmax;
|
|
right: -20vmax;
|
|
bottom: -26vmax;
|
|
background: radial-gradient(circle, rgba(124, 92, 255, 0.3), transparent 65%);
|
|
animation: drift2 21s ease-in-out infinite alternate;
|
|
}
|
|
|
|
.blob3 {
|
|
width: 40vmax;
|
|
height: 40vmax;
|
|
left: 40%;
|
|
top: 30%;
|
|
background: radial-gradient(circle, rgba(53, 211, 255, 0.16), transparent 65%);
|
|
animation: drift1 26s ease-in-out infinite alternate-reverse;
|
|
}
|
|
|
|
@keyframes drift1 {
|
|
to {
|
|
transform: translate(6vmax, 4vmax);
|
|
}
|
|
}
|
|
|
|
@keyframes drift2 {
|
|
to {
|
|
transform: translate(-5vmax, -6vmax);
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.backdrop span {
|
|
animation: none;
|
|
}
|
|
}
|
|
|
|
.top {
|
|
position: relative;
|
|
z-index: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
height: 60px;
|
|
padding: 0 20px;
|
|
}
|
|
|
|
.center {
|
|
position: relative;
|
|
z-index: 1;
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 16px;
|
|
padding: 24px 16px 48px;
|
|
}
|
|
|
|
.card {
|
|
width: 420px;
|
|
max-width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
padding: 36px;
|
|
border-radius: var(--radius-xl);
|
|
background: var(--glass);
|
|
backdrop-filter: blur(28px) saturate(1.3);
|
|
border: 1px solid var(--line2);
|
|
box-shadow: var(--shadow);
|
|
animation: pipuIn 0.2s ease-out;
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.card {
|
|
padding: 28px 20px;
|
|
}
|
|
}
|
|
|
|
.card h1 {
|
|
margin: 0;
|
|
font-family: var(--font-display);
|
|
font-size: 26px;
|
|
font-weight: 600;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
.card form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
}
|
|
|
|
.lead {
|
|
margin: -6px 0 4px;
|
|
color: var(--text2);
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.badge {
|
|
align-self: flex-start;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
height: 28px;
|
|
padding: 0 12px;
|
|
border-radius: var(--radius-pill);
|
|
background: var(--violet-soft);
|
|
color: var(--violet);
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.submit {
|
|
height: 48px;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.hint {
|
|
padding: 10px 12px;
|
|
border-radius: 10px;
|
|
background: var(--accent-soft);
|
|
color: var(--text2);
|
|
font-size: 13px;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.footer {
|
|
font-size: 12px;
|
|
color: var(--text3);
|
|
}
|
|
|
|
.link {
|
|
align-self: center;
|
|
}
|