Customizing Input
Variables
The following table lists the available variables for customization.
Name | Type | Default value | Computed value |
---|---|---|---|
$kendo-input-default-width | Number | 100% | 100% |
Description
The default width of the Input components. | |||
$kendo-input-border-width | Number | 1px | 1px |
Description
The border width of the Input components. | |||
$kendo-input-border-radius | Null | null | null |
Description
The border radius of the Input components. | |||
$kendo-input-padding-x | String | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) |
Description
The horizontal padding of the Input components. | |||
$kendo-input-sm-padding-x | String | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) |
Description
The horizontal padding of the small Input components. | |||
$kendo-input-md-padding-x | String | $kendo-input-padding-x | var(--kendo-spacing-2, 0.5rem) |
Description
The horizontal padding of the medium Input components. | |||
$kendo-input-lg-padding-x | String | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) |
Description
The horizontal padding of the large Input components. | |||
$kendo-input-padding-y | String | k-spacing(1) | var(--kendo-spacing-1, 0.25rem) |
Description
The vertical padding of the Input components. | |||
$kendo-input-sm-padding-y | String | k-spacing(0.5) | var(--kendo-spacing-0\.5, 0.125rem) |
Description
The vertical padding of the small Input components. | |||
$kendo-input-md-padding-y | String | $kendo-input-padding-y | var(--kendo-spacing-1, 0.25rem) |
Description
The vertical padding of the medium Input components. | |||
$kendo-input-lg-padding-y | String | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) |
Description
The vertical padding of the large Input components. | |||
$kendo-input-font-family | String | var( --kendo-font-family, inherit ) | var(--kendo-font-family, inherit) |
Description
The font family of the Input components. | |||
$kendo-input-font-size | String | var( --kendo-font-size, inherit ) | var(--kendo-font-size, inherit) |
Description
The font size of the Input components. | |||
$kendo-input-sm-font-size | String | var( --kendo-font-size, inherit ) | var(--kendo-font-size, inherit) |
Description
The font size of the small Input components. | |||
$kendo-input-md-font-size | String | $kendo-input-font-size | var(--kendo-font-size, inherit) |
Description
The font size of the medium Input components. | |||
$kendo-input-lg-font-size | String | var( --kendo-font-size-lg, inherit ) | var(--kendo-font-size-lg, inherit) |
Description
The font size of the large Input components. | |||
$kendo-input-line-height | String | var( --kendo-line-height, normal ) | var(--kendo-line-height, normal) |
Description
The line height of the Input components. | |||
$kendo-input-sm-line-height | String | var( --kendo-line-height, normal ) | var(--kendo-line-height, normal) |
Description
The line height of the small Input components. | |||
$kendo-input-md-line-height | String | $kendo-input-line-height | var(--kendo-line-height, normal) |
Description
The line height of the medium Input components. | |||
$kendo-input-lg-line-height | String | var( --kendo-line-height-lg, normal ) | var(--kendo-line-height-lg, normal) |
Description
The line height of the large Input components. | |||
$kendo-input-sizes | Map | (
sm: (
padding-x: $kendo-input-sm-padding-x,
padding-y: $kendo-input-sm-padding-y,
font-size: $kendo-input-sm-font-size,
line-height: $kendo-input-sm-line-height,
button-padding-x: $kendo-input-sm-padding-y,
button-padding-y: $kendo-input-sm-padding-y
),
md: (
padding-x: $kendo-input-md-padding-x,
padding-y: $kendo-input-md-padding-y,
font-size: $kendo-input-md-font-size,
line-height: $kendo-input-md-line-height,
button-padding-x: $kendo-input-md-padding-y,
button-padding-y: $kendo-input-md-padding-y
),
lg: (
padding-x: $kendo-input-lg-padding-x,
padding-y: $kendo-input-lg-padding-y,
font-size: $kendo-input-lg-font-size,
line-height: $kendo-input-lg-line-height,
button-padding-x: $kendo-input-lg-padding-y,
button-padding-y: $kendo-input-lg-padding-y
)
) |
|
Description
The sizes map for the Input components. | |||
$kendo-input-bg | String | $kendo-component-bg | var(--kendo-color-surface-alt, #ffffff) |
Description
The background color of the Input components. | |||
$kendo-input-text | String | $kendo-component-text | var(--kendo-color-on-app-surface, #3d3d3d) |
Description
The text color of the Input components. | |||
$kendo-input-border | String | $kendo-component-border | var(--kendo-color-border, rgba(0, 0, 0, 0.08)) |
Description
The border color of the Input components. | |||
$kendo-input-shadow | Null | null | null |
Description
The shadow of the Input components. | |||
$kendo-input-hover-bg | Null | null | null |
Description
The background color of the hovered Input components. | |||
$kendo-input-hover-text | Null | null | null |
Description
The text color of the hovered Input components. | |||
$kendo-input-hover-border | String | if($kendo-enable-color-system, k-color( border-alt ), rgba( $kendo-input-border, .16 )) | var(--kendo-color-border-alt, rgba(0, 0, 0, 0.16)) |
Description
The border color of the hovered Input components. | |||
$kendo-input-hover-shadow | Null | null | null |
Description
The shadow of the hovered Input components. | |||
$kendo-input-focus-bg | Null | null | null |
Description
The background color of the focused Input components. | |||
$kendo-input-focus-text | Null | null | null |
Description
The text color of the focused Input components. | |||
$kendo-input-focus-border | String | $kendo-input-hover-border | var(--kendo-color-border-alt, rgba(0, 0, 0, 0.16)) |
Description
The border color of the focused Input components. | |||
$kendo-input-focus-shadow | List | 0 0 0 2px if($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface ) 8%, transparent), rgba( $kendo-input-focus-border, .08 )) | 0 0 0 2px color-mix(in srgb, var(--kendo-color-on-app-surface, #3d3d3d) 8%, transparent) |
Description
The shadow of the focused Input components. | |||
$kendo-input-selected-bg | Null | null | null |
Description
The background color of the selected Input components. | |||
$kendo-input-selected-text | Null | null | null |
Description
The text color of the selected Input components. | |||
$kendo-input-disabled-bg | Null | null | null |
Description
The background color of the disabled Input components. | |||
$kendo-input-disabled-text | Null | null | null |
Description
The text color of the disabled Input components. | |||
$kendo-input-disabled-border | Null | null | null |
Description
The border color of the disabled Input components. | |||
$kendo-input-disabled-gradient | Null | null | null |
Description
The gradient of the disabled Input components. | |||
$kendo-input-disabled-shadow | Null | null | null |
Description
The shadow of the disabled Input components. | |||
$kendo-input-outline-bg | Null | null | null |
Description
The background color of the outline Input components. | |||
$kendo-input-outline-text | String | $kendo-input-text | var(--kendo-color-on-app-surface, #3d3d3d) |
Description
The text color of the outline Input components. | |||
$kendo-input-outline-border | String | if($kendo-enable-color-system, color-mix(in srgb, k-color( on-base ) 50%, transparent), rgba( $kendo-button-text, .5)) | color-mix(in srgb, var(--kendo-color-on-base, #3d3d3d) 50%, transparent) |
Description
The border color of the outline Input components. | |||
$kendo-input-outline-hover-bg | Null | null | null |
Description
The background color of the outline hovered Input components. | |||
$kendo-input-outline-hover-text | Null | null | null |
Description
The text color of the outline hovered Input components. | |||
$kendo-input-outline-hover-border | String | if($kendo-enable-color-system, color-mix(in srgb, k-color( on-base ) 80%, transparent), rgba( $kendo-button-text, .8)) | color-mix(in srgb, var(--kendo-color-on-base, #3d3d3d) 80%, transparent) |
Description
The border color of the outline hovered Input components. | |||
$kendo-input-outline-focus-bg | Null | null | null |
Description
The background color of the outline focused Input components. | |||
$kendo-input-outline-focus-text | Null | null | null |
Description
The text color of the outline focused Input components. | |||
$kendo-input-outline-focus-border | Null | null | null |
Description
The border color of the outline focused Input components. | |||
$kendo-input-outline-focus-shadow | List | $kendo-input-focus-shadow | 0 0 0 2px color-mix(in srgb, var(--kendo-color-on-app-surface, #3d3d3d) 8%, transparent) |
Description
The shadow of the outline focused Input components. | |||
$kendo-input-flat-bg | Null | null | null |
Description
The background color of the flat Input components. | |||
$kendo-input-flat-text | String | $kendo-input-text | var(--kendo-color-on-app-surface, #3d3d3d) |
Description
The text color of the flat Input components. | |||
$kendo-input-flat-border | String | $kendo-input-border | var(--kendo-color-border, rgba(0, 0, 0, 0.08)) |
Description
The border color of the flat Input components. | |||
$kendo-input-flat-hover-bg | Null | null | null |
Description
The background color of the flat hovered Input components. | |||
$kendo-input-flat-hover-text | Null | null | null |
Description
The text color of the flat hovered Input components. | |||
$kendo-input-flat-hover-border | String | $kendo-input-hover-border | var(--kendo-color-border-alt, rgba(0, 0, 0, 0.16)) |
Description
The border color of the flat hovered Input components. | |||
$kendo-input-flat-focus-bg | Null | null | null |
Description
The background color of the flat focused Input components. | |||
$kendo-input-flat-focus-text | Null | null | null |
Description
The text color of the flat focused Input components. | |||
$kendo-input-flat-focus-border | Null | null | null |
Description
The border color of the flat focused Input components. | |||
$kendo-input-flat-focus-shadow | List | $kendo-input-focus-shadow | 0 0 0 2px color-mix(in srgb, var(--kendo-color-on-app-surface, #3d3d3d) 8%, transparent) |
Description
The shadow of the flat focused Input components. | |||
$kendo-input-placeholder-text | String | $kendo-subtle-text | var(--kendo-color-subtle, #666666) |
Description
The text color of the Input placeholder. | |||
$kendo-input-placeholder-opacity | Number | 1 | 1 |
Description
The opacity of the Input placeholder. | |||
$kendo-input-clear-value-text | Null | null | null |
Description
The color of the Input clear value icon. | |||
$kendo-input-clear-value-opacity | Number | .5 | 0.5 |
Description
The opacity of the Input clear value icon. | |||
$kendo-input-clear-value-hover-text | Null | null | null |
Description
The color of the hovered Input clear value icon. | |||
$kendo-input-clear-value-hover-opacity | Number | 1 | 1 |
Description
The opacity of the hovered Input clear value icon. | |||
$kendo-input-values-margin-y | String | k-spacing(0.5) | var(--kendo-spacing-0\.5, 0.125rem) |
Description
The vertical margin of the clear value icon. | |||
$kendo-input-values-margin-x | String | $kendo-input-values-margin-y | var(--kendo-spacing-0\.5, 0.125rem) |
Description
The horizontal margin of the clear value icon. | |||
$kendo-input-button-width | Calculation | $kendo-button-inner-calc-size | calc(var(--kendo-line-height, normal) * 1em + var(--kendo-spacing-1, 0.25rem) * 2) |
Description
The width of the Input button. | |||
$kendo-input-button-border-width | Number | 1px | 1px |
Description
The border width of the Input button. | |||
$kendo-input-spinner-width | Calculation | $kendo-button-inner-calc-size | calc(var(--kendo-line-height, normal) * 1em + var(--kendo-spacing-1, 0.25rem) * 2) |
Description
The width of the Input spinner button. | |||
$kendo-input-spinner-icon-offset | Null | null | null |
Description
The icon offset of the Input spinner button. | |||
$kendo-input-separator-text | String | $kendo-input-border | var(--kendo-color-border, rgba(0, 0, 0, 0.08)) |
Description
The color of the Input separator. | |||
$kendo-input-separator-opacity | Number | .5 | 0.5 |
Description
The opacity of the Input separator. | |||
$kendo-input-prefix-text | String | $kendo-subtle-text | var(--kendo-color-subtle, #666666) |
Description
The text color of the Input prefix. | |||
$kendo-input-suffix-text | String | $kendo-subtle-text | var(--kendo-color-subtle, #666666) |
Description
The text color of the Input suffix. | |||
$kendo-input-prefix-text | String | $kendo-subtle-text | var(--kendo-color-subtle, #666666) |
Description
The text color of the Input prefix. | |||
$kendo-input-suffix-text | String | $kendo-subtle-text | var(--kendo-color-subtle, #666666) |
Description
The text color of the Input suffix. | |||
$kendo-input-invalid-border | String | $kendo-invalid-border | var(--kendo-color-error, #f31700) |
Description
The border color of the invalid Input components. | |||
$kendo-input-invalid-shadow | Null | $kendo-invalid-shadow | null |
Description
The shadow of the invalid Input components. |