Skip to content

Commit

Permalink
chore(Upload): action button configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
tao1991123 committed Apr 10, 2019
1 parent 82a8298 commit 804da6a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/upload/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@
.#{$css-prefix}upload-tool {
position: absolute;
z-index: 1;
background-color: rgba($color-black, .7);
background-color: rgba($upload-select-card-tool-bg-color, $upload-select-card-tool-bg-opacity);
transition: all .3s ease;
opacity: 0;
width: 100%;
Expand Down
7 changes: 7 additions & 0 deletions src/upload/scss/variable.scss
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,13 @@ $upload-card-list-name-font-color: $color-text1-3 !default;
$upload-select-card-tool-height: $s-7 !default;
// @ignore
$upload-select-card-tool-icon-size: $icon-s !default;
/// background
/// @namespace statement/normal/action
$upload-select-card-tool-bg-color: $color-black !default;
/// background opacity
/// @type alpha
/// @namespace statement/normal/action
$upload-select-card-tool-bg-opacity: .7 !default;

// ============================================================

Expand Down

0 comments on commit 804da6a

Please sign in to comment.