king
2019-09-20 4e837faa0307fda4d0d3bd463c88a7ef43817443
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
* {
  padding: 0;
  margin: 0;
  list-style: none;
  font-style: normal;
  -webkit-tap-highlight-color: transparent; /*防止点击闪烁*/
  -webkit-text-size-adjust: none; /*缩放网页,文字大小不变*/
  font-family: "Helvetica Neue", Helvetica, STHeiTi, sans-serif;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
  font-weight: normal;
  &:hover {
    outline: none;
  }
}
 
/* 设置iconfont标签font-family */ 
[class^="icon-"],[class*=" icon-"] {
  font-family: "iconfont";
  font-size: 16px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
 
 
/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/  
// ::-webkit-scrollbar {
//   width: 0px;  
//   height: 0px;  
//   background-color: #F5F5F5;  
// }
  
/*定义滚动条轨道 内阴影+圆角*/  
// ::-webkit-scrollbar-track {
//   box-shadow: inset 0 0 1px rgba(0,0,0,0);  
//   border-radius: 10px;  
//   background-color: #F5F5F5;  
// }
 
 
/*去除虚线*/
input:focus, select:focus, textarea:focus, button:focus {
  outline: none;
}
input {
  border: none
}
 
/*背景色*/
html, body {
  width: 100%;
  font-size: 10px;
}
#root {
  height: 100%;
}
 
input[type="button"], input[type="submit"], input[type="search"], input[type="reset"] {
  -webkit-appearance: none;
}
 
a {
  text-decoration: none;
  /*ios禁止页面在新窗口打开*/
  -webkit-touch-callout: none;
}
.ant-menu-submenu-popup.ant-menu-dark .ant-menu-item-selected {
  background-color: unset;
  color: unset;
}
.side-menu.ant-menu-dark .ant-menu-item-selected {
  background-color: unset;
  color: unset;
}
 
// ::-webkit-scrollbar {
//   width: 4px;
//   height: 4px;
// }
// ::-webkit-scrollbar-thumb {
//   border-radius: 5px;
//   box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
//   background: rgba(0,0,0,0.2);
// }
// ::-webkit-scrollbar-track {/*滚动条里面轨道*/
//   box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
//   border-radius: 0;
//   background: rgba(0,0,0,0.1);
// }
 
// 重置按钮中文字与图标距离
.ant-btn > .anticon + span, .ant-btn > span + .anticon {
  margin-left: 5px;
}