index.less
11.5 KB
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
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
.rootDiv{
font-size: 1em;
color: #ffffff!important;
background: url(../../assets/commonAuto/bg.jpg) center top;
}
/* 大屏图表样式 */
:global{
.rootbg{
background: url(../../assets/commonAuto/bg.jpg);
}
.headbg{
background: url(../../assets/commonAuto/headbg.png) no-repeat center center;
background-size: 100% 100%
}
.mainDiv{
background: url(../../assets/commonAuto/bg.jpg) no-repeat center top;
background-size: 100% 100%;
}
.qcDiv{
background: url(../../assets/commonAuto/qcbg.png) no-repeat center top;
background-size: 100% 100%;
}
.processDiv{
.ant-progress-show-info .ant-progress-outer{
padding:1px!important;
margin: 0px;
}
.ant-progress-text{
display: none!important;
}
}
.qcLight{
background: url(../../assets/commonAuto/qclight.gif) no-repeat center top;
background-size: 100% 100%;
}
.commonAuto{
color: #ffffff!important;
font-size: 1rem!important;
opacity: 0.5;
}
/* ---------模板2-生产车间设备看板界面布局Begin----------------- */
/* 背景布局 */
.mtDiv{
background: url(../../assets/commonAuto/template/bg.png) no-repeat center top;
background-size: 100% 100%;
}
/* 头部区域*/
.mtheadbg{
background: url(../../assets/commonAuto/template/headbg.png) no-repeat center center;
background-size: 100% 100%
}
/* 内容布局 */
.mtmainbg{
background: url(../../assets/commonAuto/template/main.png) no-repeat center center;
background-size: 100% 100%
}
/* 内容左区 */
.mtleftbox{
background: url(../../assets/commonAuto/template/leftbox.png) no-repeat center center;
background-size: 100% 100%
}
.mtareabg{
background: url(../../assets/commonAuto/template/card.png) no-repeat center center;
background-size: 100% 100%
}
.mticon1{
width: 2.68rem;
height: 2.68rem;
background: url(../../assets/commonAuto/template/icon-1.png) no-repeat center center;
background-size: 100% 100%
}
/* 内容中区 */
.mtmid1box{
background: url(../../assets/commonAuto/template/midbox_1.png) no-repeat center center;
background-size: 100% 100%
}
.mtmachinebox{
background: url(../../assets/commonAuto/template/machine.png) no-repeat center center;
background-size: 100% 100%
}
.mtmidcontent{
background: url(../../assets/commonAuto/template/mid_top.png) no-repeat center center;
background-size: 100% 100%
}
.mtchartbg{
background: url(../../assets/commonAuto/template/chartbg.png) no-repeat center center;
background-size: 100% 100%
}
.mtmid2box{
background: url(../../assets/commonAuto/template/midbox_2.png) no-repeat center center;
background-size: 100% 100%
}
/* 内容右区 */
.mtrightbox{
background: url(../../assets/commonAuto/template/rightbox.png) no-repeat center center;
background-size: 100% 100%
}
/* ---------模板2-生产车间设备看板界面布局End----------------- */
/* ---------模板2-班组车间设备看板界面布局Begin----------------- */
.mtmainbox{
background: url(../../assets/commonAuto/template/index/mainbox.png) no-repeat center center;
background-size: 100% 100%
}
.mtbg2{
background: url(../../assets/commonAuto/template/index/ct2bg.png) no-repeat center center;
background-size: 100% 100%
}
.mtbg3{
background: url(../../assets/commonAuto/template/index/ct3bg.png) no-repeat center center;
background-size: 100% 100%
}
.mtbg4{
background: url(../../assets/commonAuto/template/index/ct4bg.png) no-repeat center center;
background-size: 100% 100%
}
.mtbg5{
background: url(../../assets/commonAuto/template/index/ct2bg.png) no-repeat center center;
background-size: 100% 100%
}
.mtbg6left{
background: url(../../assets/commonAuto/template/index/ct6bg-1.png) no-repeat center center;
background-size: 100% 100%
}
.mtbg6right{
background: url(../../assets/commonAuto/template/index/ct6bg-2.png) no-repeat center center;
background-size: 100% 100%
}
/* 纵向饼形图 竖向排列 */
//.piecolumn { position: relative;left: 27%;} .piecolumn .index__legendBlock___13qn5.index__hasLegend___26XLE .index__chart___112d8 { margin: -43px 0px 0px 0px !important;} .piecolumn .index__pie___r_Mgc .index__legend___q03ab { position: relative !important;margin: 0px 0px 0px 0px !important;}
// .piecolumn { position: relative;left: 27%;} .piecolumn .legendBlock___13qn5.hasLegend___26XLE .chart___112d8 { margin: -43px 0px 0px 0px !important;} .piecolumn .pie___r_Mgc .legend___q03ab { position: relative !important;margin: 0px 0px 0px 0px !important;}
/* ---------模板2-班组车间设备看板界面布局End----------------- */
/* ---------模板3-设备实时数据Begin----------------- */
/* 白色 -无排程*/
.whiteSmall{
background: url(../../assets/commonAuto/template/device/small/white_small.png) no-repeat center center;
background-size: 100% 100%
}
.whiteMid{
background: url(../../assets/commonAuto/template/device/mid/white_mid.png) no-repeat center center;
background-size: 100% 100%
}
.whiteBig{
background: url(../../assets/commonAuto/template/device/big/white_big.png) no-repeat center center;
background-size: 100% 100%
}
/* 灰色 -下班 */
.graySmall{
background: url(../../assets/commonAuto/template/device/small/gray_small.png) no-repeat center center;
background-size: 100% 100%
}
.grayMid{
background: url(../../assets/commonAuto/template/device/mid/gray_mid.png) no-repeat center center;
background-size: 100% 100%
}
.grayBig{
background: url(../../assets/commonAuto/template/device/big/gray_big.png) no-repeat center center;
background-size: 100% 100%
}
/* 紫红 -故障 */
.violetRedSmall{
background: url(../../assets/commonAuto/template/device/small/violetred_small.png) no-repeat center center;
background-size: 100% 100%
}
.violetRedMid{
background: url(../../assets/commonAuto/template/device/mid/violetred_mid.png) no-repeat center center;
background-size: 100% 100%
}
.violetRedBig{
background: url(../../assets/commonAuto/template/device/big/violetred_big.png) no-repeat center center;
background-size: 100% 100%
}
/* 绿色 -正常 */
.greenSmall{
background: url(../../assets/commonAuto/template/device/small/green_small.png) no-repeat center center;
background-size: 100% 100%
}
.greenMid{
background: url(../../assets/commonAuto/template/device/mid/green_mid.png) no-repeat center center;
background-size: 100% 100%
}
.greenBig{
background: url(../../assets/commonAuto/template/device/big/green_big.png) no-repeat center center;
background-size: 100% 100%
}
/* 黄色 -超期 */
.yellowSmall{
background: url(../../assets/commonAuto/template/device/small/yellow_small.png) no-repeat center center;
background-size: 100% 100%
}
.yellowMid{
background: url(../../assets/commonAuto/template/device/mid/yellow_mid.png) no-repeat center center;
background-size: 100% 100%
}
.yellowBig{
background: url(../../assets/commonAuto/template/device/big/yellow_big.png) no-repeat center center;
background-size: 100% 100%
}
/* 橘黄色 -超30分 */
.orangeSmall{
background: url(../../assets/commonAuto/template/device/small/orange_small.png) no-repeat center center;
background-size: 100% 100%
}
.orangeMid{
background: url(../../assets/commonAuto/template/device/mid/orange_mid.png) no-repeat center center;
background-size: 100% 100%
}
.orangeBig{
background: url(../../assets/commonAuto/template/device/big/orange_big.png) no-repeat center center;
background-size: 100% 100%
}
/* 红色 -超60分 */
.redSmall{
background: url(../../assets/commonAuto/template/device/small/red_small.png) no-repeat center center;
background-size: 100% 100%
}
.redMid{
background: url(../../assets/commonAuto/template/device/mid/red_mid.png) no-repeat center center;
background-size: 100% 100%
}
.redBig{
background: url(../../assets/commonAuto/template/device/big/red_big.png) no-repeat center center;
background-size: 100% 100%
}
/* 深红 -超90分 */
.deepRedSmall{
background: url(../../assets/commonAuto/template/device/small/deepred_small.png) no-repeat center center;
background-size: 100% 100%
}
.deepRedMid{
background: url(../../assets/commonAuto/template/device/mid/deepred_mid.png) no-repeat center center;
background-size: 100% 100%
}
.deepRedBig{
background: url(../../assets/commonAuto/template/device/big/deepred_big.png) no-repeat center center;
background-size: 100% 100%
}
/* ---------模板3-设备实时数据End----------------- */
#commonSreen {
.pie-sub-title {
color: #fff !important;
font-size: 0.7rem;
opacity: 0.5;
}
.pie-stat {
color: #fff !important;
font-size: 1rem;
opacity: 0.5;
}
.areabg {
background: url(../../assets/commonAuto/line.png);
}
.ant-divider, .ant-divider-vertical {
opacity: 0.5;
}
.FastFilter__fastFilter___2eRwK {
display: none;
}
.ant-layout {
background: none !important;
padding: 0px 0px 0px 0px!important;
}
/* 设置表格背景颜色 */
.ant-table{
background: none!important;
}
.xly-list { /* 大屏列表 */
/* 设置表头颜色 */
.ant-table-thead > tr > th {
background: none!important;
opacity: 0.8;
color: #fff !important;
}
/* 表格不设置边框 */
.ant-table.ant-table-bordered > .ant-table-container > .ant-table-content > table, .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table{
border:none!important;
}
.ant-table.ant-table-bordered > .ant-table-container{
border: none!important;
}
.ant-table-header{
background: none!important;
}
.ant-table-thead{
background: none!important;
}
.ant-table-column-sorter{
display: none;
}
.ant-table-body{
overflow: hidden!important;
}
/* 设置悬浮行颜色 */
tbody tr:not(.selected-record-row):not(.ant-table-expanded-row-level-1):hover{
background: none!important;
}
.selected-record-row{
background:none!important;
}
/* 设置标题滚动条 */
.ant-table-bordered .ant-table-thead > tr > th.ant-table-cell-scrollbar{
display: none!important;
}
td {
color: #fff !important;
font-size: 0.8rem!important;
}
.ant-select-selection--single{
border: none !important;
}
td,td .ant-input[disabled],td .ant-input-number-input[disabled],td .ant-input-number{
border-right: none!important;
}
.ant-table-bordered .ant-table-tbody > tr > td{
border-bottom: none!important;
background: none!important;
}
.ant-table-bordered .ant-table-thead > tr > th{
border: none!important;
}
table tr th{
font-size: 0.8rem!important;
}
.ant-table-scroll{
overflow: hidden!important;
}
.ant-table-pagination.ant-pagination{
display: none!important;
}
.ant-table-tbody > tr:hover > td {
background: none!important;
cursor: pointer;
}
}
/* 设置滚动条宽度 */
.ant-table-fixed-header .ant-table-scroll .ant-table-header::-webkit-scrollbar {
width: 1px!important;
background: none;
}
.ant-table-body::-webkit-scrollbar {
width: 1px!important;
background: none;
}
}
}