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 | String | k-border-radius(md) | var(--kendo-border-radius-md, 0.25rem) |
Description
The border radius of the Tooltip. | |||
$kendo-tooltip-padding-x | String | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) |
Description
The horizontal padding of the Tooltip. | |||
$kendo-tooltip-padding-y | String | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) |
Description
The vertical padding of the Tooltip. | |||
$kendo-tooltip-border-width | Number | 0px | 0px |
Description
The width of the border around 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 | String | var( --kendo-line-height, normal ) | var(--kendo-line-height, normal) |
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-heigh-xs, normal ) | var(--kendo-line-heigh-xs, normal) |
Description
The line height of the Tooltip title. | |||
$kendo-tooltip-title-margin | String | k-spacing(1) | var(--kendo-spacing-1, 0.25rem) |
Description
The margin of the Tooltip title. | |||
$kendo-tooltip-callout-size | String | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) |
Description
The size of the Tooltip callout. | |||
$kendo-tooltip-bg | String | if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) | var(--kendo-color-app-surface, #ffffff) |
Description
The default background of the Tooltip. | |||
$kendo-tooltip-text | String | var( --kendo-component-text, initial ) | var(--kendo-component-text, initial) |
Description
The default text color of the Tooltip. | |||
$kendo-tooltip-border | Color | transparent | transparent |
Description
The default border color of the Tooltip. | |||
$kendo-tooltip-shadow | String | var( --kendo-box-shadow-depth-2, none ) | var(--kendo-box-shadow-depth-2, none) |
Description
The box-shadow of the Tooltip. | |||
$kendo-tooltip-button-text | String | if($kendo-enable-color-system, k-color( subtle ), k-get-theme-color-var( neutral-130, initial )) | var(--kendo-color-subtle, #605e5c) |
Description
The text color of the Tooltip button. |