New to Kendo UI for Angular? Start a free 30-day trial
Customizing Menu
Variables
The following table lists the available variables for customization.
Name | Type | Default value | Computed value |
---|---|---|---|
$kendo-menu-popup-padding-x | Null | null | null |
Description
Horizontal padding of the menu popup. | |||
$kendo-menu-popup-padding-y | Null | null | null |
Description
Vertical padding of the menu popup. | |||
$kendo-menu-popup-border-width | Number | $kendo-popup-border-width | 1px |
Description
Width of the border around the menu popup. | |||
$kendo-menu-popup-font-size | String | var( --kendo-font-size, inherit ) | var(--kendo-font-size, inherit) |
Description
Font sizes of the menu popup. | |||
$kendo-menu-popup-line-height | String | var( --kendo-line-height, normal ) | var(--kendo-line-height, normal) |
Description
Line heights used along with $kendo-font-size. | |||
$kendo-menu-popup-bg | String | $kendo-popup-bg | var(--kendo-color-surface-alt, #ffffff) |
Description
The background of the menu popup. | |||
$kendo-menu-popup-text | String | $kendo-popup-text | var(--kendo-color-on-app-surface, #3d3d3d) |
Description
The text color of the menu popup. | |||
$kendo-menu-popup-border | String | $kendo-popup-border | var(--kendo-color-border, rgba(0, 0, 0, 0.08)) |
Description
The border color of the menu popup. | |||
$kendo-menu-popup-gradient | Null | null | null |
Description
The background gradient of the menu popup. | |||
$kendo-menu-popup-item-padding-x | String | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) |
Description
Horizontal padding of the menu item in popup. | |||
$kendo-menu-popup-item-padding-y | String | k-spacing(1) | var(--kendo-spacing-1, 0.25rem) |
Description
Vertical padding of the menu item in popup. | |||
$kendo-menu-popup-item-padding-end | Calculation | calc( #{$kendo-menu-popup-item-padding-x} * 2 + #{$kendo-icon-size} ) | calc(var(--kendo-spacing-2, 0.5rem) * 2 + 16px) |
Description
The end padding of the menu item in popup. | |||
$kendo-menu-popup-sm-item-icon-margin-start | String | $kendo-menu-popup-sm-item-padding-x | var(--kendo-spacing-2, 0.5rem) |
Description
The start margin of the menu item expand icon. | |||
$kendo-menu-popup-sm-item-icon-margin-end | Calculation | calc( -1 * (#{$kendo-menu-popup-sm-item-padding-end} - #{k-math-div( $kendo-menu-popup-sm-item-padding-x, 2 )}) ) | calc(-1 * (calc(var(--kendo-spacing-2, 0.5rem) * 2 + 16px) - var(--kendo-spacing-2, 0.5rem)/2)) |
Description
The end margin of the menu item expand icon. | |||
$kendo-menu-popup-item-spacing | String | k-spacing(0) | var(--kendo-spacing-0, 0px) |
Description
The spacing between the menu items in popup. | |||
$kendo-menu-popup-item-bg | Null | null | null |
Description
The background of the menu item in popup. | |||
$kendo-menu-popup-item-text | Null | null | null |
Description
The text color of the menu item in popup. | |||
$kendo-menu-popup-item-border | Null | null | null |
Description
The border color of the menu item in popup. | |||
$kendo-menu-popup-item-gradient | Null | null | null |
Description
The background gradient of the menu item in popup. | |||
$kendo-menu-popup-item-hover-bg | String | $kendo-list-item-hover-bg | var(--kendo-color-base-hover, #ebebeb) |
Description
The background of hovered menu item in popup. | |||
$kendo-menu-popup-item-hover-text | String | $kendo-list-item-hover-text | var(--kendo-color-on-app-surface, #3d3d3d) |
Description
The text color of hovered menu item in popup. | |||
$kendo-menu-popup-item-hover-border | Null | null | null |
Description
The border color of hovered menu item in popup. | |||
$kendo-menu-popup-item-hover-gradient | Null | null | null |
Description
The background gradient of hovered menu item in popup. | |||
$kendo-menu-popup-item-expanded-bg | String | $kendo-list-item-selected-bg | var(--kendo-color-primary, #ff6358) |
Description
The background of expanded menu item in popup. | |||
$kendo-menu-popup-item-expanded-text | String | $kendo-list-item-selected-text | var(--kendo-color-on-primary, #ffffff) |
Description
The text color of expanded menu item in popup. | |||
$kendo-menu-popup-item-expanded-border | Null | null | null |
Description
The border color of expanded menu item in popup. | |||
$kendo-menu-popup-item-expanded-gradient | Null | null | null |
Description
The background gradient of expanded menu item in popup. | |||
$kendo-menu-popup-item-focus-shadow | List | $kendo-menu-item-focus-shadow | inset 0 0 0 2px rgba(0, 0, 0, 0.12) |
Description
The base shadow of focused menu item in popup. |