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
html, body, #app {
height: 100%;
margin: 0px;
padding: 0px;
}
/* 进度条 */
// #nprogress .bar {
// background: #1890ff !important;
// }
/* 搜索按钮 */
.search_btn {
margin-top: 4px;
}
// 搜索下拉选
.search_select .ant-select-selection--single {
width: 100%;
}
.search_right_btn {
float: right;
}
// .search_form {
// margin-bottom: 15px;
// }
/* 表格按钮 */
.table_delbtn, .table_delbtn:hover, .table_delbtn:focus {
color: #cd0f25
}
/* 表头样式 */
.ant-table-thead > tr > th {
font-weight: bold;
}
// 分页
.ant-pagination {
float: right;
margin-top: 15px;
}
// 弹窗内信息回显
.form_block_title {
font-size: 16px;
color: rgba(0, 0, 0, 0.85);
font-weight: bold;
margin-bottom: 10px;
}
/* 弹窗内卡片内边距 */
.modal_card .ant-card-body {
padding: 15px;
}
/* 弹窗内边距 */
.spill_modal .ant-modal-body {
padding: 0;
}
/* 弹窗内卡片之间间距 */
.modal_card {
margin: 10px;
border-radius: 6px;
}
.row_item {
margin-top: 10px;
}
/* 弹窗内表格的表头样式 */
.modal_table .ant-table-thead > tr > th {
background: #edeff3;
color: #333;
font-weight: 400;
}
/* 弹窗内表单高度 */
.form_height {
max-height: 492.4px;
overflow: auto;
}
/* 弹窗位置 */
.spill_modal .ant-modal-wrap {
position: absolute;
top: -30px;
}
::-webkit-scrollbar {
width: 4px;
height: 4px;
}
::-webkit-scrollbar-track-piece {
background-color: rgba(0, 0, 0, 0.2);
-webkit-border-radius: 4px;
}
::-webkit-scrollbar-thumb:vertical {
height: 4px;
background-color: rgba(125, 125, 125, 0.7);
-webkit-border-radius: 4px;
}
::-webkit-scrollbar-thumb:horizontal {
width: 4px;
background-color: rgba(125, 125, 125, 0.7);
-webkit-border-radius: 4px;
}
// 禁用框样式
.ant-input[disabled] {
color: rgba(0, 0, 0, 0.65);
}
.ant-select-disabled {
color: rgba(0, 0, 0, 0.65);
}
//上传图片大小
.upload-img {
height: 150px;
.ant-upload > img{
width: 230px;
height: 150px;
}
.ant-upload-list-picture-card-container {
margin: 0px!important;
width: 230px;
height: 150px;
}
.ant-upload.ant-upload-select-picture-card {
margin: 10px 0px 0px 0px;
background-color: transparent;
width: 230px;
height: 150px;
}
.ant-upload-list-picture-card .ant-upload-list-item {
margin: 10px 0px 0px 0px;
width: 230px;
height: 150px;
}
}
.upload-dra {
.ant-upload.ant-upload-drag {
background-color: transparent;
width: 230px;
height: 150px;
margin: 10px 0px 0px 0px;
}
}
.flex_center {
display: flex;
justify-content: space-between;
align-items: center;
}
.flex_center_c {
display: flex;
justify-content: center;
align-items: center;
}
.flex_start {
display: flex;
justify-content: flex-start;
align-items: center;
}
.bg-color {
background-color: #F5F5F5;
}
//隐藏form提示语
.show_erorr {
.ant-form-explain {
display: none!important;
}
}
.ant-tree li .ant-tree-node-content-wrapper {
width: 80% !important;
cursor: pointer;
}
.ant-tree li .ant-tree-node-content-wrapper.ant-tree-node-selected {
font-weight: bold;
border: 1px solid #00b7ee;
}
.ant-layout-content {
width: 100%!important;
padding: 0px 1px 0px 0px!important;
}
.ant-tabs-nav-scroll {
// margin-left: 24px;
}
.tab_error {
.ant-table-layout-fixed table {
table-layout: auto!important;
}
}
.ant-descriptions-bordered .ant-descriptions-item-label, .ant-descriptions-bordered .ant-descriptions-item-content {
padding: 10px 24px!important;
}
// 按键样式
.bt-normal {
color: #0079FE;
border: 1px solid #0079FE;
}
// 列表表格
.ant-table table {
border: 1px solid #E4E8EE;
border-bottom: 0;
}
// 鼠标样式
.hover-pointer {
&:hover {
cursor: pointer;
}
}