175 lines
2.6 KiB
CSS
175 lines
2.6 KiB
CSS
:root {
|
|
--bg: #f3f7f5;
|
|
--panel: #ffffff;
|
|
--line: #d7e3dd;
|
|
--text: #1a3128;
|
|
--muted: #5e7a6f;
|
|
--accent: #18794e;
|
|
--accent-2: #0f5f3d;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
background: radial-gradient(circle at 10% 20%, #e6f4ec, transparent 35%),
|
|
radial-gradient(circle at 90% 80%, #dff0ff, transparent 30%),
|
|
var(--bg);
|
|
color: var(--text);
|
|
font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
|
|
}
|
|
|
|
.topbar {
|
|
max-width: 1280px;
|
|
margin: 20px auto 0;
|
|
padding: 0 16px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.brand h1 {
|
|
margin: 0;
|
|
}
|
|
|
|
.brand .muted {
|
|
margin: 6px 0 0;
|
|
}
|
|
|
|
.badge {
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
color: #0f5f3d;
|
|
background: #eaf7f0;
|
|
border: 1px solid #cde6d7;
|
|
padding: 5px 10px;
|
|
border-radius: 999px;
|
|
}
|
|
|
|
.layout {
|
|
max-width: 1280px;
|
|
margin: 14px auto 24px;
|
|
padding: 0 16px;
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 16px;
|
|
}
|
|
|
|
.panel {
|
|
background: var(--panel);
|
|
border: 1px solid var(--line);
|
|
border-radius: 14px;
|
|
padding: 18px;
|
|
box-shadow: 0 8px 24px rgba(32, 84, 55, 0.07);
|
|
}
|
|
|
|
h1,
|
|
h2 {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.muted {
|
|
color: var(--muted);
|
|
margin-top: -6px;
|
|
}
|
|
|
|
label {
|
|
display: block;
|
|
margin-top: 10px;
|
|
margin-bottom: 6px;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.field-head {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: baseline;
|
|
}
|
|
|
|
.meta {
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
input,
|
|
textarea,
|
|
button {
|
|
width: 100%;
|
|
border-radius: 10px;
|
|
border: 1px solid var(--line);
|
|
padding: 10px 12px;
|
|
font-size: 14px;
|
|
transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
|
|
}
|
|
|
|
textarea {
|
|
resize: vertical;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
input:focus,
|
|
textarea:focus {
|
|
outline: none;
|
|
border-color: #8ec6aa;
|
|
box-shadow: 0 0 0 3px rgba(24, 121, 78, 0.12);
|
|
}
|
|
|
|
button {
|
|
cursor: pointer;
|
|
margin-top: 12px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
button:hover {
|
|
filter: brightness(0.98);
|
|
}
|
|
|
|
button.primary {
|
|
background: var(--accent);
|
|
color: #fff;
|
|
border-color: var(--accent);
|
|
}
|
|
|
|
button.primary:hover {
|
|
background: var(--accent-2);
|
|
}
|
|
|
|
button:disabled {
|
|
cursor: not-allowed;
|
|
opacity: 0.65;
|
|
}
|
|
|
|
.actions {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 10px;
|
|
}
|
|
|
|
.grid2 {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 10px;
|
|
}
|
|
|
|
.status {
|
|
min-height: 22px;
|
|
margin-top: 8px;
|
|
color: var(--accent-2);
|
|
font-weight: 600;
|
|
}
|
|
|
|
@media (max-width: 960px) {
|
|
.layout {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.topbar {
|
|
align-items: flex-start;
|
|
gap: 8px;
|
|
flex-direction: column;
|
|
}
|
|
}
|