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
//to reset element-ui default css
/* 改变主题色变量 */
$--color-primary: #1459fc;
$--color-danger: #ff3333;
/* 改变 icon 字体路径变量,必需 */
$--font-path: '~element-ui/lib/theme-chalk/fonts';
@import '~element-ui/packages/theme-chalk/src/index';
.hide {
display: none !important;
}
.el-upload {
input[type='file'] {
display: none !important;
}
}
.el-upload__input {
display: none;
}
//暂时性解决diolag 问题 https://github.com/ElemeFE/element/issues/2461
.el-dialog {
transform: none;
left: 0;
position: relative;
margin: 0 auto;
}
.el-dialog__body {
padding: 30px 40px;
}
//element ui upload
.upload-container {
.el-upload {
width: 100%;
.el-upload-dragger {
width: 100%;
height: 200px;
}
}
}
.el-input__inner {
background-color: #f6f6f6;
border-color: #f6f6f6;
padding: 0 10px;
}
.el-input--suffix .el-input__inner {
padding-right: 20px;
}
.el-input__suffix {
right: 0;
}
.el-select .el-input .el-select__caret.is-reverse {
color: $--color-primary;
}
.el-select {
width: 100%;
}
.el-input__inner,
.el-button {
height: 22px;
line-height: 22px;
}
.el-button {
padding: 0 8px;
}
.el-input {
.el-input__suffix .el-input__icon {
line-height: 22px;
}
}
@media screen and (min-width: $bigScreenWidth) {
.el-input__inner,
.el-button {
height: 40px;
line-height: 1;
font-size: 14px;
}
.el-button {
font-size: 14px;
padding: 12px 20px;
}
.el-input {
.el-input__suffix .el-input__icon {
line-height: 40px;
}
}
}