Sass Variables
To configure and customize the Telerik and Kendo UI Menu, use not only its dedicated Sass variables but also the Sass variables provided by the Button component.
Variable | Default Value | Computed Value | Value |
---|---|---|---|
kendo-menu-border-width | 0px | 0px | Default: 0px Computed: 0px |
Description: The width of the border around the Menu. | |||
kendo-menu-font-family | var( --kendo-font-family, inherit ) | var(--kendo-font-family, inherit) | Default: var( --kendo-font-family, inherit ) Computed: var(--kendo-font-family, inherit) |
Description: The font family of the Menu. | |||
kendo-menu-font-size | var( --kendo-font-size, inherit ) | var(--kendo-font-size, inherit) | Default: var( --kendo-font-size, inherit ) Computed: var(--kendo-font-size, inherit) |
Description: The font size of the Menu. | |||
kendo-menu-line-height | var( --kendo-line-height, normal ) | var(--kendo-line-height, normal) | Default: var( --kendo-line-height, normal ) Computed: var(--kendo-line-height, normal) |
Description: The line height of the Menu used along with $kendo-font-size. | |||
kendo-menu-bg | transparent | transparent | Default: transparent Computed: transparent |
Description: The background color of the Menu. | |||
kendo-menu-text | $kendo-component-text | var(--kendo-color-on-app-surface, #3d3d3d) | Default: $kendo-component-text Computed: var(--kendo-color-on-app-surface, #3d3d3d) |
Description: The text color of the Menu. | |||
kendo-menu-border | null | null | Default: null Computed: null |
Description: The border color of the Menu. | |||
kendo-menu-gradient | null | null | Default: null Computed: null |
Description: The background gradient of the Menu. | |||
kendo-menu-item-padding-x | k-spacing(3) | var(--kendo-spacing-3, 0.75rem) | Default: k-spacing(3) Computed: var(--kendo-spacing-3, 0.75rem) |
Description: The horizontal padding of the Menu item. | |||
kendo-menu-item-padding-y | k-spacing(1.5) | var(--kendo-spacing-1\.5, 0.375rem) | Default: k-spacing(1.5) Computed: var(--kendo-spacing-1\.5, 0.375rem) |
Description: The vertical padding of the Menu item. | |||
kendo-menu-item-spacing | k-spacing(0) | var(--kendo-spacing-0, 0px) | Default: k-spacing(0) Computed: var(--kendo-spacing-0, 0px) |
Description: The spacing between the Menu items. | |||
kendo-menu-item-icon-spacing | $kendo-icon-spacing | var(--kendo-spacing-1, 0.25rem) | Default: $kendo-icon-spacing Computed: var(--kendo-spacing-1, 0.25rem) |
Description: The spacing between the Menu item text and icons. | |||
kendo-menu-item-selected-font-weight | var( --kendo-font-weight-bold, normal ) | var(--kendo-font-weight-bold, normal) | Default: var( --kendo-font-weight-bold, normal ) Computed: var(--kendo-font-weight-bold, normal) |
Description: The font weight of the selected Menu item. | |||
kendo-menu-item-bg | null | null | Default: null Computed: null |
Description: The background color of the Menu item. | |||
kendo-menu-item-text | $kendo-subtle-text | var(--kendo-color-subtle, #666666) | Default: $kendo-subtle-text Computed: var(--kendo-color-subtle, #666666) |
Description: The text color of the Menu item. | |||
kendo-menu-item-border | null | null | Default: null Computed: null |
Description: The border color of the Menu item. | |||
kendo-menu-item-gradient | null | null | Default: null Computed: null |
Description: The background gradient of the Menu item. | |||
kendo-menu-item-hover-bg | null | null | Default: null Computed: null |
Description: The background color of hovered Menu item. | |||
kendo-menu-item-hover-text | $kendo-component-text | var(--kendo-color-on-app-surface, #3d3d3d) | Default: $kendo-component-text Computed: var(--kendo-color-on-app-surface, #3d3d3d) |
Description: The text color of hovered Menu item. | |||
kendo-menu-item-hover-border | null | null | Default: null Computed: null |
Description: The border color of hovered Menu item. | |||
kendo-menu-item-hover-gradient | null | null | Default: null Computed: null |
Description: The background gradient of hovered Menu item. | |||
kendo-menu-item-active-bg | null | null | Default: null Computed: null |
Description: The background color of active Menu item. | |||
kendo-menu-item-active-text | $kendo-link-text | var(--kendo-color-primary, #ff6358) | Default: $kendo-link-text Computed: var(--kendo-color-primary, #ff6358) |
Description: The text color of active Menu item. | |||
kendo-menu-item-active-border | null | null | Default: null Computed: null |
Description: The border color of active Menu item. | |||
kendo-menu-item-active-gradient | null | null | Default: null Computed: null |
Description: The background gradient of active Menu item. | |||
kendo-menu-item-focus-shadow | $kendo-list-item-focus-shadow | (inset 0 0 0 2px rgba(0, 0, 0, 0.12)) | Default: $kendo-list-item-focus-shadow Computed: (inset 0 0 0 2px rgba(0, 0, 0, 0.12)) |
Description: The base shadow of focused Menu item. | |||
kendo-menu-item-selected-bg | null | null | Default: null Computed: null |
Description: The background color of selected Menu item. | |||
kendo-menu-item-selected-text | $kendo-link-text | var(--kendo-color-primary, #ff6358) | Default: $kendo-link-text Computed: var(--kendo-color-primary, #ff6358) |
Description: The text color of selected Menu item. | |||
kendo-menu-item-selected-border | null | null | Default: null Computed: null |
Description: The border color of selected Menu item. | |||
kendo-menu-item-selected-gradient | null | null | Default: null Computed: null |
Description: The background gradient of selected Menu item. | |||
kendo-menu-scroll-button-bg | null | null | Default: null Computed: null |
Description: The background color of the Menu scroll buttons. | |||
kendo-menu-scroll-button-text | $kendo-subtle-text | var(--kendo-color-subtle, #666666) | Default: $kendo-subtle-text Computed: var(--kendo-color-subtle, #666666) |
Description: The text color of the Menu scroll buttons. | |||
kendo-menu-scroll-button-border | null | null | Default: null Computed: null |
Description: The border color of the Menu scroll buttons. | |||
kendo-menu-scroll-button-gradient | null | null | Default: null Computed: null |
Description: The background gradient of the Menu scroll buttons. | |||
kendo-menu-scroll-button-hover-bg | null | null | Default: null Computed: null |
Description: The background color of hovered Menu scroll buttons. | |||
kendo-menu-scroll-button-hover-text | $kendo-component-text | var(--kendo-color-on-app-surface, #3d3d3d) | Default: $kendo-component-text Computed: var(--kendo-color-on-app-surface, #3d3d3d) |
Description: The text color of hovered Menu scroll buttons. | |||
kendo-menu-scroll-button-hover-border | null | null | Default: null Computed: null |
Description: The border color of hovered Menu scroll buttons. | |||
kendo-menu-scroll-button-hover-gradient | null | null | Default: null Computed: null |
Description: The background gradient of hovered Menu scroll buttons. | |||
kendo-menu-separator-margin-inline | k-spacing(1) | var(--kendo-spacing-1, 0.25rem) | Default: k-spacing(1) Computed: var(--kendo-spacing-1, 0.25rem) |
Description: The inline margin of the horizontal Menu separator. | |||
kendo-menu-separator-margin-block | k-spacing(1.5) | var(--kendo-spacing-1\.5, 0.375rem) | Default: k-spacing(1.5) Computed: var(--kendo-spacing-1\.5, 0.375rem) |
Description: The block margin of the horizontal Menu separator. | |||
kendo-menu-separator-border | if($kendo-enable-color-system, k-color(border), $kendo-component-border) | var(--kendo-color-border, rgba(0, 0, 0, 0.08)) | Default: if($kendo-enable-color-system, k-color(border), $kendo-component-border) Computed: var(--kendo-color-border, rgba(0, 0, 0, 0.08)) |
Description: The border color of the Menu separator. | |||
kendo-menu-popup-padding-x | null | null | Default: null Computed: null |
Description: The horizontal padding of the Menu popup. | |||
kendo-menu-popup-padding-y | null | null | Default: null Computed: null |
Description: The vertical padding of the Menu popup. | |||
kendo-menu-popup-border-width | $kendo-popup-border-width | 1px | Default: $kendo-popup-border-width Computed: 1px |
Description: The width of the border around the Menu popup. | |||
kendo-menu-popup-font-size | var( --kendo-font-size, inherit ) | var(--kendo-font-size, inherit) | Default: var( --kendo-font-size, inherit ) Computed: var(--kendo-font-size, inherit) |
Description: The font sizes of the Menu popup. | |||
kendo-menu-popup-line-height | var( --kendo-line-height, normal ) | var(--kendo-line-height, normal) | Default: var( --kendo-line-height, normal ) Computed: var(--kendo-line-height, normal) |
Description: The line heights used along with $kendo-font-size. | |||
kendo-menu-popup-bg | $kendo-popup-bg | var(--kendo-color-surface-alt, #ffffff) | Default: $kendo-popup-bg Computed: var(--kendo-color-surface-alt, #ffffff) |
Description: The background color of the Menu popup. | |||
kendo-menu-popup-text | $kendo-popup-text | var(--kendo-color-on-app-surface, #3d3d3d) | Default: $kendo-popup-text Computed: var(--kendo-color-on-app-surface, #3d3d3d) |
Description: The text color of the Menu popup. | |||
kendo-menu-popup-border | $kendo-popup-border | var(--kendo-color-border, rgba(0, 0, 0, 0.08)) | Default: $kendo-popup-border Computed: var(--kendo-color-border, rgba(0, 0, 0, 0.08)) |
Description: The border color of the Menu popup. | |||
kendo-menu-popup-gradient | null | null | Default: null Computed: null |
Description: The background gradient of the Menu popup. | |||
kendo-menu-popup-item-padding-x | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) | Default: k-spacing(2) Computed: var(--kendo-spacing-2, 0.5rem) |
Description: The horizontal padding of the Menu item in popup. | |||
kendo-menu-popup-item-padding-y | k-spacing(1) | var(--kendo-spacing-1, 0.25rem) | Default: k-spacing(1) Computed: var(--kendo-spacing-1, 0.25rem) |
Description: The vertical padding of the Menu item in popup. | |||
kendo-menu-popup-item-padding-end | calc( #{$kendo-menu-popup-item-padding-x} * 2 + #{$kendo-icon-size} ) | calc(var(--kendo-spacing-2, 0.5rem) * 2 + 16px) | Default: calc( #{$kendo-menu-popup-item-padding-x} * 2 + #{$kendo-icon-size} ) Computed: 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 | $kendo-menu-popup-sm-item-padding-x | var(--kendo-spacing-2, 0.5rem) | Default: $kendo-menu-popup-sm-item-padding-x Computed: var(--kendo-spacing-2, 0.5rem) |
Description: The start margin of the Menu item expand icon. | |||
kendo-menu-popup-sm-item-icon-margin-end | calc( -1 * (#{$kendo-menu-popup-sm-item-padding-end} - #{list.slash( $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)) | Default: calc( -1 * (#{$kendo-menu-popup-sm-item-padding-end} - #{list.slash( $kendo-menu-popup-sm-item-padding-x, 2 )}) ) Computed: 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 | k-spacing(0) | var(--kendo-spacing-0, 0px) | Default: k-spacing(0) Computed: var(--kendo-spacing-0, 0px) |
Description: The spacing between the Menu items in popup. | |||
kendo-menu-popup-item-bg | null | null | Default: null Computed: null |
Description: The background color of the Menu item in popup. | |||
kendo-menu-popup-item-text | null | null | Default: null Computed: null |
Description: The text color of the Menu item in popup. | |||
kendo-menu-popup-item-border | null | null | Default: null Computed: null |
Description: The border color of the Menu item in popup. | |||
kendo-menu-popup-item-gradient | null | null | Default: null Computed: null |
Description: The background gradient of the Menu item in popup. | |||
kendo-menu-popup-item-hover-bg | $kendo-list-item-hover-bg | var(--kendo-color-base-hover, #ebebeb) | Default: $kendo-list-item-hover-bg Computed: var(--kendo-color-base-hover, #ebebeb) |
Description: The background color of hovered Menu item in popup. | |||
kendo-menu-popup-item-hover-text | $kendo-list-item-hover-text | var(--kendo-color-on-app-surface, #3d3d3d) | Default: $kendo-list-item-hover-text Computed: 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 | Default: null Computed: null |
Description: The border color of hovered Menu item in popup. | |||
kendo-menu-popup-item-hover-gradient | null | null | Default: null Computed: null |
Description: The background gradient of hovered Menu item in popup. | |||
kendo-menu-popup-item-active-bg | $kendo-list-item-selected-bg | var(--kendo-color-primary, #ff6358) | Default: $kendo-list-item-selected-bg Computed: var(--kendo-color-primary, #ff6358) |
Description: The background color of active Menu item in popup. | |||
kendo-menu-popup-item-active-text | $kendo-list-item-selected-text | var(--kendo-color-on-primary, #ffffff) | Default: $kendo-list-item-selected-text Computed: var(--kendo-color-on-primary, #ffffff) |
Description: The text color of active Menu item in popup. | |||
kendo-menu-popup-item-active-border | null | null | Default: null Computed: null |
Description: The border color of active Menu item in popup. | |||
kendo-menu-popup-item-active-gradient | null | null | Default: null Computed: null |
Description: The background gradient of active Menu item in popup. | |||
kendo-menu-popup-item-focus-shadow | $kendo-menu-item-focus-shadow | (inset 0 0 0 2px rgba(0, 0, 0, 0.12)) | Default: $kendo-menu-item-focus-shadow Computed: (inset 0 0 0 2px rgba(0, 0, 0, 0.12)) |
Description: The base shadow of focused Menu item in popup. |