New to Kendo UI for Vue? Start a free 30-day trial

Customizing Pager

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-pager-padding-xNumberk-map-get( $kendo-spacing, 2 )0.5rem
Description
The horizontal padding of the Pager.
$kendo-pager-sm-padding-xNumberk-map-get( $kendo-spacing, 1 )0.25rem
Description
The horizontal padding of the small Pager.
$kendo-pager-md-padding-xNumberk-map-get( $kendo-spacing, 2 )0.5rem
Description
The horizontal padding of the medium Pager.
$kendo-pager-lg-padding-xNumberk-map-get( $kendo-spacing, 2.5 )0.625rem
Description
The horizontal padding of the large Pager.
$kendo-pager-padding-yNumber$kendo-pager-padding-x0.5rem
Description
The vertical padding of the Pager.
$kendo-pager-sm-padding-yNumber$kendo-pager-sm-padding-x0.25rem
Description
The vertical padding of the small Pager.
$kendo-pager-md-padding-yNumber$kendo-pager-md-padding-x0.5rem
Description
The vertical padding of the medium Pager.
$kendo-pager-lg-padding-yNumber$kendo-pager-lg-padding-x0.625rem
Description
The vertical padding of the large Pager.
$kendo-pager-sm-item-min-widthCalculation$kendo-button-sm-calc-sizecalc(1.4285714286em + 0.5rem + 2px)
Description
The minimum width of the items in the small Pager.
$kendo-pager-md-item-min-widthCalculation$kendo-button-md-calc-sizecalc(1.5em + 0.75rem + 2px)
Description
The minimum width of the items in the medium Pagers.
$kendo-pager-lg-item-min-widthCalculation$kendo-button-lg-calc-sizecalc(1.5em + 1rem + 2px)
Description
The minimum width of the items in the large Pagers.
$kendo-pager-sm-item-group-spacingNumberk-map-get( $kendo-spacing, 3.5 )0.875rem
Description
The margin between the item groups in the small Pager.
$kendo-pager-md-item-group-spacingNumberk-map-get( $kendo-spacing, 4 )1rem
Description
The margin between the item groups in the medium Pager.
$kendo-pager-lg-item-group-spacingNumberk-map-get( $kendo-spacing, 4.5 )1.125rem
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-familyList$kendo-font-familysystem-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"
Description
The font family of the Pager.
$kendo-pager-font-sizeNumber$kendo-font-size-md1rem
Description
The font size of the Pager.
$kendo-pager-line-heightNumber$kendo-line-height-md1.5
Description
The line height of the Pager.
$kendo-pager-bgColor$kendo-component-header-bg#f8f9fa
Description
The background color of the Pager.
$kendo-pager-textColor$kendo-component-header-text#212529
Description
The text color of the Pager.
$kendo-pager-borderColor$kendo-component-header-border#dee2e6
Description
The border color of the Pager.
$kendo-pager-focus-bgNullnullnull
Description
The background color of the focused Pager.
$kendo-pager-focus-shadowListinset 0 0 0 2px rgba( $kendo-color-black, .08)inset 0 0 0 2px rgba(0, 0, 0, 0.08)
Description
The box shadow of the focused Pager.
$kendo-pager-section-spacingNumberk-map-get( $kendo-spacing, 4 )1rem
Description
The spacing between the Pager sections.
$kendo-pager-item-border-widthNumber1px1px
Description
The border width of the Pager items.
$kendo-pager-item-border-radiusNumberk-map-get( $kendo-spacing, 1 )0.25rem
Description
The border radius of the Pager items.
$kendo-pager-item-spacingNumber(-1 * $kendo-pager-item-border-width)-1px
Description
The spacing around the Pager items.
$kendo-pager-item-bgColor$kendo-component-bg#ffffff
Description
The background color of the Pager items.
$kendo-pager-item-textColor$kendo-link-text#0d6efd
Description
The text color of the Pager items.
$kendo-pager-item-borderColor$kendo-component-border#dee2e6
Description
The border color of the Pager items.
$kendo-pager-item-hover-bgColor$kendo-hover-bg#e9ecef
Description
The background color of the hovered Pager items.
$kendo-pager-item-hover-textColor$kendo-link-hover-text#0a58ca
Description
The text color of the hovered Pager items.
$kendo-pager-item-hover-borderColor$kendo-hover-border#d6d9dc
Description
The border color of the hovered Pager items.
$kendo-pager-item-selected-bgColor$kendo-selected-bg#0d6efd
Description
The background color of the selected Pager items.
$kendo-pager-item-selected-textColor$kendo-selected-textwhite
Description
The text color of the selected Pager items.
$kendo-pager-item-selected-borderColor$kendo-pager-item-selected-bg#0d6efd
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-bgColor$kendo-pager-item-bg#ffffff
Description
The background color of the focused Pager items.
$kendo-pager-item-focus-shadowList0 0 0 3px if($kendo-enable-color-system, color-mix(in srgb, k-color( primary ) 25%, transparent), rgba($kendo-color-primary, .25))0 0 0 3px rgba(13, 110, 253, 0.25)
Description
The box shadow of the focused Pager items.
$kendo-pager-number-border-radiusNumber0px0px
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-widthNumber6em6em
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: 0.25rem, padding-y: 0.25rem, item-group-spacing: 0.875rem, item-min-width: calc(1.4285714286em + 0.5rem + 2px), pager-dropdown-width: 5em), md: (padding-x: 0.5rem, padding-y: 0.5rem, item-group-spacing: 1rem, item-min-width: calc(1.5em + 0.75rem + 2px), pager-dropdown-width: 5em), lg: (padding-x: 0.625rem, padding-y: 0.625rem, item-group-spacing: 1.125rem, item-min-width: calc(1.5em + 1rem + 2px), pager-dropdown-width: 6em))
Description
The sizes map of the Pager.

In this article

Not finding the help you need?