Sass Variables
The Telerik and Kendo UI Chat is a composite UI component. To configure and customize its appearance, use not only its dedicated Sass variables but also the Sass variables provided by the TextBox, Button, and Avatar components.
Variable | Default Value | Computed Value | Value |
---|---|---|---|
kendo-chat-padding-x | 16px | 16px | Default: 16px Computed: 16px |
Description: The horizontal padding of the Chat. | |||
kendo-chat-padding-y | 16px | 16px | Default: 16px Computed: 16px |
Description: The vertical padding of the Chat. | |||
kendo-chat-width | 500px | 500px | Default: 500px Computed: 500px |
Description: The width of the Chat. | |||
kendo-chat-height | 600px | 600px | Default: 600px Computed: 600px |
Description: The height of the Chat. | |||
kendo-chat-border-width | 1px | 1px | Default: 1px Computed: 1px |
Description: The border width of the Chat. | |||
kendo-chat-font-family | $kendo-font-family | inherit | Default: $kendo-font-family Computed: inherit |
Description: The font family of the Chat. | |||
kendo-chat-font-size | $kendo-font-size-md | 14px | Default: $kendo-font-size-md Computed: 14px |
Description: The font size of the Chat. | |||
kendo-chat-line-height | $kendo-line-height-md | 1.4285714286 | Default: $kendo-line-height-md Computed: 1.4285714286 |
Description: The line height of the Chat. | |||
kendo-chat-item-spacing-x | 8px | 8px | Default: 8px Computed: 8px |
Description: The horizontal spacing between the items of the Chat. | |||
kendo-chat-item-spacing-y | 16px | 16px | Default: 16px Computed: 16px |
Description: The vertical spacing between the items of the Chat. | |||
kendo-chat-message-list-padding-x | $kendo-chat-padding-x | 16px | Default: $kendo-chat-padding-x Computed: 16px |
Description: The horizontal padding of the Chat message list. | |||
kendo-chat-message-list-padding-y | $kendo-chat-padding-y | 16px | Default: $kendo-chat-padding-y Computed: 16px |
Description: The vertical padding of the Chat message list. | |||
kendo-chat-message-list-spacing | $kendo-chat-item-spacing-y | 16px | Default: $kendo-chat-item-spacing-y Computed: 16px |
Description: The spacing of the Chat message list. | |||
kendo-chat-timestamp-font-size | smaller | smaller | Default: smaller Computed: smaller |
Description: The font size of the Chat timestamp. | |||
kendo-chat-timestamp-line-height | null | null | Default: null Computed: null |
Description: The line height of the Chat timestamp. | |||
kendo-chat-timestamp-transform | uppercase | uppercase | Default: uppercase Computed: uppercase |
Description: The text transform of the Chat timestamp. | |||
kendo-chat-timestamp-text | $kendo-subtle-text | #666666 | Default: $kendo-subtle-text Computed: #666666 |
Description: The text color of the Chat timestamp. | |||
kendo-chat-timestamp-bg | null | null | Default: null Computed: null |
Description: The background color of the Chat timestamp. | |||
kendo-chat-bubble-padding-x | 12px | 12px | Default: 12px Computed: 12px |
Description: The horizontal padding of the Chat bubble message. | |||
kendo-chat-bubble-padding-y | 8px | 8px | Default: 8px Computed: 8px |
Description: The vertical padding of the Chat bubble message. | |||
kendo-chat-bubble-spacing | 2px | 2px | Default: 2px Computed: 2px |
Description: The spacing of the Chat bubble message. | |||
kendo-chat-bubble-line-height | 18px | 18px | Default: 18px Computed: 18px |
Description: The line height of the Chat bubble message. | |||
kendo-chat-bubble-border-radius | 12px | 12px | Default: 12px Computed: 12px |
Description: The border radius of the Chat bubble message. | |||
kendo-chat-bubble-border-radius-sm | 2px | 2px | Default: 2px Computed: 2px |
Description: The border radius of the Chat small bubble message | |||
kendo-chat-avatar-size | 32px | 32px | Default: 32px Computed: 32px |
Description: The size of the Chat Avatar. | |||
kendo-chat-avatar-spacing | $kendo-chat-item-spacing-x | 8px | Default: $kendo-chat-item-spacing-x Computed: 8px |
Description: The spacing of the Chat Avatar. | |||
kendo-chat-toolbar-padding-x | $kendo-toolbar-md-padding-x | 8px | Default: $kendo-toolbar-md-padding-x Computed: 8px |
Description: The horizontal padding of the Chat Toolbar. | |||
kendo-chat-toolbar-padding-y | $kendo-toolbar-md-padding-y | 8px | Default: $kendo-toolbar-md-padding-y Computed: 8px |
Description: The vertical padding of the Chat Toolbar. | |||
kendo-chat-toolbar-spacing | $kendo-toolbar-md-spacing | 8px | Default: $kendo-toolbar-md-spacing Computed: 8px |
Description: The spacing of the Chat Toolbar. | |||
kendo-chat-toolbar-bg | $kendo-toolbar-bg | #fafafa | Default: $kendo-toolbar-bg Computed: #fafafa |
Description: The background color of the Chat Toolbar. | |||
kendo-chat-toolbar-text | $kendo-toolbar-text | #424242 | Default: $kendo-toolbar-text Computed: #424242 |
Description: The text color of the Chat Toolbar. | |||
kendo-chat-toolbar-border | inherit | inherit | Default: inherit Computed: inherit |
Description: The border color of the Chat Toolbar. | |||
kendo-chat-quick-reply-padding-x | 12px | 12px | Default: 12px Computed: 12px |
Description: The horizontal padding of the Chat quick reply. | |||
kendo-chat-quick-reply-padding-y | 8px | 8px | Default: 8px Computed: 8px |
Description: The vertical padding of the Chat quick reply. | |||
kendo-chat-quick-reply-spacing | 8px | 8px | Default: 8px Computed: 8px |
Description: The spacing of the Chat quick reply. | |||
kendo-chat-quick-reply-line-height | $kendo-chat-bubble-line-height | 18px | Default: $kendo-chat-bubble-line-height Computed: 18px |
Description: The line height of the Chat quick reply. | |||
kendo-chat-bg | $kendo-app-bg | #fafafa | Default: $kendo-app-bg Computed: #fafafa |
Description: The background color of the Chat. | |||
kendo-chat-text | $kendo-app-text | #424242 | Default: $kendo-app-text Computed: #424242 |
Description: The text color of the Chat. | |||
kendo-chat-border | $kendo-app-border | rgba(0, 0, 0, 0.08) | Default: $kendo-app-border Computed: rgba(0, 0, 0, 0.08) |
Description: The border color of the Chat. | |||
kendo-chat-bubble-bg | $kendo-component-bg | #ffffff | Default: $kendo-component-bg Computed: #ffffff |
Description: The background color of the Chat bubble. | |||
kendo-chat-bubble-text | $kendo-component-text | #424242 | Default: $kendo-component-text Computed: #424242 |
Description: The text color of the Chat bubble. | |||
kendo-chat-bubble-border | $kendo-chat-bubble-bg | #ffffff | Default: $kendo-chat-bubble-bg Computed: #ffffff |
Description: The border color of the Chat bubble. | |||
kendo-chat-bubble-shadow | k-elevation(1) | var(--kendo-elevation-1, 0 2px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.12)) | Default: k-elevation(1) Computed: var(--kendo-elevation-1, 0 2px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.12)) |
Description: The box shadow of the Chat bubble. | |||
kendo-chat-bubble-hover-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 shadow of the hovered Chat bubble. | |||
kendo-chat-bubble-selected-shadow | k-elevation(3) | var(--kendo-elevation-3, 0 6px 8px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.12)) | Default: k-elevation(3) Computed: var(--kendo-elevation-3, 0 6px 8px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.12)) |
Description: The shadow of the selected Chat bubble. | |||
kendo-chat-alt-bubble-bg | $kendo-color-primary | #ff6358 | Default: $kendo-color-primary Computed: #ff6358 |
Description: The background color of the Chat alt bubble. | |||
kendo-chat-alt-bubble-text | if($kendo-enable-color-system, k-color( on-primary ), k-contrast-legacy( $kendo-chat-alt-bubble-bg )) | white | Default: if($kendo-enable-color-system, k-color( on-primary ), k-contrast-legacy( $kendo-chat-alt-bubble-bg )) Computed: white |
Description: The text color of the Chat alt bubble. | |||
kendo-chat-alt-bubble-border | $kendo-chat-alt-bubble-bg | #ff6358 | Default: $kendo-chat-alt-bubble-bg Computed: #ff6358 |
Description: The border color of the Chat alt bubble. | |||
kendo-chat-alt-bubble-shadow | k-elevation(1) | var(--kendo-elevation-1, 0 2px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.12)) | Default: k-elevation(1) Computed: var(--kendo-elevation-1, 0 2px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.12)) |
Description: The shadow of the Chat alt bubble. | |||
kendo-chat-alt-bubble-hover-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 shadow of the hovered Chat alt bubble. | |||
kendo-chat-alt-bubble-selected-shadow | k-elevation(3) | var(--kendo-elevation-3, 0 6px 8px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.12)) | Default: k-elevation(3) Computed: var(--kendo-elevation-3, 0 6px 8px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.12)) |
Description: The shadow of the selected Chat alt bubble. | |||
kendo-chat-quick-reply-bg | transparent | transparent | Default: transparent Computed: transparent |
Description: The background color of the Chat quick reply. | |||
kendo-chat-quick-reply-text | $kendo-color-primary | #ff6358 | Default: $kendo-color-primary Computed: #ff6358 |
Description: The text color of the Chat quick reply. | |||
kendo-chat-quick-reply-border | $kendo-color-primary | #ff6358 | Default: $kendo-color-primary Computed: #ff6358 |
Description: The border color of the Chat quick reply. | |||
kendo-chat-quick-reply-hover-bg | $kendo-color-primary | #ff6358 | Default: $kendo-color-primary Computed: #ff6358 |
Description: The background color of the hovered Chat quick reply. | |||
kendo-chat-quick-reply-hover-text | $kendo-color-primary-contrast | white | Default: $kendo-color-primary-contrast Computed: white |
Description: The text color of the hovered Chat quick reply. | |||
kendo-chat-quick-reply-hover-border | $kendo-color-primary | #ff6358 | Default: $kendo-color-primary Computed: #ff6358 |
Description: The border color of the hovered Chat quick reply. |