|
|
|
|
@ -29,15 +29,54 @@
|
|
|
|
|
--student-aux-font: 13px;
|
|
|
|
|
--student-radius-sm: 6px;
|
|
|
|
|
--student-radius-pill: 999px;
|
|
|
|
|
/* 浅色科技蓝主题 */
|
|
|
|
|
--student-accent: #1e88e5;
|
|
|
|
|
--student-accent-deep: #1565c0;
|
|
|
|
|
--student-accent-light: #42a5f5;
|
|
|
|
|
--student-panel-border: #cfe2f5;
|
|
|
|
|
/* 墨黑极简主题令牌 */
|
|
|
|
|
--student-accent: #1f2937;
|
|
|
|
|
--student-accent-deep: #111827;
|
|
|
|
|
--student-accent-light: #4b5563;
|
|
|
|
|
--student-accent-soft: #f3f4f6;
|
|
|
|
|
--student-panel-border: #e5e7eb;
|
|
|
|
|
--student-card-bg: #ffffff;
|
|
|
|
|
--student-panel-bg: #f0f6fd;
|
|
|
|
|
--student-text: #1e3a5f;
|
|
|
|
|
--student-text-secondary: #5a7a9a;
|
|
|
|
|
--student-panel-bg: #fafbfc;
|
|
|
|
|
--student-text: #1f2937;
|
|
|
|
|
--student-text-secondary: #6b7280;
|
|
|
|
|
|
|
|
|
|
/* ===== Element Plus 亮白主题覆盖 =====
|
|
|
|
|
index.scss 全局把 Element Plus CSS 变量设成了暗色主题
|
|
|
|
|
(--el-input-text-color: #e0f0ff 极浅蓝 / --el-input-bg-color: rgba(0,30,60,.6)),
|
|
|
|
|
教师端/超管端的暗色页面需要这些值,但学生实训页
|
|
|
|
|
.student-training-shell 是亮白底,必须在这里覆盖回来。 */
|
|
|
|
|
--el-text-color-primary: #1f2937;
|
|
|
|
|
--el-text-color-regular: #374151;
|
|
|
|
|
--el-text-color-secondary: #6b7280;
|
|
|
|
|
--el-text-color-placeholder: #9ca3af;
|
|
|
|
|
--el-text-color-disabled: #9ca3af;
|
|
|
|
|
--el-text-color: #1f2937;
|
|
|
|
|
|
|
|
|
|
--el-input-bg-color: #ffffff;
|
|
|
|
|
--el-input-text-color: #1f2937;
|
|
|
|
|
--el-input-border-color: #e5e7eb;
|
|
|
|
|
--el-input-hover-border-color: #1f2937;
|
|
|
|
|
--el-input-focus-border-color: #1f2937;
|
|
|
|
|
--el-input-focus-ring-color: rgba(31, 41, 55, 0.15);
|
|
|
|
|
--el-input-disabled-bg-color: #f3f4f6;
|
|
|
|
|
--el-input-disabled-text-color: #9ca3af;
|
|
|
|
|
--el-input-disabled-border-color: #e5e7eb;
|
|
|
|
|
|
|
|
|
|
--el-textarea-bg-color: #ffffff;
|
|
|
|
|
--el-textarea-text-color: #1f2937;
|
|
|
|
|
--el-textarea-border-color: #e5e7eb;
|
|
|
|
|
--el-textarea-hover-border-color: #1f2937;
|
|
|
|
|
--el-textarea-focus-border-color: #1f2937;
|
|
|
|
|
--el-textarea-focus-ring-color: rgba(31, 41, 55, 0.15);
|
|
|
|
|
|
|
|
|
|
--el-select-bg-color: #ffffff;
|
|
|
|
|
--el-select-text-color: #1f2937;
|
|
|
|
|
--el-select-border-color-hover: #1f2937;
|
|
|
|
|
|
|
|
|
|
--el-fill-color-blank: #ffffff;
|
|
|
|
|
--el-border-color: #e5e7eb;
|
|
|
|
|
--el-border-color-hover: #1f2937;
|
|
|
|
|
--el-border-radius-base: 6px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
@ -500,10 +539,10 @@
|
|
|
|
|
.student-training-shell .training-actions button.training-action,
|
|
|
|
|
.student-training-shell .task-actions > button,
|
|
|
|
|
.student-training-shell .taskfooter .el-button {
|
|
|
|
|
border: 1px solid #1e88e5 !important;
|
|
|
|
|
border-radius: var(--student-radius-pill) !important;
|
|
|
|
|
color: #1e3a5f !important;
|
|
|
|
|
background: #e3f2fd !important;
|
|
|
|
|
border: 1px solid rgba(31, 41, 55, 0.4) !important;
|
|
|
|
|
border-radius: 10px !important;
|
|
|
|
|
color: var(--student-text, #1f2937) !important;
|
|
|
|
|
background: #ffffff !important;
|
|
|
|
|
font-weight: 700 !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@ -511,9 +550,31 @@
|
|
|
|
|
.student-training-shell .task-actions > .btn-submit,
|
|
|
|
|
.student-training-shell .task-actions > .btn-primary,
|
|
|
|
|
.student-training-shell .taskfooter .el-button:first-child {
|
|
|
|
|
border-color: #1565c0 !important;
|
|
|
|
|
border-color: var(--student-accent, #1f2937) !important;
|
|
|
|
|
color: #ffffff !important;
|
|
|
|
|
background: linear-gradient(110deg, #1e88e5, #1565c0) !important;
|
|
|
|
|
background: var(--student-accent, #1f2937) !important;
|
|
|
|
|
box-shadow: 0 3px 10px rgba(31, 41, 55, 0.28) !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.student-training-shell .training-actions button.training-action:hover:not(:disabled),
|
|
|
|
|
.student-training-shell .task-actions > button:hover:not(:disabled),
|
|
|
|
|
.student-training-shell .taskfooter .el-button:hover:not(.is-disabled) {
|
|
|
|
|
border-color: var(--student-accent, #1f2937) !important;
|
|
|
|
|
background: var(--student-accent-soft, #f3f4f6) !important;
|
|
|
|
|
color: var(--student-accent, #1f2937) !important;
|
|
|
|
|
transform: translateY(-1px) !important;
|
|
|
|
|
box-shadow: 0 3px 10px rgba(31, 41, 55, 0.12) !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.student-training-shell .training-actions .training-action--submit:hover:not(:disabled),
|
|
|
|
|
.student-training-shell .task-actions > .btn-primary:hover:not(:disabled),
|
|
|
|
|
.student-training-shell .task-actions > .btn-submit:hover:not(:disabled),
|
|
|
|
|
.student-training-shell .taskfooter .el-button:first-child:hover:not(.is-disabled) {
|
|
|
|
|
border-color: var(--student-accent-deep, #111827) !important;
|
|
|
|
|
background: var(--student-accent-deep, #111827) !important;
|
|
|
|
|
color: #ffffff !important;
|
|
|
|
|
transform: translateY(-1px) !important;
|
|
|
|
|
box-shadow: 0 5px 14px rgba(17, 24, 39, 0.32) !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.student-training-shell .task-actions > button .el-icon {
|
|
|
|
|
@ -535,15 +596,16 @@
|
|
|
|
|
height: 40px !important;
|
|
|
|
|
min-height: 40px !important;
|
|
|
|
|
padding: 0 18px !important;
|
|
|
|
|
border: 1px solid #1e88e5 !important;
|
|
|
|
|
border-radius: var(--student-radius-pill) !important;
|
|
|
|
|
color: #1e3a5f !important;
|
|
|
|
|
background: #e3f2fd !important;
|
|
|
|
|
border: 1px solid rgba(31, 41, 55, 0.4) !important;
|
|
|
|
|
border-radius: 10px !important;
|
|
|
|
|
color: var(--student-accent, #1f2937) !important;
|
|
|
|
|
background: #ffffff !important;
|
|
|
|
|
box-shadow: none !important;
|
|
|
|
|
font-size: 14px !important;
|
|
|
|
|
font-weight: 800 !important;
|
|
|
|
|
font-size: 13px !important;
|
|
|
|
|
font-weight: 700 !important;
|
|
|
|
|
line-height: 1 !important;
|
|
|
|
|
letter-spacing: 0 !important;
|
|
|
|
|
transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.student-training-shell .el-button.ghost-action:hover:not(.is-disabled),
|
|
|
|
|
@ -553,9 +615,10 @@
|
|
|
|
|
.student-training-shell button.outline-action:hover:not(:disabled),
|
|
|
|
|
.student-training-shell .workbench-actions button.material-download:hover:not(:disabled) {
|
|
|
|
|
transform: translateY(-1px) !important;
|
|
|
|
|
border-color: #1565c0 !important;
|
|
|
|
|
color: #1565c0 !important;
|
|
|
|
|
background: #bbdefb !important;
|
|
|
|
|
border-color: var(--student-accent, #1f2937) !important;
|
|
|
|
|
color: var(--student-accent, #1f2937) !important;
|
|
|
|
|
background: var(--student-accent-soft, #f3f4f6) !important;
|
|
|
|
|
box-shadow: 0 3px 10px rgba(31, 41, 55, 0.12) !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|