New to Kendo UI for AngularStart a free 30-day trial

Customizing Pager

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-pager-padding-xStringk-spacing(2)var(--kendo-spacing-2, 0.5rem)
Description
The horizontal padding of the Pager.
$kendo-pager-sm-padding-xStringk-spacing(1)var(--kendo-spacing-1, 0.25rem)
Description
The horizontal padding of the small Pager.
$kendo-pager-md-padding-xStringk-spacing(2)var(--kendo-spacing-2, 0.5rem)
Description
The horizontal padding of the medium Pager.
$kendo-pager-lg-padding-xStringk-spacing(2.5)var(--kendo-spacing-2\.5, 0.625rem)
Description
The horizontal padding of the large Pager.
$kendo-pager-padding-yString$kendo-pager-padding-xvar(--kendo-spacing-2, 0.5rem)
Description
The vertical padding of the Pager.
$kendo-pager-sm-padding-yString$kendo-pager-sm-padding-xvar(--kendo-spacing-1, 0.25rem)
Description
The vertical padding of the small Pager.
$kendo-pager-md-padding-yString$kendo-pager-md-padding-xvar(--kendo-spacing-2, 0.5rem)
Description
The vertical padding of the medium Pager.
$kendo-pager-lg-padding-yString$kendo-pager-lg-padding-xvar(--kendo-spacing-2\.5, 0.625rem)
Description
The vertical padding of the large Pager.
$kendo-pager-sm-item-min-widthCalculation$kendo-button-sm-calc-sizecalc(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-widthCalculation$kendo-button-md-calc-sizecalc(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-widthCalculation$kendo-button-lg-calc-sizecalc(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-spacingStringk-spacing(3)var(--kendo-spacing-3, 0.75rem)
Description
The margin between the item groups in the small Pager.
$kendo-pager-md-item-group-spacingStringk-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-spacingStringk-spacing(4)var(--kendo-spacing-4, 1rem)
Description
The margin between the item groups in the large Pager.
$kendo-pager-border-widthNumber1px1px
Description
The border width of the Pager.
$kendo-pager-font-familyStringvar( --kendo-font-family, inherit )var(--kendo-font-family, inherit)
Description
The font family of the Pager.
$kendo-pager-font-sizeStringvar( --kendo-font-size, inherit )var(--kendo-font-size, inherit)
Description
The font size of the Pager.
$kendo-pager-line-heightStringvar( --kendo-line-height, normal )var(--kendo-line-height, normal)
Description
The line height of the Pager.
$kendo-pager-bgString$kendo-component-header-bgvar(--kendo-color-surface, #fafafa)
Description
The background color of the Pager.
$kendo-pager-textString$kendo-component-header-textvar(--kendo-color-on-app-surface, #3d3d3d)
Description
The text color of the Pager.
$kendo-pager-borderString$kendo-component-bordervar(--kendo-color-border, rgba(0, 0, 0, 0.08))
Description
The border color of the Pager.
$kendo-pager-focus-bgNullnullnull
Description
The background color of the focused Pager.
$kendo-pager-focus-shadowList$kendo-focus-shadowinset 0 0 0 2px rgba(0, 0, 0, 0.13)
Description
The box shadow of the focused Pager.
$kendo-pager-item-border-widthNumber0px0px
Description
The border width of the Pager items.
$kendo-pager-item-border-radiusNullnullnull
Description
The border radius of the Pager items.
$kendo-pager-item-spacingNullnullnull
Description
The spacing around the Pager items.
$kendo-pager-item-bgNullnullnull
Description
The background color of the Pager items.
$kendo-pager-item-textNullnullnull
Description
The text color of the Pager items.
$kendo-pager-item-borderNullnullnull
Description
The border color of the Pager items.
$kendo-pager-item-hover-bgString$kendo-list-item-hover-bgvar(--kendo-color-base-hover, #ebebeb)
Description
The background color of the hovered Pager items.
$kendo-pager-item-hover-textString$kendo-list-item-hover-textvar(--kendo-color-on-app-surface, #3d3d3d)
Description
The text color of the hovered Pager items.
$kendo-pager-item-hover-borderNullnullnull
Description
The border color of the hovered Pager items.
$kendo-pager-item-selected-bgString$kendo-list-item-selected-bgvar(--kendo-color-primary, #ff6358)
Description
The background color of the selected Pager items.
$kendo-pager-item-selected-textString$kendo-list-item-selected-textvar(--kendo-color-on-primary, #ffffff)
Description
The text color of the selected Pager items.
$kendo-pager-item-selected-borderNullnullnull
Description
The border color of the selected Pager items.
$kendo-pager-item-focus-opacityNullnullnull
Description
The opacity of the focused Pager items.
$kendo-pager-item-focus-bgColortransparenttransparent
Description
The background color of the focused Pager items.
$kendo-pager-item-focus-shadowList$kendo-list-item-focus-shadowinset 0 0 0 2px rgba(0, 0, 0, 0.12)
Description
The box shadow of the focused Pager items.
$kendo-pager-number-border-radiusNullnullnull
Description
The border radius of the Pager numbers.
$kendo-pager-input-widthNumber5em5em
Description
The width of the Inputs in the Pager.
$kendo-pager-sm-dropdown-widthNumber5em5em
Description
The width of the DropDowns in the small Pager.
$kendo-pager-md-dropdown-widthNumber5em5em
Description
The width of the DropDowns in the medium Pager.
$kendo-pager-lg-dropdown-widthNumber5em5em
Description
The width of the DropDowns in the large Pager.
$kendo-pager-sizesMap( 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":"var(--kendo-spacing-1, 0.25rem)","padding-y":"var(--kendo-spacing-1, 0.25rem)","item-group-spacing":"var(--kendo-spacing-3, 0.75rem)","item-min-width":"calc(var(--kendo-line-height, normal) * 1em + var(--kendo-spacing-0\\.5, 0.125rem) * 2 + 2px)","pager-dropdown-width":"5em"
  • md: "padding-x":"var(--kendo-spacing-2, 0.5rem)","padding-y":"var(--kendo-spacing-2, 0.5rem)","item-group-spacing":"var(--kendo-spacing-3\\.5, 0.875rem)","item-min-width":"calc(var(--kendo-line-height, normal) * 1em + var(--kendo-spacing-1, 0.25rem) * 2 + 2px)","pager-dropdown-width":"5em"
  • lg: "padding-x":"var(--kendo-spacing-2\\.5, 0.625rem)","padding-y":"var(--kendo-spacing-2\\.5, 0.625rem)","item-group-spacing":"var(--kendo-spacing-4, 1rem)","item-min-width":"calc(var(--kendo-line-height-lg, normal) * 1em + var(--kendo-spacing-2, 0.5rem) * 2 + 2px)","pager-dropdown-width":"5em"
Description
The sizes map of the Pager.
In this article
VariablesSuggested Links
Not finding the help you need?
Contact Support