Files

129 lines
1.9 KiB
CSS

* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
"Microsoft YaHei", sans-serif;
background: #f5f7fb;
color: #1f2937;
}
.container {
max-width: 900px;
margin: 0 auto;
padding: 32px 20px 64px;
}
.header h1 {
margin: 0 0 8px;
font-size: 28px;
}
.subtitle {
margin: 0 0 24px;
color: #6b7280;
}
.panel {
background: #ffffff;
border: 1px solid #e5e7eb;
border-radius: 12px;
padding: 20px;
margin-bottom: 20px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.panel label {
display: block;
font-weight: 600;
margin-bottom: 8px;
}
.row {
display: flex;
gap: 12px;
}
input[type="text"] {
flex: 1;
padding: 10px 12px;
border: 1px solid #d1d5db;
border-radius: 8px;
font-size: 15px;
outline: none;
}
input[type="text"]:focus {
border-color: #3b82f6;
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
button {
padding: 10px 18px;
border: none;
border-radius: 8px;
background: #2563eb;
color: #ffffff;
font-size: 15px;
cursor: pointer;
transition: background 0.2s;
}
button:hover:not(:disabled) {
background: #1d4ed8;
}
button:disabled {
background: #9ca3af;
cursor: not-allowed;
}
button.secondary {
background: #ffffff;
color: #2563eb;
border: 1px solid #2563eb;
}
button.secondary:hover:not(:disabled) {
background: #eff6ff;
}
.status {
margin: 12px 0 0;
min-height: 20px;
color: #6b7280;
font-size: 14px;
}
.status.error {
color: #dc2626;
}
.panel-head {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 12px;
}
.panel-head h2 {
margin: 0;
font-size: 18px;
}
.output {
margin: 0;
padding: 16px;
background: #0f172a;
color: #e2e8f0;
border-radius: 8px;
font-size: 13px;
line-height: 1.6;
white-space: pre-wrap;
word-break: break-word;
max-height: 520px;
overflow: auto;
}