Customizing Scrollview
Variables
The following table lists the available variables for customization.
Name | Type | Default value | Computed value |
---|---|---|---|
$kendo-scrollview-border-width | Number | 0px | 0px |
Description
The width of the border around the ScrollView. | |||
$kendo-scrollview-font-family | String | var( --kendo-font-family, inherit ) | var(--kendo-font-family, inherit) |
Description
The font family of the ScrollView. | |||
$kendo-scrollview-font-size | String | var( --kendo-font-size, inherit ) | var(--kendo-font-size, inherit) |
Description
The font size of the ScrollView. | |||
$kendo-scrollview-line-height | String | var( --kendo-line-height, normal ) | var(--kendo-line-height, normal) |
Description
The line height of the ScrollView. | |||
$kendo-scrollview-text | String | var( --kendo-component-text, inherit ) | var(--kendo-component-text, inherit) |
Description
The text color of the ScrollView. | |||
$kendo-scrollview-bg | String | var( --kendo-component-bg, inherit ) | var(--kendo-component-bg, inherit) |
Description
The background color of the ScrollView. | |||
$kendo-scrollview-border | String | var( --kendo-component-border, inherit ) | var(--kendo-component-border, inherit) |
Description
The border color of the ScrollView. | |||
$kendo-scrollview-pagebutton-size | Number | 10px | 10px |
Description
The size of the ScrollView page button. | |||
$kendo-scrollview-pagebutton-bg | String | if($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-border | String | $kendo-scrollview-pagebutton-bg | var(--kendo-color-app-surface, #ffffff) |
Description
The border color of the ScrollView page button. | |||
$kendo-scrollview-pagebutton-primary-bg | String | if($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-border | String | $kendo-scrollview-pagebutton-primary-bg | var(--kendo-color-primary, #0078d4) |
Description
The primary border color of the ScrollView page button. | |||
$kendo-scrollview-pagebutton-hover-shadow | List | 0 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-shadow | List | 0 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-shadow | List | 0 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-shadow | List | 0 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-offset | Number | 0px | 0px |
Description
The offset of the ScrollView pager. | |||
$kendo-scrollview-pager-item-spacing | String | k-spacing(5) | var(--kendo-spacing-5, 1.25rem) |
Description
The spacing between the ScrollView pager items. | |||
$kendo-scrollview-pager-item-border-width | Number | 0px | 0px |
Description
The border width of the ScrollView pager items. | |||
$kendo-scrollview-pager-height | Calculation | calc( #{$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-color | String | if($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-shadow | String | var( --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-bg | Color | transparent | transparent |
Description
The background color of the ScrollView navigation. | |||
$kendo-scrollview-navigation-focus-shadow | List | 0 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-shadow | String | var( --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-bg | Color | rgba( $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-bg | Color | rgba( $kendo-color-black, .4 ) | rgba(0, 0, 0, 0.4) |
Description
The background color of the ScrollView pager in dark mode. | |||
$kendo-scrollview-transition-duration | Number | .3s | 0.3s |
Description
The duration of the ScrollView transition. | |||
$kendo-scrollview-transition-timing-function | String | ease-in-out | ease-in-out |
Description
The timing function of the ScrollView transition. |