Browse Source

update upload style

pull/671/head
afc163 9 years ago
parent
commit
0bd2ed9378
  1. 2
      components/upload/uploadList.jsx
  2. 10
      style/components/upload.less

2
components/upload/uploadList.jsx

@ -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}>

10
style/components/upload.less

@ -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 {

Loading…
Cancel
Save