style(styles): 为el-table添加自定义滚动条样式
This commit is contained in:
@@ -302,6 +302,7 @@ body {
|
||||
padding: 4px 8px !important;
|
||||
font-size: 12px;
|
||||
height: $--btn-height;
|
||||
|
||||
&.is-circle {
|
||||
padding: 4px !important;
|
||||
}
|
||||
@@ -343,9 +344,28 @@ body {
|
||||
}
|
||||
}
|
||||
|
||||
.el-table ::-webkit-scrollbar {
|
||||
width: 8px !important;
|
||||
height: 12px !important;
|
||||
}
|
||||
|
||||
.el-table ::-webkit-scrollbar-track {
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
||||
.el-table ::-webkit-scrollbar-thumb {
|
||||
background-color: #c0c4cc !important;
|
||||
border-radius: 0 !important;
|
||||
}
|
||||
|
||||
.el-table ::-webkit-scrollbar-thumb:hover {
|
||||
background-color: #909399 !important;
|
||||
}
|
||||
|
||||
.el-table__fixed,
|
||||
.el-table__fixed-right,
|
||||
.el-table__fixed-left {
|
||||
|
||||
// 表头(深灰黑 + 纯白文字)
|
||||
.el-table__fixed-header-wrapper {
|
||||
th.el-table__cell {
|
||||
@@ -1639,4 +1659,4 @@ div.pagination-container {
|
||||
color: $--color-primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user