update upload style

This commit is contained in:
afc163 2015-12-14 11:56:00 +08:00
parent 721c00e925
commit 0bd2ed9378
2 changed files with 10 additions and 2 deletions

View File

@ -38,7 +38,7 @@ export default React.createClass({
}
const infoUploadingClass = classNames({
[`${prefixCls}-list-item`]: true,
[`${prefixCls}-list-item-uploading`]: file.status === 'uploading',
[`${prefixCls}-list-item-${file.status}`]: true,
});
return (
<div className={infoUploadingClass} key={file.uid}>

View File

@ -112,6 +112,15 @@
opacity: 1;
}
&-error,
&-error .anticon-paper-clip {
color: @error-color;
}
&-error .anticon-cross {
opacity: 1;
}
&-progress {
padding: 0 8px 0 20px;
margin-top: -2px;
@ -140,7 +149,6 @@
&-picture &-item:hover &-item-info {
background: transparent;
color: #345678;
}
&-picture &-item-uploading {