69 lines
1.4 KiB
Plaintext
69 lines
1.4 KiB
Plaintext
.textSetting {
|
|
.uploadWrapper {
|
|
display: flex;
|
|
align-items: center;
|
|
position: relative;
|
|
|
|
.previewWrapper {
|
|
border: 1px solid #d9d9d9 !important;
|
|
|
|
img {
|
|
width: 100%;
|
|
height: 100%;
|
|
margin-left: 0 !important;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.operateWrapper {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.previewWrapper:hover {
|
|
.operateWrapper {
|
|
display: flex;
|
|
position: absolute;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
width: 30px;
|
|
height: 20px;
|
|
background-color: rgba(0, 0, 0, 0.3);
|
|
bottom: 4px;
|
|
right: 13px;
|
|
border-radius: 3px;
|
|
padding-right: 4px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.upload-select-picture-card, .previewWrapper {
|
|
border: 1px dashed #d9d9d9;
|
|
width: 96px;
|
|
height: 96px;
|
|
padding: 0;
|
|
border-radius: 6px;
|
|
background-color: #fbfbfb;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
-webkit-transition: border-color .3s ease;
|
|
-o-transition: border-color .3s ease;
|
|
transition: border-color .3s ease;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
margin-right: 8px;
|
|
margin-bottom: 8px;
|
|
|
|
span.rc-upload {
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
}
|
|
|
|
.upload-select-picture-card:hover {
|
|
border-color: #2db7f5;
|
|
}
|
|
}
|