Customizing Window
Variables
The following table lists the available variables for customization.
Name | Type | Default value | Computed value |
---|---|---|---|
$kendo-window-border-width | Number | 0px | 0px |
Description
The width of the border around the Window. | |||
$kendo-window-border-radius | Number | 0px | 0px |
Description
The border radius of the Window. | |||
$kendo-window-font-family | String | var( --kendo-font-family, inherit ) | var(--kendo-font-family, inherit) |
Description
The font family of the Window. | |||
$kendo-window-font-size | String | var( --kendo-font-size, inherit ) | var(--kendo-font-size, inherit) |
Description
The font size of the Window. | |||
$kendo-window-line-height | String | var( --kendo-line-height-sm, normal ) | var(--kendo-line-height-sm, normal) |
Description
The line height of the Window. | |||
$kendo-window-titlebar-padding-x | String | k-spacing(4) | var(--kendo-spacing-4, 1rem) |
Description
The horizontal padding of the Window titlebar. | |||
$kendo-window-titlebar-padding-y | String | k-spacing(3) | var(--kendo-spacing-3, 0.75rem) |
Description
The vertical padding of the Window titlebar. | |||
$kendo-window-titlebar-border-width | List | 0 0 1px | 0 0 1px |
Description
The width of the border of the Window titlebar. | |||
$kendo-window-titlebar-border-style | String | solid | solid |
Description
The style of the border of the Window titlebar. | |||
$kendo-window-title-font-size | String | var( --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-height | String | var( --kendo-line-height-sm, normal ) | var(--kendo-line-height-sm, normal) |
Description
The line height of the title of the Window. | |||
$kendo-window-actions-gap | Null | null | null |
Description
The spacing between the buttons in the Window titlebar. | |||
$kendo-window-action-opacity | Null | null | null |
Description
The opacity of the buttons in the Window titlebar. | |||
$kendo-window-action-hover-opacity | Null | null | null |
Description
The opacity of the hovered buttons in the Window titlebar. | |||
$kendo-window-inner-padding-x | String | k-spacing(4) | var(--kendo-spacing-4, 1rem) |
Description
The horizontal padding of the content of the Window. | |||
$kendo-window-inner-padding-y | String | k-spacing(4) | var(--kendo-spacing-4, 1rem) |
Description
The vertical padding of the content of the Window. | |||
$kendo-window-buttongroup-padding-x | String | $kendo-actions-padding-x | var(--kendo-spacing-2, 0.5rem) |
Description
The horizontal padding of the Window action buttons. | |||
$kendo-window-buttongroup-padding-y | String | $kendo-actions-padding-y | var(--kendo-spacing-2, 0.5rem) |
Description
The vertical padding of the Window action buttons. | |||
$kendo-window-buttongroup-border-width | Number | 1px | 1px |
Description
The width of the top border of the Window action buttons. | |||
$kendo-window-bg | String | $kendo-component-bg | var(--kendo-color-surface-alt, #ffffff) |
Description
The background color of the Window. | |||
$kendo-window-text | String | $kendo-component-text | var(--kendo-color-on-app-surface, #3d3d3d) |
Description
The text color of the Window. | |||
$kendo-window-border | String | $kendo-component-border | var(--kendo-color-border, rgba(0, 0, 0, 0.08)) |
Description
The border color of the Window. | |||
$kendo-window-shadow | String | k-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-shadow | String | k-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-bg | String | $kendo-component-header-bg | var(--kendo-color-surface, #fafafa) |
Description
The background color of the Window titlebar. | |||
$kendo-window-titlebar-text | String | $kendo-component-header-text | var(--kendo-color-on-app-surface, #3d3d3d) |
Description
The text color of the Window titlebar. | |||
$kendo-window-titlebar-border | String | inherit | inherit |
Description
The border color of the Window titlebar. | |||
$kendo-window-titlebar-gradient | Null | null | null |
Description
The background gradient of the Window titlebar. | |||
$kendo-window-sizes | Map | (
sm: 300px,
md: 800px,
lg: 1200px
) |
|
Description
The map of the width for the different Window sizes. | |||
$kendo-window-theme-colors | Map | (
"primary": k-map-get($kendo-theme-colors, "primary"),
"light": k-map-get($kendo-theme-colors, "light"),
"dark": k-map-get($kendo-theme-colors, "dark")
) |
|
Description
The theme colors map for the Window. |