@ -1,7 +1,7 @@
# app {
. main-container {
height : calc ( 100 % - 50 px ) ;
transition : margin-left .28 s ;
transition : margin-left 0 .28 s ;
margin-left : $base-sidebar-width ;
position : relative ;
}
@ -9,10 +9,10 @@
margin-left : 0 !important ;
}
. sidebar-container {
-webkit-transition : width .28 s ;
-webkit-transition : width 0 .28 s ;
transition : width 0 .28 s ;
width : 239 px !important ;
background : url( '../images/sidebar-background.webp' ) no-repeat center ;
background : url( "../images/sidebar-background.webp" ) no-repeat center ;
/ / background-color : $ base-menu-background ;
background-size : 100 % 100 % ;
height : 100 % ;
@ -23,11 +23,14 @@
left : 0 ;
z-index : 1001 ;
overflow : hidden ;
-webkit-box-shadow : 2 px 0 6 px rgba ( 0 , 21 , 41 , .35 ) ;
box-shadow : 2 px 0 6 px rgba ( 0 , 21 , 41 , .35 ) ;
-webkit-box-shadow : 2 px 0 6 px rgba ( 0 , 21 , 41 , 0 .35 ) ;
box-shadow : 2 px 0 6 px rgba ( 0 , 21 , 41 , 0 .35 ) ;
/ / reset element-ui css
. horizontal-collapse-transition {
transition : 0 s width ease-in-out , 0 s padding-left ease-in-out , 0 s padding-right ease-in-out ;
transition :
0s width ease-in-out ,
0s padding-left ease-in-out ,
0s padding-right ease-in-out ;
}
. scrollbar-wrapper {
overflow-x : hidden !important ;
@ -72,7 +75,7 @@
. el-sub-menu__title {
height : 37 px ;
line-height : 37 px ;
background : url( '../images/sidebar-normal.png' ) no-repeat ;
background : url( "../images/sidebar-normal.png" ) no-repeat ;
background-size : 100 % 100 % !important ;
}
. el-menu {
@ -90,7 +93,7 @@
}
}
}
. is-opened {
. is-opened {
margin-bottom : 0 px !important ;
}
. el-menu-item {
@ -100,25 +103,24 @@
height : 37 px ;
line-height : 37 px ;
color : #fff ;
background : url( '../images/sidebar-normal.png' ) no-repeat ;
background : url( "../images/sidebar-normal.png" ) no-repeat ;
background-size : 100 % 100 % !important ;
}
. is-active {
background : url( '../images/sidebar-active.png' ) no-repeat !important ;
. el-menu {
. nest-menu {
. is-active {
background : url( "../images/sidebar-active.png" ) no-repeat !important ;
. el-menu {
. nest-menu {
. is-active {
color : #008efe !important ;
}
}
}
. el-sub-menu__title {
background : url( '../images/sidebar-active.png' ) no-repeat !important ;
background : url( "../images/sidebar-active.png" ) no-repeat !important ;
background-size : 100 % 100 % !important ;
}
}
}
. el-menu-item ,
@ -140,11 +142,11 @@
}
}
& . theme-dark . is-active > . el-sub-menu__title {
& . theme-dark . is-active > . el-sub-menu__title {
color : $base-menu-color-active !important ;
}
& . nest-menu . el-sub-menu > . el-sub-menu__title ,
& . nest-menu . el-sub-menu > . el-sub-menu__title ,
& . el-sub-menu . el-menu-item {
min-width : $base-sidebar-width !important ;
@ -153,7 +155,7 @@
}
}
& . theme-dark . nest-menu . el-sub-menu > . el-sub-menu__title ,
& . theme-dark . nest-menu . el-sub-menu > . el-sub-menu__title ,
& . theme-dark . el-sub-menu . el-menu-item {
background-color : $base-sub-menu-background !important ;
@ -187,20 +189,19 @@
. el-sub-menu {
overflow : hidden ;
& > . el-sub-menu__title {
& > . el-sub-menu__title {
padding : 0 !important ;
. svg-icon {
margin-left : 20 px ;
}
}
}
. el-menu--collapse {
. el-sub-menu {
& > . el-sub-menu__title {
& > span {
& > . el-sub-menu__title {
& > span {
height : 0 ;
width : 0 ;
overflow : hidden ;
@ -208,7 +209,7 @@
display : inline-block ;
}
& > i {
& > i {
height : 0 ;
width : 0 ;
overflow : hidden ;
@ -229,7 +230,7 @@
}
. sidebar-container {
transition : transform .28 s ;
transition : transform 0 .28 s ;
width : $base-sidebar-width !important ;
}
@ -252,10 +253,7 @@
. platform-admin-main {
height : calc ( 100 vh - 50 px ) ;
overflow : auto !important ;
background :
radial-gradient ( circle at 12 % 18 % , rgba ( 14 , 74 , 112 , 0 . 45 ) , transparent 34 % ) ,
radial-gradient ( circle at 78 % 6 % , rgba ( 25 , 92 , 170 , 0 . 3 ) , transparent 28 % ) ,
linear-gradient ( 135deg , # 03070e 0 % , # 061827 48 % , # 02060d 100 % ) ! important ;
background : radial-gradient ( circle at 12 % 18 % , rgba ( 14 , 74 , 112 , 0 .45 ) , transparent 34 % ) , radial-gradient ( circle at 78 % 6 % , rgba ( 25 , 92 , 170 , 0 .3 ) , transparent 28 % ) , linear-gradient ( 135 deg , #03070e 0 % , #061827 48 % , #02060d 100 % ) !important ;
& : : -webkit-scrollbar {
width : 5 px ;
@ -291,17 +289,11 @@
. studentLayout ,
. teacherLayout {
background :
radial-gradient ( circle at 10 % 20 % , rgba ( 11 , 42 , 74 , 0 . 74 ) , transparent 34 % ) ,
radial-gradient ( circle at 88 % 8 % , rgba ( 0 , 136 , 210 , 0 . 24 ) , transparent 28 % ) ,
linear-gradient ( 135deg , # 02050c 0 % , # 07101d 52 % , # 02060d 100 % ) ;
background : radial-gradient ( circle at 10 % 20 % , rgba ( 11 , 42 , 74 , 0 .74 ) , transparent 34 % ) , radial-gradient ( circle at 88 % 8 % , rgba ( 0 , 136 , 210 , 0 .24 ) , transparent 28 % ) , linear-gradient ( 135 deg , #02050c 0 % , #07101d 52 % , #02060d 100 % ) ;
. main-container {
margin-left : 304 px ;
background :
radial-gradient ( circle at 10 % 20 % , rgba ( 11 , 42 , 74 , 0 . 72 ) , transparent 34 % ) ,
radial-gradient ( circle at 88 % 8 % , rgba ( 0 , 136 , 210 , 0 . 22 ) , transparent 28 % ) ,
linear-gradient ( 135deg , # 02050c 0 % , # 07101d 52 % , # 02060d 100 % ) ;
background : radial-gradient ( circle at 10 % 20 % , rgba ( 11 , 42 , 74 , 0 .72 ) , transparent 34 % ) , radial-gradient ( circle at 88 % 8 % , rgba ( 0 , 136 , 210 , 0 .22 ) , transparent 28 % ) , linear-gradient ( 135 deg , #02050c 0 % , #07101d 52 % , #02060d 100 % ) ;
}
. app-main ,
@ -309,10 +301,7 @@
height : calc ( 100 vh - 50 px ) ;
padding : 28 px 32 px 40 px 24 px ;
overflow : auto ;
background :
radial-gradient ( circle at 12 % 18 % , rgba ( 14 , 74 , 112 , 0 . 45 ) , transparent 34 % ) ,
radial-gradient ( circle at 78 % 6 % , rgba ( 25 , 92 , 170 , 0 . 3 ) , transparent 28 % ) ,
linear-gradient ( 135deg , # 03070e 0 % , # 061827 48 % , # 02060d 100 % ) ! important ;
background : radial-gradient ( circle at 12 % 18 % , rgba ( 14 , 74 , 112 , 0 .45 ) , transparent 34 % ) , radial-gradient ( circle at 78 % 6 % , rgba ( 25 , 92 , 170 , 0 .3 ) , transparent 28 % ) , linear-gradient ( 135 deg , #03070e 0 % , #061827 48 % , #02060d 100 % ) !important ;
& : : -webkit-scrollbar {
width : 5 px ;
@ -367,7 +356,9 @@
border : 1 px solid rgba ( 0 , 180 , 255 , 0 .25 ) ;
border-radius : 32 px ;
background : rgba ( 8 , 18 , 28 , 0 .7 ) ;
box-shadow : 0 22 px 48 px rgba ( 0 , 0 , 0 , 0 .22 ) , inset 0 1 px 0 rgba ( 169 , 229 , 255 , 0 .08 ) ;
box-shadow :
0 22px 48px rgba ( 0 , 0 , 0 , 0 . 22 ) ,
inset 0 1px 0 rgba ( 169 , 229 , 255 , 0 . 08 ) ;
backdrop-filter : blur ( 12 px ) ;
}
@ -425,7 +416,12 @@
white-space : normal ;
overflow : hidden ;
cursor : pointer ;
transition : color 0 .2 s ease , transform 0 .2 s ease , border-color 0 .2 s ease , background 0 .2 s ease , box-shadow 0 .2 s ease ;
transition :
color 0 . 2s ease ,
transform 0 . 2s ease ,
border-color 0 . 2s ease ,
background 0 . 2s ease ,
box-shadow 0 . 2s ease ;
}
. student-course-icon {
@ -440,10 +436,10 @@
border : 1 px solid rgba ( 0 , 170 , 255 , 0 .26 ) ;
border-radius : 10 px ;
color : #7ee9ff ;
background :
linear-gradient ( 135deg , rgba ( 0 , 170 , 255 , 0 . 24 ) , rgba ( 43 , 110 , 255 , 0 . 08 ) ) ,
rgba( 1 , 24 , 36 , 0 . 82 ) ;
box-shadow : inset 0 1 px 0 rgba ( 255 , 255 , 255 , 0 .08 ) , 0 0 10 px rgba ( 0 , 170 , 255 , 0 .08 );
background : linear-gradient ( 135 deg , rgba ( 0 , 170 , 255 , 0 .24 ) , rgba ( 43 , 110 , 255 , 0 .08 )) , rgba ( 1 , 24 , 36 , 0 .82 ) ;
box-shadow :
inset 0 1px 0 rgba ( 255 , 255 , 255 , 0 . 08 ) ,
0 0 10px rgba ( 0 , 170 , 255 , 0 . 08 );
svg {
width : 15 px ;
@ -504,7 +500,9 @@
font-size : 14 px ;
font-weight : 800 ;
cursor : pointer ;
transition : background 0 .2 s ease , box-shadow 0 .2 s ease ;
transition :
background 0 . 2s ease ,
box-shadow 0 . 2s ease ;
& : hover ,
& . active {
@ -574,10 +572,10 @@
box-sizing : border-box ;
border : 0 ;
border-radius : 0 ;
background :
radial-gradient ( circle at 18 % 10 % , rgba ( 0 , 170 , 255 , 0 . 12 ) , transparent 34 % ) ,
rgba( 8 , 18 , 28 , 0 . 82 ) ;
box-shadow : inset - 1 px 0 0 rgba ( 169 , 229 , 255 , 0 .06 ) , 12 px 0 32 px rgba ( 0 , 5 , 16 , 0 .2 );
background : radial-gradient ( circle at 18 % 10 % , rgba ( 0 , 170 , 255 , 0 .12 ) , transparent 34 % ) , rgba ( 8 , 18 , 28 , 0 .82 ) ;
box-shadow :
inset - 1px 0 0 rgba ( 169 , 229 , 255 , 0 . 06 ) ,
12px 0 32px rgba ( 0 , 5 , 16 , 0 . 2 );
}
. student-course-list {
@ -606,7 +604,10 @@
font-size : 24 px ;
line-height : 1 ;
cursor : pointer ;
transition : background 0 .2 s ease , border-color 0 .2 s ease , transform 0 .2 s ease ;
transition :
background 0 . 2s ease ,
border-color 0 . 2s ease ,
transform 0 . 2s ease ;
& : hover {
border-color : #70e4ff ;
@ -654,7 +655,6 @@
margin-left : 64 px ;
}
}
}
/* 仅学生实训任务页提供课程导航的图标轨道,离开任务页不改变原有学生布局。 */
@ -683,7 +683,10 @@
font-size : 24 px ;
line-height : 1 ;
cursor : pointer ;
transition : background .2 s ease , border-color .2 s ease , transform .2 s ease ;
transition :
background 0 . 2s ease ,
border-color 0 . 2s ease ,
transform 0 . 2s ease ;
& : hover ,
& : focus-visible {
@ -707,9 +710,8 @@
padding : 58 px 11 px 24 px ;
border : 0 ;
border-radius : 0 ;
background :
linear-gradient ( 180deg , rgba ( 8 , 31 , 47 , . 92 ) , rgba ( 3 , 16 , 28 , . 98 ) ) ;
box-shadow : inset - 1 px 0 0 rgba ( 132 , 228 , 255 , .1 ) ;
background : linear-gradient ( 180 deg , rgba ( 8 , 31 , 47 , 0 .92 ) , rgba ( 3 , 16 , 28 , 0 .98 )) ;
box-shadow : inset - 1 px 0 0 rgba ( 132 , 228 , 255 , 0 .1 ) ;
}
. student-course-heading ,
@ -735,7 +737,7 @@
min-height : 42 px ;
margin : 0 0 8 px ;
border-radius : 13 px ;
background : rgba ( 255 , 255 , 255 , .025 ) ;
background : rgba ( 255 , 255 , 255 , 0 .025 ) ;
}
. student-course-list {
@ -752,9 +754,9 @@
}
. student-course-link . active {
border : 1 px solid rgba ( 0 , 190 , 255 , .85 ) ;
background : linear-gradient ( 135 deg , rgba ( 0 , 174 , 255 , .28 ) , rgba ( 18 , 95 , 190 , .14 )) ;
box-shadow : 0 0 14 px rgba ( 0 , 178 , 255 , .25 ) ;
border : 1 px solid rgba ( 0 , 190 , 255 , 0 .85 ) ;
background : linear-gradient ( 135 deg , rgba ( 0 , 174 , 255 , 0 .28 ) , rgba ( 18 , 95 , 190 , 0 .14 )) ;
box-shadow : 0 0 14 px rgba ( 0 , 178 , 255 , 0 .25 ) ;
transform : none ;
}
@ -773,13 +775,13 @@
}
/ / when menu collapsed
. el-menu--vertical {
& > . el-menu {
& > . el-menu {
. svg-icon {
margin-right : 16 px ;
}
}
. nest-menu . el-sub-menu > . el-sub-menu__title ,
. nest-menu . el-sub-menu > . el-sub-menu__title ,
. el-menu-item {
& : hover {
/ / you can use $ sub-menuHover
@ -788,7 +790,7 @@
}
/ / the scroll bar appears when the sub-menu is too long
> . el-menu--popup {
> . el-menu--popup {
max-height : 100 vh ;
overflow-y : auto ;
@ -815,24 +817,15 @@
# app . studentLayout ,
# app . teacherLayout {
/ / 整 体 浅 色 背 景 + 蓝 色 点 缀 , 营 造 明 亮 的 科 技 感
background :
radial-gradient ( circle at 10 % 20 % , rgba ( 30 , 136 , 229 , 0 . 07 ) , transparent 34 % ) ,
radial-gradient ( circle at 88 % 8 % , rgba ( 66 , 165 , 245 , 0 . 05 ) , transparent 28 % ) ,
linear-gradient ( 135deg , # f5f8fc 0 % , # eaf2fb 52 % , # f3f8ff 100 % ) ! important ;
background : radial-gradient ( circle at 10 % 20 % , rgba ( 30 , 136 , 229 , 0 .07 ) , transparent 34 % ) , radial-gradient ( circle at 88 % 8 % , rgba ( 66 , 165 , 245 , 0 .05 ) , transparent 28 % ) , linear-gradient ( 135 deg , #f5f8fc 0 % , #eaf2fb 52 % , #f3f8ff 100 % ) !important ;
. main-container {
background :
radial-gradient ( circle at 10 % 20 % , rgba ( 30 , 136 , 229 , 0 . 06 ) , transparent 34 % ) ,
radial-gradient ( circle at 88 % 8 % , rgba ( 66 , 165 , 245 , 0 . 04 ) , transparent 28 % ) ,
linear-gradient ( 135deg , # f5f8fc 0 % , # eaf2fb 52 % , # f3f8ff 100 % ) ! important ;
background : radial-gradient ( circle at 10 % 20 % , rgba ( 30 , 136 , 229 , 0 .06 ) , transparent 34 % ) , radial-gradient ( circle at 88 % 8 % , rgba ( 66 , 165 , 245 , 0 .04 ) , transparent 28 % ) , linear-gradient ( 135 deg , #f5f8fc 0 % , #eaf2fb 52 % , #f3f8ff 100 % ) !important ;
}
. app-main ,
. teacher-main {
background :
radial-gradient ( circle at 12 % 18 % , rgba ( 30 , 136 , 229 , 0 . 05 ) , transparent 34 % ) ,
radial-gradient ( circle at 78 % 6 % , rgba ( 66 , 165 , 245 , 0 . 04 ) , transparent 28 % ) ,
linear-gradient ( 135deg , # f7fafd 0 % , # eef4fb 48 % , # f5f8fc 100 % ) ! important ;
background : radial-gradient ( circle at 12 % 18 % , rgba ( 30 , 136 , 229 , 0 .05 ) , transparent 34 % ) , radial-gradient ( circle at 78 % 6 % , rgba ( 66 , 165 , 245 , 0 .04 ) , transparent 28 % ) , linear-gradient ( 135 deg , #f7fafd 0 % , #eef4fb 48 % , #f5f8fc 100 % ) !important ;
& : : -webkit-scrollbar {
width : 6 px ;
@ -895,7 +888,9 @@
margin : 0 0 2 px !important ;
min-height : 40 px !important ;
padding : 0 12 px !important ;
transition : background-color 0 .15 s ease , color 0 .15 s ease ;
transition :
background-color 0 . 15s ease ,
color 0 . 15s ease ;
& : hover {
color : #1f2937 !important ;
@ -971,10 +966,16 @@
color : #9ca3af !important ;
box-shadow : - 2 px 0 6 px rgba ( 17 , 24 , 39 , 0 .08 ) !important ;
cursor : pointer ;
transition : background-color 0 .15 s ease , color 0 .15 s ease ;
transition :
background-color 0 . 15s ease ,
color 0 . 15s ease ;
. toggle-arrow { font-size : 10 px ; }
. toggle-arrow--right { display : none ; }
. toggle-arrow {
font-size : 10 px ;
}
. toggle-arrow--right {
display : none ;
}
& : hover ,
& : focus-visible {
@ -987,8 +988,31 @@
/ / 折 叠 态 : 左 箭 头 隐 藏 、 右 箭 头 显 示 ( 与 . sidebar-container 同 级 , 避 免 嵌 套 出 双 容 器 )
. sidebar-container . is-collapse . course-sidebar-toggle {
. toggle-arrow--left { display : none ; }
. toggle-arrow--right { display : inline-flex ; }
. toggle-arrow--left {
display : none ;
}
. toggle-arrow--right {
display : inline-flex ;
}
}
}
/ *
* 教 师 端 sidebar 宽 度 单 独 缩 减 50 % ( 304 → 152px )
* 教 师 端 使 用 el-menu 直 显 式 布 局 , 无 需 学 生 端 的 内 嵌 卡 片 空 间 , 原 304px 造 成 大 量 空 白
* 学 生 端 保 持 304px 不 变 ( 内 部 . student-course-nav 卡 片 需 要 空 间 )
* 同 时 隐 藏 教 师 端 唯 一 的 分 组 标 题 " 教学管理 " ( 标 识 ) , 仅 保 留 菜 单 项
* /
# app . teacherLayout {
. main-container {
margin-left : 180 px !important ;
}
. sidebar-container {
width : 180 px !important ;
}
/ / 隐 藏 教 师 端 顶 部 分 组 标 题 ( " 教学管理 " 标 识 ) , 不 影 响 学 生 端 多 分 组 标 题
. student-course-nav > . student-course-heading {
display : none !important ;
}
}
@ -1018,7 +1042,9 @@
border-right : 1 px solid #e5e7eb !important ;
box-shadow : none !important ;
& : : after { display : none !important ; }
& : : after {
display : none !important ;
}
/ * 清 除 遗 留 背 景 图 : sidebar-normal . png / sidebar-active . png / sidebar-background . webp
这 些 ! important 老 规 则 在 L15 / L75 / L103 / L107 会 给 li / sub-menu-title / menu-item
@ -1062,13 +1088,19 @@
/* 侧边栏滚动条中性化 */
. el-scrollbar__wrap {
& : : -webkit-scrollbar { width : 5 px ; }
& : : -webkit-scrollbar-track { background : transparent ; }
& : : -webkit-scrollbar {
width : 5 px ;
}
& : : -webkit-scrollbar-track {
background : transparent ;
}
& : : -webkit-scrollbar-thumb {
background : #d1d5db ;
border-radius : 10 px ;
}
& : : -webkit-scrollbar-thumb : hover { background : #9ca3af ; }
& : : -webkit-scrollbar-thumb : hover {
background : #9ca3af ;
}
}
. el-scrollbar__bar . is-vertical {
@ -1077,7 +1109,9 @@
transition : opacity 0 .2 s ease ;
}
& : hover . el-scrollbar__bar . is-vertical { opacity : 1 ; }
& : hover . el-scrollbar__bar . is-vertical {
opacity : 1 ;
}
}
/* el-menu 菜单容器:白底、紧凑行高 */
@ -1108,9 +1142,14 @@
background : transparent !important ;
-webkit-font-smoothing : antialiased ;
-moz-osx-font-smoothing : grayscale ;
transition : background-color 0 .15 s ease , color 0 .15 s ease ;
transition :
background-color 0 . 15s ease ,
color 0 . 15s ease ;
. student-menu-icon { color : #1f2937 !important ; transition : color 0 .15 s ease ; }
. student-menu-icon {
color : #1f2937 !important ;
transition : color 0 .15 s ease ;
}
& : hover ,
& : focus {
@ -1118,7 +1157,9 @@
background : #f9fafb !important ;
outline : none ;
. student-menu-icon { color : #1f2937 !important ; }
. student-menu-icon {
color : #1f2937 !important ;
}
}
}
@ -1136,14 +1177,18 @@
background : #f3f4f6 !important ;
box-shadow : none ;
. student-menu-icon { color : #2563eb !important ; }
. student-menu-icon {
color : #2563eb !important ;
}
& : hover ,
& : focus {
color : #111827 !important ;
background : #e5e7eb !important ;
. student-menu-icon { color : #2563eb !important ; }
. student-menu-icon {
color : #2563eb !important ;
}
}
}
@ -1155,14 +1200,18 @@
background : transparent !important ;
box-shadow : none ;
. student-menu-icon { color : #2563eb !important ; }
. student-menu-icon {
color : #2563eb !important ;
}
& : hover ,
& : focus {
color : #2563eb !important ;
background : #f9fafb !important ;
. student-menu-icon { color : #2563eb !important ; }
. student-menu-icon {
color : #2563eb !important ;
}
}
}
@ -1174,14 +1223,18 @@
background : transparent !important ;
box-shadow : none ;
. student-menu-icon { color : #2563eb !important ; }
. student-menu-icon {
color : #2563eb !important ;
}
& : hover ,
& : focus {
color : #2563eb !important ;
background : #f9fafb !important ;
. student-menu-icon { color : #2563eb !important ; }
. student-menu-icon {
color : #2563eb !important ;
}
}
}
@ -1204,7 +1257,9 @@
font-size : 13 px ;
font-weight : 400 ;
background : transparent ;
transition : background-color 0 .15 s ease , color 0 .15 s ease ;
transition :
background-color 0 . 15s ease ,
color 0 . 15s ease ;
. student-menu-icon {
color : #9ca3af !important ;
@ -1218,7 +1273,9 @@
color : #1f2937 ;
outline : none ;
. student-menu-icon { color : #6b7280 !important ; }
. student-menu-icon {
color : #6b7280 !important ;
}
}
& . is-active {
@ -1227,7 +1284,9 @@
font-weight : 600 ;
box-shadow : none ;
. student-menu-icon { color : #2563eb !important ; }
. student-menu-icon {
color : #2563eb !important ;
}
& : hover {
background : #e5e7eb !important ;
@ -1287,7 +1346,9 @@
padding : 0 ;
}
. student-menu-icon { margin-right : 0 ; }
. student-menu-icon {
margin-right : 0 ;
}
/ * 恢 复 折 叠 模 式 下 sub-menu title 里 的 icon 尺 寸 — —
Element Plus 默 认 把 . hideSidebar 里 sub-menu title 的 < i > 也 压 成 0 宽 高 ,
@ -1327,7 +1388,9 @@
font-size : 13 px ;
font-weight : 400 ;
background : transparent ;
transition : background-color 0 .15 s ease , color 0 .15 s ease ;
transition :
background-color 0 . 15s ease ,
color 0 . 15s ease ;
& : hover ,
& : focus {
@ -1358,26 +1421,38 @@
# app . teacherLayout {
background : #ffffff !important ;
. main-container { background : #ffffff !important ; }
. main-container {
background : #ffffff !important ;
}
. app-main ,
. teacher-main {
background : #ffffff !important ;
& : : -webkit-scrollbar-track { background : transparent !important ; }
& : : -webkit-scrollbar-thumb { background : #d1d5db !important ; }
& : : -webkit-scrollbar-thumb : hover { background : #9ca3af !important ; }
& : : -webkit-scrollbar-track {
background : transparent !important ;
}
& : : -webkit-scrollbar-thumb {
background : #d1d5db !important ;
}
& : : -webkit-scrollbar-thumb : hover {
background : #9ca3af !important ;
}
}
/ / 实 训 页 背 景 一 并 收 敛 为 纯 白
. app-main : has ( . student-training-shell ) { background : #ffffff !important ; }
. app-main : has ( . student-training-shell ) {
background : #ffffff !important ;
}
. sidebar-container {
background : #ffffff !important ;
border-right : 1 px solid #e5e7eb !important ;
box-shadow : none !important ;
& : : after { display : none !important ; }
& : : after {
display : none !important ;
}
/ / 导 航 容 器 : 去 掉 大 圆 角 玻 璃 卡 片 , 铺 满 侧 栏
. student-course-nav {
@ -1402,10 +1477,14 @@
letter-spacing : 0 ;
text-transform : none ;
& : hover { color : #1f2937 !important ; }
& : hover {
color : #1f2937 !important ;
}
}
. student-course-list { margin : 0 0 16 px ; }
. student-course-list {
margin : 0 0 16 px ;
}
/ / 菜 单 项 : 纯 文 字 行 、 38px 高 、 8px 圆 角
. student-course-link {
@ -1455,7 +1534,11 @@
background : #eff6ff !important ;
}
. student-course-link : hover . student-course-icon { color : #4b5563 !important ; }
. student-course-link . active . student-course-icon { color : #3b82f6 !important ; }
. student-course-link : hover . student-course-icon {
color : #4b5563 !important ;
}
. student-course-link . active . student-course-icon {
color : #3b82f6 !important ;
}
}
}