Customizing Messagebox

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-message-box-marginList0 0 k-spacing(3) 00 0 var(--kendo-spacing-3, 0.75rem) 0
Description
Margin around the message box.
$kendo-message-box-padding-xStringk-spacing(3)var(--kendo-spacing-3, 0.75rem)
Description
Horizontal padding of the message box.
$kendo-message-box-padding-yStringk-spacing(2)var(--kendo-spacing-2, 0.5rem)
Description
Vertical padding of the message box.
$kendo-message-box-border-widthNumber00
Description
Border width of the message box.
$kendo-message-box-border-styleStringsolidsolid
Description
Border style of the message box.
$kendo-message-box-font-familyStringvar( --kendo-font-family, inherit )var(--kendo-font-family, inherit)
Description
Font family of the message box.
$kendo-message-box-font-sizeStringvar( --kendo-font-size-sm, inherit )var(--kendo-font-size-sm, inherit)
Description
Font size of the message box.
$kendo-message-box-line-heightStringvar( --kendo-line-height-sm, normal )var(--kendo-line-height-sm, normal)
Description
Line height of the message box.
$kendo-message-box-link-font-styleStringnormalnormal
Description
Font style of the message box links.
$kendo-message-box-link-decorationStringunderlineunderline
Description
Text decoration of the message box links.
$kendo-message-box-link-textStringvar( --kendo-link-text, initial )var(--kendo-link-text, initial)
Description
Text color of the message box links.
$kendo-message-box-link-hover-textStringvar( --kendo-link-hover-text, initial )var(--kendo-link-hover-text, initial)
Description
Hover text color of the message box links.

In this article

Not finding the help you need?