New to Kendo UI for Angular? Start a free 30-day trial
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 | String | $kendo-font-family | inherit |
Description
The font family of the PDFViewer. | |||
$kendo-pdf-viewer-font-size | Number | $kendo-font-size-md | 14px |
Description
The font size of the PDFViewer. | |||
$kendo-pdf-viewer-line-height | Number | $kendo-line-height-md | 1.4285714286 |
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 | #424242 |
Description
The text color of the PDFViewer. | |||
$kendo-pdf-viewer-border | Color | $kendo-component-border | rgba(0, 0, 0, 0.08) |
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 | #424242 |
Description
The text color of the PDFViewer page. | |||
$kendo-pdf-viewer-page-border | Color | $kendo-component-border | rgba(0, 0, 0, 0.08) |
Description
The border color of the PDFViewer page. | |||
$kendo-pdf-viewer-page-shadow | String | k-elevation(3) | var(--kendo-elevation-3, 0 6px 8px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.12)) |
Description
The shadow of the PDFViewer page. | |||
$kendo-pdf-viewer-search-panel-padding-x | Number | $kendo-toolbar-md-padding-x | 8px |
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(8px * 2) |
Description
The vertical padding of the PDFViewer search panel. | |||
$kendo-pdf-viewer-search-panel-spacing | Number | $kendo-toolbar-md-spacing | 8px |
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 | 0 | 0 |
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 | #424242 |
Description
The text color of the PDFViewer search panel. | |||
$kendo-pdf-viewer-search-panel-border | Color | $kendo-component-border | rgba(0, 0, 0, 0.08) |
Description
The border color of the PDFViewer search panel. | |||
$kendo-pdf-viewer-search-panel-shadow | String | $kendo-window-shadow | var(--kendo-elevation-8, 0 16px 18px rgba(0, 0, 0, 0.28), 0 4px 16px rgba(0, 0, 0, 0.12)) |
Description
The shadow of the PDFViewer search panel. | |||
$kendo-pdf-viewer-search-panel-matches-spacing | Number | $kendo-padding-sm-x | 4px |
Description
The spacing of the matches container in the PDFViewer search panel. | |||
$kendo-pdf-viewer-selection-line-height | Number | $kendo-line-height-sm | 1.25 |
Description
The line height of the PDFViewer selection. | |||
$kendo-pdf-viewer-search-highlight-bg | Color | $kendo-body-text | #424242 |
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 | #7e7e7e |
Description
The text color of the PDFViewer icon. |