bin-ui
Version:
基于 vue2.6 / vue-cli3 的 UI 组件库
61 lines (57 loc) • 1.19 kB
text/stylus
.bin-upload {
input[type="file"] {
display: none;
}
&-select {
display: inline-block;
}
&-list {
margin-top: 8px;
&-file {
padding: 4px;
color: #515a6e;
border-radius: 4px;
line-height: 1.5em;
font-size: 12px;
transition: background-color $animation-duration-base ease-in-out;
overflow: hidden;
position: relative;
& > span {
cursor: pointer;
transition: color $animation-duration-base ease-in-out;
i {
display: inline-block;
vertical-align: baseline
width: 12px;
height: 12px;
color: #515a6e;
text-align: center;
}
}
&:hover {
background: #f3f3f3;
& > span {
color: $color-primary
i {
color: #515a6e;
}
}
.bin-upload-list-remove {
opacity: 1;
}
}
}
&-remove {
opacity: 0;
font-size: 18px;
cursor: pointer;
float: right;
margin-right: 4px;
color: #999;
transition: all $animation-duration-base ease;
&:hover {
color: #444;
}
}
}
}