Commit 34f5cdba by wufan

style:资料云盘样式调整

parent 12ff6c93
...@@ -316,7 +316,7 @@ class UploadProgressModal extends React.Component { ...@@ -316,7 +316,7 @@ class UploadProgressModal extends React.Component {
return ( return (
<div <div
className="file-item" className={`file-item ${file.status === 'fail' ? 'fail':''}`}
key={`file-item${index}`} key={`file-item${index}`}
> >
......
...@@ -54,6 +54,9 @@ ...@@ -54,6 +54,9 @@
line-height: 50px; line-height: 50px;
padding: 0 24px; padding: 0 24px;
position: relative; position: relative;
&.fail {
background-color: rgba(255, 79, 79, 0.06);
}
&:not(:last-child) { &:not(:last-child) {
margin-bottom: 4px; margin-bottom: 4px;
......
...@@ -45,11 +45,11 @@ ...@@ -45,11 +45,11 @@
} }
&:hover { &:hover {
background: rgba(255,133,52,0.06); background: rgba(41, 102, 255, 0.06);
} }
&.active { &.active {
background: rgba(255,133,52,0.06); background: rgba(41, 102, 255, 0.06);
.iconfont, .disk-name { .iconfont, .disk-name {
font-weight: 500; font-weight: 500;
} }
......
...@@ -40,11 +40,11 @@ ...@@ -40,11 +40,11 @@
} }
&:hover { &:hover {
background: rgba(255, 183, 20, 0.05); background: rgba(41, 102, 255, 0.06);
} }
&.active { &.active {
background: rgba(255, 183, 20, 0.05); background: rgba(41, 102, 255, 0.06);
.iconfont, .disk-name { .iconfont, .disk-name {
font-weight: 500; font-weight: 500;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment