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 | 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 ), k-get-theme-color-var( neutral-10 )) | var(--kendo-color-surface, #faf9f8) |
Description
The background color of the DropZone. | |||
$kendo-dropzone-text | String | var( --kendo-component-text, inherit ) | var(--kendo-component-text, inherit) |
Description
Text color of the dropzone. | |||
$kendo-dropzone-border | String | var( --kendo-component-border, initial ) | var(--kendo-component-border, initial) |
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-get-theme-color-var( neutral-90 )) | var(--kendo-color-subtle, #605e5c) |
Description
The text color of the DropZone icon. | |||
$kendo-dropzone-icon-hover-text | String | if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) | var(--kendo-color-primary, #0078d4) |
Description
Text color of the icon when the dropzone is hovered. | |||
$kendo-dropzone-hint-font-size | String | inherit | inherit |
Description
The font size of the DropZone hint. | |||
$kendo-dropzone-hint-font-weight | String | var( --kendo-font-weight-bold, bold ) | var(--kendo-font-weight-bold, bold) |
Description
The font weight 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 | String | $kendo-dropzone-text | var(--kendo-component-text, inherit) |
Description
The text color of the DropZone hint. | |||
$kendo-dropzone-note-font-size | String | var( --kendo-font-size-sm, inherit ) | var(--kendo-font-size-sm, inherit) |
Description
The font size of the DropZone note. | |||
$kendo-dropzone-note-font-weight | String | inherit | inherit |
Description
The font weight of the DropZone note. | |||
$kendo-dropzone-note-spacing | String | k-spacing(0) | var(--kendo-spacing-0, 0px) |
Description
The spacing below the DropZone note. | |||
$kendo-dropzone-note-text | String | var( --kendo-subtle-text, inherit ) | var(--kendo-subtle-text, inherit) |
Description
The text color of the DropZone note. |