97 lines
3.4 KiB
CSS
97 lines
3.4 KiB
CSS
:root {
|
|
--bg: #0f1115;
|
|
--panel: #171a21;
|
|
--border: #2a2f3a;
|
|
--text: #e6e8eb;
|
|
--muted: #9aa3af;
|
|
--accent: #3b82f6;
|
|
--danger: #ef4444;
|
|
--ok: #22c55e;
|
|
}
|
|
* { box-sizing: border-box; }
|
|
body {
|
|
margin: 0;
|
|
background: var(--bg);
|
|
color: var(--text);
|
|
font-family: -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
|
|
}
|
|
.center-screen {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
.card {
|
|
background: var(--panel);
|
|
border: 1px solid var(--border);
|
|
border-radius: 10px;
|
|
padding: 2rem;
|
|
width: 100%;
|
|
max-width: 380px;
|
|
}
|
|
.card h1 { font-size: 1.25rem; margin: 0 0 1.25rem; }
|
|
label { display: block; font-size: 0.85rem; color: var(--muted); margin: 0.75rem 0 0.25rem; }
|
|
input[type=text], input[type=password] {
|
|
width: 100%;
|
|
padding: 0.6rem 0.7rem;
|
|
background: #0f1218;
|
|
border: 1px solid var(--border);
|
|
border-radius: 6px;
|
|
color: var(--text);
|
|
font-size: 0.95rem;
|
|
}
|
|
button {
|
|
margin-top: 1.25rem;
|
|
width: 100%;
|
|
padding: 0.65rem;
|
|
background: var(--accent);
|
|
border: none;
|
|
border-radius: 6px;
|
|
color: white;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
}
|
|
button:hover { filter: brightness(1.1); }
|
|
.error { color: var(--danger); font-size: 0.85rem; margin-top: 0.75rem; min-height: 1em; }
|
|
.hint { color: var(--muted); font-size: 0.8rem; margin-top: 0.5rem; }
|
|
.qr { display: block; margin: 1rem auto; border-radius: 6px; }
|
|
.recovery-codes { font-family: monospace; background: #0f1218; padding: 0.75rem; border-radius: 6px; }
|
|
|
|
/* Sichtbarkeits-Toggle ohne Inline-Styles -- CSP (style-src 'self', kein
|
|
'unsafe-inline') blockt sowohl style="..."-Attribute in Markup als auch
|
|
per JS gesetzte element.style-Aenderungen. Toggle daher ausschliesslich
|
|
ueber diese Klasse (siehe login.js / terminal.js / rdp.js). */
|
|
.hidden { display: none !important; }
|
|
|
|
.topbar {
|
|
display: flex; align-items: center; justify-content: space-between;
|
|
padding: 0.75rem 1.25rem; border-bottom: 1px solid var(--border); background: var(--panel);
|
|
}
|
|
.topbar .brand { font-weight: 700; }
|
|
.topbar button { width: auto; margin: 0; padding: 0.4rem 0.9rem; font-size: 0.85rem; }
|
|
.container { padding: 1.25rem; max-width: 960px; margin: 0 auto; }
|
|
.group { margin-bottom: 1.5rem; }
|
|
.group h2 { font-size: 1rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
|
|
.host-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0.75rem; }
|
|
.host-card {
|
|
background: var(--panel); border: 1px solid var(--border); border-radius: 8px; padding: 1rem;
|
|
}
|
|
.host-card .hostname { font-weight: 600; }
|
|
.host-card .meta { color: var(--muted); font-size: 0.8rem; margin: 0.25rem 0 0.75rem; }
|
|
.host-card .actions { display: flex; gap: 0.5rem; }
|
|
.host-card .actions a, .host-card .actions button {
|
|
flex: 1; text-align: center; text-decoration: none; padding: 0.4rem; border-radius: 6px;
|
|
background: var(--accent); color: white; font-size: 0.85rem; margin: 0;
|
|
}
|
|
|
|
.session-shell { display: flex; flex-direction: column; height: 100vh; }
|
|
.session-toolbar {
|
|
display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 0.9rem;
|
|
background: var(--panel); border-bottom: 1px solid var(--border);
|
|
}
|
|
.session-toolbar button { width: auto; margin: 0; padding: 0.35rem 0.8rem; font-size: 0.8rem; }
|
|
.session-toolbar .spacer { flex: 1; }
|
|
.session-toolbar .status { font-size: 0.8rem; color: var(--muted); }
|
|
#terminal, #rdp-display { flex: 1; background: black; }
|
|
#rdp-display canvas { display: block; margin: 0 auto; }
|