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 | Number | k-map-get( $kendo-spacing, 2 ) | 8px |
Description
The horizontal padding of the Pager. | |||
$kendo-pager-sm-padding-x | Number | k-map-get( $kendo-spacing, 1 ) | 4px |
Description
The horizontal padding of the small Pager. | |||
$kendo-pager-md-padding-x | Number | k-map-get( $kendo-spacing, 2 ) | 8px |
Description
The horizontal padding of the medium Pager. | |||
$kendo-pager-lg-padding-x | Number | k-map-get( $kendo-spacing, 2.5 ) | 10px |
Description
The horizontal padding of the large Pager. | |||
$kendo-pager-padding-y | Number | $kendo-pager-padding-x | 8px |
Description
The vertical padding of the Pager. | |||
$kendo-pager-sm-padding-y | Number | $kendo-pager-sm-padding-x | 4px |
Description
The vertical padding of the small Pager. | |||
$kendo-pager-md-padding-y | Number | $kendo-pager-md-padding-x | 8px |
Description
The vertical padding of the medium Pager. | |||
$kendo-pager-lg-padding-y | Number | $kendo-pager-lg-padding-x | 10px |
Description
The vertical padding of the large Pager. | |||
$kendo-pager-sm-item-min-width | Calculation | $kendo-button-sm-calc-size | calc(1.4285714286em + 12px + 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(1.4285714286em + 16px + 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(1.4285714286em + 20px + 2px) |
Description
The minimum width of the items in the large Pagers. | |||
$kendo-pager-sm-item-group-spacing | Number | k-map-get( $kendo-spacing, 1.5 ) | 6px |
Description
The margin between the item groups in the small Pager. | |||
$kendo-pager-md-item-group-spacing | Number | k-map-get( $kendo-spacing, 2 ) | 8px |
Description
The margin between the item groups in the medium Pager. | |||
$kendo-pager-lg-item-group-spacing | Number | k-map-get( $kendo-spacing, 2.5 ) | 10px |
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 | List | $kendo-font-family | Roboto, "Helvetica Neue", sans-serif |
Description
The font family of the Pager. | |||
$kendo-pager-font-size | Number | $kendo-font-size-md | 14px |
Description
The font size of the Pager. | |||
$kendo-pager-line-height | Number | $kendo-line-height-md | 2 |
Description
The line height of the Pager. | |||
$kendo-pager-bg | Color | $kendo-component-bg | #ffffff |
Description
The background color of the Pager. | |||
$kendo-pager-text | Color | if( $kendo-is-dark-theme, $light-secondary-text, $dark-secondary-text ) | rgba(0, 0, 0, 0.54) |
Description
The text color of the Pager. | |||
$kendo-pager-border | Color | $kendo-component-border | rgba(0, 0, 0, 0.12) |
Description
The border color of the Pager. | |||
$kendo-pager-focus-bg | Color | k-try-shade( $kendo-pager-bg, .5 ) | whitesmoke |
Description
The background color of the focused Pager. | |||
$kendo-pager-focus-shadow | Null | null | null |
Description
The box shadow of the focused Pager. | |||
$kendo-pager-section-spacing | Number | $kendo-pager-padding-x | 8px |
Description
The spacing between the Pager sections. | |||
$kendo-pager-item-border-width | Number | 0px | 0px |
Description
The border width of the Pager items. | |||
$kendo-pager-item-border-radius | Number | 5em | 5em |
Description
The border radius of the Pager items. | |||
$kendo-pager-item-spacing | Number | 0px | 0px |
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 | Color | $kendo-list-item-hover-bg | rgba(0, 0, 0, 0.04) |
Description
The background color of the hovered Pager items. | |||
$kendo-pager-item-hover-text | Color | $kendo-pager-text | rgba(0, 0, 0, 0.54) |
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 | Color | $kendo-color-primary | #3f51b5 |
Description
The background color of the selected Pager items. | |||
$kendo-pager-item-selected-text | Color | $kendo-color-primary-contrast | white |
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-number-border-radius | Number | $kendo-pager-item-border-radius | 5em |
Description
The border radius of the Pager numbers. | |||
$kendo-pager-item-focus-opacity | Number | .12 | 0.12 |
Description
The opacity of the focused Pager items. | |||
$kendo-pager-item-focus-bg | Color | rgba($kendo-list-item-hover-bg, $kendo-pager-item-focus-opacity) | rgba(0, 0, 0, 0.12) |
Description
The background color of the focused Pager items. | |||
$kendo-pager-item-focus-shadow | Null | null | null |
Description
The box shadow of the focused Pager items. | |||
$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
)
) | (sm: (padding-x: 4px, padding-y: 4px, item-group-spacing: 6px, item-min-width: calc(1.4285714286em + 12px + 2px), pager-dropdown-width: 5em), md: (padding-x: 8px, padding-y: 8px, item-group-spacing: 8px, item-min-width: calc(1.4285714286em + 16px + 2px), pager-dropdown-width: 5em), lg: (padding-x: 10px, padding-y: 10px, item-group-spacing: 10px, item-min-width: calc(1.4285714286em + 20px + 2px), pager-dropdown-width: 5em)) |
Description
The sizes map of the Pager. |