Customizing Upload

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-upload-border-widthNumber1px1px
Description
The width of the border around the Upload.
$kendo-upload-font-familyStringvar( --kendo-font-family, inherit )var(--kendo-font-family, inherit)
Description
The font family of the Upload.
$kendo-upload-font-sizeStringvar( --kendo-font-size, inherit )var(--kendo-font-size, inherit)
Description
The font size of the Upload.
$kendo-upload-line-heightNumberk-math-div( 20, 14 )1.4285714286
Description
The line height of the Upload.
$kendo-upload-max-heightNumber300px300px
Description
The maximum height of the list with uploaded items.
$kendo-upload-textString$kendo-component-textvar(--kendo-color-on-app-surface, #212121)
Description
The text color of the Upload.
$kendo-upload-bgString$kendo-component-bgvar(--kendo-color-surface-alt, #ffffff)
Description
The background color of the Upload.
$kendo-upload-borderString$kendo-component-bordervar(--kendo-color-border, rgba(0, 0, 0, 0.12))
Description
The border color of the Upload.
$kendo-upload-dropzone-padding-xStringk-spacing(2)var(--kendo-spacing-2, 0.5rem)
Description
The horizontal padding of the Upload dropzone.
$kendo-upload-dropzone-padding-yStringk-spacing(2)var(--kendo-spacing-2, 0.5rem)
Description
The vertical padding of the Upload dropzone.
$kendo-upload-dropzone-textString$kendo-component-header-textvar(--kendo-color-on-app-surface, #212121)
Description
The text color of the Upload dropzone.
$kendo-upload-dropzone-bgString$kendo-component-header-bgvar(--kendo-color-app-surface, #ffffff)
Description
The background color of the Upload dropzone.
$kendo-upload-dropzone-borderString$kendo-upload-bordervar(--kendo-color-border, rgba(0, 0, 0, 0.12))
Description
The border color of the Upload dropzone.
$kendo-upload-dropzone-hover-bgString$kendo-hover-bgvar(--kendo-color-base-hover, #ebebeb)
Description
The background color of the hovered Upload dropzone.
$kendo-upload-status-textString$kendo-subtle-textvar(--kendo-color-subtle, #757575)
Description
The text color of the Upload status message.
$kendo-upload-status-text-opacityNullnullnull
Description
The opacity of the Upload status message.
$kendo-upload-item-padding-xStringk-spacing(4)var(--kendo-spacing-4, 1rem)
Description
The horizontal padding of an uploaded item.
$kendo-upload-item-padding-yStringk-spacing(4)var(--kendo-spacing-4, 1rem)
Description
The vertical padding of an uploaded item.
$kendo-upload-multiple-items-spacingStringk-spacing(3)var(--kendo-spacing-3, 0.75rem)
Description
The vertical spacing between uploaded batch items.
$kendo-upload-validation-font-sizeNumber12px12px
Description
The font size of the Upload validation message.
$kendo-upload-icon-spacingString$kendo-icon-spacingvar(--kendo-spacing-2, 0.5rem)
Description
The horizontal spacing of the Upload status icon.
$kendo-upload-icon-colorString$kendo-subtle-textvar(--kendo-color-subtle, #757575)
Description
The color of the uploaded items icon.
$kendo-upload-progress-thicknessNumber2px2px
Description
The thickness of the Upload progress bar.
$kendo-upload-progress-bgString$kendo-color-infovar(--kendo-color-info, #0058e9)
Description
The background color of the Upload progress bar.
$kendo-upload-success-textString$kendo-color-successvar(--kendo-color-success, #37b400)
Description
The success text color of the Upload.
$kendo-upload-success-bgString$kendo-color-successvar(--kendo-color-success, #37b400)
Description
The success background color of the Upload progress bar.
$kendo-upload-error-textString$kendo-color-errorvar(--kendo-color-error, #f31700)
Description
The error text color of the Upload.
$kendo-upload-error-bgString$kendo-color-errorvar(--kendo-color-error, #f31700)
Description
The error background color of the Upload progress bar.
$kendo-upload-focus-shadowList0 0 0 2px rgba( black, .13 )0 0 0 2px rgba(0, 0, 0, 0.13)
Description
The shadow of the focused Upload button, actions and uploaded items.

In this article

Not finding the help you need?