Files
furumi-ng/furumi-node-player/client/src/App.css
T

124 lines
2.1 KiB
CSS
Raw Normal View History

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
.auth-page {
2026-03-19 15:06:32 +03:00
min-height: 100vh;
display: grid;
place-items: center;
padding: 24px;
background: #0a0c12;
font-family: 'Inter', system-ui, sans-serif;
color: #e2e8f0;
2026-03-19 15:06:32 +03:00
}
/* ---------- loading spinner ---------- */
.auth-loading {
display: flex;
flex-direction: column;
align-items: center;
gap: 20px;
2026-03-19 15:06:32 +03:00
}
.spinner {
width: 36px;
height: 36px;
border: 3px solid #1f2c45;
border-top-color: #7c6af7;
border-radius: 50%;
animation: spin 0.8s linear infinite;
2026-03-19 15:06:32 +03:00
}
@keyframes spin {
to { transform: rotate(360deg); }
2026-03-19 15:47:21 +03:00
}
.auth-loading .logo {
font-size: 1.6rem;
font-weight: 700;
color: #7c6af7;
}
.auth-loading p {
color: #64748b;
font-size: 0.85rem;
2026-03-19 15:47:21 +03:00
}
/* ---------- login card ---------- */
.auth-card {
width: min(380px, 100%);
background: #111520;
border: 1px solid #1f2c45;
border-radius: 16px;
padding: 2.5rem 2rem;
text-align: center;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
animation: fadeIn 0.3s ease;
2026-03-19 15:47:21 +03:00
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(8px); }
to { opacity: 1; transform: translateY(0); }
2026-03-19 15:47:21 +03:00
}
.auth-card .logo {
font-size: 1.8rem;
font-weight: 700;
color: #7c6af7;
margin-bottom: 4px;
}
.auth-card .subtitle {
font-size: 0.85rem;
color: #64748b;
margin-bottom: 2rem;
}
.auth-card .btn-login {
display: block;
width: 100%;
padding: 0.75rem;
text-align: center;
background: #7c6af7;
border: none;
2026-03-19 15:06:32 +03:00
border-radius: 8px;
color: #fff;
font-size: 0.95rem;
2026-03-19 15:06:32 +03:00
font-weight: 600;
text-decoration: none;
cursor: pointer;
transition: background 0.2s;
2026-03-19 15:06:32 +03:00
}
.auth-card .btn-login:hover {
background: #6b58e8;
2026-03-19 15:06:32 +03:00
}
.auth-card .error {
color: #f87171;
font-size: 0.85rem;
margin-bottom: 1rem;
}
.auth-card .settings {
margin-top: 1.5rem;
padding-top: 1rem;
border-top: 1px solid #1f2c45;
}
.auth-card .toggle {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
color: #64748b;
font-size: 0.8rem;
cursor: pointer;
2026-03-19 15:06:32 +03:00
}
.auth-card .toggle input {
width: 14px;
height: 14px;
accent-color: #7c6af7;
2026-03-19 15:06:32 +03:00
}