index.scss
1.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
html, body {
height: 100%;
margin: 0;
padding: 0;
font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* ===== 统一 el-table 样式 ===== */
.el-table::before { display: none; }
.el-table::after { display: none; }
.el-table th.el-table__cell {
background: #f8fafc !important;
color: #64748b !important;
font-weight: 600 !important;
font-size: 13px;
padding: 10px 0;
border-bottom: 1px solid #e2e8f0 !important;
}
.el-table td.el-table__cell {
padding: 9px 0;
border-bottom: 1px solid #f1f5f9 !important;
color: #374151;
font-size: 13px;
}
.el-table--border td.el-table__cell,
.el-table--border th.el-table__cell.gutter,
.el-table--border th.el-table__cell {
border-right: none !important;
}
.el-table__row:hover > td.el-table__cell {
background: rgba(99, 102, 241, 0.03) !important;
}
.el-table__body tr.hover-row > td.el-table__cell {
background: rgba(99, 102, 241, 0.03) !important;
}
.el-table__expanded-cell {
background: #f8fafc !important;
}
/* ===== 统一 el-pagination 样式 ===== */
.el-pagination.is-background .el-pager li:not(.disabled).active {
background: #2563eb !important;
border-radius: 6px;
}
.el-pagination.is-background .el-pager li:not(.disabled):hover {
color: #2563eb;
}
.el-pagination.is-background .btn-next,
.el-pagination.is-background .btn-prev,
.el-pagination.is-background .el-pager li {
border-radius: 6px !important;
}
.el-pagination__total, .el-pagination__jump {
font-size: 13px;
color: #64748b;
}