提交 | 用户 | age
|
2a61f6
|
1 |
// cover some element-ui styles |
L |
2 |
|
|
3 |
.el-breadcrumb__inner, |
|
4 |
.el-breadcrumb__inner a { |
|
5 |
font-weight: 400 !important; |
|
6 |
} |
|
7 |
|
|
8 |
.el-upload { |
|
9 |
input[type="file"] { |
|
10 |
display: none !important; |
|
11 |
} |
|
12 |
} |
|
13 |
|
|
14 |
.el-upload__input { |
|
15 |
display: none; |
|
16 |
} |
|
17 |
|
|
18 |
.cell { |
|
19 |
.el-tag { |
|
20 |
margin-right: 0px; |
|
21 |
} |
|
22 |
} |
|
23 |
|
|
24 |
.small-padding { |
|
25 |
.cell { |
|
26 |
padding-left: 5px; |
|
27 |
padding-right: 5px; |
|
28 |
} |
|
29 |
} |
|
30 |
|
|
31 |
.fixed-width { |
|
32 |
.el-button--mini { |
|
33 |
padding: 7px 10px; |
|
34 |
width: 60px; |
|
35 |
} |
|
36 |
} |
|
37 |
|
|
38 |
.status-col { |
|
39 |
.cell { |
|
40 |
padding: 0 10px; |
|
41 |
text-align: center; |
|
42 |
|
|
43 |
.el-tag { |
|
44 |
margin-right: 0px; |
|
45 |
} |
|
46 |
} |
|
47 |
} |
|
48 |
|
|
49 |
// to fixed https://github.com/ElemeFE/element/issues/2461 |
|
50 |
.el-dialog { |
|
51 |
transform: none; |
|
52 |
left: 0; |
|
53 |
position: relative; |
|
54 |
margin: 0 auto; |
|
55 |
} |
|
56 |
|
|
57 |
// refine element ui upload |
|
58 |
.upload-container { |
|
59 |
.el-upload { |
|
60 |
width: 100%; |
|
61 |
|
|
62 |
.el-upload-dragger { |
|
63 |
width: 100%; |
|
64 |
height: 200px; |
|
65 |
} |
|
66 |
} |
|
67 |
} |
|
68 |
|
|
69 |
// dropdown |
|
70 |
.el-dropdown-menu { |
|
71 |
a { |
|
72 |
display: block |
|
73 |
} |
|
74 |
} |
|
75 |
|
|
76 |
// fix date-picker ui bug in filter-item |
|
77 |
.el-range-editor.el-input__inner { |
|
78 |
display: inline-flex !important; |
|
79 |
} |
|
80 |
|
|
81 |
// to fix el-date-picker css style |
|
82 |
.el-range-separator { |
|
83 |
box-sizing: content-box; |
|
84 |
} |
|
85 |
|
|
86 |
.el-image-viewer__close{ |
|
87 |
color: #fff; |
|
88 |
background: rgba(0,0,0,.4); |
|
89 |
border-radius: 50%; |
|
90 |
} |
|
91 |
|
|
92 |
// 红色文字按钮 warn |
|
93 |
.el-table .fixed-width .el-button.el-button--text.warn{ |
|
94 |
color: #ff4949; |
|
95 |
} |
|
96 |
// 单张上传图片时,选择图片后隐藏加号 |
|
97 |
.disabled .el-upload--picture-card { |
|
98 |
display: none; |
|
99 |
} |
|
100 |
// 上传图片预览 |
|
101 |
.el-upload-list--picture-card{ |
|
102 |
.el-upload-list__item-thumbnail{ |
|
103 |
object-fit: contain; |
|
104 |
} |
|
105 |
} |