Customizing Window

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-window-border-widthNumber0px0px
Description
The width of the border around the Window.
$kendo-window-border-radiusNumber0px0px
Description
The border radius of the Window.
$kendo-window-font-familyStringvar( --kendo-font-family, inherit )var(--kendo-font-family, inherit)
Description
The font family of the Window.
$kendo-window-font-sizeStringvar( --kendo-font-size, inherit )var(--kendo-font-size, inherit)
Description
The font size of the Window.
$kendo-window-line-heightStringvar( --kendo-line-height-sm, normal )var(--kendo-line-height-sm, normal)
Description
The line height of the Window.
$kendo-window-titlebar-padding-xStringk-spacing(4)var(--kendo-spacing-4, 1rem)
Description
The horizontal padding of the Window titlebar.
$kendo-window-titlebar-padding-yStringk-spacing(3)var(--kendo-spacing-3, 0.75rem)
Description
The vertical padding of the Window titlebar.
$kendo-window-titlebar-border-widthList0 0 1px0 0 1px
Description
The width of the border of the Window titlebar.
$kendo-window-titlebar-border-styleStringsolidsolid
Description
The style of the border of the Window titlebar.
$kendo-window-title-font-sizeStringvar( --kendo-font-size-lg, inherit )var(--kendo-font-size-lg, inherit)
Description
The font size of the title of the Window.
$kendo-window-title-line-heightStringvar( --kendo-line-height-sm, normal )var(--kendo-line-height-sm, normal)
Description
The line height of the title of the Window.
$kendo-window-actions-gapNullnullnull
Description
The spacing between the buttons in the Window titlebar.
$kendo-window-action-opacityNullnullnull
Description
The opacity of the buttons in the Window titlebar.
$kendo-window-action-hover-opacityNullnullnull
Description
The opacity of the hovered buttons in the Window titlebar.
$kendo-window-inner-padding-xStringk-spacing(4)var(--kendo-spacing-4, 1rem)
Description
The horizontal padding of the content of the Window.
$kendo-window-inner-padding-yStringk-spacing(4)var(--kendo-spacing-4, 1rem)
Description
The vertical padding of the content of the Window.
$kendo-window-buttongroup-padding-xString$kendo-actions-padding-xvar(--kendo-spacing-2, 0.5rem)
Description
The horizontal padding of the Window action buttons.
$kendo-window-buttongroup-padding-yString$kendo-actions-padding-yvar(--kendo-spacing-2, 0.5rem)
Description
The vertical padding of the Window action buttons.
$kendo-window-buttongroup-border-widthNumber1px1px
Description
The width of the top border of the Window action buttons.
$kendo-window-bgString$kendo-component-bgvar(--kendo-color-surface-alt, #ffffff)
Description
The background color of the Window.
$kendo-window-textString$kendo-component-textvar(--kendo-color-on-app-surface, #3d3d3d)
Description
The text color of the Window.
$kendo-window-borderString$kendo-component-bordervar(--kendo-color-border, rgba(0, 0, 0, 0.08))
Description
The border color of the Window.
$kendo-window-shadowStringk-elevation(8)var(--kendo-elevation-8, 0 16px 18px rgba(0, 0, 0, 0.28), 0 4px 16px rgba(0, 0, 0, 0.12))
Description
The box shadow of the Window.
$kendo-window-focus-shadowStringk-elevation(9)var(--kendo-elevation-9, 0 32px 34px rgba(0, 0, 0, 0.32), 0 4px 16px rgba(0, 0, 0, 0.12))
Description
The box shadow of the focused Window.
$kendo-window-titlebar-bgString$kendo-component-header-bgvar(--kendo-color-surface, #fafafa)
Description
The background color of the Window titlebar.
$kendo-window-titlebar-textString$kendo-component-header-textvar(--kendo-color-on-app-surface, #3d3d3d)
Description
The text color of the Window titlebar.
$kendo-window-titlebar-borderStringinheritinherit
Description
The border color of the Window titlebar.
$kendo-window-titlebar-gradientNullnullnull
Description
The background gradient of the Window titlebar.
$kendo-window-sizesMap( sm: 300px, md: 800px, lg: 1200px )
  • sm: 300px
  • md: 800px
  • lg: 1200px
Description
The map of the width for the different Window sizes.
$kendo-window-theme-colorsMap( "primary": k-map-get($kendo-theme-colors, "primary"), "light": k-map-get($kendo-theme-colors, "light"), "dark": k-map-get($kendo-theme-colors, "dark") )
  • primary: var(--kendo-color-primary, #ff6358)
  • light: var(--kendo-color-light, #ebebeb)
  • dark: var(--kendo-color-dark, #3d3d3d)
Description
The theme colors map for the Window.

In this article

Not finding the help you need?