loulijun2021
2022-06-24 3d14449abab5055e2f370be4fa1a31c15c715453
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
59
60
61
62
63
64
65
66
67
/*全局样式表*/
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: 100%;
  /*background-color: #eee;*/
  margin: 0;
  padding: 0 10px;
}
 
.elForm {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  flex-wrap: wrap;
}
 
.elTableDiv {
  display: flex;
  border: 1px solid #eee;
  width: 99%;
  margin: 0 auto;
}
 
/*
定义滚动条高宽及背景
高宽分别对应横竖滚动条的尺寸
*/
::-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*/