Customizing Upload
Variables
The following table lists the available variables for customization.
Name | Type | Default value | Computed value |
---|---|---|---|
$kendo-upload-border-width | Number | 1px | 1px |
Description
The width of the border around the Upload. | |||
$kendo-upload-font-family | List | $kendo-font-family | system-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-size | Number | $kendo-font-size-md | 1rem |
Description
The font size of the Upload. | |||
$kendo-upload-line-height | Number | $kendo-line-height-md | 1.5 |
Description
The line height of the Upload. | |||
$kendo-upload-max-height | Number | 300px | 300px |
Description
The maximum height of the list with uploaded items. | |||
$kendo-upload-text | Color | $kendo-component-text | #212529 |
Description
The text color of the Upload. | |||
$kendo-upload-bg | Color | $kendo-component-bg | #ffffff |
Description
The background color of the Upload. | |||
$kendo-upload-border | Color | $kendo-component-border | #dee2e6 |
Description
The border color of the Upload. | |||
$kendo-upload-dropzone-padding-x | Number | k-map-get( $kendo-spacing, 2 ) | 0.5rem |
Description
The horizontal padding of the Upload dropzone. | |||
$kendo-upload-dropzone-padding-y | Number | k-map-get( $kendo-spacing, 2 ) | 0.5rem |
Description
The vertical padding of the Upload dropzone. | |||
$kendo-upload-dropzone-text | Color | $kendo-component-header-text | #212529 |
Description
The text color of the Upload dropzone. | |||
$kendo-upload-dropzone-bg | Color | $kendo-component-header-bg | #f8f9fa |
Description
The background color of the Upload dropzone. | |||
$kendo-upload-dropzone-border | Color | $kendo-upload-border | #dee2e6 |
Description
The border color of the Upload dropzone. | |||
$kendo-upload-dropzone-hover-bg | Color | if($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-text | Color | $kendo-subtle-text | #6c757d |
Description
The text color of the Upload status message. | |||
$kendo-upload-status-text-opacity | Null | null | null |
Description
The opacity of the Upload status message. | |||
$kendo-upload-item-padding-x | Number | k-map-get( $kendo-spacing, 4 ) | 1rem |
Description
The horizontal padding of an uploaded item. | |||
$kendo-upload-item-padding-y | Number | k-map-get( $kendo-spacing, 4 ) | 1rem |
Description
The vertical padding of an uploaded item. | |||
$kendo-upload-multiple-items-spacing | Number | 12px | 12px |
Description
The vertical spacing between uploaded batch items. | |||
$kendo-upload-validation-font-size | Number | 11px | 11px |
Description
The font size of the Upload validation message. | |||
$kendo-upload-icon-spacing | Number | $kendo-icon-spacing | 0.5rem |
Description
The horizontal spacing of the Upload status icon. | |||
$kendo-upload-icon-color | Color | $kendo-subtle-text | #6c757d |
Description
The color of the uploaded items icon. | |||
$kendo-upload-progress-thickness | Number | 2px | 2px |
Description
The thickness of the Upload progress bar. | |||
$kendo-upload-progress-bg | Color | $kendo-color-info | #0dcaf0 |
Description
The background color of the Upload progress bar. | |||
$kendo-upload-success-text | Color | $kendo-color-success | #198754 |
Description
The success text color of the Upload. | |||
$kendo-upload-success-bg | Color | $kendo-color-success | #198754 |
Description
The success background color of the Upload progress bar. | |||
$kendo-upload-error-text | Color | $kendo-color-error | #dc3545 |
Description
The error text color of the Upload. | |||
$kendo-upload-error-bg | Color | $kendo-color-error | #dc3545 |
Description
The error background color of the Upload progress bar. | |||
$kendo-upload-focus-shadow | List | 0 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. |