Skip to content

Commit

Permalink
feat(Upload): allow down load when disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
tao1991123 committed Apr 9, 2019
1 parent c2fd611 commit 975cbab
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions src/upload/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
@import "scss/variable";
@import "./rtl.scss";

.#{$css-prefix}upload-list-item-name {
text-decoration: none;
}

#{$upload-prefix} {
@include box-sizing;

Expand All @@ -30,18 +28,22 @@
}
}

&-list-item-name {
text-decoration: none;
}

&.#{$css-prefix}disabled {
border-color: $upload-disable-border-color !important;
color: $upload-disable-text-color !important;

:hover {
border-color: $upload-disable-border-color !important;
color: $upload-disable-text-color !important;
cursor: not-allowed;
.#{$css-prefix}icon-close {
cursor: not-allowed !important;
}
* {

#{$upload-prefix}-inner * {
color: $upload-disable-text-color !important;
border-color: $upload-disable-border-color !important;
cursor: not-allowed !important;
}
}
}
Expand Down

0 comments on commit 975cbab

Please sign in to comment.