perf: 列表表头样式调整

This commit is contained in:
chenjinsong
2020-01-15 12:50:21 +08:00
parent 14063ba388
commit 75c6858779
2 changed files with 21 additions and 11 deletions

View File

@@ -276,11 +276,9 @@ html {
/* end--顶部工具栏*/ /* end--顶部工具栏*/
/* start--内容*/ /* start--内容*/
.content-right>.el-table{ .content-right>.el-table{
border: 1px solid #d4d4d4;
border-left: none;
border-right: none;
margin-top: 30px; margin-top: 30px;
border-bottom: none; border: none;
font-size: 12px;
} }
.content-right .el-table::before { .content-right .el-table::before {
height: 0; height: 0;
@@ -289,15 +287,14 @@ html {
width: 0; width: 0;
} }
.content-right .el-table__header { .content-right .el-table__header {
line-height: 40px; line-height: 36px;
text-shadow: 1px 1px white;
} }
.content-right .el-table .el-table__header th { .content-right .el-table .el-table__header th {
background-image: linear-gradient(#eee,#e0e0e0); color: #666666;
color: #444444; font-weight: normal;
border-right: 1px solid #d4d4d4; font-size: 14px;
border-left: 1px solid white; border-left: 1px solid white;
border-bottom: 1px solid #d4d4d4;; border-bottom: 1px solid #d4d4d4;
} }
.content-right .el-table .el-table__header th:first-of-type { .content-right .el-table .el-table__header th:first-of-type {
border-left: none; border-left: none;
@@ -311,6 +308,19 @@ html {
.content-right .el-table td { .content-right .el-table td {
padding: 4px 0; padding: 4px 0;
} }
.content-right>.el-table th {
padding: 0;
}
.content-right>.el-table th .cell{
height: 36px;
line-height: 36px;
background-image: linear-gradient(#f8f8f8, #e6e6e6);
border-right: 1px solid #d4d4d4;
}
.content-right>.el-table td .cell{
height: 44px;
line-height: 44px;
}
/* end--内容*/ /* end--内容*/
/* start--分页*/ /* start--分页*/
.pagination { .pagination {

View File

@@ -882,7 +882,7 @@
color: black; color: black;
font-weight: 400; font-weight: 400;
} }
.endpoints-box-endpoints .el-table td, .el-table th { .endpoints-box-endpoints .el-table td, .endpoints-box-endpoints .el-table th {
padding: 5px 0 !important; padding: 5px 0 !important;
} }
.endpoints-box-endpoints .cell { .endpoints-box-endpoints .cell {