Customizing Upload

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-upload-border-width1px
Description
The width of the border around the Upload.
$kendo-upload-font-familyvar( --kendo-font-family, inherit )
Description
The font family of the Upload.
$kendo-upload-font-sizevar( --kendo-font-size, inherit )
Description
The font size of the Upload.
$kendo-upload-line-heightvar( --kendo-line-height, normal )
Description
The line height of the Upload.
$kendo-upload-max-height300px
Description
The maximum height of the list with uploaded items.
$kendo-upload-textvar( --kendo-component-text, initial )
Description
The text color of the Upload.
$kendo-upload-bgvar( --kendo-component-bg, initial )
Description
The background color of the Upload.
$kendo-upload-bordervar( --kendo-component-border, initial )
Description
The border color of the Upload.
$kendo-upload-dropzone-padding-xmap.get( $kendo-spacing, 2 )
Description
The horizontal padding of the Upload dropzone.
$kendo-upload-dropzone-padding-ymap.get( $kendo-spacing, 2 )
Description
The vertical padding of the Upload dropzone.
$kendo-upload-dropzone-textif($kendo-enable-color-system, k-color( subtle ), k-get-theme-color-var( neutral-130 ))
Description
The text color of the Upload dropzone.
$kendo-upload-dropzone-bgif($kendo-enable-color-system, k-color( surface ), k-get-theme-color-var( neutral-10 ))
Description
The background color of the Upload dropzone.
$kendo-upload-dropzone-borderif($kendo-enable-color-system, color-mix(in srgb, k-color( border ) 16%, transparent), k-get-theme-color-var( neutral-30 ))
Description
The border color of the Upload dropzone.
$kendo-upload-dropzone-hover-bgvar( --kendo-hover-bg, inherit )
Description
The background color of the hovered Upload dropzone.
$kendo-upload-status-textvar( --kendo-subtle-text, inherit )
Description
The text color of the Upload status message.
$kendo-upload-status-text-opacitynull
Description
The opacity of the Upload status message.
$kendo-upload-item-padding-xmap.get( $kendo-spacing, 2 )
Description
The horizontal padding of an uploaded item.
$kendo-upload-item-padding-ymap.get( $kendo-spacing, 2 )
Description
The vertical padding of an uploaded item.
$kendo-upload-multiple-items-spacingmap.get( $kendo-spacing, 4 )
Description
The vertical spacing between uploaded batch items.
$kendo-upload-validation-font-sizevar( --kendo-font-size-xs, inherit )
Description
The font size of the Upload validation message.
$kendo-upload-icon-spacingvar( --kendo-icon-spacing, .5rem )
Description
The horizontal spacing of the Upload status icon.
$kendo-upload-icon-colorvar( --kendo-subtle-text, inherit )
Description
The color of the uploaded items icon.
$kendo-upload-progress-thickness2px
Description
The thickness of the Upload progress bar.
$kendo-upload-progress-bgif($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 ))
Description
The background color of the Upload progress bar.
$kendo-upload-success-textif($kendo-enable-color-system, k-color( success-on-surface ), k-get-theme-color-var( success-190 ))
Description
The success text color of the Upload.
$kendo-upload-success-bgif($kendo-enable-color-system, k-color( success-on-surface ), k-get-theme-color-var( success-190 ))
Description
The success background color of the Upload progress bar.
$kendo-upload-error-textif($kendo-enable-color-system, k-color( error-on-surface ), k-get-theme-color-var( error-190 ))
Description
The error text color of the Upload.
$kendo-upload-error-bgif($kendo-enable-color-system, k-color( error-on-surface ), k-get-theme-color-var( error-190 ))
Description
The error background color of the Upload progress bar.
$kendo-upload-focus-shadowinset 0 0 0 2px rgba(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?