New to Kendo UI for Angular? Start a free 30-day trial
Customizing Dropzone
Variables
The following table lists the available variables for customization.
Name | Type | Default value | Computed value |
---|---|---|---|
$kendo-dropzone-padding-x | Number | k-map-get( $kendo-spacing, 2 ) | 0.5rem |
Description
The horizontal padding of the DropZone. | |||
$kendo-dropzone-padding-y | Number | k-map-get( $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 | List | $kendo-font-family | system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" |
Description
The font family of the DropZone. | |||
$kendo-dropzone-font-size | Number | $kendo-font-size-md | 1rem |
Description
The font size of the DropZone. | |||
$kendo-dropzone-line-height | Number | $kendo-line-height-md | 1.5 |
Description
The line height of the DropZone. | |||
$kendo-dropzone-bg | Color | if($kendo-enable-color-system, k-color( surface ), if( k-is-light( $kendo-component-bg ), $gray-100, $gray-900 )) | #f8f9fa |
Description
The background color of the DropZone. | |||
$kendo-dropzone-text | Color | $kendo-component-text | #212529 |
Description
The text color of the DropZone. | |||
$kendo-dropzone-border | Color | $kendo-component-border | #dee2e6 |
Description
The border color of the DropZone. | |||
$kendo-dropzone-icon-spacing | Number | k-map-get( $kendo-spacing, 6 ) | 1.5rem |
Description
The spacing below the DropZone icon. | |||
$kendo-dropzone-icon-text | Color | if($kendo-enable-color-system, k-color( subtle ), k-try-tint( $kendo-dropzone-text, 8 )) | #afb1b2 |
Description
The text color of the DropZone icon. | |||
$kendo-dropzone-icon-hover-text | Color | $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 | Number | k-map-get( $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 | Number | $kendo-font-size-xs | 0.75rem |
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 | Color | $kendo-subtle-text | #6c757d |
Description
The text color of the DropZone note. |