New to Kendo UI for Angular? Start a free 30-day trial
Customizing PDFViewer
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 | String | var( --kendo-font-family, inherit ) | var(--kendo-font-family, inherit) |
Description
The font family of the PDFViewer. | |||
$kendo-pdf-viewer-font-size | String | var( --kendo-font-size, inherit ) | var(--kendo-font-size, inherit) |
Description
The font size of the PDFViewer. | |||
$kendo-pdf-viewer-line-height | String | var( --kendo-line-height, normal ) | var(--kendo-line-height, normal) |
Description
The line height of the PDFViewer. | |||
$kendo-pdf-viewer-bg | String | $kendo-component-bg | var(--kendo-color-surface-alt, #ffffff) |
Description
The background color of the PDFViewer. | |||
$kendo-pdf-viewer-text | String | $kendo-component-text | var(--kendo-color-on-app-surface, #212121) |
Description
The text color of the PDFViewer. | |||
$kendo-pdf-viewer-border | String | $kendo-component-border | var(--kendo-color-border, rgba(0, 0, 0, 0.12)) |
Description
The border color of the PDFViewer. | |||
$kendo-pdf-viewer-toolbar-bg | String | if($kendo-enable-color-system, k-color( surface ), k-try-shade( $kendo-button-bg, .25 )) | var(--kendo-color-surface, #f5f5f5) |
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 | String | $kendo-app-bg | var(--kendo-color-app-surface, #ffffff) |
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 | String | k-spacing(7.5) | var(--kendo-spacing-7\.5, 1.875rem) |
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 | String | $kendo-component-text | var(--kendo-color-on-app-surface, #212121) |
Description
The text color of the PDFViewer page. | |||
$kendo-pdf-viewer-page-border | String | $kendo-component-border | var(--kendo-color-border, rgba(0, 0, 0, 0.12)) |
Description
The border color of the PDFViewer page. | |||
$kendo-pdf-viewer-page-shadow | String | $box-shadow-depth-3 | var(--kendo-elevation-3, 0px 1px 8px 0px rgba(0, 0, 0, 0.2), 0px 3px 3px 0px rgba(0, 0, 0, 0.12), 0px 3px 4px 0px rgba(0, 0, 0, 0.14)) |
Description
The shadow of the PDFViewer page. | |||
$kendo-pdf-viewer-search-panel-padding-x | String | $kendo-toolbar-md-padding-x | var(--kendo-spacing-2, 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(var(--kendo-spacing-2, 0.5rem) * 2) |
Description
The vertical padding of the PDFViewer search panel. | |||
$kendo-pdf-viewer-search-panel-spacing | String | $kendo-toolbar-md-spacing | var(--kendo-spacing-2, 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 | String | k-spacing(1) | var(--kendo-spacing-1, 0.25rem) |
Description
The border radius of the PDFViewer search panel. | |||
$kendo-pdf-viewer-search-panel-bg | String | $kendo-component-bg | var(--kendo-color-surface-alt, #ffffff) |
Description
The background color of the PDFViewer search panel. | |||
$kendo-pdf-viewer-search-panel-text | String | $kendo-component-text | var(--kendo-color-on-app-surface, #212121) |
Description
The text color of the PDFViewer search panel. | |||
$kendo-pdf-viewer-search-panel-border | String | $kendo-component-border | var(--kendo-color-border, rgba(0, 0, 0, 0.12)) |
Description
The border color of the PDFViewer search panel. | |||
$kendo-pdf-viewer-search-panel-shadow | String | $kendo-window-shadow | var(--kendo-elevation-8, 0px 8px 10px rgba(0, 0, 0, 0.2), 0px 6px 30px rgba(0, 0, 0, 0.12), 0px 16px 24px rgba(0, 0, 0, 0.14)) |
Description
The shadow of the PDFViewer search panel. | |||
$kendo-pdf-viewer-search-panel-matches-spacing | String | $kendo-padding-sm-x | var(--kendo-spacing-2, 0.5rem) |
Description
The spacing of the matches container in the PDFViewer search panel. | |||
$kendo-pdf-viewer-selection-line-height | Number | $kendo-line-height-sm | 1.2 |
Description
The line height of the PDFViewer selection. | |||
$kendo-pdf-viewer-search-highlight-bg | String | $kendo-body-text | var(--kendo-color-on-app-surface, #212121) |
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 | String | $kendo-dropzone-icon-text | var(--kendo-color-subtle, #757575) |
Description
The text color of the PDFViewer icon. |