mirror of
https://github.com/ExamAware/ExamSchedule.git
synced 2025-04-29 19:16:33 +00:00
fix: 调整考试状态颜色和背景透明度以改善视觉效果
This commit is contained in:
parent
8022143a71
commit
7a71449e05
@ -92,7 +92,7 @@ document.addEventListener("DOMContentLoaded", () => {
|
||||
}
|
||||
|
||||
statusElem.textContent = "状态: 进行中";
|
||||
statusElem.style.color = "green";
|
||||
statusElem.style.color = "#5ba838";
|
||||
} else if (nextExam) {
|
||||
currentSubjectElem.textContent = `下一场科目: ${nextExam.name}`;
|
||||
examTimingElem.textContent = `起止时间: ${formatTimeWithoutSeconds(new Date(nextExam.start).toLocaleTimeString('zh-CN', { hour12: false }))} - ${formatTimeWithoutSeconds(new Date(nextExam.end).toLocaleTimeString('zh-CN', { hour12: false }))}`;
|
||||
|
@ -60,9 +60,9 @@ body {
|
||||
padding: 20px;
|
||||
max-width: 1400px; /* 增加主体部分宽度 */
|
||||
margin: auto;
|
||||
background-color: rgba(31, 31, 31, 0.8); /* 使用rgba设置背景透明度 */
|
||||
background-color: rgba(31, 31, 31, 0.5); /* 使用rgba设置背景透明度 */
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
|
||||
box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
h1 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user