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, 2 )8px
Description
The horizontal padding of the Input components.
$kendo-input-sm-padding-xNumberk-map-get( $kendo-spacing, 2 )8px
Description
The horizontal padding of the small Input components.
$kendo-input-md-padding-xNumber$kendo-input-padding-x8px
Description
The horizontal padding of the medium Input components.
$kendo-input-lg-padding-xNumberk-map-get( $kendo-spacing, 2 )8px
Description
The horizontal padding of the large Input components.
$kendo-input-padding-yNumberk-map-get( $kendo-spacing, 1 )4px
Description
The vertical padding of the Input components.
$kendo-input-sm-padding-yNumberk-map-get( $kendo-spacing, 0.5 )2px
Description
The vertical padding of the small Input components.
$kendo-input-md-padding-yNumber$kendo-input-padding-y4px
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-familyString$kendo-font-familyinherit
Description
The font family of the Input components.
$kendo-input-font-sizeNumber$kendo-font-size-md14px
Description
The font size of the Input components.
$kendo-input-sm-font-sizeNumber$kendo-font-size-md14px
Description
The font size of the small Input components.
$kendo-input-md-font-sizeNumber$kendo-input-font-size14px
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-heightNumber$kendo-line-height-md1.4285714286
Description
The line height of the Input components.
$kendo-input-sm-line-heightNumber$kendo-line-height-md1.4285714286
Description
The line height of the small Input components.
$kendo-input-md-line-heightNumber$kendo-input-line-height1.4285714286
Description
The line height of the medium Input components.
$kendo-input-lg-line-heightNumber$kendo-line-height-lg1.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: $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 ) )(sm: (padding-x: 8px, padding-y: 2px, font-size: 14px, line-height: 1.4285714286, button-padding-x: 2px, button-padding-y: 2px), md: (padding-x: 8px, padding-y: 4px, font-size: 14px, line-height: 1.4285714286, button-padding-x: 4px, button-padding-y: 4px), lg: (padding-x: 8px, padding-y: 8px, font-size: 16px, line-height: 1.5, button-padding-x: 8px, button-padding-y: 8px))
Description
The sizes map for the Input components.
$kendo-input-bgColor$kendo-component-bg#ffffff
Description
The background color of the Input components.
$kendo-input-textColor$kendo-component-text#424242
Description
The text color of the Input components.
$kendo-input-borderColor$kendo-component-borderrgba(0, 0, 0, 0.08)
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-borderColorif($kendo-enable-color-system, k-color( border-alt ), rgba( $kendo-input-border, .16 ))rgba(0, 0, 0, 0.16)
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-input-hover-borderrgba(0, 0, 0, 0.16)
Description
The border color of the focused Input components.
$kendo-input-focus-shadowList0 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 rgba(0, 0, 0, 0.08)
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-bgNullnullnull
Description
The background color of the disabled Input components.
$kendo-input-disabled-textNullnullnull
Description
The text color of the disabled Input components.
$kendo-input-disabled-borderNullnullnull
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-text#424242
Description
The text color of the outline Input components.
$kendo-input-outline-borderColorif($kendo-enable-color-system, color-mix(in srgb, k-color( on-base ) 50%, transparent), rgba( $kendo-button-text, .5))rgba(66, 66, 66, 0.5)
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-borderColorif($kendo-enable-color-system, color-mix(in srgb, k-color( on-base ) 80%, transparent), rgba( $kendo-button-text, .8))rgba(66, 66, 66, 0.8)
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-borderNullnullnull
Description
The border color of the outline focused Input components.
$kendo-input-outline-focus-shadowList$kendo-input-focus-shadow0 0 0 2px rgba(0, 0, 0, 0.08)
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-text#424242
Description
The text color of the flat Input components.
$kendo-input-flat-borderColor$kendo-input-borderrgba(0, 0, 0, 0.08)
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.16)
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-borderNullnullnull
Description
The border color of the flat focused Input components.
$kendo-input-flat-focus-shadowList$kendo-input-focus-shadow0 0 0 2px rgba(0, 0, 0, 0.08)
Description
The shadow of the flat focused Input components.
$kendo-input-placeholder-textColor$kendo-subtle-text#666666
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-widthCalculation$kendo-button-inner-calc-sizecalc(1.4285714286em + 8px)
Description
The width of the Input button.
$kendo-input-button-border-widthNumber1px1px
Description
The border width of the Input button.
$kendo-input-spinner-widthCalculation$kendo-button-inner-calc-sizecalc(1.4285714286em + 8px)
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-textColor$kendo-input-borderrgba(0, 0, 0, 0.08)
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-text#666666
Description
The text color of the Input prefix.
$kendo-input-suffix-textColor$kendo-subtle-text#666666
Description
The text color of the Input suffix.
$kendo-input-prefix-textColor$kendo-subtle-text#666666
Description
The text color of the Input prefix.
$kendo-input-suffix-textColor$kendo-subtle-text#666666
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?