New to Kendo UI for Angular? Start a free 30-day trial
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 | String | var( --kendo-font-family, inherit ) | var(--kendo-font-family, inherit) |
Description
The font family of the Upload. | |||
$kendo-upload-font-size | String | var( --kendo-font-size, inherit ) | var(--kendo-font-size, inherit) |
Description
The font size of the Upload. | |||
$kendo-upload-line-height | String | var( --kendo-line-height, normal ) | var(--kendo-line-height, normal) |
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 | String | $kendo-component-text | var(--kendo-color-on-app-surface, #212529) |
Description
The text color of the Upload. | |||
$kendo-upload-bg | String | $kendo-component-bg | var(--kendo-color-surface-alt, #ffffff) |
Description
The background color of the Upload. | |||
$kendo-upload-border | String | $kendo-component-border | var(--kendo-color-border, rgba(33, 37, 41, 0.13)) |
Description
The border color of the Upload. | |||
$kendo-upload-dropzone-padding-x | String | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) |
Description
The horizontal padding of the Upload dropzone. | |||
$kendo-upload-dropzone-padding-y | String | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) |
Description
The vertical padding of the Upload dropzone. | |||
$kendo-upload-dropzone-text | String | $kendo-component-header-text | var(--kendo-color-on-app-surface, #212529) |
Description
The text color of the Upload dropzone. | |||
$kendo-upload-dropzone-bg | String | $kendo-component-header-bg | var(--kendo-color-surface, #f8f9fa) |
Description
The background color of the Upload dropzone. | |||
$kendo-upload-dropzone-border | String | $kendo-upload-border | var(--kendo-color-border, rgba(33, 37, 41, 0.13)) |
Description
The border color of the Upload dropzone. | |||
$kendo-upload-dropzone-hover-bg | String | if($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-text | String | $kendo-subtle-text | var(--kendo-color-subtle, #596169) |
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 | String | k-spacing(4) | var(--kendo-spacing-4, 1rem) |
Description
The horizontal padding of an uploaded item. | |||
$kendo-upload-item-padding-y | String | k-spacing(4) | var(--kendo-spacing-4, 1rem) |
Description
The vertical padding of an uploaded item. | |||
$kendo-upload-multiple-items-spacing | String | k-spacing(3) | var(--kendo-spacing-3, 0.75rem) |
Description
The vertical spacing between uploaded batch items. | |||
$kendo-upload-validation-font-size | String | var( --kendo-font-size-xs, inherit ) | var(--kendo-font-size-xs, inherit) |
Description
The font size of the Upload validation message. | |||
$kendo-upload-validation-line-height | String | var( --kendo-line-height-xs, normal ) | var(--kendo-line-height-xs, normal) |
Description
The line height of the Upload validation message. | |||
$kendo-upload-icon-spacing | String | $kendo-icon-spacing | var(--kendo-spacing-2, 0.5rem) |
Description
The horizontal spacing of the Upload status icon. | |||
$kendo-upload-icon-color | String | $kendo-subtle-text | var(--kendo-color-subtle, #596169) |
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 | String | $kendo-color-info | var(--kendo-color-info, #0dcaf0) |
Description
The background color of the Upload progress bar. | |||
$kendo-upload-success-text | String | $kendo-color-success | var(--kendo-color-success, #198754) |
Description
The success text color of the Upload. | |||
$kendo-upload-success-bg | String | $kendo-color-success | var(--kendo-color-success, #198754) |
Description
The success background color of the Upload progress bar. | |||
$kendo-upload-error-text | String | $kendo-color-error | var(--kendo-color-error, #dc3545) |
Description
The error text color of the Upload. | |||
$kendo-upload-error-bg | String | $kendo-color-error | var(--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. |