init
This commit is contained in:
52
wx05cb767e6530b48f/components/imgDrag/imgDrag.wxss
Normal file
52
wx05cb767e6530b48f/components/imgDrag/imgDrag.wxss
Normal file
@@ -0,0 +1,52 @@
|
||||
.drag-container {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.drag-item {
|
||||
left: 0;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.drag-item-transition {
|
||||
transition: transform .1s;
|
||||
transition: transform .1s,-webkit-transform .1s;
|
||||
}
|
||||
|
||||
.drag-item-img {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.drag-item-delete {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.drag-item-delete_default {
|
||||
background-color: rgba(0,0,0,.7);
|
||||
border-radius: 0 0 0 12px;
|
||||
color: #fefefe;
|
||||
display: flex;
|
||||
height: 15px;
|
||||
justify-content: center;
|
||||
line-height: 10px;
|
||||
width: 21px;
|
||||
}
|
||||
|
||||
.drag-upload .drag-upload_solt:empty+.drag-upload_default {
|
||||
border: 2px dashed;
|
||||
box-sizing: border-box;
|
||||
display: block;
|
||||
font-size: 70px;
|
||||
font-weight: 700;
|
||||
height: 100%;
|
||||
line-height: 100%;
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.drag-upload .drag-upload_default {
|
||||
display: none;
|
||||
}
|
||||
Reference in New Issue
Block a user