Customizing Pdf-viewer
Variables
The following table lists the available variables for customization.
Name | Type | Default value | Computed value |
---|---|---|---|
$kendo-pdf-viewer-border-width | Number | 1px | 1px |
Description
The border width of the PDFViewer. | |||
$kendo-pdf-viewer-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
The font family of the PDFViewer. | |||
$kendo-pdf-viewer-font-size | Number | $kendo-font-size-md | 1rem |
Description
The font size of the PDFViewer. | |||
$kendo-pdf-viewer-line-height | Number | $kendo-line-height-md | 1.5 |
Description
The line height of the PDFViewer. | |||
$kendo-pdf-viewer-bg | Color | $kendo-component-bg | #ffffff |
Description
The background color of the PDFViewer. | |||
$kendo-pdf-viewer-text | Color | $kendo-component-text | #212529 |
Description
The text color of the PDFViewer. | |||
$kendo-pdf-viewer-border | Color | $kendo-component-border | #dee2e6 |
Description
The border color of the PDFViewer. | |||
$kendo-pdf-viewer-toolbar-bg | Null | null | null |
Description
The background color of the PDFViewer Toolbar. | |||
$kendo-pdf-viewer-toolbar-text | Null | null | null |
Description
The text color of the PDFViewer Toolbar. | |||
$kendo-pdf-viewer-toolbar-border | Null | null | null |
Description
The border color of the PDFViewer Toolbar. | |||
$kendo-pdf-viewer-toolbar-gradient | Null | null | null |
Description
The gradient of the PDFViewer Toolbar. | |||
$kendo-pdf-viewer-canvas-bg | Color | $kendo-app-bg | #fafafa |
Description
The background color of the PDFViewer canvas. | |||
$kendo-pdf-viewer-canvas-text | Null | null | null |
Description
The text color of the PDFViewer canvas. | |||
$kendo-pdf-viewer-canvas-border | Null | null | null |
Description
The border color of the PDFViewer canvas. | |||
$kendo-pdf-viewer-page-spacing | Number | 30px | 30px |
Description
The spacing of the PDFViewer page. | |||
$kendo-pdf-viewer-page-bg | Color | white | white |
Description
The background color of the PDFViewer page. | |||
$kendo-pdf-viewer-page-text | Color | $kendo-component-text | #212529 |
Description
The text color of the PDFViewer page. | |||
$kendo-pdf-viewer-page-border | Color | $kendo-component-border | #dee2e6 |
Description
The border color of the PDFViewer page. | |||
$kendo-pdf-viewer-page-shadow | String | k-elevation(3) | var(--kendo-elevation-3, 0px 4px 10px rgba(0, 0, 0, 0.1)) |
Description
The shadow of the PDFViewer page. | |||
$kendo-pdf-viewer-search-panel-padding-x | Number | $kendo-toolbar-md-padding-x | 0.5rem |
Description
The horizontal padding of the PDFViewer search panel. | |||
$kendo-pdf-viewer-search-panel-padding-y | Calculation | calc( #{$kendo-toolbar-md-padding-x} * 2 ) | calc(0.5rem * 2) |
Description
The vertical padding of the PDFViewer search panel. | |||
$kendo-pdf-viewer-search-panel-spacing | Number | $kendo-toolbar-md-spacing | 0.5rem |
Description
The spacing of the PDFViewer search panel. | |||
$kendo-pdf-viewer-search-panel-border-width | Number | 1px | 1px |
Description
The border width of the PDFViewer search panel. | |||
$kendo-pdf-viewer-search-panel-border-radius | Number | k-map-get( $kendo-spacing, 1 ) | 0.25rem |
Description
The border radius of the PDFViewer search panel. | |||
$kendo-pdf-viewer-search-panel-bg | Color | $kendo-component-bg | #ffffff |
Description
The background color of the PDFViewer search panel. | |||
$kendo-pdf-viewer-search-panel-text | Color | $kendo-component-text | #212529 |
Description
The text color of the PDFViewer search panel. | |||
$kendo-pdf-viewer-search-panel-border | Color | $kendo-component-border | #dee2e6 |
Description
The border color of the PDFViewer search panel. | |||
$kendo-pdf-viewer-search-panel-shadow | Null | null | null |
Description
The shadow of the PDFViewer search panel. | |||
$kendo-pdf-viewer-search-panel-matches-spacing | Number | $kendo-padding-sm-x | 0.5rem |
Description
The spacing of the matches container in the PDFViewer search panel. | |||
$kendo-pdf-viewer-selection-line-height | Number | 1.2 | 1.2 |
Description
The line height of the PDFViewer selection. | |||
$kendo-pdf-viewer-search-highlight-bg | Color | $kendo-body-text | #212529 |
Description
The background color of the PDFViewer highlight. | |||
$kendo-pdf-viewer-search-highlight-mark-bg | Color | yellow | yellow |
Description
The background color of the PDFViewer highlight mark. | |||
$kendo-pdf-viewer-icon-text | Color | $kendo-dropzone-icon-text | #afb1b2 |
Description
The text color of the PDFViewer icon. |