94 lines
2.2 KiB
Plaintext
94 lines
2.2 KiB
Plaintext
/* 设计令牌:与原型同一套颜色。
|
|
红只表示「错」和主按钮;科目区分靠版式(方格纸 / 田字格),不靠色相。 */
|
|
page {
|
|
--brand: #b3272d;
|
|
--brand-dark: #8e1e23;
|
|
--ochre: #a9761a;
|
|
--bamboo: #2f6b57;
|
|
--paper: #fff3df;
|
|
--paper-math: #fbf2e1;
|
|
--paper-chn: #edf4ee;
|
|
--ink: #24211f;
|
|
--muted: #8e8681;
|
|
--line: #ece3da;
|
|
background: #fbf7f2;
|
|
color: var(--ink);
|
|
font-family: -apple-system, "PingFang SC", "Helvetica Neue", sans-serif;
|
|
font-size: 15px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.wrap { padding: 20px 18px 40px; }
|
|
|
|
/* 卡片 */
|
|
.card {
|
|
background: #fff;
|
|
border: 1px solid var(--line);
|
|
border-radius: 14px;
|
|
padding: 16px;
|
|
margin-bottom: 12px;
|
|
}
|
|
.card-title { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
|
|
.muted { color: var(--muted); font-size: 12px; }
|
|
.small { font-size: 12px; }
|
|
|
|
/* 按钮 */
|
|
.btn {
|
|
display: block;
|
|
width: 100%;
|
|
padding: 13px;
|
|
border-radius: 12px;
|
|
background: var(--brand);
|
|
color: #fff;
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
text-align: center;
|
|
border: none;
|
|
box-shadow: 0 4px 0 var(--brand-dark);
|
|
}
|
|
.btn.ghost {
|
|
background: #fff;
|
|
color: var(--brand);
|
|
border: 2px solid #f0d5d3;
|
|
box-shadow: 0 3px 0 #f3e3e1;
|
|
}
|
|
.btn.plain {
|
|
background: #fff;
|
|
color: var(--ink);
|
|
border: 1px solid var(--line);
|
|
box-shadow: none;
|
|
font-weight: 500;
|
|
}
|
|
.btn[disabled] { opacity: 0.45; }
|
|
|
|
/* 标签 */
|
|
.tag {
|
|
display: inline-block;
|
|
padding: 2px 8px;
|
|
border-radius: 999px;
|
|
font-size: 11px;
|
|
background: #f4efe9;
|
|
color: #6b6560;
|
|
}
|
|
.tag.queued { background: #fdeee9; color: var(--brand); }
|
|
.tag.observing { background: #f4efe9; color: #6b6560; }
|
|
.tag.recalled { background: #eef3fb; color: #2f5d8a; }
|
|
.tag.to_explain { background: #fdf3e0; color: var(--ochre); }
|
|
.tag.graduated { background: #e8f3ea; color: var(--bamboo); }
|
|
.tag.careless { background: #f2f2f2; color: #7a736d; }
|
|
|
|
/* 空态 */
|
|
.empty { padding: 40px 10px; text-align: center; color: var(--muted); font-size: 13px; }
|
|
|
|
/* 列表行 */
|
|
.li {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 13px 0;
|
|
border-bottom: 1px solid #f3ece5;
|
|
}
|
|
.li:last-child { border-bottom: none; }
|
|
.li .l { color: var(--ink); }
|
|
.li .r { color: var(--muted); font-size: 13px; }
|