New to Kendo UI for Angular? Start a free 30-day trial
Customizing Scrollview
Variables
The following table lists the available variables for customization.
Name | Type | Default value | Computed value |
---|---|---|---|
$kendo-scrollview-border-width | Number | 1px | 1px |
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 | $kendo-component-text | var(--kendo-color-on-app-surface, #212121) |
Description
The text color of the ScrollView. | |||
$kendo-scrollview-bg | String | $kendo-component-bg | var(--kendo-color-surface-alt, #ffffff) |
Description
The background color of the ScrollView. | |||
$kendo-scrollview-border | String | $kendo-component-border | var(--kendo-color-border, rgba(0, 0, 0, 0.12)) |
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 | $kendo-button-bg | var(--kendo-color-base, #ffffff) |
Description
The background color of the ScrollView page button. | |||
$kendo-scrollview-pagebutton-border | String | $kendo-button-border | var(--kendo-color-base, #ffffff) |
Description
The border color of the ScrollView page button. | |||
$kendo-scrollview-pagebutton-primary-bg | String | $kendo-color-primary | var(--kendo-color-primary, #3f51b5) |
Description
The primary background color of the ScrollView page button. | |||
$kendo-scrollview-pagebutton-primary-border | String | $kendo-color-primary | var(--kendo-color-primary, #3f51b5) |
Description
The primary border color of the ScrollView page button. | |||
$kendo-scrollview-pagebutton-shadow | List | 0 0 0 2px rgba( black, .13 ) | 0 0 0 2px rgba(0, 0, 0, 0.13) |
Description
The box shadow of the ScrollView page button. | |||
$kendo-scrollview-pager-offset | Number | 0 | 0 |
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-arrow-tap-highlight-color | Color | $kendo-color-rgba-transparent | rgba(0, 0, 0, 0) |
Description
The text color of the highlight over the tapped ScrollView navigation arrows. | |||
$kendo-scrollview-navigation-color | Color | white | white |
Description
The color of the ScrollView navigation arrows. | |||
$kendo-scrollview-navigation-icon-shadow | List | rgba( black, .3 ) 0 0 15px | rgba(0, 0, 0, 0.3) 0 0 15px |
Description
The box shadow of the ScrollView navigation arrows. | |||
$kendo-scrollview-navigation-bg | Color | rgba( black, 0 ) | rgba(0, 0, 0, 0) |
Description
The background color of the ScrollView navigation. | |||
$kendo-scrollview-navigation-default-opacity | Number | .7 | 0.7 |
Description
The opacity of the ScrollView navigation. | |||
$kendo-scrollview-navigation-hover-opacity | Number | 1 | 1 |
Description
The hover opacity of the ScrollView navigation. | |||
$kendo-scrollview-navigation-hover-span-bg | Null | null | null |
Description
The hover background color of the ScrollView navigation arrows. | |||
$kendo-scrollview-light-bg | Color | rgba( white, .4 ) | rgba(255, 255, 255, 0.4) |
Description
The background color of the ScrollView pager in light mode. | |||
$kendo-scrollview-dark-bg | Color | rgba( 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. |