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 | $kendo-font-family | inherit |
Description
The font family of the Upload. | |||
$kendo-upload-font-size | Number | $kendo-font-size-md | 14px |
Description
The font size of the Upload. | |||
$kendo-upload-line-height | Number | $kendo-line-height-md | 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 | Color | $kendo-component-text | #424242 |
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 | rgba(0, 0, 0, 0.08) |
Description
The border color of the Upload. | |||
$kendo-upload-dropzone-padding-x | Number | k-map-get( $kendo-spacing, 2 ) | 8px |
Description
The horizontal padding of the Upload dropzone. | |||
$kendo-upload-dropzone-padding-y | Number | k-map-get( $kendo-spacing, 2 ) | 8px |
Description
The vertical padding of the Upload dropzone. | |||
$kendo-upload-dropzone-text | Color | $kendo-component-header-text | #424242 |
Description
The text color of the Upload dropzone. | |||
$kendo-upload-dropzone-bg | Color | $kendo-component-header-bg | #fafafa |
Description
The background color of the Upload dropzone. | |||
$kendo-upload-dropzone-border | Color | $kendo-upload-border | rgba(0, 0, 0, 0.08) |
Description
The border color of the Upload dropzone. | |||
$kendo-upload-dropzone-hover-bg | Color | $kendo-hover-bg | #f0f0f0 |
Description
The background color of the hovered Upload dropzone. | |||
$kendo-upload-status-text | Color | $kendo-subtle-text | #666666 |
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, 2 ) | 8px |
Description
The horizontal padding of an uploaded item. | |||
$kendo-upload-item-padding-y | Number | k-map-get( $kendo-spacing, 2 ) | 8px |
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 | 4px |
Description
The horizontal spacing of the Upload status icon. | |||
$kendo-upload-icon-color | Color | $kendo-subtle-text | #666666 |
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 | #0058e9 |
Description
The background color of the Upload progress bar. | |||
$kendo-upload-success-text | Color | $kendo-color-success | #37b400 |
Description
The success text color of the Upload. | |||
$kendo-upload-success-bg | Color | $kendo-color-success | #37b400 |
Description
The success background color of the Upload progress bar. | |||
$kendo-upload-error-text | Color | $kendo-color-error | #f31700 |
Description
The error text color of the Upload. | |||
$kendo-upload-error-bg | Color | $kendo-color-error | #f31700 |
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. |