Skip to content

Commit

Permalink
PDF.js 4.2.67 (legacy)
Browse files Browse the repository at this point in the history
  • Loading branch information
zerocrates committed May 22, 2024
1 parent d4518b6 commit ee78e0b
Show file tree
Hide file tree
Showing 297 changed files with 149,454 additions and 169,804 deletions.
25,361 changes: 0 additions & 25,361 deletions views/shared/pdf-embed-js/build/pdf.js

This file was deleted.

1 change: 0 additions & 1 deletion views/shared/pdf-embed-js/build/pdf.js.map

This file was deleted.

24,829 changes: 24,829 additions & 0 deletions views/shared/pdf-embed-js/build/pdf.mjs

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions views/shared/pdf-embed-js/build/pdf.mjs.map

Large diffs are not rendered by default.

416 changes: 0 additions & 416 deletions views/shared/pdf-embed-js/build/pdf.sandbox.js

This file was deleted.

1 change: 0 additions & 1 deletion views/shared/pdf-embed-js/build/pdf.sandbox.js.map

This file was deleted.

3,796 changes: 3,796 additions & 0 deletions views/shared/pdf-embed-js/build/pdf.sandbox.mjs

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions views/shared/pdf-embed-js/build/pdf.sandbox.mjs.map

Large diffs are not rendered by default.

93,160 changes: 0 additions & 93,160 deletions views/shared/pdf-embed-js/build/pdf.worker.js

This file was deleted.

1 change: 0 additions & 1 deletion views/shared/pdf-embed-js/build/pdf.worker.js.map

This file was deleted.

61,126 changes: 61,126 additions & 0 deletions views/shared/pdf-embed-js/build/pdf.worker.mjs

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions views/shared/pdf-embed-js/build/pdf.worker.mjs.map

Large diffs are not rendered by default.

48 changes: 28 additions & 20 deletions views/shared/pdf-embed-js/web/debugger.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,29 +13,34 @@
* limitations under the License.
*/

:root {
--panel-width: 300px;
}

#PDFBug,
#PDFBug :is(input, button, select) {
font: message-box;
}
#PDFBug {
background-color: rgba(255, 255, 255, 1);
border: 1px solid rgba(102, 102, 102, 1);
background-color: rgb(255 255 255);
border: 1px solid rgb(102 102 102);
position: fixed;
top: 32px;
right: 0;
bottom: 0;
font-size: 10px;
padding: 0;
width: 300px;
width: var(--panel-width);
}
#PDFBug .controls {
background: rgba(238, 238, 238, 1);
border-bottom: 1px solid rgba(102, 102, 102, 1);
background: rgb(238 238 238);
border-bottom: 1px solid rgb(102 102 102);
padding: 3px;
}
#PDFBug .panels {
bottom: 0;
left: 0;
inset: 27px 0 0;
overflow: auto;
position: absolute;
right: 0;
top: 27px;
}
#PDFBug .panels > div {
padding: 5px;
Expand All @@ -45,7 +50,7 @@
}
.debuggerShowText,
.debuggerHideText:hover {
background-color: rgba(255, 255, 0, 1);
background-color: rgb(255 255 0 / 0.25);
}
#PDFBug .stats {
font-family: courier;
Expand All @@ -64,8 +69,7 @@
text-align: center;
}
#PDFBug table.showText,
#PDFBug table.showText tr,
#PDFBug table.showText td {
#PDFBug table.showText :is(tr, td) {
border: 1px solid black;
padding: 1px;
}
Expand All @@ -78,26 +82,30 @@
}

#viewer.textLayer-visible .canvasWrapper {
background-color: rgba(128, 255, 128, 1);
background-color: rgb(128 255 128);
}

#viewer.textLayer-visible .canvasWrapper canvas {
mix-blend-mode: screen;
}

#viewer.textLayer-visible .textLayer span {
background-color: rgba(255, 255, 0, 0.1);
color: rgba(0, 0, 0, 1);
border: solid 1px rgba(255, 0, 0, 0.5);
background-color: rgb(255 255 0 / 0.1);
color: rgb(0 0 0);
border: solid 1px rgb(255 0 0 / 0.5);
box-sizing: border-box;
}

#viewer.textLayer-visible .textLayer span[aria-owns] {
background-color: rgb(255 0 0 / 0.3);
}

#viewer.textLayer-hover .textLayer span:hover {
background-color: rgba(255, 255, 255, 1);
color: rgba(0, 0, 0, 1);
background-color: rgb(255 255 255);
color: rgb(0 0 0);
}

#viewer.textLayer-shadow .textLayer span {
background-color: rgba(255, 255, 255, 0.6);
color: rgba(0, 0, 0, 1);
background-color: rgb(255 255 255 / 0.6);
color: rgb(0 0 0);
}
Loading

0 comments on commit ee78e0b

Please sign in to comment.