Customizing Scrollview

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-scrollview-border-widthNumber0px0px
Description
The width of the border around the ScrollView.
$kendo-scrollview-font-familyStringvar( --kendo-font-family, inherit )var(--kendo-font-family, inherit)
Description
The font family of the ScrollView.
$kendo-scrollview-font-sizeStringvar( --kendo-font-size, inherit )var(--kendo-font-size, inherit)
Description
The font size of the ScrollView.
$kendo-scrollview-line-heightStringvar( --kendo-line-height, normal )var(--kendo-line-height, normal)
Description
The line height of the ScrollView.
$kendo-scrollview-textStringvar( --kendo-component-text, inherit )var(--kendo-component-text, inherit)
Description
The text color of the ScrollView.
$kendo-scrollview-bgStringvar( --kendo-component-bg, inherit )var(--kendo-component-bg, inherit)
Description
The background color of the ScrollView.
$kendo-scrollview-borderStringvar( --kendo-component-border, inherit )var(--kendo-component-border, inherit)
Description
The border color of the ScrollView.
$kendo-scrollview-pagebutton-sizeNumber10px10px
Description
The size of the ScrollView page button.
$kendo-scrollview-pagebutton-bgStringif($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white)var(--kendo-color-app-surface, #ffffff)
Description
The background color of the ScrollView page button.
$kendo-scrollview-pagebutton-borderString$kendo-scrollview-pagebutton-bgvar(--kendo-color-app-surface, #ffffff)
Description
The border color of the ScrollView page button.
$kendo-scrollview-pagebutton-primary-bgStringif($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 ))var(--kendo-color-primary, #0078d4)
Description
The primary background color of the ScrollView page button.
$kendo-scrollview-pagebutton-primary-borderString$kendo-scrollview-pagebutton-primary-bgvar(--kendo-color-primary, #0078d4)
Description
The primary border color of the ScrollView page button.
$kendo-scrollview-pagebutton-hover-shadowList0 0 0 1px if($kendo-enable-color-system, k-color( base ), k-get-theme-color-var( neutral-30 ))0 0 0 1px var(--kendo-color-base, #ffffff)
Description
The hover box shadow of the ScrollView page button.
$kendo-scrollview-pagebutton-focus-shadowList0 0 0 1px if($kendo-enable-color-system, k-color( base-emphasis ), k-get-theme-color-var( neutral-130 ))0 0 0 1px var(--kendo-color-base-emphasis, #605e5c)
Description
The focus box shadow of the ScrollView page button.
$kendo-scrollview-pagebutton-primary-hover-shadowList0 0 0 2px if($kendo-enable-color-system, k-color( base ), k-get-theme-color-var( neutral-30 ))0 0 0 2px var(--kendo-color-base, #ffffff)
Description
The primary hover box shadow of the ScrollView page button.
$kendo-scrollview-pagebutton-primary-focus-shadowList0 0 0 2px if($kendo-enable-color-system, k-color( base-emphasis ), k-get-theme-color-var( neutral-130 ))0 0 0 2px var(--kendo-color-base-emphasis, #605e5c)
Description
The primary focus box shadow of the ScrollView page button.
$kendo-scrollview-pager-offsetNumber0px0px
Description
The offset of the ScrollView pager.
$kendo-scrollview-pager-item-spacingStringk-spacing(5)var(--kendo-spacing-5, 1.25rem)
Description
The spacing between the ScrollView pager items.
$kendo-scrollview-pager-item-border-widthNumber0px0px
Description
The border width of the ScrollView pager items.
$kendo-scrollview-pager-heightCalculationcalc( #{$kendo-scrollview-pagebutton-size} + #{$kendo-scrollview-pager-item-border-width * 2} + calc( #{$kendo-scrollview-pager-item-spacing} * 2 ) )calc(10px + 0px + var(--kendo-spacing-5, 1.25rem) * 2)
Description
The height of the ScrollView pager.
$kendo-scrollview-navigation-colorStringif($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white)var(--kendo-color-app-surface, #ffffff)
Description
The color of the ScrollView navigation arrows.
$kendo-scrollview-navigation-arrow-shadowStringvar( --kendo-box-shadow-depth-3, none )var(--kendo-box-shadow-depth-3, none)
Description
The box shadow of the ScrollView navigation arrows.
$kendo-scrollview-navigation-bgColortransparenttransparent
Description
The background color of the ScrollView navigation.
$kendo-scrollview-navigation-focus-shadowList0 0 0 1px if($kendo-enable-color-system, k-color( base-emphasis ), k-get-theme-color-var( neutral-130 ))0 0 0 1px var(--kendo-color-base-emphasis, #605e5c)
Description
The focus box shadow of the ScrollView navigation arrows.
$kendo-scrollview-navigation-arrow-hover-shadowStringvar( --kendo-box-shadow-depth-4, none )var(--kendo-box-shadow-depth-4, none)
Description
The hover box shadow of the ScrollView navigation arrows.
$kendo-scrollview-pager-light-bgColorrgba( $kendo-color-white, .4 )rgba(255, 255, 255, 0.4)
Description
The background color of the ScrollView pager in light mode.
$kendo-scrollview-pager-dark-bgColorrgba( $kendo-color-black, .4 )rgba(0, 0, 0, 0.4)
Description
The background color of the ScrollView pager in dark mode.
$kendo-scrollview-transition-durationNumber.3s0.3s
Description
The duration of the ScrollView transition.
$kendo-scrollview-transition-timing-functionStringease-in-outease-in-out
Description
The timing function of the ScrollView transition.

In this article

Not finding the help you need?