diff --git a/web/static/app.css b/web/static/app.css index 68e1041..c81ea7f 100644 --- a/web/static/app.css +++ b/web/static/app.css @@ -41,23 +41,13 @@ body { backdrop-filter: blur(12px); } -.brand { - font-size: 28px; - font-weight: 800; - letter-spacing: -.04em; -} - +.brand { font-size: 28px; font-weight: 800; letter-spacing: -.04em; } .muted { color: var(--muted); } .small-note { font-size: 13px; line-height: 1.45; } +.top-space { margin-top: 14px; } +.inline-form { margin: 0; } -.top-meta { - display: flex; - gap: 10px; - flex-wrap: wrap; - justify-content: flex-end; - align-items: center; -} - +.top-meta { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; align-items: center; } .top-meta span, .pill, .link-pill { @@ -88,15 +78,7 @@ body { box-shadow: 0 18px 50px rgba(0,0,0,.22); margin-bottom: 16px; } - -.card-head { - display: flex; - align-items: center; - justify-content: space-between; - gap: 12px; - margin-bottom: 14px; -} - +.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; } h2 { margin: 0; font-size: 18px; letter-spacing: -.02em; } .label { color: var(--muted); font-size: 13px; margin-bottom: 8px; } .value { font-size: 24px; font-weight: 800; letter-spacing: -.03em; } @@ -104,29 +86,12 @@ h2 { margin: 0; font-size: 18px; letter-spacing: -.02em; } .strong { font-weight: 700; } .services { display: grid; gap: 10px; } -.service-row { - display: flex; - align-items: center; - justify-content: space-between; - gap: 12px; - padding: 11px 12px; - background: rgba(255,255,255,.03); - border: 1px solid rgba(255,255,255,.06); - border-radius: 14px; -} +.service-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 12px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); border-radius: 14px; } .service-row small { display: block; margin-top: 4px; color: var(--muted); } .service-link { color: var(--text); text-decoration: none; } .service-link:hover { border-color: rgba(55,214,255,.42); background: rgba(55,214,255,.055); } -.status { - display: inline-flex; - padding: 5px 9px; - border-radius: 999px; - font-size: 12px; - font-weight: 800; - border: 1px solid currentColor; - white-space: nowrap; -} +.status { display: inline-flex; padding: 5px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; border: 1px solid currentColor; white-space: nowrap; } .status.ok { color: var(--green); background: rgba(61,255,157,.09); } .status.warn { color: var(--yellow); background: rgba(255,209,102,.09); } .status.err { color: var(--red); background: rgba(255,92,122,.09); } @@ -138,15 +103,7 @@ tr:last-child td { border-bottom: 0; } .actions { display: flex; gap: 8px; flex-wrap: wrap; } .actions form, .logout-form { margin: 0; } -button { - border: 1px solid var(--line); - background: rgba(55,214,255,.08); - color: var(--text); - padding: 8px 10px; - border-radius: 12px; - cursor: pointer; - font-weight: 700; -} +button { border: 1px solid var(--line); background: rgba(55,214,255,.08); color: var(--text); padding: 8px 10px; border-radius: 12px; cursor: pointer; font-weight: 700; } button:hover { border-color: var(--accent); } button.danger { background: rgba(255,92,122,.09); color: var(--red); } button.primary { background: rgba(55,214,255,.18); border-color: rgba(55,214,255,.55); } @@ -154,22 +111,9 @@ button.ghost { background: rgba(255,255,255,.035); color: var(--muted); } button.wide { width: 100%; padding: 12px 14px; } button:disabled { cursor: not-allowed; opacity: .45; } -pre { - overflow: auto; - margin: 14px 0 0; - padding: 14px; - border-radius: 14px; - background: #070b12; - border: 1px solid rgba(255,255,255,.06); - color: #d9e5f6; - line-height: 1.55; -} +pre { overflow: auto; margin: 14px 0 0; padding: 14px; border-radius: 14px; background: #070b12; border: 1px solid rgba(255,255,255,.06); color: #d9e5f6; line-height: 1.55; } -.auth-body { - display: grid; - place-items: center; - padding: 20px; -} +.auth-body { display: grid; place-items: center; padding: 20px; } .auth-shell { width: min(440px, 100%); } .auth-card { padding: 28px; } .auth-brand { margin-bottom: 6px; } @@ -180,98 +124,33 @@ pre { .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .auth-form input, .form-grid input, -.form-grid select { - width: 100%; - border: 1px solid var(--line); - background: rgba(7,11,18,.82); - color: var(--text); - border-radius: 14px; - padding: 12px 13px; - outline: none; -} +.form-grid select { width: 100%; border: 1px solid var(--line); background: rgba(7,11,18,.82); color: var(--text); border-radius: 14px; padding: 12px 13px; outline: none; } .auth-form input:focus, .form-grid input:focus, .form-grid select:focus { border-color: var(--accent); } .alert, -.notice { - padding: 12px 13px; - border-radius: 14px; - margin: 0 0 16px; - font-weight: 700; -} +.notice { padding: 12px 13px; border-radius: 14px; margin: 0 0 16px; font-weight: 700; } .notice { margin: 0; color: var(--accent); background: rgba(55,214,255,.07); border: 1px solid rgba(55,214,255,.22); } .alert.danger { color: var(--red); background: rgba(255,92,122,.08); border: 1px solid rgba(255,92,122,.28); } .quick-actions { display: grid; gap: 10px; } -.big-action { - display: grid; - gap: 5px; - padding: 14px; - color: var(--text); - text-decoration: none; - background: rgba(255,255,255,.03); - border: 1px solid rgba(255,255,255,.06); - border-radius: 16px; -} +.big-action { display: grid; gap: 5px; padding: 14px; color: var(--text); text-decoration: none; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); border-radius: 16px; } .big-action:hover { border-color: rgba(55,214,255,.42); background: rgba(55,214,255,.055); } +.big-action.static:hover { border-color: rgba(255,255,255,.06); background: rgba(255,255,255,.03); } .big-action span { color: var(--muted); font-size: 13px; line-height: 1.45; } -.progress { - height: 9px; - overflow: hidden; - background: rgba(255,255,255,.065); - border: 1px solid rgba(255,255,255,.08); - border-radius: 999px; -} +.progress { height: 9px; overflow: hidden; background: rgba(255,255,255,.065); border: 1px solid rgba(255,255,255,.08); border-radius: 999px; } .progress.big { height: 14px; } -.progress span { - display: block; - height: 100%; - width: 0; - min-width: 3px; - background: linear-gradient(90deg, rgba(55,214,255,.75), rgba(61,255,157,.9)); - border-radius: inherit; - transition: width .35s ease; -} +.progress span { display: block; height: 100%; width: 0; min-width: 3px; background: linear-gradient(90deg, rgba(55,214,255,.75), rgba(61,255,157,.9)); border-radius: inherit; transition: width .35s ease; } -.operation-summary { - display: grid; - grid-template-columns: 1fr 1fr; - gap: 18px; - margin-bottom: 16px; -} -.meta-grid { - display: grid; - grid-template-columns: repeat(3, minmax(0, 1fr)); - gap: 10px; -} -.meta-grid div { - display: grid; - gap: 5px; - padding: 11px 12px; - border-radius: 14px; - background: rgba(255,255,255,.03); - border: 1px solid rgba(255,255,255,.06); -} +.operation-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 16px; } +.meta-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } +.meta-grid div { display: grid; gap: 5px; padding: 11px 12px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); } .meta-grid span { color: var(--muted); font-size: 12px; } .meta-grid strong { overflow-wrap: anywhere; } .command-box { white-space: pre-wrap; overflow-wrap: anywhere; } -.op-log { - min-height: 420px; - max-height: 620px; - white-space: pre-wrap; - font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; - font-size: 13px; -} -.live-dot::before { - content: ""; - width: 7px; - height: 7px; - margin-right: 6px; - border-radius: 50%; - background: var(--green); - box-shadow: 0 0 18px rgba(61,255,157,.8); -} +.op-log { min-height: 420px; max-height: 620px; white-space: pre-wrap; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; font-size: 13px; } +.live-dot::before { content: ""; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 18px rgba(61,255,157,.8); } @media (max-width: 900px) { .topbar { align-items: flex-start; flex-direction: column; }