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 | Number | k-math-div( 20, 14 ) | 1.4285714286 |
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, #212121) |
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(0, 0, 0, 0.12)) |
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, #212121) |
Description
The text color of the Upload dropzone. | |||
$kendo-upload-dropzone-bg | String | $kendo-component-header-bg | var(--kendo-color-app-surface, #ffffff) |
Description
The background color of the Upload dropzone. | |||
$kendo-upload-dropzone-border | String | $kendo-upload-border | var(--kendo-color-border, rgba(0, 0, 0, 0.12)) |
Description
The border color of the Upload dropzone. | |||
$kendo-upload-dropzone-hover-bg | String | $kendo-hover-bg | var(--kendo-color-base-hover, #ebebeb) |
Description
The background color of the hovered Upload dropzone. | |||
$kendo-upload-status-text | String | $kendo-subtle-text | var(--kendo-color-subtle, #757575) |
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 | Number | 12px | 12px |
Description
The font size 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, #757575) |
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, #0058e9) |
Description
The background color of the Upload progress bar. | |||
$kendo-upload-success-text | String | $kendo-color-success | var(--kendo-color-success, #37b400) |
Description
The success text color of the Upload. | |||
$kendo-upload-success-bg | String | $kendo-color-success | var(--kendo-color-success, #37b400) |
Description
The success background color of the Upload progress bar. | |||
$kendo-upload-error-text | String | $kendo-color-error | var(--kendo-color-error, #f31700) |
Description
The error text color of the Upload. | |||
$kendo-upload-error-bg | String | $kendo-color-error | var(--kendo-color-error, #f31700) |
Description
The error background color of the Upload progress bar. | |||
$kendo-upload-focus-shadow | List | 0 0 0 2px rgba( black, .13 ) | 0 0 0 2px rgba(0, 0, 0, 0.13) |
Description
The shadow of the focused Upload button, actions and uploaded items. |