add manage page

This commit is contained in:
2026-10-06 11:36:34 -05:00
parent cf101952a0
commit 5509a6d222
4 changed files with 288 additions and 17 deletions
+160 -2
View File
@@ -1,4 +1,162 @@
body {
font-family: sans-serif;
text-align: center;
min-height: 100vh;
margin: 0;
display: grid;
place-items: center;
padding: 24px;
box-sizing: border-box;
background:
radial-gradient(ellipse at 15% 10%, rgba(31, 111, 235, 0.2), transparent 38%),
#0b1220;
color: #e6edf7;
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
main {
width: min(100%, 480px);
}
.status-card {
padding: clamp(28px, 7vw, 48px);
border: 1px solid rgba(148, 163, 184, 0.2);
border-radius: 24px;
background: rgba(17, 27, 45, 0.92);
box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
text-align: left;
}
.eyebrow {
margin: 0 0 12px;
color: #7cb3ff;
font-size: 0.75rem;
font-weight: 700;
letter-spacing: 0.16em;
}
h1 {
margin: 0;
font-size: clamp(2rem, 8vw, 2.6rem);
letter-spacing: -0.04em;
}
.intro {
margin: 12px 0 32px;
color: #a9b6c9;
line-height: 1.6;
}
.status-controls {
display: grid;
gap: 12px;
}
.key-label {
color: #d3dceb;
font-size: 0.9rem;
font-weight: 600;
}
.key-input {
width: 100%;
box-sizing: border-box;
padding: 13px 15px;
border: 1px solid #35445c;
border-radius: 10px;
outline: none;
background: #0c1524;
color: #f5f8fc;
font: inherit;
transition: border-color 150ms ease, box-shadow 150ms ease;
}
.key-input::placeholder {
color: #74839a;
}
.key-input:focus {
border-color: #65a4ff;
box-shadow: 0 0 0 3px rgba(101, 164, 255, 0.18);
}
.status-button {
margin-top: 8px;
padding: 14px 18px;
border: 0;
border-radius: 10px;
color: white;
font: inherit;
font-weight: 700;
cursor: pointer;
transition: background 150ms ease, transform 150ms ease, opacity 150ms ease;
}
.status-button.go-live {
background: #16804a;
}
.status-button.go-live:hover:not(:disabled) {
background: #1b9959;
}
.status-button.take-offline {
background: #b54739;
}
.status-button.take-offline:hover:not(:disabled) {
background: #d05242;
}
.status-button:hover:not(:disabled) {
transform: translateY(-1px);
}
.status-button:disabled {
opacity: 0.65;
cursor: wait;
}
.status-indicator {
display: flex;
align-items: center;
gap: 9px;
margin: 14px 0 0;
color: #a9b6c9;
font-size: 0.95rem;
}
.status-indicator strong {
color: #d3dceb;
}
.status-dot {
width: 9px;
height: 9px;
border-radius: 50%;
background: #8491a5;
}
.status-indicator.is-live .status-dot {
background: #37d488;
box-shadow: 0 0 12px rgba(55, 212, 136, 0.65);
}
.status-indicator.is-live strong {
color: #6ee7a8;
}
.loading {
color: #a9b6c9;
}
.error-message {
margin: 8px 0 0;
color: #ff9387;
font-size: 0.9rem;
line-height: 1.5;
}
@media (prefers-reduced-motion: reduce) {
* {
transition-duration: 0.01ms !important;
}
}