Customizing Dropzone
Variables
The following table lists the available variables for customization.
Name | Type | Default value | Computed value |
---|---|---|---|
$kendo-dropzone-padding-x | String | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) |
Description
The horizontal padding of the DropZone. | |||
$kendo-dropzone-padding-y | String | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) |
Description
The vertical padding of the DropZone. | |||
$kendo-dropzone-border-width | Number | 1px | 1px |
Description
The border width of the DropZone. | |||
$kendo-dropzone-min-height | Number | 220px | 220px |
Description
The minimum height of the DropZone. | |||
$kendo-dropzone-font-family | String | var( --kendo-font-family, inherit ) | var(--kendo-font-family, inherit) |
Description
The font family of the DropZone. | |||
$kendo-dropzone-font-size | String | var( --kendo-font-size, inherit ) | var(--kendo-font-size, inherit) |
Description
The font size of the DropZone. | |||
$kendo-dropzone-line-height | String | var( --kendo-line-height, normal ) | var(--kendo-line-height, normal) |
Description
The line height of the DropZone. | |||
$kendo-dropzone-bg | String | if($kendo-enable-color-system, k-color( surface ), if( k-is-light( $kendo-component-bg ), $gray-100, $gray-900 )) | var(--kendo-color-surface, #f8f9fa) |
Description
The background color of the DropZone. | |||
$kendo-dropzone-text | String | $kendo-component-text | var(--kendo-color-on-app-surface, #212529) |
Description
The text color of the DropZone. | |||
$kendo-dropzone-border | String | $kendo-component-border | var(--kendo-color-border, rgba(33, 37, 41, 0.13)) |
Description
The border color of the DropZone. | |||
$kendo-dropzone-icon-spacing | String | k-spacing(6) | var(--kendo-spacing-6, 1.5rem) |
Description
The spacing below the DropZone icon. | |||
$kendo-dropzone-icon-text | String | if($kendo-enable-color-system, k-color( subtle ), k-try-tint( $kendo-dropzone-text, 8 )) | var(--kendo-color-subtle, #596169) |
Description
The text color of the DropZone icon. | |||
$kendo-dropzone-icon-hover-text | String | $kendo-color-primary | var(--kendo-color-primary, #0d6efd) |
Description
The text color of the hovered DropZone icon. | |||
$kendo-dropzone-hint-font-size | Null | null | null |
Description
The font size of the DropZone hint. | |||
$kendo-dropzone-hint-spacing | String | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) |
Description
The spacing below the DropZone hint. | |||
$kendo-dropzone-hint-text | Null | null | null |
Description
The text color of the DropZone hint. | |||
$kendo-dropzone-note-font-size | String | var( --kendo-font-size-xs, inherit ) | var(--kendo-font-size-xs, inherit) |
Description
The font size of the DropZone note. | |||
$kendo-dropzone-note-spacing | Null | null | null |
Description
The spacing below the DropZone note. | |||
$kendo-dropzone-note-text | String | $kendo-subtle-text | var(--kendo-color-subtle, #596169) |
Description
The text color of the DropZone note. |