This commit is contained in:
2026-06-14 15:01:42 +08:00
parent 67d79b58bb
commit 6f39b960d0
15 changed files with 1709 additions and 76 deletions
+346
View File
@@ -0,0 +1,346 @@
:root {
color-scheme: light;
--ink: #161a1d;
--muted: #60717c;
--paper: #fffdfa;
--panel: #f3f0e8;
--line: #d9d2c2;
--blue: #174ea6;
--green: #116b4f;
--amber: #9a5c00;
--red: #a7352a;
--code: #1b2430;
--shadow: 0 20px 70px rgb(50 45 34 / 0.16);
}
* {
box-sizing: border-box;
}
body {
margin: 0;
color: var(--ink);
background:
linear-gradient(90deg, rgb(22 26 29 / 0.06) 1px, transparent 1px),
linear-gradient(rgb(22 26 29 / 0.06) 1px, transparent 1px),
#e7e1d6;
background-size: 28px 28px;
font-family: ui-sans-serif, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
button,
input,
select,
textarea {
font: inherit;
}
a {
color: var(--blue);
font-weight: 800;
text-decoration: none;
}
.topbar {
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: 24px;
padding: 28px 32px 18px;
}
.eyebrow {
margin: 0 0 8px;
color: var(--blue);
font-size: 12px;
font-weight: 900;
letter-spacing: 0.08em;
text-transform: uppercase;
}
h1,
h2,
p {
margin-top: 0;
}
h1 {
margin-bottom: 0;
font-family: Georgia, "Times New Roman", serif;
font-size: clamp(34px, 5vw, 68px);
line-height: 0.95;
letter-spacing: 0;
}
h2 {
margin-bottom: 0;
font-size: 22px;
letter-spacing: 0;
}
.runtime {
display: flex;
align-items: center;
gap: 14px;
margin-bottom: 8px;
}
.pill,
.mode {
display: inline-flex;
align-items: center;
min-height: 28px;
border: 1px solid var(--line);
padding: 4px 10px;
background: var(--paper);
color: var(--muted);
font-size: 12px;
font-weight: 900;
}
.pill.native {
border-color: rgb(17 107 79 / 0.35);
background: #e8f4ee;
color: var(--green);
}
.pill.mock {
border-color: rgb(154 92 0 / 0.35);
background: #fff3d8;
color: var(--amber);
}
.layout {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
gap: 22px;
padding: 0 32px 32px;
}
.workspace,
.agent {
display: grid;
gap: 18px;
align-content: start;
}
.intro,
.panel,
.agent-panel {
border: 1px solid var(--line);
background: rgb(255 253 250 / 0.92);
box-shadow: var(--shadow);
}
.intro {
padding: 18px 20px;
}
.intro p {
margin-bottom: 0;
color: var(--muted);
line-height: 1.75;
}
.panel,
.agent-panel {
padding: 22px;
}
.panel-head {
display: flex;
justify-content: space-between;
gap: 16px;
margin-bottom: 18px;
}
.business-form {
display: grid;
gap: 14px;
}
label {
display: grid;
gap: 7px;
color: var(--muted);
font-size: 13px;
font-weight: 800;
}
input,
select,
textarea {
width: 100%;
border: 1px solid var(--line);
background: #fff;
color: var(--ink);
padding: 11px 12px;
}
textarea {
min-height: 92px;
resize: vertical;
}
button {
border: 1px solid var(--ink);
background: var(--ink);
color: #fff;
cursor: pointer;
min-height: 42px;
padding: 10px 14px;
font-weight: 900;
}
button:hover {
transform: translateY(-1px);
}
.primary {
width: 100%;
background: var(--blue);
border-color: var(--blue);
}
.code {
overflow: auto;
margin: 18px 0 0;
border: 1px solid #303a47;
background: var(--code);
color: #d7e2ef;
padding: 16px;
font-size: 13px;
line-height: 1.55;
}
.order-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 12px;
}
.order-grid article {
border: 1px solid var(--line);
background: var(--panel);
padding: 14px;
}
.order-grid span,
.order-grid small {
display: block;
color: var(--muted);
font-size: 12px;
}
.order-grid strong {
display: block;
margin: 8px 0 6px;
font-size: 18px;
}
.action-row {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 10px;
margin-top: 14px;
}
.action-row button {
min-height: 56px;
background: #fff;
color: var(--ink);
}
.agent {
position: sticky;
top: 18px;
}
.tool-list {
display: grid;
gap: 12px;
}
.tool-card {
border: 1px solid var(--line);
background: var(--panel);
padding: 14px;
}
.tool-card h3 {
margin: 0 0 8px;
font-size: 16px;
}
.tool-card p {
margin-bottom: 10px;
color: var(--muted);
font-size: 13px;
line-height: 1.55;
}
.schema {
overflow: auto;
max-height: 150px;
border: 1px solid var(--line);
background: #fff;
padding: 10px;
color: #384551;
font-size: 12px;
line-height: 1.5;
}
.steps {
margin: 0 0 16px;
padding-left: 20px;
color: var(--muted);
line-height: 1.7;
}
.log {
display: grid;
gap: 10px;
max-height: 370px;
overflow: auto;
}
.entry {
border-left: 4px solid var(--blue);
background: #fff;
padding: 10px 12px;
font-size: 13px;
line-height: 1.5;
}
.entry strong {
display: block;
margin-bottom: 5px;
}
.entry pre {
margin: 0;
white-space: pre-wrap;
}
@media (max-width: 980px) {
.topbar,
.layout {
padding-left: 18px;
padding-right: 18px;
}
.topbar,
.layout {
display: grid;
grid-template-columns: 1fr;
}
.agent {
position: static;
}
.order-grid,
.action-row {
grid-template-columns: 1fr;
}
}