2020-02-16 21:52:38 +08:00
|
|
|
@mixin setup-light-upload {
|
|
|
|
$--upload-file-item-background-color: (
|
2020-02-19 19:58:39 +08:00
|
|
|
'hover': change-color($--n-primary-color, $alpha: .1),
|
2020-02-19 21:08:31 +08:00
|
|
|
'error-hover': change-color($--n-error-color, $alpha: .1)
|
2020-02-16 21:52:38 +08:00
|
|
|
) !global;
|
2020-02-21 11:25:01 +08:00
|
|
|
$--upload-dragger-border-color: (
|
|
|
|
'default': $--n-border-color,
|
|
|
|
'hover': $--n-primary-color
|
|
|
|
) !global;
|
|
|
|
$--upload-dragger-background-color: (
|
|
|
|
'default': $--n-action-background-color
|
|
|
|
) !global;
|
|
|
|
$--upload-info-text-color: (
|
|
|
|
'default': $--n-secondary-text-color,
|
|
|
|
'error': $--n-error-color,
|
|
|
|
'success': $--n-success-color
|
|
|
|
) !global;
|
|
|
|
$--upload-info-icon-color: (
|
|
|
|
'default': $--n-icon-color
|
|
|
|
) !global;
|
|
|
|
$--upload-disabled-opacity: $--n-disabled-opacity !global;
|
2020-02-16 21:52:38 +08:00
|
|
|
}
|