Skip to content

Commit aec0fc5

Browse files
committed
Clean up files
1 parent fa95f44 commit aec0fc5

File tree

322 files changed

+19
-160064
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

322 files changed

+19
-160064
lines changed

demo/basic.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
66
<title>pdfjs-viewer-element | Basic demo</title>
7-
<script type="module" src="https://cdn.jsdelivr.net/npm/pdfjs-viewer-element/dist/pdfjs-viewer-element.js"></script>
7+
<script type="module" src="../dist/pdfjs-viewer-element.js"></script>
88
<style>
99
body {
1010
margin: 0;

demo/extra-styles-urls.html

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,24 @@
2424
document.addEventListener('DOMContentLoaded', async () => {
2525
// Create a very simple toolbar by hiding the middle and right toolbar parts.
2626
document.querySelector('pdfjs-viewer-element').injectViewerStyles(`
27-
#toolbarViewerMiddle, #toolbarViewerRight { display: none; }
27+
:root {
28+
--main-color: #5755FE;
29+
--toolbar-icon-bg-color: #0200a8;
30+
--field-color: #5755FE;
31+
--separator-color: #5755FE;
32+
--toolbar-border-color: #5755FE;
33+
--field-border-color: #5755FE;
34+
--toolbar-bg-color: rgba(139, 147, 255, .1);
35+
--body-bg-color: rgba(255, 247, 252, .7);
36+
--button-hover-color: rgba(139, 147, 255, .1);
37+
--toolbar-icon-hover-bg-color: #0200a8;
38+
--toggled-btn-color: #0200a8;
39+
--toggled-btn-bg-color: rgba(139, 147, 255, .1);
40+
--toggled-hover-active-btn-color: #5755FE;
41+
--doorhanger-hover-bg-color: rgba(139, 147, 255, .1);
42+
--doorhanger-hover-color: #0200a8;
43+
--dropdown-btn-bg-color: rgba(139, 147, 255, .1);
44+
}
2845
`)
2946
})
3047
</script>

0 commit comments

Comments
 (0)