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-padding-x | Null | null | null |
Description
The horizontal padding of the Toolbar. | |||
$kendo-toolbar-sm-padding-x | Number | k-map-get( $kendo-spacing, 1 ) | 4px |
Description
The horizontal padding of the small Toolbar. | |||
$kendo-toolbar-md-padding-x | Number | k-map-get( $kendo-spacing, 2 ) | 8px |
Description
The horizontal padding of the medium Toolbar. | |||
$kendo-toolbar-lg-padding-x | Number | k-map-get( $kendo-spacing, 2.5 ) | 10px |
Description
The horizontal padding of the large Toolbar. | |||
$kendo-toolbar-padding-y | Null | null | null |
Description
The vertical padding of the Toolbar. | |||
$kendo-toolbar-sm-padding-y | Number | k-map-get( $kendo-spacing, 1 ) | 4px |
Description
The vertical padding of the small Toolbar. | |||
$kendo-toolbar-md-padding-y | Number | k-map-get( $kendo-spacing, 2 ) | 8px |
Description
The vertical padding of the medium Toolbar. | |||
$kendo-toolbar-lg-padding-y | Number | k-map-get( $kendo-spacing, 2.5 ) | 10px |
Description
The vertical padding of the large Toolbar. | |||
$kendo-toolbar-spacing | Null | null | null |
Description
The spacing between the Toolbar tools. | |||
$kendo-toolbar-sm-spacing | Number | k-map-get( $kendo-spacing, 1.5 ) | 6px |
Description
The spacing between the tools of the small Toolbar. | |||
$kendo-toolbar-md-spacing | Number | k-map-get( $kendo-spacing, 2 ) | 8px |
Description
The spacing between the tools of the medium Toolbar. | |||
$kendo-toolbar-lg-spacing | Number | k-map-get( $kendo-spacing, 2.5 ) | 10px |
Description
The spacing between the tools of the large Toolbar. | |||
$kendo-toolbar-border-width | Number | 0 | 0 |
Description
The width of the border around the Toolbar. | |||
$kendo-toolbar-border-radius | Null | null | null |
Description
The border radius of the Toolbar. | |||
$kendo-toolbar-font-family | List | $kendo-font-family | Roboto, "Helvetica Neue", sans-serif |
Description
The font family of the Toolbar. | |||
$kendo-toolbar-font-size | Number | $kendo-font-size-md | 14px |
Description
The font size of the Toolbar. | |||
$kendo-toolbar-line-height | Number | k-math-div( 20, 14 ) | 1.4285714286 |
Description
The line height of the Toolbar. | |||
$kendo-toolbar-bg | Color | $kendo-component-bg | #ffffff |
Description
The background color of the Toolbar. | |||
$kendo-toolbar-text | Color | $kendo-component-text | rgba(0, 0, 0, 0.87) |
Description
The text color of the Toolbar. | |||
$kendo-toolbar-border | Null | null | null |
Description
The color of the border around the Toolbar. | |||
$kendo-toolbar-gradient | Null | null | null |
Description
The gradient of the Toolbar. | |||
$kendo-toolbar-shadow | List | $box-shadow-depth-2 | 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12) |
Description
The box shadow of the Toolbar. | |||
$kendo-toolbar-separator-border | Color | $kendo-component-border | rgba(0, 0, 0, 0.12) |
Description
The color of the separator border of the Toolbar. | |||
$kendo-toolbar-input-width | Number | 10em | 10em |
Description
The width of the input in the Toolbar. | |||
$kendo-toolbar-item-shadow | List | 0 2px 4px -1px rgba(0, 0, 0, .2), 0 4px 5px rgba(0, 0, 0, .14), 0 1px 10px rgba(0, 0, 0, .12) | 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px rgba(0, 0, 0, 0.14), 0 1px 10px rgba(0, 0, 0, 0.12) |
Description
The box shadow of the focused Toolbar item. | |||
$kendo-toolbar-sizes | Map | (
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
)
) | (sm: (padding-x: 4px, padding-y: 4px, spacing: 6px), md: (padding-x: 8px, padding-y: 8px, spacing: 8px), lg: (padding-x: 10px, padding-y: 10px, spacing: 10px)) |
Description
The sizes map for the Toolbar. |