king
2020-08-31 b3547d1c531e479021219fda5df153a11b9b52a3
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
* {
  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: 14px;
}
#root {
  height: 100%;
}
 
html::-webkit-scrollbar {
  width: 8px;
}
html::-webkit-scrollbar-thumb {
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.13);
  background: rgba(0, 0, 0, 0.13);
  border-radius: 5px;
}
html::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.07);
  background: rgba(0, 0, 0, 0);
  border-radius: 3px;
}
 
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-transfer-list-content::-webkit-scrollbar {
  width: 7px;
}
.ant-transfer-list-content::-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-transfer-list-content::-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-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-wrap::-webkit-scrollbar {
  width: 7px;
}
.ant-modal-wrap::-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-modal-wrap::-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-select-dropdown {
  z-index: 1090!important;
}
 
.ant-dropdown {
  z-index: 1090!important;
}
 
.mk-normal-dropdown {
  .ant-dropdown-menu {
    max-height: 250px;
    overflow-y: auto;
  }
  .ant-dropdown-menu::-webkit-scrollbar {
    width: 7px;
  }
  .ant-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-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-modal.ant-modal-confirm {
  top: 38vh;
}
 
.ant-popover {
  z-index: 1070!important;
}
// 气泡确认框
.ant-popover.popover-confirm {
  z-index: 1080!important;
}
 
.ant-notification-notice.notification-custom-error {
  background: #f5222d;
  .anticon.ant-notification-notice-icon-error {
    color: #ffffff;
  }
  .ant-notification-notice-message {
    color: #ffffff;
  }
  .ant-notification-close-icon {
    color: #ffffff;
  }
}
 
// 重置提示框
.ant-tooltip {
  z-index: 1090!important;
  .ant-tooltip-inner {
    letter-spacing: 1px;
  }
}
.ant-tooltip.middle {
  max-width: 320px!important;
}
 
// 关联选择
.ant-cascader-menus {
  z-index: 1090!important;
  .ant-cascader-menu::-webkit-scrollbar {
    width: 7px;
  }
  .ant-cascader-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-cascader-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);
  }
}
 
.popview-modal {
  .ant-modal-body {
    min-height: 300px;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
  }
  .ant-modal-body::-webkit-scrollbar {
    width: 7px;
  }
  .ant-modal-body::-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-modal-body::-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-drawer {
  z-index: 1080!important;
}
 
.mk-popover-control-wrap {
  .ant-popover-content {
    position: relative;
    top: 5px;
    .ant-popover-arrow {
      bottom: -3.8px!important;
    }
    .mk-popover-control {
      i {
        padding: 5px 8px;
        cursor: pointer;
        font-size: 16px;
      }
      .edit {
        color: #1890ff;
      }
      .copy {
        color: #26C281;
      }
      .close {
        color: #ff4d4f;
      }
      .profile {
        color: purple;
      }
    }
    .ant-popover-inner-content {
      padding: 5px 20px;
    }
  }
}