From 1e251d71697eb5ffa21261f0ae86821a8e08abb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E6=B2=85?= <907037276@qq.com> Date: Tue, 29 Sep 2026 11:37:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=B6=85=E7=AE=A1=E5=B7=A5?= =?UTF-8?q?=E4=BD=9C=E5=8F=B0=E5=BF=AB=E6=8D=B7=E5=85=A5=E5=8F=A3=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E6=96=87=E5=AD=97=E4=B8=8D=E5=8F=AF=E8=A7=81=EF=BC=9A?= =?UTF-8?q?admin-theme=E6=9A=97=E8=89=B2=E6=B8=90=E5=8F=98=E5=BA=95?= =?UTF-8?q?=E4=B8=8E=E6=B5=85=E8=89=B2outline=E8=93=9D=E5=AD=97=E5=8F=A0?= =?UTF-8?q?=E5=8A=A0=EF=BC=8C=E6=B5=85=E8=89=B2=E4=B8=BB=E9=A2=98=E4=B8=8B?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=E4=B8=BB=E9=A2=98=E8=93=9D=E5=AE=9E=E5=BF=83?= =?UTF-8?q?=E7=99=BD=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/styles/teacher-light.scss | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) 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; + } +}