Sass Variables
The Telerik and Kendo UI Notification enables you to configure and customize its appearance through the available Sass variables.
Variable | Default Value | Computed Value | Value |
---|---|---|---|
kendo-notification-group-gap | k-map-get( $kendo-spacing, 2 ) | 8px | Default: k-map-get( $kendo-spacing, 2 ) Computed: 8px |
Description: The row-gap between the elements in the Notification group. | |||
kendo-notification-padding-x | 8px | 8px | Default: 8px Computed: 8px |
Description: The horizontal padding of the Notification. | |||
kendo-notification-padding-y | 4px | 4px | Default: 4px Computed: 4px |
Description: The vertical padding of the Notification. | |||
kendo-notification-border-width | 1px | 1px | Default: 1px Computed: 1px |
Description: The width of the border around the Notification. | |||
kendo-notification-border-radius | $kendo-border-radius-md | 4px | Default: $kendo-border-radius-md Computed: 4px |
Description: The border radius of the Notification. | |||
kendo-notification-font-family | $kendo-font-family | inherit | Default: $kendo-font-family Computed: inherit |
Description: The font family of the Notification. | |||
kendo-notification-font-size | $kendo-font-size-sm | 12px | Default: $kendo-font-size-sm Computed: 12px |
Description: The font size of the Notification. | |||
kendo-notification-line-height | $kendo-line-height-md | 1.4285714286 | Default: $kendo-line-height-md Computed: 1.4285714286 |
Description: The line height of the Notification. | |||
kendo-notification-bg | $kendo-component-bg | #ffffff | Default: $kendo-component-bg Computed: #ffffff |
Description: The background color of the Notification. | |||
kendo-notification-text | $kendo-component-text | #424242 | Default: $kendo-component-text Computed: #424242 |
Description: The text color of the Notification. | |||
kendo-notification-border | $kendo-component-border | rgba(0, 0, 0, 0.08) | Default: $kendo-component-border Computed: rgba(0, 0, 0, 0.08) |
Description: The border color of the Notification. | |||
kendo-notification-shadow | $kendo-popup-shadow | var(--kendo-elevation-4, 0 8px 10px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.12)) | Default: $kendo-popup-shadow Computed: var(--kendo-elevation-4, 0 8px 10px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.12)) |
Description: The box shadow of the Notification. | |||
kendo-notification-icon-spacing | $kendo-icon-spacing | 4px | Default: $kendo-icon-spacing Computed: 4px |
Description: The horizontal spacing of the Notification icon. | |||
kendo-notification-theme-colors | $kendo-theme-colors | ("primary": #ff6358, "secondary": #666666, "tertiary": #03a9f4, "info": #0058e9, "success": #37b400, "warning": #ffc000, "error": #f31700, "dark": #424242, "light": #ebebeb, "inverse": #424242) | Default: $kendo-theme-colors Computed: ("primary": #ff6358, "secondary": #666666, "tertiary": #03a9f4, "info": #0058e9, "success": #37b400, "warning": #ffc000, "error": #f31700, "dark": #424242, "light": #ebebeb, "inverse": #424242) |
Description: The theme colors map for the Notification. | |||
kendo-notification-theme | notification-theme( $kendo-notification-theme-colors ) | ("inverse": (color: white, background-color: #424242, border: #424242), "light": (color: black, background-color: #ebebeb, border: #ebebeb), "dark": (color: white, background-color: #424242, border: #424242), "error": (color: white, background-color: #f31700, border: #f31700), "warning": (color: black, background-color: #ffc000, border: #ffc000), "success": (color: white, background-color: #37b400, border: #37b400), "info": (color: white, background-color: #0058e9, border: #0058e9), "tertiary": (color: white, background-color: #03a9f4, border: #03a9f4), "secondary": (color: white, background-color: #666666, border: #666666), "primary": (color: white, background-color: #ff6358, border: #ff6358)) | Default: notification-theme( $kendo-notification-theme-colors ) Computed: ("inverse": (color: white, background-color: #424242, border: #424242), "light": (color: black, background-color: #ebebeb, border: #ebebeb), "dark": (color: white, background-color: #424242, border: #424242), "error": (color: white, background-color: #f31700, border: #f31700), "warning": (color: black, background-color: #ffc000, border: #ffc000), "success": (color: white, background-color: #37b400, border: #37b400), "info": (color: white, background-color: #0058e9, border: #0058e9), "tertiary": (color: white, background-color: #03a9f4, border: #03a9f4), "secondary": (color: white, background-color: #666666, border: #666666), "primary": (color: white, background-color: #ff6358, border: #ff6358)) |
Description: The generated theme colors map for the Notification. |