Customizing Form
Variables
The following table lists the available variables for customization.
Name | Type | Default value | Computed value |
---|---|---|---|
$kendo-form-spacer | Number | $kendo-padding-md-x * 2 | 16px |
Description
The padding of the inline Form. | |||
$kendo-form-font-size | Number | $kendo-font-size-md | 14px |
Description
The font size of the Form. | |||
$kendo-form-line-height | Number | $kendo-line-height-md | 1.4285714286 |
Description
The line height of the Form. | |||
$kendo-form-line-height-em | Calculation | calc( #{$kendo-form-line-height} * 1em ) | calc( 1.4285714286 * 1em ) |
Description
The line height of the Form in em units. | |||
$kendo-form-sm-line-height | Number | $kendo-line-height-sm | 1.25 |
Description
The line height of the small Form. | |||
$kendo-form-lg-line-height | Number | $kendo-line-height-lg | 1.5 |
Description
The line height of the large Form. | |||
$kendo-form-fieldset-margin | List | 2em 0 0 | 2em 0 0 |
Description
The margin of the Form fieldset. | |||
$kendo-form-fieldset-padding | Number | 0px | 0px |
Description
The padding of the Form fieldset. | |||
$kendo-form-legend-margin | List | 0 0 1em | 0 0 1em |
Description
The margin of the Form legend. | |||
$kendo-form-legend-padding | Number | 0px | 0px |
Description
The padding of the Form legend. | |||
$kendo-form-legend-border-width | List | 0 0 2px | 0 0 2px |
Description
The border width of the Form legend. | |||
$kendo-form-legend-border-style | String | solid | solid |
Description
The border style of the Form legend. | |||
$kendo-form-legend-border-color | Color | $kendo-component-border | rgba(0, 0, 0, 0.08) |
Description
The border color of the Form legend. | |||
$kendo-form-legend-width | Number | 100% | 100% |
Description
The width of the Form legend. | |||
$kendo-form-legend-font-size | Number | 14px | 14px |
Description
The font size of the Form legend. | |||
$kendo-form-legend-text-transform | String | uppercase | uppercase |
Description
The text capitalization of the Form legend. | |||
$kendo-form-label-margin-bottom | Number | 0px | 0px |
Description
The bottom margin of the Form label. | |||
$kendo-form-button-margin-x | Number | 8px | 8px |
Description
The horizontal margin of the Form buttons. | |||
$kendo-form-hint-font-size | Number | 12px | 12px |
Description
The font size of the Form hint. | |||
$kendo-form-hint-font-style | String | italic | italic |
Description
The font style of the Form hint. | |||
$kendo-form-hint-margin-top | Number | 4px | 4px |
Description
The top margin of the Form hint. | |||
$kendo-form-sm-rows-spacing | Number | k-map-get( $kendo-spacing, 2.5 ) | 10px |
Description
The row spacing of the small Form. | |||
$kendo-form-md-rows-spacing | Number | k-map-get( $kendo-spacing, 3.5 ) | 14px |
Description
The row spacing of the medium Form. | |||
$kendo-form-lg-rows-spacing | Number | k-map-get( $kendo-spacing, 4.5 ) | 18px |
Description
The row spacing of the large Form. | |||
$kendo-form-separator-margin | List | $kendo-form-md-rows-spacing 0 0 | 14px 0 0 |
Description
The margin of the Form separator. | |||
$kendo-form-separator-border-color | Color | $kendo-form-legend-border-color | rgba(0, 0, 0, 0.08) |
Description
The border color of the Form separator. | |||
$kendo-horizontal-form-label-padding-top | Number | 5px | 5px |
Description
The top padding of the label in the horizontal Form. | |||
$kendo-horizontal-form-label-margin-x | Number | 10px | 10px |
Description
The horizontal margin of the label in the horizontal Form. | |||
$kendo-horizontal-form-label-width | Number | 25% | 25% |
Description
The width of the label in the horizontal Form. | |||
$kendo-horizontal-form-label-align | String | flex-end | flex-end |
Description
The horizontal alignment of the label in the horizontal Form. | |||
$kendo-horizontal-form-field-wrap-max-width | Calculation | calc( ( 100% - #{$kendo-horizontal-form-label-width} ) - #{$kendo-horizontal-form-label-margin-x} ) | calc( ( 100% - 25% ) - 10px ) |
Description
The maximum width of the field wrap in the horizontal Form. | |||
$kendo-inline-form-element-width | Number | 25% | 25% |
Description
The width of the inline Form element. | |||
$kendo-forms-invalid-color | Color | $kendo-color-error | #f31700 |
Description
The invalid text color of the Form. | |||
$kendo-label-optional-margin-x | Number | 6px | 6px |
Description
The horizontal margin of the optional label in the Form. | |||
$kendo-label-optional-font-size | Number | 12px | 12px |
Description
The font size of the optional label in the Form. | |||
$kendo-label-optional-font-style | String | italic | italic |
Description
The font style of the optional label in the Form. | |||
$kendo-fieldset-margin | Number | 30px | 30px |
Description
The margin of the Form fieldset. | |||
$kendo-fieldset-font-size | Number | $kendo-h4-font-size | 22px |
Description
The font size of the Form fieldset. | |||
$kendo-fieldset-bg | Null | null | null |
Description
The background color of the Form fieldset. | |||
$kendo-fieldset-text | Null | null | null |
Description
The text color of the Form fieldset. | |||
$kendo-fieldset-border | Null | null | null |
Description
The border color of the Form fieldset. | |||
$kendo-fieldset-legend-bg | Null | null | null |
Description
The background color of the Form legend. | |||
$kendo-fieldset-legend-text | Color | k-try-shade( $kendo-body-text, 2 ) | #373737 |
Description
The text color of the Form legend. | |||
$kendo-fieldset-legend-border | Null | null | null |
Description
The border color of the Form legend. | |||
$kendo-form-sizes | Map | (
sm: (
form-rows-spacing: $kendo-form-sm-rows-spacing
),
md: (
form-rows-spacing: $kendo-form-md-rows-spacing
),
lg: (
form-rows-spacing: $kendo-form-lg-rows-spacing
)
) | (sm: (form-rows-spacing: 10px), md: (form-rows-spacing: 14px), lg: (form-rows-spacing: 18px)) |
Description
The sizes map for the Form. |