mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-15 18:01:24 +08:00
d9b7ef56ea
* style(docs): use css var * style: update * style: demo-icon use grid layout * style: remove demo-block.vue style scoped * docs: remove strange character
40 lines
751 B
SCSS
40 lines
751 B
SCSS
.upload-tip {
|
|
color: var(--el-text-color-secondary);
|
|
font-size: 12px;
|
|
margin-top: 7px;
|
|
}
|
|
.demo-block {
|
|
margin-bottom: 24px;
|
|
|
|
.upload-demo {
|
|
width: 360px;
|
|
}
|
|
.avatar-uploader {
|
|
.#{$namespace}-upload {
|
|
border: 1px dashed var(--el-border-color-base);
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
position: relative;
|
|
overflow: hidden;
|
|
|
|
&:hover,
|
|
&:focus {
|
|
border-color: var(--el-color-primary);
|
|
}
|
|
}
|
|
.avatar-uploader-icon {
|
|
font-size: 28px;
|
|
color: var(--el-text-color-secondary);
|
|
width: 178px;
|
|
height: 178px;
|
|
line-height: 178px;
|
|
text-align: center;
|
|
}
|
|
.avatar {
|
|
width: 178px;
|
|
height: 178px;
|
|
display: block;
|
|
}
|
|
}
|
|
}
|