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 | var( --kendo-component-bg, initial ) | var(--kendo-component-bg, initial) |
Description
The background color of the PDFViewer. | |||
$kendo-pdf-viewer-text | String | var( --kendo-component-text, initial ) | var(--kendo-component-text, initial) |
Description
The text color of the PDFViewer. | |||
$kendo-pdf-viewer-border | String | var( --kendo-component-border, initial ) | var(--kendo-component-border, initial) |
Description
The border color of the PDFViewer. | |||
$kendo-pdf-viewer-canvas-bg | String | if($kendo-enable-color-system, k-color( surface ), k-get-theme-color-var( neutral-10 )) | var(--kendo-color-surface, #faf9f8) |
Description
The background color of the PDFViewer canvas. | |||
$kendo-pdf-viewer-canvas-text | String | var( --kendo-component-text, inherit ) | var(--kendo-component-text, inherit) |
Description
Text color of the PDF viewer canvas. | |||
$kendo-pdf-viewer-canvas-border | String | var( --kendo-component-border, inherit ) | var(--kendo-component-border, inherit) |
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 | String | var( --kendo-component-bg, inherit ) | var(--kendo-component-bg, inherit) |
Description
The background color of the PDFViewer page. | |||
$kendo-pdf-viewer-page-text | String | var( --kendo-component-text, inherit )!default | var(--kendo-component-text, inherit) |
Description
The text color of the PDFViewer page. | |||
$kendo-pdf-viewer-page-border | String | var( --kendo-component-border, inherit ) | var(--kendo-component-border, inherit) |
Description
The border color of the PDFViewer page. | |||
$kendo-pdf-viewer-page-shadow | String | var( --kendo-box-shadow-depth-3, none ) | var(--kendo-box-shadow-depth-3, none) |
Description
The shadow of the PDFViewer page. | |||
$kendo-pdf-viewer-search-panel-padding-x | String | k-spacing(3) | var(--kendo-spacing-3, 0.75rem) |
Description
The horizontal padding of the PDFViewer search panel. | |||
$kendo-pdf-viewer-search-panel-padding-y | String | $kendo-pdf-viewer-search-panel-padding-x | var(--kendo-spacing-3, 0.75rem) |
Description
The vertical padding of the PDFViewer search panel. | |||
$kendo-pdf-viewer-search-panel-spacing | String | k-spacing(2) | 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-border-radius(md) | var(--kendo-border-radius-md, 0.25rem) |
Description
The border radius of the PDFViewer search panel. | |||
$kendo-pdf-viewer-search-panel-bg | String | var( --kendo-component-bg, inherit ) | var(--kendo-component-bg, inherit) |
Description
The background color of the PDFViewer search panel. | |||
$kendo-pdf-viewer-search-panel-text | String | var( --kendo-component-text, inherit ) | var(--kendo-component-text, inherit) |
Description
The text color of the PDFViewer search panel. | |||
$kendo-pdf-viewer-search-panel-border | String | var( --kendo-component-border, inherit )!default | var(--kendo-component-border, inherit) |
Description
The border color of the PDFViewer search panel. | |||
$kendo-pdf-viewer-search-panel-shadow | String | none | none |
Description
The shadow of the PDFViewer search panel. | |||
$kendo-pdf-viewer-search-panel-matches-spacing | String | var( --kendo-icon-spacing, .5rem ) | var(--kendo-icon-spacing, 0.5rem) |
Description
The spacing of the matches container in the PDFViewer search panel. | |||
$kendo-pdf-viewer-search-panel-margin-y | Calculation | calc( ( #{$kendo-button-calc-size} + ( 2 * #{$kendo-pdf-viewer-search-panel-border-width} ) + ( 2 * #{$kendo-pdf-viewer-search-panel-padding-y} ) ) * -1 ) | calc((calc(var(--kendo-line-height, normal) * 1em + var(--kendo-spacing-1\.5, 0.375rem) * 2 + 1px * 2) + 2 * 1px + 2 * var(--kendo-spacing-3, 0.75rem)) * -1) |
Description
The vertical margin of the PDFViewer search panel. | |||
$kendo-pdf-viewer-selection-line-height | String | var( --kendo-line-height-sm, normal ) | var(--kendo-line-height-sm, normal) |
Description
The line height of the PDFViewer selection. | |||
$kendo-pdf-viewer-search-highlight-bg | String | var( --kendo-component-text, inherit ) | var(--kendo-component-text, inherit) |
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, #605e5c) |
Description
The text color of the PDFViewer icon. |