New to Kendo UI for Angular? Start a free 30-day trial
Customizing Loader
Variables
The following table lists the available variables for customization.
Name | Type | Default value | Computed value |
---|---|---|---|
$kendo-loader-segment-border-radius | Number | 50% | 50% |
Description
The border radius of the Loader segment. | |||
$kendo-loader-sm-segment-size | String | k-spacing(1) | var(--kendo-spacing-1, 0.25rem) |
Description
The size of the small Loader segment. | |||
$kendo-loader-md-segment-size | String | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) |
Description
The size of the medium Loader segment. | |||
$kendo-loader-lg-segment-size | String | k-spacing(4) | var(--kendo-spacing-4, 1rem) |
Description
The size of the large Loader segment. | |||
$kendo-loader-sm-padding | Calculation | calc( #{$kendo-loader-sm-segment-size} / 2 ) | calc(var(--kendo-spacing-1, 0.25rem) / 2) |
Description
The padding of the small Loader. | |||
$kendo-loader-md-padding | Calculation | calc( #{$kendo-loader-md-segment-size} / 2 ) | calc(var(--kendo-spacing-2, 0.5rem) / 2) |
Description
The padding of the medium Loader. | |||
$kendo-loader-lg-padding | Calculation | calc( #{$kendo-loader-lg-segment-size} / 2 ) | calc(var(--kendo-spacing-4, 1rem) / 2) |
Description
The padding of the large Loader. | |||
$kendo-loader-sm-spinner-3-width | Calculation | calc( #{$kendo-loader-sm-segment-size} * 4 ) | calc(var(--kendo-spacing-1, 0.25rem) * 4) |
Description
The width of the small spinner-3 Loader. | |||
$kendo-loader-md-spinner-3-width | Calculation | calc( #{$kendo-loader-md-segment-size} * 4 ) | calc(var(--kendo-spacing-2, 0.5rem) * 4) |
Description
The width of the medium spinner-3 Loader. | |||
$kendo-loader-lg-spinner-3-width | Calculation | calc( #{$kendo-loader-lg-segment-size} * 4 ) | calc(var(--kendo-spacing-4, 1rem) * 4) |
Description
The width of the large spinner-3 Loader. | |||
$kendo-loader-sm-spinner-3-height | Calculation | calc( #{$kendo-loader-sm-spinner-3-width} * #{$equilateral-height} ) | calc(calc(var(--kendo-spacing-1, 0.25rem) * 4) * 0.8660254038) |
Description
The height of the small spinner-3 Loader. | |||
$kendo-loader-md-spinner-3-height | Calculation | calc( #{$kendo-loader-md-spinner-3-width} * #{$equilateral-height} ) | calc(calc(var(--kendo-spacing-2, 0.5rem) * 4) * 0.8660254038) |
Description
The height of the medium spinner-3 Loader. | |||
$kendo-loader-lg-spinner-3-height | Calculation | calc( #{$kendo-loader-lg-spinner-3-width} * #{$equilateral-height} ) | calc(calc(var(--kendo-spacing-4, 1rem) * 4) * 0.8660254038) |
Description
The height of the large spinner-3 Loader. | |||
$kendo-loader-sm-spinner-4-width | Calculation | calc( #{$kendo-loader-sm-segment-size} * 4 ) | calc(var(--kendo-spacing-1, 0.25rem) * 4) |
Description
The width of the small spinner-4 Loader. | |||
$kendo-loader-md-spinner-4-width | Calculation | calc( #{$kendo-loader-md-segment-size} * 4 ) | calc(var(--kendo-spacing-2, 0.5rem) * 4) |
Description
The width of the medium spinner-4 Loader. | |||
$kendo-loader-lg-spinner-4-width | Calculation | calc( #{$kendo-loader-lg-segment-size} * 4 ) | calc(var(--kendo-spacing-4, 1rem) * 4) |
Description
The width of the large spinner-4 Loader. | |||
$kendo-loader-sm-spinner-4-height | Calculation | $kendo-loader-sm-spinner-4-width | calc(var(--kendo-spacing-1, 0.25rem) * 4) |
Description
The height of the small spinner-4 Loader. | |||
$kendo-loader-md-spinner-4-height | Calculation | $kendo-loader-md-spinner-4-width | calc(var(--kendo-spacing-2, 0.5rem) * 4) |
Description
The height of the medium spinner-4 Loader. | |||
$kendo-loader-lg-spinner-4-height | Calculation | $kendo-loader-lg-spinner-4-width | calc(var(--kendo-spacing-4, 1rem) * 4) |
Description
The height of the large spinner-4 Loader. | |||
$kendo-loader-secondary-bg | Color | #656565 | #656565 |
Description
The color of the Loader based on the secondary theme color. | |||
$kendo-loader-container-panel-border-width | Number | 1px | 1px |
Description
The border width of the container panel. | |||
$kendo-loader-container-panel-border-style | String | solid | solid |
Description
The border style of the container panel. | |||
$kendo-loader-container-panel-border-color | String | $kendo-component-border | var(--kendo-color-border, rgba(0, 0, 0, 0.08)) |
Description
The border color of the container panel. | |||
$kendo-loader-container-panel-border-radius | String | k-border-radius(md) | var(--kendo-border-radius-md, 0.25rem) |
Description
The border radius of the container panel. | |||
$kendo-loader-container-panel-bg | Color | $kendo-color-white | #ffffff |
Description
The background color of the container panel. | |||
$kendo-loader-sm-container-padding | String | k-spacing(4) | var(--kendo-spacing-4, 1rem) |
Description
The padding of the small Loader container. | |||
$kendo-loader-md-container-padding | String | k-spacing(5) | var(--kendo-spacing-5, 1.25rem) |
Description
The padding of the medium Loader container. | |||
$kendo-loader-lg-container-padding | String | k-spacing(6) | var(--kendo-spacing-6, 1.5rem) |
Description
The padding of the large Loader container. | |||
$kendo-loader-sm-container-gap | String | k-spacing(1) | var(--kendo-spacing-1, 0.25rem) |
Description
The gap of the small Loader container. | |||
$kendo-loader-md-container-gap | String | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) |
Description
The gap of the medium Loader container. | |||
$kendo-loader-lg-container-gap | String | k-spacing(3) | var(--kendo-spacing-3, 0.75rem) |
Description
The gap of the large Loader container. | |||
$kendo-loader-sm-container-font-size | String | var( --kendo-font-size-sm, inherit ) | var(--kendo-font-size-sm, inherit) |
Description
The font size of the small Loader container. | |||
$kendo-loader-md-container-font-size | String | var( --kendo-font-size, inherit ) | var(--kendo-font-size, inherit) |
Description
The font size of the medium Loader container. | |||
$kendo-loader-lg-container-font-size | String | var( --kendo-font-size-lg, inherit ) | var(--kendo-font-size-lg, inherit) |
Description
The font size of the large Loader container. |