New to Kendo UI for AngularStart a free 30-day trial

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-heightStringvar( --kendo-line-height, normal )var(--kendo-line-height, normal)
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, #212529)
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(33, 37, 41, 0.13))
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, #212529)
Description
The text color of the Upload dropzone.
$kendo-upload-dropzone-bgString$kendo-component-header-bgvar(--kendo-color-surface, #f8f9fa)
Description
The background color of the Upload dropzone.
$kendo-upload-dropzone-borderString$kendo-upload-bordervar(--kendo-color-border, rgba(33, 37, 41, 0.13))
Description
The border color of the Upload dropzone.
$kendo-upload-dropzone-hover-bgStringif($kendo-enable-color-system, k-color( base-subtle ), k-try-shade( $kendo-upload-dropzone-bg, .2 ))var(--kendo-color-base-subtle, #e9ecef)
Description
The background color of the hovered Upload dropzone.
$kendo-upload-status-textString$kendo-subtle-textvar(--kendo-color-subtle, #596169)
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-sizeStringvar( --kendo-font-size-xs, inherit )var(--kendo-font-size-xs, inherit)
Description
The font size of the Upload validation message.
$kendo-upload-validation-line-heightStringvar( --kendo-line-height-xs, normal )var(--kendo-line-height-xs, normal)
Description
The line height 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, #596169)
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, #0dcaf0)
Description
The background color of the Upload progress bar.
$kendo-upload-success-textString$kendo-color-successvar(--kendo-color-success, #198754)
Description
The success text color of the Upload.
$kendo-upload-success-bgString$kendo-color-successvar(--kendo-color-success, #198754)
Description
The success background color of the Upload progress bar.
$kendo-upload-error-textString$kendo-color-errorvar(--kendo-color-error, #dc3545)
Description
The error text color of the Upload.
$kendo-upload-error-bgString$kendo-color-errorvar(--kendo-color-error, #dc3545)
Description
The error background color of the Upload progress bar.
$kendo-upload-focus-shadowList0 0 0 2px rgba(0, 0, 0, .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
VariablesSuggested Links
Not finding the help you need?
Contact Support