实现考试归档并永久锁定成绩流程
This commit is contained in:
+40
@@ -434,6 +434,46 @@ button:disabled { cursor: not-allowed; opacity: .5; }
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior:auto !important; animation-duration:.01ms !important; transition-duration:.01ms !important; } }
|
||||
|
||||
/* 考试归档:以档案封存条区分当前考务与只读历史。 */
|
||||
.status-archived { color:#596272; background:#e9ecf1; }
|
||||
.admin-exam-card.archived { border-style:dashed; border-color:#c7ccd5; background:#f6f7f9; box-shadow:none; }
|
||||
.admin-exam-card.archived::before { content:"封存"; position:absolute; top:21px; right:-31px; width:112px; padding:4px 0; color:#fff; background:#697180; font:700 8px Consolas,monospace; letter-spacing:.16em; text-align:center; transform:rotate(38deg); }
|
||||
.archive-exam-action { color:#a33f39; border-color:#e2bbb8; }
|
||||
.exam-archive-shelf,.candidate-archive-fold,.result-archive-switcher { margin-top:18px; border:1px dashed #c7ced9; border-radius:12px; background:#f5f6f8; }
|
||||
.exam-archive-shelf > summary,.candidate-archive-fold > summary,.result-archive-switcher > summary { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:17px 20px; color:#4f5868; cursor:pointer; list-style:none; }
|
||||
.exam-archive-shelf > summary::-webkit-details-marker,.candidate-archive-fold > summary::-webkit-details-marker,.result-archive-switcher > summary::-webkit-details-marker { display:none; }
|
||||
.exam-archive-shelf > summary span,.candidate-archive-fold > summary span { display:grid; gap:3px; }
|
||||
.exam-archive-shelf > summary b,.candidate-archive-fold > summary strong { font-size:11px; }
|
||||
.exam-archive-shelf > summary small,.candidate-archive-fold > summary small,.result-archive-switcher > summary span { color:#858d9b; font-size:8px; }
|
||||
.exam-archive-shelf > summary > strong,.candidate-archive-fold > summary > b { min-width:31px; height:31px; display:grid; place-items:center; border:1px solid #d3d7de; border-radius:50%; color:#616a78; background:#fff; font-size:9px; }
|
||||
.exam-archive-shelf[open] > summary,.candidate-archive-fold[open] > summary { border-bottom:1px dashed #c7ced9; }
|
||||
.archived-exam-grid { padding:18px; }
|
||||
.candidate-archive-fold .registration-cards,.candidate-archive-fold > .result-panel,.candidate-archive-fold > .admit-ticket { margin:18px; }
|
||||
.admit-archive-fold { margin:0; }
|
||||
.result-archive-fold { margin-top:0; }
|
||||
.result-archive-switcher { margin:0 0 14px; }
|
||||
.result-archive-switcher > summary { justify-content:flex-start; padding:12px 16px; font-size:9px; font-weight:700; }
|
||||
.result-archive-switcher .result-exam-strip { margin:0; padding:4px 14px 15px; }
|
||||
.result-exam-strip > button.archived { border-style:dashed; box-shadow:none; background:#f6f7f9; }
|
||||
.result-exam-strip > button.archived i { background:#9299a5; }
|
||||
.exam-lock-banner { display:flex; align-items:center; gap:14px; margin-bottom:14px; padding:15px 18px; border:1px solid #d1d5dc; border-left:4px solid #697180; border-radius:10px; color:#4f5868; background:#f2f3f5; }
|
||||
.exam-lock-banner > span { width:29px; height:29px; display:grid; place-items:center; border-radius:50%; color:#fff; background:#697180; }
|
||||
.exam-lock-banner svg { width:16px; fill:none; stroke:currentColor; stroke-width:2; }
|
||||
.exam-lock-banner div { display:grid; gap:3px; }
|
||||
.exam-lock-banner strong { font-size:10px; }
|
||||
.exam-lock-banner small { color:#7e8693; font-size:8px; }
|
||||
.result-panel.archived { filter:saturate(.72); }
|
||||
.archived-score-lock { border-color:#d4d8df; background:#f0f2f5; }
|
||||
.admin-registration-archive .table-scroll { margin:0 18px 18px; border:1px solid #dfe2e7; border-radius:9px; background:#fff; }
|
||||
.archive-readonly-label { color:#777f8d; font-size:8px; }
|
||||
@media (max-width:620px) {
|
||||
.exam-card-actions { align-items:stretch; flex-direction:column; }
|
||||
.exam-archive-shelf > summary,.candidate-archive-fold > summary { padding:14px; }
|
||||
.archived-exam-grid { padding:12px; }
|
||||
.candidate-archive-fold .registration-cards,.candidate-archive-fold > .result-panel,.candidate-archive-fold > .admit-ticket { margin:12px; }
|
||||
.admin-registration-archive .table-scroll { margin:0 12px 12px; }
|
||||
}
|
||||
|
||||
/* Role scopes, numbering and workflow studio */
|
||||
.hidden { display:none !important; }
|
||||
.scope-banner { display:flex; align-items:center; gap:14px; margin-bottom:14px; padding:14px 18px; border:1px solid #d8e1f3; border-radius:11px; background:linear-gradient(90deg,#edf2fb,#f9fbff); }
|
||||
|
||||
Reference in New Issue
Block a user