diff --git a/src/assets/styles/teacher-light.scss b/src/assets/styles/teacher-light.scss index 72d5aea..42c9742 100644 --- a/src/assets/styles/teacher-light.scss +++ b/src/assets/styles/teacher-light.scss @@ -2956,3 +2956,28 @@ body.student-light-mode { font-weight: 600; } } + +/* ============================================================= + * 超管工作台(views/index.vue 引入 admin-theme.scss 的暗色按钮) + * 在浅色模式下改为主题蓝实心白字;#app 前缀压过教师端 outline 规则 + * ============================================================= */ +body.teacher-light-mode #app .school-admin-workbench .el-button--primary, +body.teacher-light-mode #app .school-admin-workbench .el-button--success { + background: #2563eb !important; + border-color: #2563eb !important; + color: #ffffff !important; + box-shadow: 0 1px 2px rgba(37, 99, 235, 0.35) !important; + + &:hover, + &:focus { + background: #1d4ed8 !important; + border-color: #1d4ed8 !important; + color: #ffffff !important; + } + + &.is-disabled { + background: #93c5fd !important; + border-color: #93c5fd !important; + color: #ffffff !important; + } +}