Initial ByteGeist Toolbox uptime checker

This commit is contained in:
Keith Casko
2026-07-23 00:54:01 -04:00
commit db1c3b5f19
15 changed files with 2147 additions and 0 deletions
+236
View File
@@ -0,0 +1,236 @@
/* Use predictable sizing for every element. */
* {
box-sizing: border-box;
}
:root {
color-scheme: dark;
--background: #080c14;
--surface: #111827;
--surface-light: #182235;
--border: #2b3952;
--text: #edf4ff;
--muted: #9eabc0;
--accent: #4ca6ff;
--accent-hover: #78bcff;
--success: #49d17d;
--danger: #ff6b73;
}
body {
margin: 0;
min-height: 100vh;
background:
radial-gradient(circle at top, #17253b 0%, var(--background) 42%);
color: var(--text);
font-family:
Inter,
ui-sans-serif,
system-ui,
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
sans-serif;
}
button,
input {
font: inherit;
}
.page-shell {
display: grid;
place-items: center;
min-height: 100vh;
padding: 32px 20px;
}
.tool-panel {
width: min(760px, 100%);
padding: 32px;
border: 1px solid var(--border);
border-radius: 14px;
background: rgba(17, 24, 39, 0.96);
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.eyebrow {
margin: 0 0 8px;
color: var(--accent);
font-size: 0.78rem;
font-weight: 700;
letter-spacing: 0.16em;
}
h1,
h2,
p {
margin-top: 0;
}
h1 {
margin-bottom: 12px;
font-size: clamp(2rem, 5vw, 3.25rem);
line-height: 1.05;
}
.description {
max-width: 62ch;
margin-bottom: 28px;
color: var(--muted);
line-height: 1.6;
}
.uptime-form label {
display: block;
margin-bottom: 8px;
font-weight: 650;
}
.input-row {
display: grid;
grid-template-columns: 1fr auto;
gap: 12px;
}
input {
min-width: 0;
padding: 13px 14px;
border: 1px solid var(--border);
border-radius: 8px;
background: #0b1220;
color: var(--text);
outline: none;
}
input:focus {
border-color: var(--accent);
box-shadow: 0 0 0 3px rgba(76, 166, 255, 0.16);
}
button {
padding: 13px 18px;
border: 0;
border-radius: 8px;
background: var(--accent);
color: #04101c;
font-weight: 750;
cursor: pointer;
}
button:hover {
background: var(--accent-hover);
}
button:disabled {
cursor: wait;
opacity: 0.65;
}
.status-message {
min-height: 24px;
margin: 18px 0 0;
color: var(--muted);
}
.status-message.error {
color: var(--danger);
}
.result-panel {
margin-top: 24px;
padding: 22px;
border: 1px solid var(--border);
border-radius: 10px;
background: var(--surface-light);
}
.result-heading {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
margin-bottom: 18px;
}
.result-heading h2 {
margin-bottom: 0;
font-size: 1.25rem;
}
.status-badge {
padding: 5px 10px;
border-radius: 999px;
font-size: 0.82rem;
font-weight: 750;
}
.status-badge.online {
background: rgba(73, 209, 125, 0.14);
color: var(--success);
}
.status-badge.offline {
background: rgba(255, 107, 115, 0.14);
color: var(--danger);
}
.result-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 14px;
margin: 0;
}
.result-grid div {
padding: 14px;
border: 1px solid var(--border);
border-radius: 8px;
background: #0d1523;
}
.result-grid dt,
.final-url-block span {
margin-bottom: 6px;
color: var(--muted);
font-size: 0.82rem;
}
.result-grid dd {
margin: 0;
font-weight: 700;
}
.final-url-block {
display: grid;
gap: 5px;
margin-top: 14px;
padding: 14px;
border: 1px solid var(--border);
border-radius: 8px;
background: #0d1523;
}
.final-url-block a {
color: var(--accent);
overflow-wrap: anywhere;
}
@media (max-width: 640px) {
.tool-panel {
padding: 24px 18px;
}
.input-row {
grid-template-columns: 1fr;
}
.result-grid {
grid-template-columns: 1fr;
}
button {
width: 100%;
}
}