New to Kendo UI for Angular? Start a free 30-day trial
Customizing Pager
Variables
The following table lists the available variables for customization.
Name | Type | Default value | Computed value |
---|---|---|---|
$kendo-pager-padding-x | String | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) |
Description
The horizontal padding of the Pager. | |||
$kendo-pager-sm-padding-x | String | k-spacing(1) | var(--kendo-spacing-1, 0.25rem) |
Description
The horizontal padding of the small Pager. | |||
$kendo-pager-md-padding-x | String | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) |
Description
The horizontal padding of the medium Pager. | |||
$kendo-pager-lg-padding-x | String | k-spacing(2.5) | var(--kendo-spacing-2\.5, 0.625rem) |
Description
The horizontal padding of the large Pager. | |||
$kendo-pager-padding-y | String | $kendo-pager-padding-x | var(--kendo-spacing-2, 0.5rem) |
Description
The vertical padding of the Pager. | |||
$kendo-pager-sm-padding-y | String | $kendo-pager-sm-padding-x | var(--kendo-spacing-1, 0.25rem) |
Description
The vertical padding of the small Pager. | |||
$kendo-pager-md-padding-y | String | $kendo-pager-md-padding-x | var(--kendo-spacing-2, 0.5rem) |
Description
The vertical padding of the medium Pager. | |||
$kendo-pager-lg-padding-y | String | $kendo-pager-lg-padding-x | var(--kendo-spacing-2\.5, 0.625rem) |
Description
The vertical padding of the large Pager. | |||
$kendo-pager-sm-item-min-width | Calculation | $kendo-button-sm-calc-size | calc(var(--kendo-line-height, normal) * 1em + var(--kendo-spacing-0\.5, 0.125rem) * 2 + 2px) |
Description
The minimum width of the items in the small Pager. | |||
$kendo-pager-md-item-min-width | Calculation | $kendo-button-md-calc-size | calc(var(--kendo-line-height, normal) * 1em + var(--kendo-spacing-1, 0.25rem) * 2 + 2px) |
Description
The minimum width of the items in the medium Pagers. | |||
$kendo-pager-lg-item-min-width | Calculation | $kendo-button-lg-calc-size | calc(var(--kendo-line-height-lg, normal) * 1em + var(--kendo-spacing-2, 0.5rem) * 2 + 2px) |
Description
The minimum width of the items in the large Pagers. | |||
$kendo-pager-sm-item-group-spacing | String | k-spacing(3) | var(--kendo-spacing-3, 0.75rem) |
Description
The margin between the item groups in the small Pager. | |||
$kendo-pager-md-item-group-spacing | String | k-spacing(3.5) | var(--kendo-spacing-3\.5, 0.875rem) |
Description
The margin between the item groups in the medium Pager. | |||
$kendo-pager-lg-item-group-spacing | String | k-spacing(4) | var(--kendo-spacing-4, 1rem) |
Description
The margin between the item groups in the large Pager. | |||
$kendo-pager-border-width | Number | 1px | 1px |
Description
The border width of the Pager. | |||
$kendo-pager-font-family | String | var( --kendo-font-family, inherit ) | var(--kendo-font-family, inherit) |
Description
The font family of the Pager. | |||
$kendo-pager-font-size | String | var( --kendo-font-size, inherit ) | var(--kendo-font-size, inherit) |
Description
The font size of the Pager. | |||
$kendo-pager-line-height | String | var( --kendo-line-height, normal ) | var(--kendo-line-height, normal) |
Description
The line height of the Pager. | |||
$kendo-pager-bg | String | $kendo-component-header-bg | var(--kendo-color-surface, #fafafa) |
Description
The background color of the Pager. | |||
$kendo-pager-text | String | $kendo-component-header-text | var(--kendo-color-on-app-surface, #3d3d3d) |
Description
The text color of the Pager. | |||
$kendo-pager-border | String | $kendo-component-border | var(--kendo-color-border, rgba(0, 0, 0, 0.08)) |
Description
The border color of the Pager. | |||
$kendo-pager-focus-bg | Null | null | null |
Description
The background color of the focused Pager. | |||
$kendo-pager-focus-shadow | List | $kendo-focus-shadow | inset 0 0 0 2px rgba(0, 0, 0, 0.13) |
Description
The box shadow of the focused Pager. | |||
$kendo-pager-item-border-width | Number | 0px | 0px |
Description
The border width of the Pager items. | |||
$kendo-pager-item-border-radius | Null | null | null |
Description
The border radius of the Pager items. | |||
$kendo-pager-item-spacing | Null | null | null |
Description
The spacing around the Pager items. | |||
$kendo-pager-item-bg | Null | null | null |
Description
The background color of the Pager items. | |||
$kendo-pager-item-text | Null | null | null |
Description
The text color of the Pager items. | |||
$kendo-pager-item-border | Null | null | null |
Description
The border color of the Pager items. | |||
$kendo-pager-item-hover-bg | String | $kendo-list-item-hover-bg | var(--kendo-color-base-hover, #ebebeb) |
Description
The background color of the hovered Pager items. | |||
$kendo-pager-item-hover-text | String | $kendo-list-item-hover-text | var(--kendo-color-on-app-surface, #3d3d3d) |
Description
The text color of the hovered Pager items. | |||
$kendo-pager-item-hover-border | Null | null | null |
Description
The border color of the hovered Pager items. | |||
$kendo-pager-item-selected-bg | String | $kendo-list-item-selected-bg | var(--kendo-color-primary, #ff6358) |
Description
The background color of the selected Pager items. | |||
$kendo-pager-item-selected-text | String | $kendo-list-item-selected-text | var(--kendo-color-on-primary, #ffffff) |
Description
The text color of the selected Pager items. | |||
$kendo-pager-item-selected-border | Null | null | null |
Description
The border color of the selected Pager items. | |||
$kendo-pager-item-focus-opacity | Null | null | null |
Description
The opacity of the focused Pager items. | |||
$kendo-pager-item-focus-bg | Color | transparent | transparent |
Description
The background color of the focused Pager items. | |||
$kendo-pager-item-focus-shadow | List | $kendo-list-item-focus-shadow | inset 0 0 0 2px rgba(0, 0, 0, 0.12) |
Description
The box shadow of the focused Pager items. | |||
$kendo-pager-number-border-radius | Null | null | null |
Description
The border radius of the Pager numbers. | |||
$kendo-pager-input-width | Number | 5em | 5em |
Description
The width of the Inputs in the Pager. | |||
$kendo-pager-sm-dropdown-width | Number | 5em | 5em |
Description
The width of the DropDowns in the small Pager. | |||
$kendo-pager-md-dropdown-width | Number | 5em | 5em |
Description
The width of the DropDowns in the medium Pager. | |||
$kendo-pager-lg-dropdown-width | Number | 5em | 5em |
Description
The width of the DropDowns in the large Pager. | |||
$kendo-pager-sizes | Map | (
sm: (
padding-x: $kendo-pager-sm-padding-x,
padding-y: $kendo-pager-sm-padding-y,
item-group-spacing: $kendo-pager-sm-item-group-spacing,
item-min-width: $kendo-pager-sm-item-min-width,
pager-dropdown-width: $kendo-pager-sm-dropdown-width
),
md: (
padding-x: $kendo-pager-md-padding-x,
padding-y: $kendo-pager-md-padding-y,
item-group-spacing: $kendo-pager-md-item-group-spacing,
item-min-width: $kendo-pager-md-item-min-width,
pager-dropdown-width: $kendo-pager-md-dropdown-width
),
lg: (
padding-x: $kendo-pager-lg-padding-x,
padding-y: $kendo-pager-lg-padding-y,
item-group-spacing: $kendo-pager-lg-item-group-spacing,
item-min-width: $kendo-pager-lg-item-min-width,
pager-dropdown-width: $kendo-pager-lg-dropdown-width
)
) |
|
Description
The sizes map of the Pager. |