element/examples/demo-styles/upload.scss
2019-03-01 18:35:08 +08:00

40 lines
658 B
SCSS

.upload-tip {
color: #8492a6;
font-size: 12px;
margin-top: 7px;
}
.demo-block {
margin-bottom: 24px;
.upload-demo {
width: 360px;
}
.avatar-uploader {
.el-upload {
border: 1px dashed #d9d9d9;
border-radius: 6px;
cursor: pointer;
position: relative;
overflow: hidden;
&:hover,
&:focus {
border-color: #409eff;
}
}
.avatar-uploader-icon {
font-size: 28px;
color: #8c939d;
width: 178px;
height: 178px;
line-height: 178px;
text-align: center;
}
.avatar {
width: 178px;
height: 178px;
display: block;
}
}
}