92 lines
8.2 KiB
CSS
92 lines
8.2 KiB
CSS
:root {
|
|
--ink: #202826;
|
|
--muted: #74807b;
|
|
--line: #dce3dd;
|
|
--paper: #f7f8f5;
|
|
--panel: #ffffff;
|
|
--lime: #d7f247;
|
|
--mint: #e8f1e7;
|
|
--red: #d96552;
|
|
}
|
|
|
|
* { box-sizing: border-box; }
|
|
[hidden] { display: none !important; }
|
|
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif; }
|
|
.shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
|
|
.topbar { min-height: 104px; display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--line); }
|
|
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; background: var(--ink); color: var(--lime); font-size: 19px; font-weight: 800; }
|
|
.eyebrow { margin: 0 0 8px; color: var(--muted); font: 600 10px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0; }
|
|
h1, h2, h3, p { margin-top: 0; }
|
|
h1 { margin: 0; font-size: 18px; letter-spacing: 0; }
|
|
.connection { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: #59645f; font-size: 12px; }
|
|
.connection i { width: 7px; height: 7px; border-radius: 50%; background: #62bc68; box-shadow: 0 0 0 4px #dff0df; }
|
|
.hero { padding: 72px 0 63px; display: flex; justify-content: space-between; align-items: end; }
|
|
.hero > div:first-child { max-width: 780px; }
|
|
h2 { max-width: 780px; margin-bottom: 20px; font-size: clamp(38px, 4.7vw, 60px); line-height: 1.05; letter-spacing: -1px; }
|
|
h2 em { color: #788b28; font-style: normal; }
|
|
.lede { max-width: 580px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
|
|
.hero-note { display: flex; gap: 12px; align-items: start; color: #637069; font: 600 11px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
|
|
.note-number { color: var(--red); font-size: 22px; line-height: 1; }
|
|
.workspace { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr); gap: 16px; }
|
|
.control-panel, .info-panel { background: var(--panel); border: 1px solid var(--line); padding: 30px; }
|
|
.panel-heading, .results-heading { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
|
|
h3 { margin: 0; font-size: 22px; letter-spacing: 0; }
|
|
.panel-index { color: #aab4ae; font: 600 10px ui-monospace, SFMono-Regular, Menlo, monospace; }
|
|
label { display: block; margin: 32px 0 9px; color: #4f5b55; font-size: 12px; font-weight: 700; }
|
|
label span { color: #9da7a0; font-size: 10px; font-weight: 500; }
|
|
.input-wrap, input { height: 50px; border: 1px solid var(--line); background: #fbfcfa; }
|
|
.input-wrap { display: flex; align-items: center; }
|
|
.input-wrap input { width: 100%; border: 0; background: transparent; outline: 0; padding: 0 15px; color: var(--ink); font: inherit; }
|
|
.url-input > span { padding-left: 16px; color: var(--red); font-size: 19px; }
|
|
.field-grid { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 18px; }
|
|
.field-grid label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
.stepper { justify-content: space-between; padding: 0 6px; }
|
|
.stepper button { width: 36px; height: 36px; border: 0; background: transparent; color: #6f7d75; cursor: pointer; font-size: 24px; }
|
|
.stepper input { padding: 0; text-align: center; }
|
|
.field-grid > div:last-child input { width: 100%; padding: 0 15px; outline: 0; color: var(--ink); font: inherit; }
|
|
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 31px; }
|
|
.form-foot p { margin: 0; color: #9aa39e; font-size: 11px; }
|
|
.primary-button { min-width: 132px; display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; border: 0; padding: 0 15px 0 18px; height: 46px; background: var(--ink); color: white; cursor: pointer; font-weight: 700; }
|
|
.primary-button b { color: var(--lime); font-size: 22px; font-weight: 400; }
|
|
.primary-button:disabled { cursor: wait; opacity: .55; }
|
|
.form-error { min-height: 18px; margin: 12px 0 0; color: var(--red); font-size: 12px; }
|
|
.steps { list-style: none; padding: 0; margin: 34px 0 29px; }
|
|
.steps li { display: flex; gap: 15px; padding: 16px 0; border-top: 1px solid var(--line); }
|
|
.steps li:last-child { border-bottom: 1px solid var(--line); }
|
|
.steps li > span { color: var(--red); font: 600 11px ui-monospace, SFMono-Regular, Menlo, monospace; }
|
|
.steps strong { display: block; margin-bottom: 5px; font-size: 13px; }
|
|
.steps p { margin: 0; color: var(--muted); font-size: 11px; }
|
|
.safe-note { display: flex; gap: 10px; align-items: start; color: #7c8880; font-size: 11px; line-height: 1.6; }
|
|
.safe-note b { width: 16px; height: 16px; flex: 0 0 16px; display: grid; place-items: center; border-radius: 50%; background: var(--mint); color: #719071; font-size: 10px; }
|
|
.results-section { margin-top: 64px; padding-bottom: 64px; }
|
|
.run-meta { display: flex; align-items: center; gap: 17px; color: var(--muted); font-size: 12px; }
|
|
.quiet-button { border: 0; border-bottom: 1px solid #c4ccc5; padding: 4px 0; background: transparent; color: var(--red); cursor: pointer; font-size: 12px; }
|
|
.quiet-button:disabled { color: #adb6b0; cursor: not-allowed; }
|
|
.empty-state { margin-top: 22px; min-height: 180px; display: grid; place-items: center; align-content: center; border: 1px dashed #cfd8d1; color: var(--muted); }
|
|
.empty-icon { margin-bottom: 10px; color: #a9b6ad; font-size: 32px; }
|
|
.empty-state p { margin: 0 0 7px; font-size: 14px; }
|
|
.empty-state small { color: #a4ada7; font-size: 11px; }
|
|
.instance-grid { margin-top: 22px; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
|
|
.instance-card { overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
|
|
.instance-top { display: flex; justify-content: space-between; padding: 17px 17px 13px; }
|
|
.instance-name { font: 700 12px ui-monospace, SFMono-Regular, Menlo, monospace; }
|
|
.instance-status { color: #77847c; font-size: 11px; }
|
|
.instance-status.done { color: #5b9a58; }.instance-status.failed { color: var(--red); }
|
|
.thumb { width: 100%; aspect-ratio: 1.58; display: block; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #edf1ed; object-fit: cover; }
|
|
.zoomable { cursor: zoom-in; transition: opacity .15s ease; }
|
|
.zoomable:hover { opacity: .78; }
|
|
.live-view { object-fit: contain; background: #151b18; }
|
|
.thumb-placeholder { aspect-ratio: 1.58; display: grid; place-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #a2ada5; font-size: 12px; }
|
|
.instance-bottom { min-height: 53px; padding: 12px 17px; color: var(--muted); font-size: 11px; line-height: 1.5; }
|
|
footer { display: flex; justify-content: space-between; padding: 19px 0 25px; border-top: 1px solid var(--line); color: #a8b0aa; font: 10px ui-monospace, SFMono-Regular, Menlo, monospace; }
|
|
.modal-open { overflow: hidden; }
|
|
.image-modal { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 34px; background: rgba(22, 29, 26, .86); }
|
|
.image-modal-content { position: relative; width: min(1180px, 96vw); max-height: 92vh; display: grid; place-items: center; }
|
|
.interactive-stage { position: relative; width: min(1180px, 96vw); max-height: 82vh; aspect-ratio: 1365 / 860; background: #151b18; box-shadow: 0 18px 60px rgba(0, 0, 0, .28); }
|
|
.interactive-stage img { width: 100%; height: 100%; display: block; object-fit: contain; }
|
|
.interaction-layer { position: absolute; inset: 0; outline: 0; cursor: crosshair; }
|
|
.interaction-layer:focus { box-shadow: inset 0 0 0 2px rgba(215, 242, 71, .7); }
|
|
.image-modal-content p { margin: 14px 0 0; color: #dce6df; font: 11px ui-monospace, SFMono-Regular, Menlo, monospace; }
|
|
.modal-close { position: absolute; top: -28px; right: -6px; width: 36px; height: 36px; border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: #fff; cursor: pointer; font-size: 25px; line-height: 1; }
|
|
@media (max-width: 720px) { .shell { width: min(100% - 28px, 1180px); }.topbar { min-height: 78px; }.connection { font-size: 0; }.hero { padding: 48px 0 40px; }.hero-note { display: none; } h2 { font-size: 40px; }.workspace { grid-template-columns: 1fr; }.control-panel, .info-panel { padding: 22px; }.field-grid { grid-template-columns: 1fr; gap: 0; }.form-foot, .results-heading, footer { align-items: start; flex-direction: column; }.results-section { margin-top: 42px; }.run-meta { width: 100%; justify-content: space-between; } }
|