mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 03:59:01 +08:00
update upload style
This commit is contained in:
parent
721c00e925
commit
0bd2ed9378
@ -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}>
|
||||
|
@ -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…
Reference in New Issue
Block a user