当前位置:网站首页>el-table style modification
el-table style modification
2022-08-06 05:12:00 【Pert-】
Add scoped to style
// table part style
// outermost transparent
/deep/ .el-table,
/deep/ .el-table__expanded-cell {
background-color: transparent;
color: #93dcfe;
font-size: 24px;
}
// The background color in the table
/deep/ .el-table th,
/deep/ .el-table tr,
/deep/ .el-table td {
background-color: transparent;
border: 0px;
color: #93dcfe;
font-size: 24px;
height: 5px;
font-family: Source Han Sans CN Normal, Source Han Sans CN Normal-Normal;
font-weight: Normal;
}
// Remove the bottom line
.el-table::before {
height: 0px;
}
// Set table row height
/deep/ .el-table__body tr,
/deep/ .el-table__body td {
padding: 0;
height: 54px;
}
// Modify the highlighted current row color
/deep/ .el-table tbody tr:hover > td {
background: #063570 !important;
}
// Cancel the highlight of the current line
// /deep/ .el-table tbody tr {
// pointer-events: none;
// }
// Modify the table header style - add a border
/deep/ .el-table__header-wrapper {
border: solid 1px #04c2ed;
// box-sizing: border-box;
}
// table zebra custom color
/deep/ .el-table__row.warning-row {
background: #063570;
}
// Scrollbar style
/deep/ .el-table__body-wrapper::-webkit-scrollbar-track {
background-color: #063570;
}
/deep/ .el-table__body-wrapper::-webkit-scrollbar {
width: 10px;
opacity: 0.5;
}
/deep/ .el-table__body-wrapper::-webkit-scrollbar-thumb {
border-radius: 15px;
background-color: #0257aa;
}
边栏推荐
- 进程初识
- The principle and function of $nextTick
- Cloudflare CDN(泛播)IP地址段
- 学习总结week3_5文件操作
- Niu Ke topic - the best time to buy and sell stocks (1), (2), (3), design LRU cache structure
- What are the application scenarios of LoRa technology?
- php向mysql写入数据失败
- Solve the error: DispatcherServlet is popular!!
- The difference between defineProperty and proxy
- TypeScript中使用superagent
猜你喜欢

2022 Practical Content Course on Building Modern Web Applications with Go

如何保持注意力,高效学习

dedecms采集选择内容模型显示完整

嵌入式分享合集29

重发布中的路由策略:

Responsive dream weaving template enterprise group website

OSPF comprehensive experiment:

Responsive dream weaving template diving and swimming website

Linux 安装Mysql

7. Building RESTful Services
随机推荐
重发布中的路由策略:
el-table样式修改
为什么double = 5 / 9; 的结果为零
623. 在二叉树中增加一行
Responsive dream weaving template diving and swimming website
Cloudflare CDN(泛播)支持转发的网络端口
Linux 安装Mysql
2022 Practical Content Course on Building Modern Web Applications with Go
Industrial Robot Review Questions
备份和恢复Kubernetes集群中的Etcd数据
Why is the result of double = 5 / 9; zero
牛客题目——买卖股票的最好时机(一)、(二)、(三)、设计LRU缓存结构
flinkcdc mysql DataStream API问题错在哪?
Flink-cdc 同步mysql数据
Flutter performance optimization TAB, switch back without rendering again
SSH简介
读取 resources 目录下的文件路径
bahir-flink
“模组+天线”全栈解决方案,提速物联网终端高效部署
【C语言数组下标越界】数组下标越界引发的死循环