New to Kendo UI for Angular? Start a free 30-day trial
Customizing Tooltip
Variables
The following table lists the available variables for customization.
Name | Type | Default value | Computed value |
---|---|---|---|
$kendo-tooltip-border-radius | $kendo-border-radius | ||
Description
The radius of the border around the tooltip | |||
$kendo-tooltip-padding-x | map.get( $kendo-spacing, 2 ) | ||
Description
The horizontal padding of the tooltip | |||
$kendo-tooltip-padding-y | map.get( $kendo-spacing, 2 ) | ||
Description
The vertical padding of the tooltip | |||
$kendo-tooltip-border-width | 0px | ||
Description
The width of the border around the tooltip | |||
$kendo-tooltip-font-family | var( --kendo-font-family, inherit ) | ||
Description
The font family of the tooltip | |||
$kendo-tooltip-font-size | var( --kendo-font-size-sm, inherit ) | ||
Description
The font size of the tooltip | |||
$kendo-tooltip-line-height | var( --kendo-line-height, normal ) | ||
Description
The line height of the tooltip | |||
$kendo-tooltip-title-font-size | calc( #{$kendo-tooltip-font-size} * 1.25 ) | ||
Description
The font size of the tooltip title | |||
$kendo-tooltip-title-line-height | var( --kendo-line-heigh-xs, normal ) | ||
Description
The line height of the tooltip title | |||
$kendo-tooltip-title-margin | map.get( $kendo-spacing, 1 ) | ||
Description
The margin of the tooltip title | |||
$kendo-tooltip-callout-size | map.get( $kendo-spacing, 2 ) | ||
Description
The size of the tooltip callout | |||
$kendo-tooltip-bg | $kendo-color-white | ||
Description
The background of the tooltip | |||
$kendo-tooltip-text | var( --kendo-component-text, initial ) | ||
Description
The text color of the tooltip | |||
$kendo-tooltip-border | transparent | ||
Description
The border color of the tooltip | |||
$kendo-tooltip-shadow | var( --kendo-box-shadow-depth-2, none ) | ||
Description
The box-shadow of the tooltip | |||
$kendo-tooltip-button-text | k-get-theme-color-var( neutral-130, initial ) | ||
Description
The text color of the tooltip button | |||
$kendo-tooltip-primary-bg | k-get-theme-color-var( primary-100 ) | ||
Description
The primary background color of the tooltip | |||
$kendo-tooltip-primary-text | $kendo-color-white | ||
Description
The primary text color of the tooltip | |||
$kendo-tooltip-primary-border | initial | ||
Description
The primary border color of the tooltip |