Sass Variables
The Telerik and Kendo UI Tooltip enables you to configure and customize its appearance through the available Sass variables.
Variable | Default Value | Computed Value | Value |
---|---|---|---|
kendo-tooltip-padding-y | $kendo-padding-md-y | 4px | Default: $kendo-padding-md-y Computed: 4px |
Description: The vertical padding of the Tooltip. | |||
kendo-tooltip-padding-x | $kendo-padding-md-x | 8px | Default: $kendo-padding-md-x Computed: 8px |
Description: The horizontal padding of the Tooltip. | |||
kendo-tooltip-border-width | 0px | 0px | Default: 0px Computed: 0px |
Description: The width of the border around the Tooltip. | |||
kendo-tooltip-border-radius | $kendo-border-radius-md | 4px | Default: $kendo-border-radius-md Computed: 4px |
Description: The border radius of the Tooltip. | |||
kendo-tooltip-font-family | $kendo-font-family | inherit | Default: $kendo-font-family Computed: inherit |
Description: The font family of the Tooltip. | |||
kendo-tooltip-font-size | $kendo-font-size-md | 14px | Default: $kendo-font-size-md Computed: 14px |
Description: The font size of the Tooltip. | |||
kendo-tooltip-line-height | 1.25 | 1.25 | Default: 1.25 Computed: 1.25 |
Description: The line height of the Tooltip. | |||
kendo-tooltip-title-font-size | ($kendo-tooltip-font-size * 1.25) | 17.5px | Default: ($kendo-tooltip-font-size * 1.25) Computed: 17.5px |
Description: The font size of the Tooltip title. | |||
kendo-tooltip-title-line-height | 1 | 1 | Default: 1 Computed: 1 |
Description: The line height of the Tooltip title. | |||
kendo-tooltip-callout-size | 6px | 6px | Default: 6px Computed: 6px |
Description: The size of the Tooltip callout. | |||
kendo-tooltip-bg | if($kendo-enable-color-system, k-color( on-app-surface ), rgba( k-contrast-legacy( $kendo-body-bg ), .75 )) | rgba(0, 0, 0, 0.75) | Default: if($kendo-enable-color-system, k-color( on-app-surface ), rgba( k-contrast-legacy( $kendo-body-bg ), .75 )) Computed: rgba(0, 0, 0, 0.75) |
Description: The default background of the Tooltip. | |||
kendo-tooltip-text | if($kendo-enable-color-system, k-color( app-surface ), k-contrast-legacy( $kendo-tooltip-bg )) | white | Default: if($kendo-enable-color-system, k-color( app-surface ), k-contrast-legacy( $kendo-tooltip-bg )) Computed: white |
Description: The default text color of the Tooltip. | |||
kendo-tooltip-border | $kendo-tooltip-bg | rgba(0, 0, 0, 0.75) | Default: $kendo-tooltip-bg Computed: rgba(0, 0, 0, 0.75) |
Description: The default border color of the Tooltip. | |||
kendo-tooltip-shadow | k-elevation(2) | var(--kendo-elevation-2, 0 4px 6px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.12)) | Default: k-elevation(2) Computed: var(--kendo-elevation-2, 0 4px 6px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.12)) |
Description: The box-shadow of the Tooltip. | |||
kendo-tooltip-theme-colors | $kendo-theme-colors | ("primary": #ff6358, "secondary": #666666, "tertiary": #03a9f4, "info": #0058e9, "success": #37b400, "warning": #ffc000, "error": #f31700, "dark": #424242, "light": #ebebeb, "inverse": #424242) | Default: $kendo-theme-colors Computed: ("primary": #ff6358, "secondary": #666666, "tertiary": #03a9f4, "info": #0058e9, "success": #37b400, "warning": #ffc000, "error": #f31700, "dark": #424242, "light": #ebebeb, "inverse": #424242) |
Description: The theme colors map for the Tooltip. | |||
kendo-tooltip-theme | tooltip-theme( $kendo-tooltip-theme-colors ) | ("inverse": (color: white, background-color: #424242, border: #424242), "light": (color: black, background-color: #ebebeb, border: #ebebeb), "dark": (color: white, background-color: #424242, border: #424242), "error": (color: white, background-color: #f31700, border: #f31700), "warning": (color: black, background-color: #ffc000, border: #ffc000), "success": (color: white, background-color: #37b400, border: #37b400), "info": (color: white, background-color: #0058e9, border: #0058e9), "tertiary": (color: white, background-color: #03a9f4, border: #03a9f4), "secondary": (color: white, background-color: #666666, border: #666666), "primary": (color: white, background-color: #ff6358, border: #ff6358)) | Default: tooltip-theme( $kendo-tooltip-theme-colors ) Computed: ("inverse": (color: white, background-color: #424242, border: #424242), "light": (color: black, background-color: #ebebeb, border: #ebebeb), "dark": (color: white, background-color: #424242, border: #424242), "error": (color: white, background-color: #f31700, border: #f31700), "warning": (color: black, background-color: #ffc000, border: #ffc000), "success": (color: white, background-color: #37b400, border: #37b400), "info": (color: white, background-color: #0058e9, border: #0058e9), "tertiary": (color: white, background-color: #03a9f4, border: #03a9f4), "secondary": (color: white, background-color: #666666, border: #666666), "primary": (color: white, background-color: #ff6358, border: #ff6358)) |
Description: The generated theme colors map for the Tooltip. |