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-familyList$kendo-font-familysystem-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"
Description
The font family of the Upload.
$kendo-upload-font-sizeNumber$kendo-font-size-md1rem
Description
The font size of the Upload.
$kendo-upload-line-heightNumber$kendo-line-height-md1.5
Description
The line height of the Upload.
$kendo-upload-max-heightNumber300px300px
Description
The maximum height of the list with uploaded items.
$kendo-upload-textColor$kendo-component-text#212529
Description
The text color of the Upload.
$kendo-upload-bgColor$kendo-component-bg#ffffff
Description
The background color of the Upload.
$kendo-upload-borderColor$kendo-component-border#dee2e6
Description
The border color of the Upload.
$kendo-upload-dropzone-padding-xNumberk-map-get( $kendo-spacing, 2 )0.5rem
Description
The horizontal padding of the Upload dropzone.
$kendo-upload-dropzone-padding-yNumberk-map-get( $kendo-spacing, 2 )0.5rem
Description
The vertical padding of the Upload dropzone.
$kendo-upload-dropzone-textColor$kendo-component-header-text#212529
Description
The text color of the Upload dropzone.
$kendo-upload-dropzone-bgColor$kendo-component-header-bg#f8f9fa
Description
The background color of the Upload dropzone.
$kendo-upload-dropzone-borderColor$kendo-upload-border#dee2e6
Description
The border color of the Upload dropzone.
$kendo-upload-dropzone-hover-bgColorif($kendo-enable-color-system, k-color( base-subtle ), k-try-shade( $kendo-upload-dropzone-bg, .2 ))#f4f5f6
Description
The background color of the hovered Upload dropzone.
$kendo-upload-status-textColor$kendo-subtle-text#6c757d
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-xNumberk-map-get( $kendo-spacing, 4 )1rem
Description
The horizontal padding of an uploaded item.
$kendo-upload-item-padding-yNumberk-map-get( $kendo-spacing, 4 )1rem
Description
The vertical padding of an uploaded item.
$kendo-upload-multiple-items-spacingNumber12px12px
Description
The vertical spacing between uploaded batch items.
$kendo-upload-validation-font-sizeNumber11px11px
Description
The font size of the Upload validation message.
$kendo-upload-icon-spacingNumber$kendo-icon-spacing0.5rem
Description
The horizontal spacing of the Upload status icon.
$kendo-upload-icon-colorColor$kendo-subtle-text#6c757d
Description
The color of the uploaded items icon.
$kendo-upload-progress-thicknessNumber2px2px
Description
The thickness of the Upload progress bar.
$kendo-upload-progress-bgColor$kendo-color-info#0dcaf0
Description
The background color of the Upload progress bar.
$kendo-upload-success-textColor$kendo-color-success#198754
Description
The success text color of the Upload.
$kendo-upload-success-bgColor$kendo-color-success#198754
Description
The success background color of the Upload progress bar.
$kendo-upload-error-textColor$kendo-color-error#dc3545
Description
The error text color of the Upload.
$kendo-upload-error-bgColor$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

Not finding the help you need?