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-padding-y | Calculation | calc( #{$kendo-padding-md-y} * .75 ) | calc(var(--kendo-spacing-1, 0.25rem) * 0.75) |
Description
The vertical padding of the Tooltip. | |||
$kendo-tooltip-padding-x | Calculation | calc( #{$kendo-padding-md-x} / 2 ) | calc(var(--kendo-spacing-4, 1rem) / 2) |
Description
The horizontal padding of the Tooltip. | |||
$kendo-tooltip-border-width | Number | 0px | 0px |
Description
The width of the border around the Tooltip. | |||
$kendo-tooltip-border-radius | String | k-border-radius(md) | var(--kendo-border-radius-md, 0.25rem) |
Description
The border radius of the Tooltip. | |||
$kendo-tooltip-font-family | String | var( --kendo-font-family, inherit ) | var(--kendo-font-family, inherit) |
Description
The font family of the Tooltip. | |||
$kendo-tooltip-font-size | String | var( --kendo-font-size-sm, inherit ) | var(--kendo-font-size-sm, inherit) |
Description
The font size of the Tooltip. | |||
$kendo-tooltip-line-height | Number | k-math-div( 20, 14 ) | 1.4285714286 |
Description
The line height of the Tooltip. | |||
$kendo-tooltip-title-font-size | Calculation | calc( var( --kendo-font-size-sm, .75rem ) * 1.25 ) | calc(var(--kendo-font-size-sm, 0.75rem) * 1.25) |
Description
The font size of the Tooltip title. | |||
$kendo-tooltip-title-line-height | String | var( --kendo-line-height-xs, normal ) | var(--kendo-line-height-xs, normal) |
Description
The line height of the Tooltip title. | |||
$kendo-tooltip-callout-size | Number | 6px | 6px |
Description
The size of the Tooltip callout. | |||
$kendo-tooltip-bg | Color | material-color( gray, 700, .9 ) | rgba(97, 97, 97, 0.9) |
Description
The default background of the Tooltip. | |||
$kendo-tooltip-text | Color | get-base-contrast( gray, 700 ) | #ffffff |
Description
The default text color of the Tooltip. | |||
$kendo-tooltip-border | Color | $kendo-tooltip-bg | rgba(97, 97, 97, 0.9) |
Description
The default border color of the Tooltip. | |||
$kendo-tooltip-shadow | String | $box-shadow-depth-2 | var(--kendo-elevation-2, 0px 1px 5px 0px rgba(0, 0, 0, 0.2), 0px 3px 1px 0px rgba(0, 0, 0, 0.12), 0px 2px 2px 0px rgba(0, 0, 0, 0.14)) |
Description
The box-shadow of the Tooltip. | |||
$kendo-tooltip-theme-colors | Map | $kendo-theme-colors |
|
Description
The theme colors map for the Tooltip. | |||
$kendo-tooltip-theme | Map | tooltip-theme( $kendo-tooltip-theme-colors ) |
|
Description
The generated theme colors map for the Tooltip. |