You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
@use ' ./var.css ' ;
@use ' ./FormCreate/index.scss ' ;
@use ' ./theme.scss ' ;
@use ' element-plus/theme-chalk/dark/css-vars.css ' ;
. reset-margin [ class * = ' el-icon ' ] + span {
margin-left : 2 px !important ;
}
// 解决抽屉弹出时, body宽度变化的问题
. el-popup-parent--hidden {
width : 100 % !important ;
}
// 解决表格内容超过表格总宽度后,横向滚动条前端顶不到表格边缘的问题
. el-scrollbar__bar {
display : flex ;
justify-content : flex-start ;
}
/* nprogress 适配 element-plus 的主题色 */
# nprogress {
& . bar {
background-color : var ( -- el-color-primary ) !important ;
}
& . peg {
box-shadow :
0 0 10 px var ( -- el-color-primary ) ,
0 0 5 px var ( -- el-color-primary ) !important ;
}
& . spinner-icon {
border-top-color : var ( -- el-color-primary ) ;
border-left-color : var ( -- el-color-primary ) ;
}
}
/* 全局生效,所有表格的悬停色都会改变 */
. el-table--enable-row-hover . el-table__body tr : hover > td {
background-color : #f0f9eb !important ;
}
/* 2. 关键补全:针对展开行内的 hover 状态 */
/* 展开行( tr.expanded) 内部的 td 需要单独设置 */
. el-table__body . el-table__expanded-cell : hover > td {
background-color : #f0f9eb !important ;
}
/* 3. 针对展开后触发的 hover-row 类(某些版本生效) */
. el-table__body tr . hover-row > td {
background-color : #f0f9eb !important ;
}