king
2019-10-15 ee32a69f9a7f25c37757325dc28ac7b5127dceca
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
* {
  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;
}
 
/*去除虚线*/
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.ant-menu-item-selected {
  background-color: unset;
  color: unset;
}
.side-menu.ant-menu-dark .ant-menu-item.ant-menu-item-selected {
  background-color: unset;
  color: unset;
}
 
// 重置按钮中文字与图标距离
.ant-btn > .anticon + span, .ant-btn > span + .anticon {
  margin-left: 5px;
}
 
// 设置下拉搜索滚动条样式
.ant-select-dropdown-menu::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
.ant-select-dropdown-menu::-webkit-scrollbar-thumb {
  border-radius: 5px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.13);
  background: rgba(0, 0, 0, 0.13);
}
.ant-select-dropdown-menu::-webkit-scrollbar-track {/*滚动条里面轨道*/
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05);
  border-radius: 3px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  background: rgba(0, 0, 0, 0);
}
 
.ant-message {
  top: 50px;
  z-index: 1080;
}
 
// 重置时间插件时间滚动条
.ant-calendar-time-picker-select:hover::-webkit-scrollbar {
  width: 7px;
}
.ant-calendar-time-picker-select:hover::-webkit-scrollbar-thumb {
  border-radius: 5px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.13);
  background: rgba(0, 0, 0, 0.13);
}
.ant-calendar-time-picker-select:hover::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05);
  border-radius: 3px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  background: rgba(0, 0, 0, 0);
}
.ant-modal-mask {
  z-index: 1080!important;
}
.ant-modal-wrap {
  z-index: 1080!important;
}
.ant-form-item-children {
  width: 100%;
  display: inline-block;
  .ant-calendar-picker {
    width: 100%;
  }
}
.ant-calendar-picker-container {
  z-index: 1090!important;
}
.ant-notification {
  z-index: 1100!important;
}
 
// 确认提示框高度
.ant-modal {
  top: 38vh!important;
}