New to Kendo UI for Angular? Start a free 30-day trial
Customizing Expander
Variables
The following table lists the available variables for customization.
Name | Type | Default value | Computed value |
---|---|---|---|
$kendo-expander-spacing-y | String | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) |
Description
The vertical spacing of the ExpansionPanel. | |||
$kendo-expander-border-width | Number | 1px | 1px |
Description
The width of the border around the ExpansionPanel. | |||
$kendo-expander-font-family | String | var( --kendo-font-family, inherit ) | var(--kendo-font-family, inherit) |
Description
The font family of the ExpansionPanel. | |||
$kendo-expander-font-size | String | var( --kendo-font-size, inherit ) | var(--kendo-font-size, inherit) |
Description
The font size of the ExpansionPanel. | |||
$kendo-expander-line-height | String | var( --kendo-line-height, normal ) | var(--kendo-line-height, normal) |
Description
The hine height of the ExpansionPanel. | |||
$kendo-expander-text | String | $kendo-component-text | var(--kendo-color-on-app-surface, #3d3d3d) |
Description
The text color of the ExpansionPanel. | |||
$kendo-expander-bg | String | $kendo-component-bg | var(--kendo-color-surface-alt, #ffffff) |
Description
The background color of the ExpansionPanel. | |||
$kendo-expander-border | String | $kendo-component-border | var(--kendo-color-border, rgba(0, 0, 0, 0.08)) |
Description
The border color of the ExpansionPanel. | |||
$kendo-expander-focus-shadow | List | $kendo-list-item-focus-shadow | inset 0 0 0 2px rgba(0, 0, 0, 0.12) |
Description
The box shadow of the focused ExpansionPanel. | |||
$kendo-expander-header-padding-x | String | k-spacing(4) | var(--kendo-spacing-4, 1rem) |
Description
The horizontal padding of the ExpansionPanel header. | |||
$kendo-expander-header-padding-y | String | k-spacing(3) | var(--kendo-spacing-3, 0.75rem) |
Description
The vertical padding of the ExpansionPanel header. | |||
$kendo-expander-header-text | String | $kendo-expander-text | var(--kendo-color-on-app-surface, #3d3d3d) |
Description
The text color of the ExpansionPanel header. | |||
$kendo-expander-header-bg | Color | transparent | transparent |
Description
The background color of the ExpansionPanel header. | |||
$kendo-expander-header-border | Null | null | null |
Description
The border color of the ExpansionPanel header. | |||
$kendo-expander-header-hover-bg | Color | rgba(0, 0, 0, .04) | rgba(0, 0, 0, 0.04) |
Description
The background color of the hovered ExpansionPanel header. | |||
$kendo-expander-header-focus-bg | Null | null | null |
Description
The background color of the focused ExpansionPanel header. | |||
$kendo-expander-header-focus-shadow | List | $kendo-list-item-focus-shadow | inset 0 0 0 2px rgba(0, 0, 0, 0.12) |
Description
The box shadow of the focused ExpansionPanel header. | |||
$kendo-expander-title-text | String | $kendo-color-primary | var(--kendo-color-primary, #ff6358) |
Description
The text color of the ExpansionPanel title. | |||
$kendo-expander-header-sub-title-text | String | $kendo-subtle-text | var(--kendo-color-subtle, #666666) |
Description
The text color of the ExpansionPanel sub-title. | |||
$kendo-expander-indicator-margin-x | String | k-spacing(3) | var(--kendo-spacing-3, 0.75rem) |
Description
The horizontal margin of the ExpansionPanel indicator. | |||
$kendo-expander-content-padding-x | String | k-spacing(4) | var(--kendo-spacing-4, 1rem) |
Description
The horizontal padding of the ExpansionPanel content. | |||
$kendo-expander-content-padding-y | String | k-spacing(4) | var(--kendo-spacing-4, 1rem) |
Description
The vertical padding of the ExpansionPanel content. |