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 | Number | k-map-get( $kendo-spacing, 2 ) | 8px |
Description
The horizontal padding of the Input components. | |||
$kendo-input-sm-padding-x | Number | k-map-get( $kendo-spacing, 2 ) | 8px |
Description
The horizontal padding of the small Input components. | |||
$kendo-input-md-padding-x | Number | $kendo-input-padding-x | 8px |
Description
The horizontal padding of the medium Input components. | |||
$kendo-input-lg-padding-x | Number | k-map-get( $kendo-spacing, 2 ) | 8px |
Description
The horizontal padding of the large Input components. | |||
$kendo-input-padding-y | Number | k-map-get( $kendo-spacing, 1 ) | 4px |
Description
The vertical padding of the Input components. | |||
$kendo-input-sm-padding-y | Number | k-map-get( $kendo-spacing, 0.5 ) | 2px |
Description
The vertical padding of the small Input components. | |||
$kendo-input-md-padding-y | Number | $kendo-input-padding-y | 4px |
Description
The vertical padding of the medium Input components. | |||
$kendo-input-lg-padding-y | Number | k-map-get( $kendo-spacing, 2 ) | 8px |
Description
The vertical padding of the large Input components. | |||
$kendo-input-font-family | String | $kendo-font-family | inherit |
Description
The font family of the Input components. | |||
$kendo-input-font-size | Number | $kendo-font-size-md | 14px |
Description
The font size of the Input components. | |||
$kendo-input-sm-font-size | Number | $kendo-font-size-md | 14px |
Description
The font size of the small Input components. | |||
$kendo-input-md-font-size | Number | $kendo-input-font-size | 14px |
Description
The font size of the medium Input components. | |||
$kendo-input-lg-font-size | Number | $kendo-font-size-lg | 16px |
Description
The font size of the large Input components. | |||
$kendo-input-line-height | Number | $kendo-line-height-md | 1.4285714286 |
Description
The line height of the Input components. | |||
$kendo-input-sm-line-height | Number | $kendo-line-height-md | 1.4285714286 |
Description
The line height of the small Input components. | |||
$kendo-input-md-line-height | Number | $kendo-input-line-height | 1.4285714286 |
Description
The line height of the medium Input components. | |||
$kendo-input-lg-line-height | Number | $kendo-line-height-lg | 1.5 |
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
)
) | (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-bg | Color | $kendo-component-bg | #ffffff |
Description
The background color of the Input components. | |||
$kendo-input-text | Color | $kendo-component-text | #424242 |
Description
The text color of the Input components. | |||
$kendo-input-border | Color | $kendo-component-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 | Color | rgba( $kendo-input-border, .16 ) | 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 | Color | $kendo-input-hover-border | rgba(0, 0, 0, 0.16) |
Description
The border color of the focused Input components. | |||
$kendo-input-focus-shadow | List | 0 0 0 2px 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-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 | Color | $kendo-input-text | #424242 |
Description
The text color of the outline Input components. | |||
$kendo-input-outline-border | Color | rgba( $kendo-button-text, .5) | rgba(66, 66, 66, 0.5) |
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 | Color | 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-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 rgba(0, 0, 0, 0.08) |
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 | Color | $kendo-input-text | #424242 |
Description
The text color of the flat Input components. | |||
$kendo-input-flat-border | Color | $kendo-input-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 | Color | $kendo-input-hover-border | 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 rgba(0, 0, 0, 0.08) |
Description
The shadow of the flat focused Input components. | |||
$kendo-input-placeholder-text | Color | $kendo-subtle-text | #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 | Number | k-map-get( $kendo-spacing, 0.5 ) | 2px |
Description
The vertical margin of the clear value icon. | |||
$kendo-input-values-margin-x | Number | $kendo-input-values-margin-y | 2px |
Description
The horizontal margin of the clear value icon. | |||
$kendo-input-button-width | Calculation | $kendo-button-inner-calc-size | calc( 1.4285714286em + 8px ) |
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( 1.4285714286em + 8px ) |
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-color | Color | $kendo-input-text | #424242 |
Description
The color of the Input separator. | |||
$kendo-input-separator-opacity | Number | .5 | 0.5 |
Description
The opacity of the Input separator. | |||
$kendo-input-invalid-border | Color | $kendo-invalid-border | #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. |