Customizing Input

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-input-default-widthNumber100%100%
Description
The default width of the Input components.
$kendo-input-border-widthNumber1px1px
Description
The border width of the Input components.
$kendo-input-border-radiusNullnullnull
Description
The border radius of the Input components.
$kendo-input-padding-xNumberk-map-get( $kendo-spacing, 4 )16px
Description
The horizontal padding of the Input components.
$kendo-input-sm-padding-xNumberk-map-get( $kendo-spacing, 4 )16px
Description
The horizontal padding of the small Input components.
$kendo-input-md-padding-xNumberk-map-get( $kendo-spacing, 4 )16px
Description
The horizontal padding of the medium Input components.
$kendo-input-lg-padding-xNumberk-map-get( $kendo-spacing, 4 )16px
Description
The horizontal padding of the large Input components.
$kendo-input-padding-yNumberk-map-get( $kendo-spacing, 2 )8px
Description
The vertical padding of the Input components.
$kendo-input-sm-padding-yNumberk-map-get( $kendo-spacing, 1.5 )6px
Description
The vertical padding of the small Input components.
$kendo-input-md-padding-yNumberk-map-get( $kendo-spacing, 2 )8px
Description
The vertical padding of the medium Input components.
$kendo-input-lg-padding-yNumberk-map-get( $kendo-spacing, 2 )8px
Description
The vertical padding of the large Input components.
$kendo-input-font-familyList$kendo-font-familyRoboto, "Helvetica Neue", sans-serif
Description
The font family of the Input components.
$kendo-input-font-sizeNumber$kendo-font-size-lg16px
Description
The font size of the Input components.
$kendo-input-sm-font-sizeNumber$kendo-font-size-lg16px
Description
The font size of the small Input components.
$kendo-input-md-font-sizeNumber$kendo-font-size-lg16px
Description
The font size of the medium Input components.
$kendo-input-lg-font-sizeNumber$kendo-font-size-lg16px
Description
The font size of the large Input components.
$kendo-input-line-heightNumber1.251.25
Description
The line height of the Input components.
$kendo-input-sm-line-heightNumber1.251.25
Description
The line height of the small Input components.
$kendo-input-md-line-heightNumber1.251.25
Description
The line height of the medium Input components.
$kendo-input-lg-line-heightNumber1.51.5
Description
The line height of the large Input components.
$kendo-input-sizesMap( 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: k-map-get( $kendo-spacing, 1 ), button-padding-y: k-map-get( $kendo-spacing, 1 ) ), 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: k-map-get( $kendo-spacing, 1 ), button-padding-y: k-map-get( $kendo-spacing, 1 ) ), 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: k-map-get( $kendo-spacing, 1 ), button-padding-y: k-map-get( $kendo-spacing, 1 ) ) )(sm: (padding-x: 16px, padding-y: 6px, font-size: 16px, line-height: 1.25, button-padding-x: 4px, button-padding-y: 4px), md: (padding-x: 16px, padding-y: 8px, font-size: 16px, line-height: 1.25, button-padding-x: 4px, button-padding-y: 4px), lg: (padding-x: 16px, padding-y: 8px, font-size: 16px, line-height: 1.5, button-padding-x: 4px, button-padding-y: 4px))
Description
The sizes map for the Input components.
$kendo-input-bgColorif($kendo-enable-color-system, k-color( surface ), k-try-shade( $kendo-component-bg, .5 ))whitesmoke
Description
The background color of the Input components.
$kendo-input-textColor$kendo-component-textrgba(0, 0, 0, 0.87)
Description
The text color of the Input components.
$kendo-input-borderColorif($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface ) 44%, transparent), rgba( $kendo-component-border, .38 ))rgba(0, 0, 0, 0.38)
Description
The border color of the Input components.
$kendo-input-shadowNullnullnull
Description
The shadow of the Input components.
$kendo-input-hover-bgNullnullnull
Description
The background color of the hovered Input components.
$kendo-input-hover-textNullnullnull
Description
The text color of the hovered Input components.
$kendo-input-hover-borderColor$kendo-input-textrgba(0, 0, 0, 0.87)
Description
The border color of the hovered Input components.
$kendo-input-hover-shadowNullnullnull
Description
The shadow of the hovered Input components.
$kendo-input-focus-bgNullnullnull
Description
The background color of the focused Input components.
$kendo-input-focus-textNullnullnull
Description
The text color of the focused Input components.
$kendo-input-focus-borderColor$kendo-color-primary#3f51b5
Description
The border color of the focused Input components.
$kendo-input-focus-shadowNullnullnull
Description
The shadow of the focused Input components.
$kendo-input-selected-bgNullnullnull
Description
The background color of the selected Input components.
$kendo-input-selected-textNullnullnull
Description
The text color of the selected Input components.
$kendo-input-disabled-bgColorif($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface ) 3%, transparent), k-try-shade( $kendo-component-bg, .25 ))#fafafa
Description
The background color of the disabled Input components.
$kendo-input-disabled-textColorif($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface ) 27%, transparent), $kendo-disabled-text)rgba(0, 0, 0, 0.38)
Description
The text color of the disabled Input components.
$kendo-input-disabled-borderColorif($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface ) 3%, transparent), rgba( $kendo-component-border, k-math-div( k-color-alpha( $kendo-component-border ), 2 ) ))rgba(0, 0, 0, 0.06)
Description
The border color of the disabled Input components.
$kendo-input-disabled-gradientNullnullnull
Description
The gradient of the disabled Input components.
$kendo-input-disabled-shadowNullnullnull
Description
The shadow of the disabled Input components.
$kendo-input-outline-bgNullnullnull
Description
The background color of the outline Input components.
$kendo-input-outline-textColor$kendo-input-textrgba(0, 0, 0, 0.87)
Description
The text color of the outline Input components.
$kendo-input-outline-borderColor$kendo-input-borderrgba(0, 0, 0, 0.38)
Description
The border color of the outline Input components.
$kendo-input-outline-hover-bgNullnullnull
Description
The background color of the outline hovered Input components.
$kendo-input-outline-hover-textNullnullnull
Description
The text color of the outline hovered Input components.
$kendo-input-outline-hover-borderColor$kendo-input-hover-borderrgba(0, 0, 0, 0.87)
Description
The border color of the outline hovered Input components.
$kendo-input-outline-focus-bgNullnullnull
Description
The background color of the outline focused Input components.
$kendo-input-outline-focus-textNullnullnull
Description
The text color of the outline focused Input components.
$kendo-input-outline-focus-borderColor$kendo-input-focus-border#3f51b5
Description
The border color of the outline focused Input components.
$kendo-input-outline-focus-shadowNull$kendo-input-focus-shadownull
Description
The shadow of the outline focused Input components.
$kendo-input-flat-bgNullnullnull
Description
The background color of the flat Input components.
$kendo-input-flat-textColor$kendo-input-textrgba(0, 0, 0, 0.87)
Description
The text color of the flat Input components.
$kendo-input-flat-borderColor$kendo-input-borderrgba(0, 0, 0, 0.38)
Description
The border color of the flat Input components.
$kendo-input-flat-hover-bgNullnullnull
Description
The background color of the flat hovered Input components.
$kendo-input-flat-hover-textNullnullnull
Description
The text color of the flat hovered Input components.
$kendo-input-flat-hover-borderColor$kendo-input-hover-borderrgba(0, 0, 0, 0.87)
Description
The border color of the flat hovered Input components.
$kendo-input-flat-focus-bgNullnullnull
Description
The background color of the flat focused Input components.
$kendo-input-flat-focus-textNullnullnull
Description
The text color of the flat focused Input components.
$kendo-input-flat-focus-borderColor$kendo-input-focus-border#3f51b5
Description
The border color of the flat focused Input components.
$kendo-input-flat-focus-shadowNull$kendo-input-focus-shadownull
Description
The shadow of the flat focused Input components.
$kendo-input-placeholder-textColor$kendo-subtle-textrgba(0, 0, 0, 0.54)
Description
The text color of the Input placeholder.
$kendo-input-placeholder-opacityNumber11
Description
The opacity of the Input placeholder.
$kendo-input-clear-value-textNullnullnull
Description
The color of the Input clear value icon.
$kendo-input-clear-value-opacityNumber.50.5
Description
The opacity of the Input clear value icon.
$kendo-input-clear-value-hover-textNullnullnull
Description
The color of the hovered Input clear value icon.
$kendo-input-clear-value-hover-opacityNumber11
Description
The opacity of the hovered Input clear value icon.
$kendo-input-values-margin-yNumberk-map-get( $kendo-spacing, 0.5 )2px
Description
The vertical margin of the clear value icon.
$kendo-input-values-margin-xNumber$kendo-input-values-margin-y2px
Description
The horizontal margin of the clear value icon.
$kendo-input-button-widthNullnullnull
Description
The width of the Input button.
$kendo-input-button-border-widthNumber1px1px
Description
The border width of the Input button.
$kendo-input-spinner-widthNullnullnull
Description
The width of the Input spinner button.
$kendo-input-spinner-icon-offsetNullnullnull
Description
The icon offset of the Input spinner button.
$kendo-input-separator-textColorrgba( $kendo-component-border, .12 )rgba(0, 0, 0, 0.12)
Description
The color of the Input separator.
$kendo-input-separator-opacityNumber.50.5
Description
The opacity of the Input separator.
$kendo-input-prefix-textColor$kendo-subtle-textrgba(0, 0, 0, 0.54)
Description
The text color of the Input prefix.
$kendo-input-suffix-textColor$kendo-subtle-textrgba(0, 0, 0, 0.54)
Description
The text color of the Input suffix.
$kendo-input-invalid-borderColor$kendo-invalid-border#f31700
Description
The border color of the invalid Input components.
$kendo-input-invalid-shadowNull$kendo-invalid-shadownull
Description
The shadow of the invalid Input components.

In this article

Not finding the help you need?