New to Kendo UI for Vue? 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 border radius of 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 | if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) | ||
Description
The default background of the Tooltip. | |||
$kendo-tooltip-text | var( --kendo-component-text, initial ) | ||
Description
The default text color of the Tooltip. | |||
$kendo-tooltip-border | transparent | ||
Description
The default 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 | if($kendo-enable-color-system, k-color( subtle ), k-get-theme-color-var( neutral-130, initial )) | ||
Description
The text color of the Tooltip button. |