two/web/components/login-gate/login-gate.css
GnomeZworc 6e976ac6e3
web: start: move css to dedicated file
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
2026-06-14 23:08:37 +02:00

81 lines
1.6 KiB
CSS

* { box-sizing: border-box; margin: 0; padding: 0; }
.overlay {
position: fixed;
inset: 0;
background: #181825;
display: flex;
align-items: center;
justify-content: center;
z-index: 9999;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.card {
background: #1e1e2e;
border: 1px solid #313244;
border-radius: 12px;
padding: 36px 40px;
width: 100%;
max-width: 420px;
display: flex;
flex-direction: column;
gap: 24px;
}
@media (max-width: 480px) {
.card { padding: 24px 20px; margin: 0 12px; }
}
.header { display: flex; flex-direction: column; gap: 6px; }
.header h1 {
font-size: 20px;
font-weight: 600;
color: #89b4fa;
letter-spacing: 0.02em;
}
.header p { font-size: 13px; color: #6c7086; }
.fields { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
label {
font-size: 12px;
font-weight: 500;
color: #a6adc8;
text-transform: uppercase;
letter-spacing: 0.06em;
}
input {
background: #181825;
border: 1px solid #313244;
border-radius: 6px;
padding: 9px 12px;
color: #cdd6f4;
font-size: 14px;
font-family: monospace;
outline: none;
transition: border-color 0.15s;
width: 100%;
}
input:focus { border-color: #89b4fa; }
input::placeholder { color: #45475a; }
button {
background: #89b4fa;
color: #1e1e2e;
border: none;
border-radius: 6px;
padding: 10px 16px;
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: background 0.15s;
width: 100%;
}
button:hover { background: #b4d0fa; }