Initial commit

This commit is contained in:
Keith Solomon
2026-03-08 15:06:50 -05:00
commit 9fb58a9677
16 changed files with 1194 additions and 0 deletions

214
app/static/styles.css Normal file
View File

@@ -0,0 +1,214 @@
:root {
color-scheme: dark;
--bg: #0a1118;
--panel: #111b24;
--panel-2: #182531;
--text: #d9e5ef;
--muted: #8fa4b6;
--accent: #5dc4ff;
--accent-2: #2f9bd5;
--ok: #6fdd8b;
--warn: #f2b84d;
--danger: #f67a7a;
--border: #253648;
}
* { box-sizing: border-box; }
body {
margin: 0;
min-height: 100vh;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
color: var(--text);
background:
radial-gradient(circle at 90% 0%, #193149 0%, transparent 40%),
radial-gradient(circle at 10% 100%, #0f2a3a 0%, transparent 38%),
var(--bg);
display: grid;
grid-template-rows: auto 1fr auto;
}
.topbar {
display: flex;
align-items: center;
justify-content: space-between;
padding: 14px 18px;
border-bottom: 1px solid var(--border);
background: rgba(7, 13, 19, 0.85);
backdrop-filter: blur(6px);
}
.title-wrap h1 {
margin: 0;
font-size: 1.35rem;
letter-spacing: 0.03em;
}
.title-wrap p {
margin: 4px 0 0;
color: var(--muted);
font-size: 0.88rem;
}
.controls {
display: flex;
gap: 10px;
}
input, button {
border: 1px solid var(--border);
border-radius: 8px;
background: var(--panel);
color: var(--text);
padding: 9px 12px;
}
input {
min-width: 210px;
}
button {
cursor: pointer;
background: linear-gradient(180deg, var(--accent), var(--accent-2));
border: none;
color: #03101a;
font-weight: 600;
}
.layout {
height: calc(100vh - 128px);
display: grid;
gap: 12px;
grid-template-columns: 300px 1fr;
padding: 12px;
}
.pane {
border: 1px solid var(--border);
border-radius: 12px;
background: linear-gradient(160deg, var(--panel), var(--panel-2));
display: flex;
flex-direction: column;
min-height: 0;
}
.pane-head {
padding: 12px 14px;
border-bottom: 1px solid var(--border);
}
.pane-head h2 {
margin: 0;
font-size: 0.95rem;
letter-spacing: 0.02em;
}
.left-pane { overflow: hidden; }
.device-list {
list-style: none;
padding: 6px;
margin: 0;
overflow: auto;
}
.device-item {
border: 1px solid transparent;
border-radius: 10px;
padding: 10px;
margin-bottom: 6px;
background: rgba(255,255,255,0.02);
cursor: pointer;
}
.device-item:hover { border-color: #33516b; }
.device-item.active { border-color: var(--accent); background: rgba(93,196,255,0.08); }
.device-item .meta {
color: var(--muted);
font-size: 0.82rem;
margin-top: 3px;
}
.right-stack {
display: grid;
grid-template-rows: 1fr 1fr;
gap: 12px;
min-height: 0;
}
.machine-info, .ports-list {
padding: 14px;
overflow: auto;
}
.info-grid {
display: grid;
gap: 10px;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.info-card {
border: 1px solid var(--border);
border-radius: 10px;
padding: 10px;
background: rgba(255,255,255,0.02);
}
.label {
color: var(--muted);
font-size: 0.78rem;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.value {
margin-top: 5px;
word-break: break-word;
}
details.port {
border: 1px solid var(--border);
border-radius: 10px;
padding: 8px 10px;
margin-bottom: 8px;
background: rgba(255,255,255,0.02);
}
summary {
cursor: pointer;
font-weight: 600;
}
.port-body {
margin-top: 8px;
color: var(--muted);
font-size: 0.9rem;
white-space: pre-wrap;
}
.empty { color: var(--muted); }
.statusbar {
padding: 10px 16px;
border-top: 1px solid var(--border);
color: var(--muted);
font-size: 0.85rem;
}
@media (max-width: 900px) {
.layout {
grid-template-columns: 1fr;
grid-template-rows: 250px 1fr;
height: auto;
min-height: calc(100vh - 128px);
}
.right-stack {
grid-template-rows: 1fr 1fr;
min-height: 500px;
}
.controls { flex-direction: column; align-items: stretch; }
input { min-width: 0; }
}