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 | var( --kendo-component-text, initial ) | var(--kendo-component-text, initial) |
Description
The text color of the Upload. | |||
$kendo-upload-bg | String | var( --kendo-component-bg, initial ) | var(--kendo-component-bg, initial) |
Description
The background color of the Upload. | |||
$kendo-upload-border | String | var( --kendo-component-border, initial ) | var(--kendo-component-border, initial) |
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 | if($kendo-enable-color-system, k-color( subtle ), k-get-theme-color-var( neutral-130 )) | var(--kendo-color-subtle, #605e5c) |
Description
The text color of the Upload dropzone. | |||
$kendo-upload-dropzone-bg | String | if($kendo-enable-color-system, k-color( surface ), k-get-theme-color-var( neutral-10 )) | var(--kendo-color-surface, #faf9f8) |
Description
The background color of the Upload dropzone. | |||
$kendo-upload-dropzone-border | String | if($kendo-enable-color-system, color-mix(in srgb, k-color( border ) 16%, transparent), k-get-theme-color-var( neutral-30 )) | color-mix(in srgb, var(--kendo-color-border, #8a8886) 16%, transparent) |
Description
The border color of the Upload dropzone. | |||
$kendo-upload-dropzone-hover-bg | String | var( --kendo-hover-bg, inherit ) | var(--kendo-hover-bg, inherit) |
Description
The background color of the hovered Upload dropzone. | |||
$kendo-upload-status-text | String | var( --kendo-subtle-text, inherit ) | var(--kendo-subtle-text, inherit) |
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(2) | var(--kendo-spacing-2, 0.5rem) |
Description
The horizontal padding of an uploaded item. | |||
$kendo-upload-item-padding-y | String | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) |
Description
The vertical padding of an uploaded item. | |||
$kendo-upload-multiple-items-spacing | String | k-spacing(4) | var(--kendo-spacing-4, 1rem) |
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-icon-spacing | String | var( --kendo-icon-spacing, .5rem ) | var(--kendo-icon-spacing, 0.5rem) |
Description
The horizontal spacing of the Upload status icon. | |||
$kendo-upload-icon-color | String | var( --kendo-subtle-text, inherit ) | var(--kendo-subtle-text, inherit) |
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 | if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) | var(--kendo-color-primary, #0078d4) |
Description
The background color of the Upload progress bar. | |||
$kendo-upload-success-text | String | if($kendo-enable-color-system, k-color( success-on-surface ), k-get-theme-color-var( success-190 )) | var(--kendo-color-success-on-surface, #107c10) |
Description
The success text color of the Upload. | |||
$kendo-upload-success-bg | String | if($kendo-enable-color-system, k-color( success-on-surface ), k-get-theme-color-var( success-190 )) | var(--kendo-color-success-on-surface, #107c10) |
Description
The success background color of the Upload progress bar. | |||
$kendo-upload-error-text | String | if($kendo-enable-color-system, k-color( error-on-surface ), k-get-theme-color-var( error-190 )) | var(--kendo-color-error-on-surface, #a4262c) |
Description
The error text color of the Upload. | |||
$kendo-upload-error-bg | String | if($kendo-enable-color-system, k-color( error-on-surface ), k-get-theme-color-var( error-190 )) | var(--kendo-color-error-on-surface, #a4262c) |
Description
The error background color of the Upload progress bar. | |||
$kendo-upload-focus-shadow | List | inset 0 0 0 2px rgba(0, 0, 0, .13) | inset 0 0 0 2px rgba(0, 0, 0, 0.13) |
Description
The shadow of the focused Upload button, actions and uploaded items. |