New to Kendo UI for Angular? Start a free 30-day trial
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 | 4px | 4px |
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 | Number | k-math-div( 20, 14 ) | 1.4285714286 |
Description
The line height of the Window. | |||
$kendo-window-titlebar-padding-x | String | k-spacing(6) | var(--kendo-spacing-6, 1.5rem) |
Description
The horizontal padding of the Window titlebar. | |||
$kendo-window-titlebar-padding-y | String | k-spacing(4) | var(--kendo-spacing-4, 1rem) |
Description
The vertical padding of the Window titlebar. | |||
$kendo-window-titlebar-border-width | Number | 0px | 0px |
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-lg, normal ) | var(--kendo-line-height-lg, 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(6) | var(--kendo-spacing-6, 1.5rem) |
Description
The horizontal padding of the content of the Window. | |||
$kendo-window-inner-padding-y | String | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) |
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 | 0px | 0px |
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, #212121) |
Description
The text color of the Window. | |||
$kendo-window-border | String | $kendo-component-border | var(--kendo-color-border, rgba(0, 0, 0, 0.12)) |
Description
The border color of the Window. | |||
$kendo-window-shadow | String | $box-shadow-depth-8 | var(--kendo-elevation-8, 0px 8px 10px rgba(0, 0, 0, 0.2), 0px 6px 30px rgba(0, 0, 0, 0.12), 0px 16px 24px rgba(0, 0, 0, 0.14)) |
Description
The box shadow of the Window. | |||
$kendo-window-focus-shadow | String | $box-shadow-depth-9 | var(--kendo-elevation-9, 0px 11px 15px rgba(0, 0, 0, 0.2), 0px 9px 46px rgba(0, 0, 0, 0.12), 0px 24px 38px rgba(0, 0, 0, 0.14)) |
Description
The box shadow of the focused Window. | |||
$kendo-window-titlebar-bg | Null | null | null |
Description
The background color of the Window titlebar. | |||
$kendo-window-titlebar-text | Null | null | null |
Description
The text color of the Window titlebar. | |||
$kendo-window-titlebar-border | Null | null | null |
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. |