index.scss
7.94 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
@import "../scss/them.scss";
@import "../scss/common.scss";
#login .el-input__inner {
background: rgba(255,255,255,.5);
border-radius: 0!important;
border: none!important;
border-bottom: 1px solid #000000!important;
background: #FFFFFF!important;
box-shadow: none;
margin-top: 20px;
height: 40px;
/* line-height: 40px; */
border-radius: 5px;
font-size: 16px;
}
#login .el-form-item--mini.el-form-item,#login .el-form-item--small.el-form-item{
margin-bottom: 28px!important;
}
.detaiCon .el-image__inner--center{
transform: translate(-50%)!important;
}
.el-main{
padding: 0;
}
.el-menu{
height: 100%;
}
/* 输入框重置 */
.el-input--small .el-input__inner {
height: 30px;
line-height: 30px;
@include font-colr(input_color);
}
.el-input__inner{
border: 1px solid #E5E5E5;
}
.el-input.is-active .el-input__inner, .el-input__inner:focus{
border-color: #3BB7FF;
}
.el-tooltip__popper{
max-width: 300px;
}
/* 下拉框重置 */
.el-select .el-input.is-focus .el-input__inner{
border-color: #3BB7FF;
}
.el-popper[x-placement^=bottom] .popper__arrow{
display: none;
}
.selectBox .el-popper[x-placement^=bottom]{
margin-top: 0;
}
.el-select-dropdown__list{
padding: 4px 0;
}
.el-select-dropdown{
border-radius: 2px;
}
.el-select-dropdown__item.selected{
color: #555555;
font-weight: 400;
}
.el-select-dropdown__item.hover{
color: #ffffff;
}
.el-select-dropdown__item.hover, .el-select-dropdown__item:hover{
background: #3BB7FF;
}
.el-select-dropdown__item{
height: 26px;
line-height: 26px;
padding: 0 10px;
}
.el-input__inner{
border-radius: 2px;
padding: 0 10px;
}
/* button重置 */
.el-button--mini, .el-button--small{
border-radius:2px ;
}
.el-button--small, .el-button--small.is-round {
padding: 7px 16px;
}
/* 主要按钮 */
.el-button--primary{
background-color: #0069FF;
border-color: #0069FF;
}
/* 信息按钮 */
.el-button--info {
color: #FFF;
background-color: #3BB7FF;
border-color: #3BB7FF;
}
.el-button--info:focus, .el-button--info:hover {
background: red;
border-color: red;
color: #FFF;
}
.el-button--info.is-active, .el-button--info:active{
background: green;
border-color: green;
color: #FFF;
}
/* 分页 */
.el-pagination.is-background .btn-next, .el-pagination.is-background .btn-prev, .el-pagination.is-background .el-pager li{
margin: 0 ;
background-color: #fff;
color: #606266;
border: 1px solid #e5e5e5;
min-width: 30px;
border-radius: 1px;
border-right: none;
padding: 0 16px;
height: 35px;
line-height: 35px;
}
.el-pagination.is-background .btn-next{
border-right: 1px solid #e5e5e5;
}
.el-pagination button, .el-pagination span:not([class*=suffix]){
height: 35px;
line-height: 35px;
}
.el-pagination.is-background .el-pager li:not(.disabled).active{
background-color:#0069FF
}
.el-input--mini .el-input__inner {
height: 35px;
line-height: 35px;
}
.el-pagination .el-select .el-input .el-input__inner{
border-radius: 2px;
}
.el-image-viewer__img{
max-height: 100%;
max-width: none!important;
width: 100%!important;
}
/* 表格 */
.el-table {
@include font-colr(tablecolor)
}
.el-table thead {
@include font-colr(tablecolor)
}
.el-table__body tr{
@include background_color(table_tr_bg)
}
.el-table--border::after, .el-table--group::after, .el-table::before{
@include background_color(table_bg);
}
.el-table__body-wrapper{
@include background_color(hometabletr_bg);
}
.el-table th {
@include background_color(table_th_bg);
}
.el-table tr{
@include background_color(hometabletr_bg);
}
.el-table--striped .el-table__body tr.el-table__row--striped td{
@include background_color(hometabletr_bg);
}
.el-table td, .el-table th.is-leaf{
@include border-color(table_border);
}
.el-table--border td, .el-table--border th, .el-table__body-wrapper .el-table--border.is-scrolling-left~.el-table__fixed{
@include border-color(table_border);
}
.el-table--border, .el-table--group{
@include border-color(table_border);
}
.el-table--border::after, .el-table--group::after, .el-table::before{
@include border-color(table_border);
}
.el-table--border{
border-bottom: none;
}
.el-table--small td, .el-table--small th{
padding: 8px 0;
}
.el-table--border::after, .el-table--group::after, .el-table::before{
// background-color: rgba(0,0,0,0);
}
body .el-table th.gutter{
width: 17px!important;
display: table-cell!important;
}
.el-table--mini, .el-table--small, .el-table__expand-icon{
font-size: 14px;
}
.el-table__body tr{
background: #E5E5E5;
}
.el-table--striped .el-table__body tr.el-table__row--striped td{
background: #FFFFFF;
}
.el-table--enable-row-hover .el-table__body tr:hover>td {
@include background_color(table_hover_bg);
}
/* 提示 */
.el-tooltip__popper{
padding: 6px 12px;
border-radius:2px;
}
.el-tooltip__popper.is-light{
background:rgba(255,255,255,1);
box-shadow:0px 2px 4px 0px rgba(0,0,0,0.13);
border: none;
color: #666666;
}
/* dialog */
.el-dialog__title{
font-size: 15px;
color: #FFFFFF;
}
.el-dialog__header{
padding:8px 20px 6px;
@include background_color(dialog_header_bg);
}
.el-dialog__body{
@include background_color(dialog_body_bg);
}
.el-dialog__headerbtn{
top: 12px;
}
.el-dialog__headerbtn .el-dialog__close{
color: #FFFFFF;
}
.el-dialog__footer{
@include background_color(dialog_footer_bg);
}
.dialog-footer .el-button--small {
padding: 9px 17px;
font-size: 14px;
}
.el-dialog__footer {
padding: 8px 27px 8px;
}
/* dialog元素 */
.el-dialog .el-input--small .el-input__inner{
height: 26px;
line-height: 26px;
}
.el-input--small .el-input__inner{
@include background_color(input_bg);
@include border_color(input_border);
}
.el-input__inner{
@include background_color(input_bg);
@include border_color(input_border);
}
.el-date-editor .el-range-input{
@include background_color(input_bg);
@include font-colr(input_color);
}
.el-dialog__body{
padding: 10px 34px;
}
.detailDialog .el-dialog__body{
padding: 0 34px;
}
.el-dialog .el-select--small{
width: 100%;
}
.el-form--inline .el-form-item__content {
vertical-align: middle;
}
/* .el-dialog .el-form-item--small .el-form-item__content,.el-dialog .el-form-item--small .el-form-item__label{
line-height: 26px;
} */
.el-form-item__label{
@include font-colr(label_color);
}
.el-switch__core{
height: 13px;
}
.el-switch__core:after{
width: 9px;
height: 9px;
}
.el-switch.is-checked .el-switch__core::after {
left: 100%;
margin-left: -10px;
}
.el-form-item--mini.el-form-item, .el-form-item--small.el-form-item {
margin-bottom: 15px;
line-height: 32px;
}
/* 切换 */
.el-tabs__item{
height: 52px;
line-height:52px;
}
.home-box .el-tabs__nav .el-tabs__item{
width: 14%!important;
padding:0 28px!important;
}
/* 菜单 */
.el-menu-vertical-dem:not(.el-menu--collapse){
min-height: 900px;
}
.el-menu .is-opened{
/* background:rgba(239,239,239,1); */
}
// .el-menu .is-opened li {
// background:rgba(247,247,247,1);
// }
.el-menu-item:focus, .el-menu-item:hover{
@include background_color(active_nave_bg);
}
.el-menu-item.is-active{
@include font-colr(font_color2);
// color: #0069ff!important;
border-right: 2px solid #0069ff;
@include border-color(font_color2);
@include background_color(active_nave_bg);
}
.el-menu-item.is-active .submenuicon{
@include background_color(font_color2);
}
.el-pagination__total{
@include font-colr(pages_color);
}
.el-pagination.is-background .btn-next, .el-pagination.is-background .btn-prev, .el-pagination.is-background .el-pager li{
@include background_color(pages_bg);
@include border-color(pages_border);
}
.el-pagination .el-input__inner{
@include font-colr(pages_color);
@include border-color(pages_border);
}
.el-pagination__jump{
@include font-colr(pages_color);
}
.el-pagination.is-background .el-pager li:not(.disabled).active{
@include background_color(active_pages_bg);
}
.el-tree{
@include background_color(treeboxbg);
@include font-colr(input_color);
}
.el-tree-node:focus>.el-tree-node__content{
@include background_color(active_nave_bg);
}
.el-tree-node__content:hover{
@include background_color(active_nave_bg);
}