2016-11-02 04:24:05 +00:00
|
|
|
@charset "UTF-8";
|
|
|
|
@import "./progress.css";
|
|
|
|
@import "./common/var.css";
|
|
|
|
|
|
|
|
@component-namespace el {
|
|
|
|
@b upload {
|
2017-02-08 11:05:34 +00:00
|
|
|
display: inline-block;
|
2017-02-12 16:44:57 +00:00
|
|
|
text-align: center;
|
2016-11-02 04:24:05 +00:00
|
|
|
|
|
|
|
@e input {
|
|
|
|
display: none;
|
|
|
|
}
|
2017-02-12 16:44:57 +00:00
|
|
|
@e tip {
|
|
|
|
font-size: 12px;
|
|
|
|
color: var(--color-base-silver);
|
|
|
|
margin-top: 7px;
|
|
|
|
}
|
|
|
|
& iframe {
|
|
|
|
position: absolute;
|
|
|
|
z-index: -1;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
opacity: 0;
|
|
|
|
filter: alpha(opacity=0);
|
|
|
|
}
|
|
|
|
/* 照片墙模式 */
|
|
|
|
@m picture-card {
|
|
|
|
background-color: #fbfdff;
|
|
|
|
border: 1px dashed #c0ccda;
|
|
|
|
border-radius: 6px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 148px;
|
|
|
|
height: @width;
|
|
|
|
cursor: pointer;
|
|
|
|
line-height: calc(@height - 2);
|
2016-11-02 04:24:05 +00:00
|
|
|
|
2017-02-12 16:44:57 +00:00
|
|
|
i {
|
|
|
|
font-size: 28px;
|
|
|
|
color: #8c939d;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
border-color: var(--color-primary);
|
|
|
|
color: var(--color-primary);
|
2016-11-02 04:24:05 +00:00
|
|
|
}
|
|
|
|
}
|
2017-02-12 16:44:57 +00:00
|
|
|
}
|
|
|
|
@b upload-dragger {
|
|
|
|
background-color: #fff;
|
|
|
|
border: 1px dashed #d9d9d9;
|
|
|
|
border-radius: 6px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 360px;
|
|
|
|
height: 180px;
|
|
|
|
text-align: center;
|
|
|
|
cursor: pointer;
|
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
& .el-icon-upload {
|
|
|
|
font-size: 67px;
|
|
|
|
color: var(--color-light-silver);
|
|
|
|
margin: 40px 0 16px;
|
|
|
|
line-height: 50px;
|
|
|
|
}
|
|
|
|
|
|
|
|
& + .el-upload__tip {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
& ~ .el-upload__files {
|
|
|
|
border-top: 1px solid rgba(var(--color-extra-light-silver), .2);
|
|
|
|
margin-top: 7px;
|
|
|
|
padding-top: 5px;
|
|
|
|
}
|
|
|
|
.el-upload__text {
|
|
|
|
color: var(--color-light-silver);
|
|
|
|
font-size: 14px;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
& em {
|
|
|
|
color: var(--color-primary);
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
border-color: var(--color-primary);
|
|
|
|
}
|
|
|
|
|
|
|
|
@when dragOver {
|
|
|
|
background-color: rgba(32, 159, 255, .06);
|
|
|
|
border: 2px dashed var(--color-primary);
|
2016-11-02 04:24:05 +00:00
|
|
|
}
|
2017-02-12 16:44:57 +00:00
|
|
|
}
|
|
|
|
@b upload-list {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
list-style: none;
|
|
|
|
|
|
|
|
@e item {
|
2016-11-02 04:24:05 +00:00
|
|
|
transition: all .5s cubic-bezier(.55,0,.1,1);
|
|
|
|
font-size: 14px;
|
2017-01-12 13:45:48 +00:00
|
|
|
color: var(--color-extra-light-black);
|
2017-02-12 16:44:57 +00:00
|
|
|
line-height: 1.8;
|
|
|
|
margin-top: 5px;
|
2016-11-02 04:24:05 +00:00
|
|
|
position: relative;
|
|
|
|
box-sizing: border-box;
|
|
|
|
border-radius: 4px;
|
|
|
|
width: 100%;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
& .el-progress {
|
|
|
|
position: absolute;
|
|
|
|
bottom: -3px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
& .el-progress__text {
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
top: -10px;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
.el-progress-bar {
|
|
|
|
margin-right: 0;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
2017-02-12 16:44:57 +00:00
|
|
|
&:first-child {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
2016-11-02 04:24:05 +00:00
|
|
|
&:hover {
|
2017-01-12 13:45:48 +00:00
|
|
|
background-color: var(--color-extra-light-gray);
|
2016-11-02 04:24:05 +00:00
|
|
|
}
|
2017-02-08 11:05:34 +00:00
|
|
|
@when success {
|
2017-02-12 16:44:57 +00:00
|
|
|
.el-upload-list__item-name:hover {
|
2016-11-02 04:24:05 +00:00
|
|
|
color: var(--link-hover-color);
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2017-02-12 16:44:57 +00:00
|
|
|
.el-icon-close {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-11-02 04:24:05 +00:00
|
|
|
&:hover {
|
2017-02-12 16:44:57 +00:00
|
|
|
.el-icon-close {
|
|
|
|
display: inline-block;
|
2016-11-02 04:24:05 +00:00
|
|
|
cursor: pointer;
|
2017-02-12 16:44:57 +00:00
|
|
|
opacity: .75;
|
|
|
|
transform: scale(.7);
|
|
|
|
color: var(--color-extra-light-black);
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.el-icon-circle-check,
|
|
|
|
.el-icon-check {
|
|
|
|
display: none;
|
2016-12-13 06:34:22 +00:00
|
|
|
}
|
2016-11-02 04:24:05 +00:00
|
|
|
}
|
|
|
|
}
|
2017-02-12 16:44:57 +00:00
|
|
|
}
|
|
|
|
@e item-name {
|
|
|
|
color: var(--color-extra-light-black);
|
|
|
|
display: block;
|
|
|
|
margin-right: 40px;
|
|
|
|
overflow: hidden;
|
|
|
|
padding-left: 4px;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
transition: color .3s;
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
[class^="el-icon"] {
|
|
|
|
color: var(--color-light-silver);
|
|
|
|
margin-right: 7px;
|
|
|
|
height: 100%;
|
|
|
|
line-height: inherit;
|
2017-02-08 11:05:34 +00:00
|
|
|
}
|
2016-11-02 04:24:05 +00:00
|
|
|
}
|
2017-02-12 16:44:57 +00:00
|
|
|
@e item-status-label {
|
|
|
|
position: absolute;
|
|
|
|
right: 10px;
|
|
|
|
top: 0;
|
|
|
|
line-height: inherit;
|
|
|
|
color: var(--color-success);
|
2016-11-02 04:24:05 +00:00
|
|
|
}
|
2017-02-12 16:44:57 +00:00
|
|
|
@e item-delete {
|
2016-11-02 04:24:05 +00:00
|
|
|
position: absolute;
|
2017-02-12 16:44:57 +00:00
|
|
|
right: 10px;
|
2016-11-02 04:24:05 +00:00
|
|
|
top: 0;
|
|
|
|
font-size: 12px;
|
2017-02-12 16:44:57 +00:00
|
|
|
color: var(--color-extra-light-black);
|
2016-11-02 04:24:05 +00:00
|
|
|
display: none;
|
2017-02-08 11:05:34 +00:00
|
|
|
|
2017-02-12 16:44:57 +00:00
|
|
|
&: hover {
|
|
|
|
color: var(--color-primary);
|
2017-02-08 11:05:34 +00:00
|
|
|
}
|
2017-02-12 16:44:57 +00:00
|
|
|
}
|
|
|
|
@m picture-card {
|
|
|
|
float: left;
|
|
|
|
margin: 0;
|
2017-02-08 11:05:34 +00:00
|
|
|
|
2017-02-12 16:44:57 +00:00
|
|
|
.el-upload-list__item {
|
|
|
|
overflow: hidden;
|
|
|
|
background-color: #fff;
|
|
|
|
border: 1px solid #c0ccda;
|
|
|
|
border-radius: 6px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 148px;
|
|
|
|
height: @width;
|
|
|
|
margin: 0 8px 8px 0;
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
&:hover .el-upload-list__item-status-label {
|
|
|
|
display: none;
|
|
|
|
}
|
2017-02-08 11:05:34 +00:00
|
|
|
}
|
2017-02-12 16:44:57 +00:00
|
|
|
.el-upload-list__item-name {
|
|
|
|
display: none;
|
2017-02-08 11:05:34 +00:00
|
|
|
}
|
2017-02-12 16:44:57 +00:00
|
|
|
.el-upload-list__item-thumbnail {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
.el-upload-list__item-status-label {
|
|
|
|
position: absolute;
|
|
|
|
right: -15px;
|
|
|
|
top: -6px;
|
|
|
|
width: 40px;
|
|
|
|
height: 24px;
|
|
|
|
background: #13ce66;
|
|
|
|
text-align: center;
|
|
|
|
transform: rotate(45deg);
|
|
|
|
box-shadow: 0 0 1pc 1px rgba(0,0,0,0.2);
|
2017-02-08 11:05:34 +00:00
|
|
|
|
2017-02-12 16:44:57 +00:00
|
|
|
i {
|
|
|
|
font-size: 12px;
|
|
|
|
margin-top: 11px;
|
|
|
|
transform: rotate(-45deg) scale(0.8);
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.el-upload-list__item-actions {
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
cursor: default;
|
2017-02-08 11:05:34 +00:00
|
|
|
text-align: center;
|
2017-02-12 16:44:57 +00:00
|
|
|
color: #fff;
|
|
|
|
opacity: 0;
|
|
|
|
font-size: 20px;
|
|
|
|
background-color: rgba(0, 0, 0, .5);
|
|
|
|
transition: opacity .3s;
|
|
|
|
@utils-vertical-center;
|
|
|
|
|
|
|
|
span {
|
|
|
|
display: none;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
span + span {
|
|
|
|
margin-left: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.el-upload-list__item-delete {
|
|
|
|
position: static;
|
|
|
|
font-size: inherit;
|
|
|
|
color: inherit;
|
|
|
|
}
|
2017-02-08 11:05:34 +00:00
|
|
|
|
2017-02-12 16:44:57 +00:00
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
span {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2017-02-08 11:05:34 +00:00
|
|
|
}
|
|
|
|
}
|
2017-02-12 16:44:57 +00:00
|
|
|
}
|
|
|
|
@m picture {
|
|
|
|
.el-upload-list__item {
|
|
|
|
overflow: hidden;
|
|
|
|
background-color: #fff;
|
|
|
|
border: 1px solid #c0ccda;
|
|
|
|
border-radius: 6px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
margin-top: 10px;
|
2017-02-08 11:05:34 +00:00
|
|
|
|
2017-02-12 16:44:57 +00:00
|
|
|
&:hover {
|
|
|
|
.el-upload-list__item-status-label {
|
|
|
|
background: transparent;
|
|
|
|
box-shadow: none;
|
|
|
|
top: -2px;
|
|
|
|
right: -12px;
|
|
|
|
|
|
|
|
.el-icon-close {
|
|
|
|
transform: rotate(45deg) scale(.7);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.el-upload-list__item-thumbnail {
|
|
|
|
vertical-align: middle;
|
|
|
|
display: inline-block;
|
|
|
|
width: 70px;
|
|
|
|
height: 70px;
|
|
|
|
margin: 10px;
|
|
|
|
}
|
|
|
|
.el-upload-list__item-name {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
2017-02-08 11:05:34 +00:00
|
|
|
}
|
2017-02-12 16:44:57 +00:00
|
|
|
.el-upload-list__item-status-label {
|
|
|
|
position: absolute;
|
|
|
|
right: -17px;
|
|
|
|
top: -7px;
|
|
|
|
width: 46px;
|
|
|
|
height: 26px;
|
|
|
|
background: #13ce66;
|
|
|
|
text-align: center;
|
|
|
|
transform: rotate(45deg);
|
|
|
|
box-shadow: 0 1px 1px #ccc;
|
2017-02-08 11:05:34 +00:00
|
|
|
|
2017-02-12 16:44:57 +00:00
|
|
|
i {
|
|
|
|
font-size: 12px;
|
|
|
|
margin-top: 12px;
|
|
|
|
transform: rotate(-45deg) scale(0.8);
|
|
|
|
color: #fff;
|
|
|
|
}
|
2017-02-08 11:05:34 +00:00
|
|
|
}
|
|
|
|
}
|
2016-11-02 04:24:05 +00:00
|
|
|
}
|
2017-02-08 11:05:34 +00:00
|
|
|
@b upload-cover {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2016-11-02 04:24:05 +00:00
|
|
|
overflow: hidden;
|
2017-02-08 11:05:34 +00:00
|
|
|
z-index: 10;
|
|
|
|
cursor: default;
|
|
|
|
@utils-vertical-center;
|
2016-11-02 04:24:05 +00:00
|
|
|
|
2017-02-08 11:05:34 +00:00
|
|
|
& img {
|
2016-11-02 04:24:05 +00:00
|
|
|
display: block;
|
2017-02-08 11:05:34 +00:00
|
|
|
width: 100%;
|
2016-11-02 04:24:05 +00:00
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2017-02-08 11:05:34 +00:00
|
|
|
@e label {
|
|
|
|
position: absolute;
|
|
|
|
right: -15px;
|
|
|
|
top: -6px;
|
|
|
|
width: 40px;
|
|
|
|
height: 24px;
|
|
|
|
background: #13ce66;
|
2016-11-02 04:24:05 +00:00
|
|
|
text-align: center;
|
2017-02-08 11:05:34 +00:00
|
|
|
transform: rotate(45deg);
|
|
|
|
box-shadow: 0 0 1pc 1px rgba(0,0,0,0.2);
|
|
|
|
|
|
|
|
i {
|
|
|
|
font-size: 12px;
|
|
|
|
margin-top: 11px;
|
|
|
|
transform: rotate(-45deg) scale(0.8);
|
|
|
|
color: #fff;
|
|
|
|
}
|
2016-11-02 04:24:05 +00:00
|
|
|
}
|
2017-02-08 11:05:34 +00:00
|
|
|
|
|
|
|
@e progress {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
position: static;
|
|
|
|
width: 243px;
|
|
|
|
|
|
|
|
& + .el-upload__inner {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
2016-11-02 04:24:05 +00:00
|
|
|
}
|
|
|
|
|
2017-02-08 11:05:34 +00:00
|
|
|
@e content {
|
2016-11-02 04:24:05 +00:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
2017-02-08 11:05:34 +00:00
|
|
|
left: 0;
|
2016-11-02 04:24:05 +00:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2017-02-08 11:05:34 +00:00
|
|
|
}
|
2016-11-02 04:24:05 +00:00
|
|
|
|
2017-02-08 11:05:34 +00:00
|
|
|
@e interact {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
background-color: rgba(#000, .72);
|
|
|
|
text-align: center;
|
2016-11-02 04:24:05 +00:00
|
|
|
|
2017-02-08 11:05:34 +00:00
|
|
|
& .btn {
|
2016-11-02 04:24:05 +00:00
|
|
|
display: inline-block;
|
2017-02-08 11:05:34 +00:00
|
|
|
color: var(--color-white);
|
|
|
|
font-size: 14px;
|
|
|
|
cursor: pointer;
|
2016-11-02 04:24:05 +00:00
|
|
|
vertical-align: middle;
|
2017-02-08 11:05:34 +00:00
|
|
|
transition: var(--md-fade-transition);
|
|
|
|
margin-top: 60px;
|
2016-11-02 04:24:05 +00:00
|
|
|
|
2017-02-08 11:05:34 +00:00
|
|
|
& i {
|
|
|
|
margin-top: 0;
|
2016-11-02 04:24:05 +00:00
|
|
|
}
|
|
|
|
|
2017-02-08 11:05:34 +00:00
|
|
|
& span {
|
|
|
|
opacity: 0;
|
|
|
|
transition: opacity .15s linear;
|
|
|
|
}
|
2016-11-02 04:24:05 +00:00
|
|
|
|
2017-02-08 11:05:34 +00:00
|
|
|
&:not(:first-child) {
|
|
|
|
margin-left: 35px;
|
|
|
|
}
|
2016-11-02 04:24:05 +00:00
|
|
|
|
2017-02-08 11:05:34 +00:00
|
|
|
&:hover {
|
|
|
|
transform: translateY(-13px);
|
2016-11-02 04:24:05 +00:00
|
|
|
|
|
|
|
& span {
|
2017-02-08 11:05:34 +00:00
|
|
|
opacity: 1;
|
2016-11-02 04:24:05 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-02-08 11:05:34 +00:00
|
|
|
& i {
|
|
|
|
color: var(--color-white);
|
|
|
|
display: block;
|
|
|
|
font-size: 24px;
|
|
|
|
line-height: inherit;
|
|
|
|
margin: 0 auto 5px;
|
|
|
|
}
|
2016-11-02 04:24:05 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-02-08 11:05:34 +00:00
|
|
|
@e title {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
background-color: var(--color-white);
|
|
|
|
height: 36px;
|
|
|
|
width: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
font-weight: normal;
|
|
|
|
text-align: left;
|
|
|
|
padding: 0 10px;
|
|
|
|
margin: 0;
|
|
|
|
line-height: 36px;
|
2016-11-02 04:24:05 +00:00
|
|
|
font-size: 14px;
|
2017-02-08 11:05:34 +00:00
|
|
|
color: var(--color-extra-light-black);
|
2016-11-02 04:24:05 +00:00
|
|
|
}
|
|
|
|
|
2017-02-08 11:05:34 +00:00
|
|
|
& + .el-upload__inner {
|
|
|
|
opacity: 0;
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
2016-11-02 04:24:05 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|