loulijun2021
2022-08-05 d33eacc1f85ac3a736b33ba4713a19aae466d711
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
68
69
70
71
72
/*全局样式表*/
html, body, #app {
  height: 100%;
  margin: 0;
  padding: 0;
  /*min-width: 1800px;*/
  /*overflow-y: hidden;*/
  /*overflow-x: hidden;*/
 
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}
 
 
.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*/