New to Kendo UI for Angular? Start a free 30-day trial
Customizing Toolbar
Variables
The following table lists the available variables for customization.
Name | Type | Default value | Computed value |
---|---|---|---|
$kendo-toolbar-sm-padding-x | map.get( $kendo-spacing, 1 ) | ||
Description
The horizontal padding of the small Toolbar. | |||
$kendo-toolbar-md-padding-x | map.get( $kendo-spacing, 2 ) | ||
Description
The horizontal padding of the medium Toolbar. | |||
$kendo-toolbar-lg-padding-x | map.get( $kendo-spacing, 2.5 ) | ||
Description
The horizontal padding of the large Toolbar. | |||
$kendo-toolbar-sm-padding-y | map.get( $kendo-spacing, 1 ) | ||
Description
The vertical padding of the small Toolbar. | |||
$kendo-toolbar-md-padding-y | map.get( $kendo-spacing, 2 ) | ||
Description
The vertical padding of the medium Toolbar. | |||
$kendo-toolbar-lg-padding-y | map.get( $kendo-spacing, 2.5 ) | ||
Description
The vertical padding of the large Toolbar. | |||
$kendo-toolbar-sm-spacing | map.get( $kendo-spacing, 2 ) | ||
Description
The spacing between the tools of the small Toolbar. | |||
$kendo-toolbar-md-spacing | map.get( $kendo-spacing, 2 ) | ||
Description
The spacing between the tools of the medium Toolbar. | |||
$kendo-toolbar-lg-spacing | map.get( $kendo-spacing, 2 ) | ||
Description
The spacing between the tools of the large Toolbar. | |||
$kendo-toolbar-border-width | 1px | ||
Description
The width of the border around the Toolbar. | |||
$kendo-toolbar-font-family | var( --kendo-font-family, inherit ) | ||
Description
The font family of the Toolbar. | |||
$kendo-toolbar-font-size | var( --kendo-font-size, inherit ) | ||
Description
The font size of the Toolbar. | |||
$kendo-toolbar-line-height | var( --kendo-line-height, normal ) | ||
Description
The line height of the Toolbar. | |||
$kendo-toolbar-bg | k-get-theme-color-var( neutral-10 ) | ||
Description
The background color of the Toolbar. | |||
$kendo-toolbar-text | var( --kendo-component-text, inherit ) | ||
Description
The text color of the Toolbar. | |||
$kendo-toolbar-border | var( --kendo-component-border, initial ) | ||
Description
The color of the border around the Toolbar. | |||
$kendo-toolbar-separator-border | k-get-theme-color-var( neutral-60 ) | ||
Description
The color of the separator border of the Toolbar. | |||
$kendo-toolbar-input-width | 10em | ||
Description
The width of the input in the Toolbar. | |||
$kendo-toolbar-item-focus-outline-width | 1px | ||
Description
The border width of the focused Toolbar item. | |||
$kendo-toolbar-item-focus-outline-style | solid | ||
Description
The border style of the focused Toolbar item. | |||
$kendo-toolbar-item-focus-outline-color | k-get-theme-color-var( neutral-130 ) | ||
Description
The border color of the focused Toolbar item. | |||
$kendo-toolbar-flat-border-width | 1px | ||
Description
Border width of the flat Toolbar. | |||
$kendo-toolbar-sizes | (
sm: (
padding-x: $kendo-toolbar-sm-padding-x,
padding-y: $kendo-toolbar-sm-padding-y,
spacing: $kendo-toolbar-sm-spacing
),
md: (
padding-x: $kendo-toolbar-md-padding-x,
padding-y: $kendo-toolbar-md-padding-y,
spacing: $kendo-toolbar-md-spacing
),
lg: (
padding-x: $kendo-toolbar-lg-padding-x,
padding-y: $kendo-toolbar-lg-padding-y,
spacing: $kendo-toolbar-lg-spacing
)
) | ||
Description
The sizes map for the Toolbar. |