Browse Source

style color with tint

pull/459/head
xiaosheng.lj 9 years ago
parent
commit
440f69a800
  1. 1
      components/upload/index.jsx
  2. 1
      components/upload/uploadList.jsx
  3. 4
      style/components/upload.less

1
components/upload/index.jsx

@ -206,7 +206,6 @@ const AntUpload = React.createClass({
</div>
</Upload>
</div>
<UploadList items={this.state.fileList}
onRemove={this.handleManualRemove} />
</div>

1
components/upload/uploadList.jsx

@ -14,7 +14,6 @@ export default React.createClass({
}
};
},
handleClose(file) {
this.props.onRemove(file);
},

4
style/components/upload.less

@ -40,7 +40,7 @@
}
&.@{upload-prefix-cls}-drag-uploading {
border-color: #57C5F7;
border-color: tint(@primary-color, 30%);
}
p.@{upload-prefix-cls}-drag-icon {
@ -81,7 +81,7 @@
margin-top: 8px;
color: #999;
:hover {
background-color: #EAF8FE;
background-color: tint(@primary-color, 80%);
.anticon.anticon-cross {
display: inline-block;
}

Loading…
Cancel
Save