Customizing Dropzone
Variables
The following table lists the available variables for customization.
Name | Type | Default value | Computed value |
---|---|---|---|
$kendo-dropzone-padding-x | map.get( $kendo-spacing, 2 ) | ||
Description
The horizontal padding of the DropZone. | |||
$kendo-dropzone-padding-y | map.get( $kendo-spacing, 2 ) | ||
Description
The vertical padding of the DropZone. | |||
$kendo-dropzone-border-width | 1px | ||
Description
The border width of the DropZone. | |||
$kendo-dropzone-min-height | 220px | ||
Description
The minimum height of the DropZone. | |||
$kendo-dropzone-font-family | var( --kendo-font-family, inherit ) | ||
Description
The font family of the DropZone. | |||
$kendo-dropzone-font-size | var( --kendo-font-size, inherit ) | ||
Description
The font size of the DropZone. | |||
$kendo-dropzone-line-height | var( --kendo-line-height, normal ) | ||
Description
The line height of the DropZone. | |||
$kendo-dropzone-bg | if($kendo-enable-color-system, k-color( surface ), k-get-theme-color-var( neutral-10 )) | ||
Description
The background color of the DropZone. | |||
$kendo-dropzone-text | var( --kendo-component-text, inherit ) | ||
Description
Text color of the dropzone. | |||
$kendo-dropzone-border | var( --kendo-component-border, initial ) | ||
Description
The border color of the DropZone. | |||
$kendo-dropzone-icon-spacing | map.get( $kendo-spacing, 6 ) | ||
Description
The spacing below the DropZone icon. | |||
$kendo-dropzone-icon-text | if($kendo-enable-color-system, k-color( subtle ), k-get-theme-color-var( neutral-90 )) | ||
Description
The text color of the DropZone icon. | |||
$kendo-dropzone-icon-hover-text | if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) | ||
Description
Text color of the icon when the dropzone is hovered. | |||
$kendo-dropzone-hint-font-size | inherit | ||
Description
The font size of the DropZone hint. | |||
$kendo-dropzone-hint-font-weight | var( --kendo-font-weight-bold, bold ) | ||
Description
The font weight of the DropZone hint. | |||
$kendo-dropzone-hint-spacing | map.get( $kendo-spacing, 2 ) | ||
Description
The spacing below the DropZone hint. | |||
$kendo-dropzone-hint-text | $kendo-dropzone-text | ||
Description
The text color of the DropZone hint. | |||
$kendo-dropzone-note-font-size | var( --kendo-font-size-sm, inherit ) | ||
Description
The font size of the DropZone note. | |||
$kendo-dropzone-note-font-weight | inherit | ||
Description
The font weight of the DropZone note. | |||
$kendo-dropzone-note-spacing | 0 | ||
Description
The spacing below the DropZone note. | |||
$kendo-dropzone-note-text | var( --kendo-subtle-text, inherit ) | ||
Description
The text color of the DropZone note. |