Customizing BottomNavigation
Variables
The following table lists the available variables for customization.
Name | Type | Default value | Computed value |
---|---|---|---|
$kendo-bottom-nav-padding-x | String | k-spacing(1) | var(--kendo-spacing-1, 0.25rem) |
Description
The horizontal padding of the BottomNavigation. | |||
$kendo-bottom-nav-padding-y | String | $kendo-bottom-nav-padding-x | var(--kendo-spacing-1, 0.25rem) |
Description
The vertical padding of the BottomNavigation. | |||
$kendo-bottom-nav-gap | String | $kendo-bottom-nav-padding-x | var(--kendo-spacing-1, 0.25rem) |
Description
The spacing between the BottomNavigation items. | |||
$kendo-bottom-nav-border-width | List | 1px 0px 0px 0px | 1px 0px 0px 0px |
Description
The width of the border around the BottomNavigation. | |||
$kendo-bottom-nav-font-family | String | var( --kendo-font-family, inherit ) | var(--kendo-font-family, inherit) |
Description
The font family of the BottomNavigation. | |||
$kendo-bottom-nav-font-size | String | var( --kendo-font-size, inherit ) | var(--kendo-font-size, inherit) |
Description
The font size of the BottomNavigation. | |||
$kendo-bottom-nav-line-height | String | var( --kendo-line-height-xs, normal ) | var(--kendo-line-height-xs, normal) |
Description
The line height of the BottomNavigation. | |||
$kendo-bottom-nav-letter-spacing | Number | .2px | 0.2px |
Description
The letter spacing of the BottomNavigation. | |||
$kendo-bottom-nav-item-padding-x | String | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) |
Description
The horizontal padding of the BottomNavigation item. | |||
$kendo-bottom-nav-item-padding-y | String | k-spacing(0) | var(--kendo-spacing-0, 0px) |
Description
The vertical padding of the BottomNavigation item. | |||
$kendo-bottom-nav-item-min-width | Number | 72px | 72px |
Description
The minimum width of the BottomNavigation item. | |||
$kendo-bottom-nav-item-max-width | Null | null | null |
Description
The maximum width of the BottomNavigation item. | |||
$kendo-bottom-nav-item-min-height | Calculation | calc( #{$kendo-icon-size * 2.5} + calc( #{$kendo-padding-md-x} * 2 ) - calc( #{$kendo-bottom-nav-padding-x} * 2 ) ) | calc(40px + var(--kendo-spacing-2, 0.5rem) * 2 - var(--kendo-spacing-1, 0.25rem) * 2) |
Description
The minimum height of the BottomNavigation item. | |||
$kendo-bottom-nav-item-border-radius | String | k-border-radius(md) | var(--kendo-border-radius-md, 0.25rem) |
Description
The border radius of the BottomNavigation item. | |||
$kendo-bottom-nav-item-gap | List | 0 k-spacing(1) | 0 var(--kendo-spacing-1, 0.25rem) |
Description
The spacing of the BottomNavigation item. | |||
$kendo-bottom-nav-shadow | String | k-elevation(4) | var(--kendo-elevation-4, 0 8px 10px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.12)) |
Description
The box shadow of the BottomNavigation. | |||
$kendo-bottom-nav-flat-text | String | $kendo-component-text | var(--kendo-color-on-app-surface, #3d3d3d) |
Description
The text color of the flat BottomNavigation. | |||
$kendo-bottom-nav-flat-bg | String | $kendo-component-bg | var(--kendo-color-surface-alt, #ffffff) |
Description
The background color of the flat BottomNavigation. | |||
$kendo-bottom-nav-flat-border | String | $kendo-component-border | var(--kendo-color-border, rgba(0, 0, 0, 0.08)) |
Description
The border color of the flat BottomNavigation. |