New to Kendo UI for Vue? 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 ) | 0.5rem |
Description
Horizontal padding of the pager according to the pager size. | |||
$kendo-pager-padding-y | Number | $kendo-pager-padding-x | 0.5rem |
Description
Vertical padding of the pager according to the pager size. | |||
$kendo-pager-sm-item-min-width | Calculation | $kendo-button-sm-calc-size | calc( 1.4285714286em + 0.5rem + 2px ) |
Description
Minimum width of the pager items according to the pager size. | |||
$kendo-pager-sm-item-group-spacing | Number | k-map-get( $kendo-spacing, 3.5 ) | 0.875rem |
Description
Margin between pager item groups according to the pager size. | |||
$kendo-pager-border-width | Number | 1px | 1px |
Description
Border width of the pager. | |||
$kendo-pager-font-family | List | $kendo-font-family | system-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
Font family of the pager. | |||
$kendo-pager-font-size | Number | $kendo-font-size-md | 1rem |
Description
Font size of the pager. | |||
$kendo-pager-line-height | Number | $kendo-line-height-md | 1.5 |
Description
Line height of the pager. | |||
$kendo-pager-bg | Color | $kendo-component-header-bg | #f8f9fa |
Description
Background color of the pager. | |||
$kendo-pager-text | Color | $kendo-component-header-text | #212529 |
Description
Text color of the pager. | |||
$kendo-pager-border | Color | $kendo-component-header-border | #dee2e6 |
Description
Border color of the pager. | |||
$kendo-pager-focus-bg | Null | null | null |
Description
Background color of the focused pager. | |||
$kendo-pager-focus-shadow | List | inset 0 0 0 2px rgba( $kendo-color-black, .08) | inset 0 0 0 2px rgba(0, 0, 0, 0.08) |
Description
Box shadow of the focused pager. | |||
$kendo-pager-section-spacing | Number | k-map-get( $kendo-spacing, 4 ) | 1rem |
Description
Spacing between the pager sections. | |||
$kendo-pager-item-border-width | Number | 1px | 1px |
Description
Border width of the pager items. | |||
$kendo-pager-item-border-radius | Number | k-map-get( $kendo-spacing, 1 ) | 0.25rem |
Description
Border radius of the pager items. | |||
$kendo-pager-item-spacing | Number | (-1 * $kendo-pager-item-border-width) | -1px |
Description
Spacing around the pager items. | |||
$kendo-pager-item-bg | Color | $kendo-component-bg | #ffffff |
Description
Background color of the pager items. | |||
$kendo-pager-item-text | Color | $kendo-link-text | #0d6efd |
Description
Text color of the pager items. | |||
$kendo-pager-item-border | Color | $kendo-component-border | #dee2e6 |
Description
Border color of the pager items. | |||
$kendo-pager-item-hover-bg | Color | $kendo-hover-bg | #e9ecef |
Description
Background color of the hovered pager items. | |||
$kendo-pager-item-hover-text | Color | $kendo-link-hover-text | #0a58ca |
Description
Text color of the hovered pager items. | |||
$kendo-pager-item-hover-border | Color | $kendo-hover-border | #d6d9dc |
Description
Border color of the hovered pager items. | |||
$kendo-pager-item-selected-bg | Color | $kendo-selected-bg | #0d6efd |
Description
Background color of the selected pager items. | |||
$kendo-pager-item-selected-text | Color | $kendo-selected-text | white |
Description
Text color of the selected pager items. | |||
$kendo-pager-item-selected-border | Color | $kendo-pager-item-selected-bg | #0d6efd |
Description
Border color of the selected pager items. | |||
$kendo-pager-item-focus-opacity | Null | null | null |
Description
Opacity of the focused pager items. | |||
$kendo-pager-item-focus-bg | Color | $kendo-pager-item-bg | #ffffff |
Description
Background color of the focused pager items. | |||
$kendo-pager-item-focus-shadow | List | 0 0 0 3px rgba($kendo-color-primary, .25) | 0 0 0 3px rgba(13, 110, 253, 0.25) |
Description
Box shadow of the focused pager items. | |||
$kendo-pager-number-border-radius | Number | 0px | 0px |
Description
Border radius of the pager numbers. | |||
$kendo-pager-input-width | Number | 5em | 5em |
Description
Width of the pager inputs. | |||
$kendo-pager-sm-dropdown-width | Number | 5em | 5em |
Description
Width of the pager dropdowns according to the pager size. | |||
$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: 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
Sizes map of the pager. |