el-table最全修改滚动条及背景文字颜色,不高亮
<style scoped>
::v-deep .el-table,::v-deep .el-table__expanded-cell {
background-color: #1A2769 !important;
color: #c5cef7;
}
::v-deep .el-table thead{
color: #c5cef7;
}
::v-deep .el-table th,::v-deep .el-table tr {
background-color: #1A2769 !important;
}
::v-deep .el-table td,::v-deep .el-table th.is-leaf {
border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}
::v-deep .el-table--border::after,::v-deep .el-table--group::after,::v-deep .el-table::before {
background: rgba(255, 255, 255, 0);
}
::v-deep .el-table tbody tr:hover td {
background-color: #1A2769 !important;
}
::v-deep .el-table tbody tr td.className {
background-color: #1A2769 !important;
}
::v-deep .el-table tbody tr:hover td.className {
background-color: #1A2769 !important;
}
::-webkit-scrollbar-track-piece {
background-color:#04192b;
-webkit-border-radius: 2em;
-moz-border-radius: 2em;
border-radius: 2em;
}
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-thumb {
background-color:#174d79;
background-clip:padding-box;
-webkit-border-radius: 2em;
-moz-border-radius: 2em;
border-radius: 2em;
}
::-webkit-scrollbar-thumb:hover {
background-color:#174d79;
}
*::-webkit-scrollbar-corner{background: #04192b;}
.el-table--scrollable-x .el-table__body-wrapper {
overflow-x: hidden;
}
</style>