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
| /*全局样式表*/
| html, body, #app {
| height: 100%;
| margin: 0;
| padding: 0;
| /*min-width: 1800px;*/
| /*overflow-y: hidden;*/
| /*overflow-x: hidden;*/
| }
|
|
| .body {
| display: flex;
| flex-direction: column;
| height: 800px;
| background-color: #eee;
| margin: 0;
| padding: 30px 10px 0 20px;
| }
|
|
|
| /*
| 定义滚动条高宽及背景
| 高宽分别对应横竖滚动条的尺寸
| */
| ::-webkit-scrollbar {
| width: 7px;
| height: 7px;
| background-color: white;
| }
|
| ::-webkit-scrollbar-thumb {
| box-shadow: inset 0 0 0px white;
| -webkit-box-shadow: inset 0 0 0px white;
| background-color: rgb(193, 193, 193);
| /*滚动条的背景颜色*/
| border-radius: 20px;
| }
|
| /*解决表格固定列时的压样式问题*/
| .el-table__fixed {
| height: calc(100% - 7px) !important;
| }
|
| .el-table__fixed-right {
| height: calc(100% - 12px) !important;
| }
|
| .el-table__fixed-right::before,
| .el-table__fixed::before {
| background-color: unset !important;
| }
|
| /*scrollbar END*/
|
|