pdfjs-viewer-element 2.2.3 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (377) hide show
  1. package/README.md +4 -2
  2. package/dist/pdfjs/LICENSE +177 -0
  3. package/dist/pdfjs/build/pdf.js +15792 -0
  4. package/dist/pdfjs/build/pdf.js.map +1 -0
  5. package/dist/pdfjs/build/pdf.sandbox.js +280 -0
  6. package/dist/pdfjs/build/pdf.sandbox.js.map +1 -0
  7. package/dist/pdfjs/build/pdf.worker.js +64521 -0
  8. package/dist/pdfjs/build/pdf.worker.js.map +1 -0
  9. package/dist/pdfjs/web/cmaps/78-EUC-H.bcmap +0 -0
  10. package/dist/pdfjs/web/cmaps/78-EUC-V.bcmap +0 -0
  11. package/dist/pdfjs/web/cmaps/78-H.bcmap +0 -0
  12. package/dist/pdfjs/web/cmaps/78-RKSJ-H.bcmap +0 -0
  13. package/dist/pdfjs/web/cmaps/78-RKSJ-V.bcmap +0 -0
  14. package/dist/pdfjs/web/cmaps/78-V.bcmap +0 -0
  15. package/dist/pdfjs/web/cmaps/78ms-RKSJ-H.bcmap +0 -0
  16. package/dist/pdfjs/web/cmaps/78ms-RKSJ-V.bcmap +0 -0
  17. package/dist/pdfjs/web/cmaps/83pv-RKSJ-H.bcmap +0 -0
  18. package/dist/pdfjs/web/cmaps/90ms-RKSJ-H.bcmap +0 -0
  19. package/dist/pdfjs/web/cmaps/90ms-RKSJ-V.bcmap +0 -0
  20. package/dist/pdfjs/web/cmaps/90msp-RKSJ-H.bcmap +0 -0
  21. package/dist/pdfjs/web/cmaps/90msp-RKSJ-V.bcmap +0 -0
  22. package/dist/pdfjs/web/cmaps/90pv-RKSJ-H.bcmap +0 -0
  23. package/dist/pdfjs/web/cmaps/90pv-RKSJ-V.bcmap +0 -0
  24. package/dist/pdfjs/web/cmaps/Add-H.bcmap +0 -0
  25. package/dist/pdfjs/web/cmaps/Add-RKSJ-H.bcmap +0 -0
  26. package/dist/pdfjs/web/cmaps/Add-RKSJ-V.bcmap +0 -0
  27. package/dist/pdfjs/web/cmaps/Add-V.bcmap +0 -0
  28. package/dist/pdfjs/web/cmaps/Adobe-CNS1-0.bcmap +0 -0
  29. package/dist/pdfjs/web/cmaps/Adobe-CNS1-1.bcmap +0 -0
  30. package/dist/pdfjs/web/cmaps/Adobe-CNS1-2.bcmap +0 -0
  31. package/dist/pdfjs/web/cmaps/Adobe-CNS1-3.bcmap +0 -0
  32. package/dist/pdfjs/web/cmaps/Adobe-CNS1-4.bcmap +0 -0
  33. package/dist/pdfjs/web/cmaps/Adobe-CNS1-5.bcmap +0 -0
  34. package/dist/pdfjs/web/cmaps/Adobe-CNS1-6.bcmap +0 -0
  35. package/dist/pdfjs/web/cmaps/Adobe-CNS1-UCS2.bcmap +0 -0
  36. package/dist/pdfjs/web/cmaps/Adobe-GB1-0.bcmap +0 -0
  37. package/dist/pdfjs/web/cmaps/Adobe-GB1-1.bcmap +0 -0
  38. package/dist/pdfjs/web/cmaps/Adobe-GB1-2.bcmap +0 -0
  39. package/dist/pdfjs/web/cmaps/Adobe-GB1-3.bcmap +0 -0
  40. package/dist/pdfjs/web/cmaps/Adobe-GB1-4.bcmap +0 -0
  41. package/dist/pdfjs/web/cmaps/Adobe-GB1-5.bcmap +0 -0
  42. package/dist/pdfjs/web/cmaps/Adobe-GB1-UCS2.bcmap +0 -0
  43. package/dist/pdfjs/web/cmaps/Adobe-Japan1-0.bcmap +0 -0
  44. package/dist/pdfjs/web/cmaps/Adobe-Japan1-1.bcmap +0 -0
  45. package/dist/pdfjs/web/cmaps/Adobe-Japan1-2.bcmap +0 -0
  46. package/dist/pdfjs/web/cmaps/Adobe-Japan1-3.bcmap +0 -0
  47. package/dist/pdfjs/web/cmaps/Adobe-Japan1-4.bcmap +0 -0
  48. package/dist/pdfjs/web/cmaps/Adobe-Japan1-5.bcmap +0 -0
  49. package/dist/pdfjs/web/cmaps/Adobe-Japan1-6.bcmap +0 -0
  50. package/dist/pdfjs/web/cmaps/Adobe-Japan1-UCS2.bcmap +0 -0
  51. package/dist/pdfjs/web/cmaps/Adobe-Korea1-0.bcmap +0 -0
  52. package/dist/pdfjs/web/cmaps/Adobe-Korea1-1.bcmap +0 -0
  53. package/dist/pdfjs/web/cmaps/Adobe-Korea1-2.bcmap +0 -0
  54. package/dist/pdfjs/web/cmaps/Adobe-Korea1-UCS2.bcmap +0 -0
  55. package/dist/pdfjs/web/cmaps/B5-H.bcmap +0 -0
  56. package/dist/pdfjs/web/cmaps/B5-V.bcmap +0 -0
  57. package/dist/pdfjs/web/cmaps/B5pc-H.bcmap +0 -0
  58. package/dist/pdfjs/web/cmaps/B5pc-V.bcmap +0 -0
  59. package/dist/pdfjs/web/cmaps/CNS-EUC-H.bcmap +0 -0
  60. package/dist/pdfjs/web/cmaps/CNS-EUC-V.bcmap +0 -0
  61. package/dist/pdfjs/web/cmaps/CNS1-H.bcmap +0 -0
  62. package/dist/pdfjs/web/cmaps/CNS1-V.bcmap +0 -0
  63. package/dist/pdfjs/web/cmaps/CNS2-H.bcmap +0 -0
  64. package/dist/pdfjs/web/cmaps/CNS2-V.bcmap +3 -0
  65. package/dist/pdfjs/web/cmaps/ETHK-B5-H.bcmap +0 -0
  66. package/dist/pdfjs/web/cmaps/ETHK-B5-V.bcmap +0 -0
  67. package/dist/pdfjs/web/cmaps/ETen-B5-H.bcmap +0 -0
  68. package/dist/pdfjs/web/cmaps/ETen-B5-V.bcmap +0 -0
  69. package/dist/pdfjs/web/cmaps/ETenms-B5-H.bcmap +3 -0
  70. package/dist/pdfjs/web/cmaps/ETenms-B5-V.bcmap +0 -0
  71. package/dist/pdfjs/web/cmaps/EUC-H.bcmap +0 -0
  72. package/dist/pdfjs/web/cmaps/EUC-V.bcmap +0 -0
  73. package/dist/pdfjs/web/cmaps/Ext-H.bcmap +0 -0
  74. package/dist/pdfjs/web/cmaps/Ext-RKSJ-H.bcmap +0 -0
  75. package/dist/pdfjs/web/cmaps/Ext-RKSJ-V.bcmap +0 -0
  76. package/dist/pdfjs/web/cmaps/Ext-V.bcmap +0 -0
  77. package/dist/pdfjs/web/cmaps/GB-EUC-H.bcmap +0 -0
  78. package/dist/pdfjs/web/cmaps/GB-EUC-V.bcmap +0 -0
  79. package/dist/pdfjs/web/cmaps/GB-H.bcmap +4 -0
  80. package/dist/pdfjs/web/cmaps/GB-V.bcmap +0 -0
  81. package/dist/pdfjs/web/cmaps/GBK-EUC-H.bcmap +0 -0
  82. package/dist/pdfjs/web/cmaps/GBK-EUC-V.bcmap +0 -0
  83. package/dist/pdfjs/web/cmaps/GBK2K-H.bcmap +0 -0
  84. package/dist/pdfjs/web/cmaps/GBK2K-V.bcmap +0 -0
  85. package/dist/pdfjs/web/cmaps/GBKp-EUC-H.bcmap +0 -0
  86. package/dist/pdfjs/web/cmaps/GBKp-EUC-V.bcmap +0 -0
  87. package/dist/pdfjs/web/cmaps/GBT-EUC-H.bcmap +0 -0
  88. package/dist/pdfjs/web/cmaps/GBT-EUC-V.bcmap +0 -0
  89. package/dist/pdfjs/web/cmaps/GBT-H.bcmap +0 -0
  90. package/dist/pdfjs/web/cmaps/GBT-V.bcmap +0 -0
  91. package/dist/pdfjs/web/cmaps/GBTpc-EUC-H.bcmap +0 -0
  92. package/dist/pdfjs/web/cmaps/GBTpc-EUC-V.bcmap +0 -0
  93. package/dist/pdfjs/web/cmaps/GBpc-EUC-H.bcmap +0 -0
  94. package/dist/pdfjs/web/cmaps/GBpc-EUC-V.bcmap +0 -0
  95. package/dist/pdfjs/web/cmaps/H.bcmap +0 -0
  96. package/dist/pdfjs/web/cmaps/HKdla-B5-H.bcmap +0 -0
  97. package/dist/pdfjs/web/cmaps/HKdla-B5-V.bcmap +0 -0
  98. package/dist/pdfjs/web/cmaps/HKdlb-B5-H.bcmap +0 -0
  99. package/dist/pdfjs/web/cmaps/HKdlb-B5-V.bcmap +0 -0
  100. package/dist/pdfjs/web/cmaps/HKgccs-B5-H.bcmap +0 -0
  101. package/dist/pdfjs/web/cmaps/HKgccs-B5-V.bcmap +0 -0
  102. package/dist/pdfjs/web/cmaps/HKm314-B5-H.bcmap +0 -0
  103. package/dist/pdfjs/web/cmaps/HKm314-B5-V.bcmap +0 -0
  104. package/dist/pdfjs/web/cmaps/HKm471-B5-H.bcmap +0 -0
  105. package/dist/pdfjs/web/cmaps/HKm471-B5-V.bcmap +0 -0
  106. package/dist/pdfjs/web/cmaps/HKscs-B5-H.bcmap +0 -0
  107. package/dist/pdfjs/web/cmaps/HKscs-B5-V.bcmap +0 -0
  108. package/dist/pdfjs/web/cmaps/Hankaku.bcmap +0 -0
  109. package/dist/pdfjs/web/cmaps/Hiragana.bcmap +0 -0
  110. package/dist/pdfjs/web/cmaps/KSC-EUC-H.bcmap +0 -0
  111. package/dist/pdfjs/web/cmaps/KSC-EUC-V.bcmap +0 -0
  112. package/dist/pdfjs/web/cmaps/KSC-H.bcmap +0 -0
  113. package/dist/pdfjs/web/cmaps/KSC-Johab-H.bcmap +0 -0
  114. package/dist/pdfjs/web/cmaps/KSC-Johab-V.bcmap +0 -0
  115. package/dist/pdfjs/web/cmaps/KSC-V.bcmap +0 -0
  116. package/dist/pdfjs/web/cmaps/KSCms-UHC-H.bcmap +0 -0
  117. package/dist/pdfjs/web/cmaps/KSCms-UHC-HW-H.bcmap +0 -0
  118. package/dist/pdfjs/web/cmaps/KSCms-UHC-HW-V.bcmap +0 -0
  119. package/dist/pdfjs/web/cmaps/KSCms-UHC-V.bcmap +0 -0
  120. package/dist/pdfjs/web/cmaps/KSCpc-EUC-H.bcmap +0 -0
  121. package/dist/pdfjs/web/cmaps/KSCpc-EUC-V.bcmap +0 -0
  122. package/dist/pdfjs/web/cmaps/Katakana.bcmap +0 -0
  123. package/dist/pdfjs/web/cmaps/LICENSE +36 -0
  124. package/dist/pdfjs/web/cmaps/NWP-H.bcmap +0 -0
  125. package/dist/pdfjs/web/cmaps/NWP-V.bcmap +0 -0
  126. package/dist/pdfjs/web/cmaps/RKSJ-H.bcmap +0 -0
  127. package/dist/pdfjs/web/cmaps/RKSJ-V.bcmap +0 -0
  128. package/dist/pdfjs/web/cmaps/Roman.bcmap +0 -0
  129. package/dist/pdfjs/web/cmaps/UniCNS-UCS2-H.bcmap +0 -0
  130. package/dist/pdfjs/web/cmaps/UniCNS-UCS2-V.bcmap +0 -0
  131. package/dist/pdfjs/web/cmaps/UniCNS-UTF16-H.bcmap +0 -0
  132. package/dist/pdfjs/web/cmaps/UniCNS-UTF16-V.bcmap +0 -0
  133. package/dist/pdfjs/web/cmaps/UniCNS-UTF32-H.bcmap +0 -0
  134. package/dist/pdfjs/web/cmaps/UniCNS-UTF32-V.bcmap +0 -0
  135. package/dist/pdfjs/web/cmaps/UniCNS-UTF8-H.bcmap +0 -0
  136. package/dist/pdfjs/web/cmaps/UniCNS-UTF8-V.bcmap +0 -0
  137. package/dist/pdfjs/web/cmaps/UniGB-UCS2-H.bcmap +0 -0
  138. package/dist/pdfjs/web/cmaps/UniGB-UCS2-V.bcmap +0 -0
  139. package/dist/pdfjs/web/cmaps/UniGB-UTF16-H.bcmap +0 -0
  140. package/dist/pdfjs/web/cmaps/UniGB-UTF16-V.bcmap +0 -0
  141. package/dist/pdfjs/web/cmaps/UniGB-UTF32-H.bcmap +0 -0
  142. package/dist/pdfjs/web/cmaps/UniGB-UTF32-V.bcmap +0 -0
  143. package/dist/pdfjs/web/cmaps/UniGB-UTF8-H.bcmap +0 -0
  144. package/dist/pdfjs/web/cmaps/UniGB-UTF8-V.bcmap +0 -0
  145. package/dist/pdfjs/web/cmaps/UniJIS-UCS2-H.bcmap +0 -0
  146. package/dist/pdfjs/web/cmaps/UniJIS-UCS2-HW-H.bcmap +0 -0
  147. package/dist/pdfjs/web/cmaps/UniJIS-UCS2-HW-V.bcmap +0 -0
  148. package/dist/pdfjs/web/cmaps/UniJIS-UCS2-V.bcmap +0 -0
  149. package/dist/pdfjs/web/cmaps/UniJIS-UTF16-H.bcmap +0 -0
  150. package/dist/pdfjs/web/cmaps/UniJIS-UTF16-V.bcmap +0 -0
  151. package/dist/pdfjs/web/cmaps/UniJIS-UTF32-H.bcmap +0 -0
  152. package/dist/pdfjs/web/cmaps/UniJIS-UTF32-V.bcmap +0 -0
  153. package/dist/pdfjs/web/cmaps/UniJIS-UTF8-H.bcmap +0 -0
  154. package/dist/pdfjs/web/cmaps/UniJIS-UTF8-V.bcmap +0 -0
  155. package/dist/pdfjs/web/cmaps/UniJIS2004-UTF16-H.bcmap +0 -0
  156. package/dist/pdfjs/web/cmaps/UniJIS2004-UTF16-V.bcmap +0 -0
  157. package/dist/pdfjs/web/cmaps/UniJIS2004-UTF32-H.bcmap +0 -0
  158. package/dist/pdfjs/web/cmaps/UniJIS2004-UTF32-V.bcmap +0 -0
  159. package/dist/pdfjs/web/cmaps/UniJIS2004-UTF8-H.bcmap +0 -0
  160. package/dist/pdfjs/web/cmaps/UniJIS2004-UTF8-V.bcmap +0 -0
  161. package/dist/pdfjs/web/cmaps/UniJISPro-UCS2-HW-V.bcmap +0 -0
  162. package/dist/pdfjs/web/cmaps/UniJISPro-UCS2-V.bcmap +0 -0
  163. package/dist/pdfjs/web/cmaps/UniJISPro-UTF8-V.bcmap +0 -0
  164. package/dist/pdfjs/web/cmaps/UniJISX0213-UTF32-H.bcmap +0 -0
  165. package/dist/pdfjs/web/cmaps/UniJISX0213-UTF32-V.bcmap +0 -0
  166. package/dist/pdfjs/web/cmaps/UniJISX02132004-UTF32-H.bcmap +0 -0
  167. package/dist/pdfjs/web/cmaps/UniJISX02132004-UTF32-V.bcmap +0 -0
  168. package/dist/pdfjs/web/cmaps/UniKS-UCS2-H.bcmap +0 -0
  169. package/dist/pdfjs/web/cmaps/UniKS-UCS2-V.bcmap +0 -0
  170. package/dist/pdfjs/web/cmaps/UniKS-UTF16-H.bcmap +0 -0
  171. package/dist/pdfjs/web/cmaps/UniKS-UTF16-V.bcmap +0 -0
  172. package/dist/pdfjs/web/cmaps/UniKS-UTF32-H.bcmap +0 -0
  173. package/dist/pdfjs/web/cmaps/UniKS-UTF32-V.bcmap +0 -0
  174. package/dist/pdfjs/web/cmaps/UniKS-UTF8-H.bcmap +0 -0
  175. package/dist/pdfjs/web/cmaps/UniKS-UTF8-V.bcmap +0 -0
  176. package/dist/pdfjs/web/cmaps/V.bcmap +0 -0
  177. package/dist/pdfjs/web/cmaps/WP-Symbol.bcmap +0 -0
  178. package/dist/pdfjs/web/compressed.tracemonkey-pldi-09.pdf +0 -0
  179. package/dist/pdfjs/web/debugger.css +113 -0
  180. package/dist/pdfjs/web/debugger.js +612 -0
  181. package/dist/pdfjs/web/images/annotation-check.svg +11 -0
  182. package/dist/pdfjs/web/images/annotation-comment.svg +16 -0
  183. package/dist/pdfjs/web/images/annotation-help.svg +26 -0
  184. package/dist/pdfjs/web/images/annotation-insert.svg +10 -0
  185. package/dist/pdfjs/web/images/annotation-key.svg +11 -0
  186. package/dist/pdfjs/web/images/annotation-newparagraph.svg +11 -0
  187. package/dist/pdfjs/web/images/annotation-noicon.svg +7 -0
  188. package/dist/pdfjs/web/images/annotation-note.svg +42 -0
  189. package/dist/pdfjs/web/images/annotation-paperclip.svg +6 -0
  190. package/dist/pdfjs/web/images/annotation-paragraph.svg +16 -0
  191. package/dist/pdfjs/web/images/annotation-pushpin.svg +7 -0
  192. package/dist/pdfjs/web/images/cursor-editorFreeText.svg +3 -0
  193. package/dist/pdfjs/web/images/cursor-editorInk.svg +4 -0
  194. package/dist/pdfjs/web/images/findbarButton-next.svg +3 -0
  195. package/dist/pdfjs/web/images/findbarButton-previous.svg +3 -0
  196. package/dist/pdfjs/web/images/loading-dark.svg +24 -0
  197. package/dist/pdfjs/web/images/loading-icon.gif +0 -0
  198. package/dist/pdfjs/web/images/loading.svg +1 -0
  199. package/dist/pdfjs/web/images/secondaryToolbarButton-documentProperties.svg +3 -0
  200. package/dist/pdfjs/web/images/secondaryToolbarButton-firstPage.svg +3 -0
  201. package/dist/pdfjs/web/images/secondaryToolbarButton-handTool.svg +3 -0
  202. package/dist/pdfjs/web/images/secondaryToolbarButton-lastPage.svg +3 -0
  203. package/dist/pdfjs/web/images/secondaryToolbarButton-rotateCcw.svg +3 -0
  204. package/dist/pdfjs/web/images/secondaryToolbarButton-rotateCw.svg +3 -0
  205. package/dist/pdfjs/web/images/secondaryToolbarButton-scrollHorizontal.svg +3 -0
  206. package/dist/pdfjs/web/images/secondaryToolbarButton-scrollPage.svg +3 -0
  207. package/dist/pdfjs/web/images/secondaryToolbarButton-scrollVertical.svg +3 -0
  208. package/dist/pdfjs/web/images/secondaryToolbarButton-scrollWrapped.svg +3 -0
  209. package/dist/pdfjs/web/images/secondaryToolbarButton-selectTool.svg +3 -0
  210. package/dist/pdfjs/web/images/secondaryToolbarButton-spreadEven.svg +3 -0
  211. package/dist/pdfjs/web/images/secondaryToolbarButton-spreadNone.svg +3 -0
  212. package/dist/pdfjs/web/images/secondaryToolbarButton-spreadOdd.svg +3 -0
  213. package/dist/pdfjs/web/images/toolbarButton-bookmark.svg +3 -0
  214. package/dist/pdfjs/web/images/toolbarButton-currentOutlineItem.svg +3 -0
  215. package/dist/pdfjs/web/images/toolbarButton-download.svg +4 -0
  216. package/dist/pdfjs/web/images/toolbarButton-editorFreeText.svg +3 -0
  217. package/dist/pdfjs/web/images/toolbarButton-editorInk.svg +4 -0
  218. package/dist/pdfjs/web/images/toolbarButton-menuArrow.svg +3 -0
  219. package/dist/pdfjs/web/images/toolbarButton-openFile.svg +3 -0
  220. package/dist/pdfjs/web/images/toolbarButton-pageDown.svg +3 -0
  221. package/dist/pdfjs/web/images/toolbarButton-pageUp.svg +3 -0
  222. package/dist/pdfjs/web/images/toolbarButton-presentationMode.svg +3 -0
  223. package/dist/pdfjs/web/images/toolbarButton-print.svg +3 -0
  224. package/dist/pdfjs/web/images/toolbarButton-search.svg +3 -0
  225. package/dist/pdfjs/web/images/toolbarButton-secondaryToolbarToggle.svg +3 -0
  226. package/dist/pdfjs/web/images/toolbarButton-sidebarToggle.svg +3 -0
  227. package/dist/pdfjs/web/images/toolbarButton-viewAttachments.svg +3 -0
  228. package/dist/pdfjs/web/images/toolbarButton-viewLayers.svg +3 -0
  229. package/dist/pdfjs/web/images/toolbarButton-viewOutline.svg +3 -0
  230. package/dist/pdfjs/web/images/toolbarButton-viewThumbnail.svg +3 -0
  231. package/dist/pdfjs/web/images/toolbarButton-zoomIn.svg +3 -0
  232. package/dist/pdfjs/web/images/toolbarButton-zoomOut.svg +3 -0
  233. package/dist/pdfjs/web/images/treeitem-collapsed.svg +1 -0
  234. package/dist/pdfjs/web/images/treeitem-expanded.svg +1 -0
  235. package/dist/pdfjs/web/locale/ach/viewer.properties +200 -0
  236. package/dist/pdfjs/web/locale/af/viewer.properties +177 -0
  237. package/dist/pdfjs/web/locale/an/viewer.properties +243 -0
  238. package/dist/pdfjs/web/locale/ar/viewer.properties +247 -0
  239. package/dist/pdfjs/web/locale/ast/viewer.properties +207 -0
  240. package/dist/pdfjs/web/locale/az/viewer.properties +243 -0
  241. package/dist/pdfjs/web/locale/be/viewer.properties +277 -0
  242. package/dist/pdfjs/web/locale/bg/viewer.properties +235 -0
  243. package/dist/pdfjs/web/locale/bn/viewer.properties +239 -0
  244. package/dist/pdfjs/web/locale/bo/viewer.properties +238 -0
  245. package/dist/pdfjs/web/locale/br/viewer.properties +247 -0
  246. package/dist/pdfjs/web/locale/brx/viewer.properties +205 -0
  247. package/dist/pdfjs/web/locale/bs/viewer.properties +194 -0
  248. package/dist/pdfjs/web/locale/ca/viewer.properties +251 -0
  249. package/dist/pdfjs/web/locale/cak/viewer.properties +249 -0
  250. package/dist/pdfjs/web/locale/ckb/viewer.properties +234 -0
  251. package/dist/pdfjs/web/locale/cs/viewer.properties +277 -0
  252. package/dist/pdfjs/web/locale/cy/viewer.properties +277 -0
  253. package/dist/pdfjs/web/locale/da/viewer.properties +277 -0
  254. package/dist/pdfjs/web/locale/de/viewer.properties +277 -0
  255. package/dist/pdfjs/web/locale/dsb/viewer.properties +274 -0
  256. package/dist/pdfjs/web/locale/el/viewer.properties +278 -0
  257. package/dist/pdfjs/web/locale/en-CA/viewer.properties +274 -0
  258. package/dist/pdfjs/web/locale/en-GB/viewer.properties +277 -0
  259. package/dist/pdfjs/web/locale/en-US/viewer.properties +252 -0
  260. package/dist/pdfjs/web/locale/eo/viewer.properties +274 -0
  261. package/dist/pdfjs/web/locale/es-AR/viewer.properties +277 -0
  262. package/dist/pdfjs/web/locale/es-CL/viewer.properties +277 -0
  263. package/dist/pdfjs/web/locale/es-ES/viewer.properties +277 -0
  264. package/dist/pdfjs/web/locale/es-MX/viewer.properties +277 -0
  265. package/dist/pdfjs/web/locale/et/viewer.properties +262 -0
  266. package/dist/pdfjs/web/locale/eu/viewer.properties +277 -0
  267. package/dist/pdfjs/web/locale/fa/viewer.properties +216 -0
  268. package/dist/pdfjs/web/locale/ff/viewer.properties +235 -0
  269. package/dist/pdfjs/web/locale/fi/viewer.properties +274 -0
  270. package/dist/pdfjs/web/locale/fr/viewer.properties +277 -0
  271. package/dist/pdfjs/web/locale/fur/viewer.properties +277 -0
  272. package/dist/pdfjs/web/locale/fy-NL/viewer.properties +277 -0
  273. package/dist/pdfjs/web/locale/ga-IE/viewer.properties +202 -0
  274. package/dist/pdfjs/web/locale/gd/viewer.properties +249 -0
  275. package/dist/pdfjs/web/locale/gl/viewer.properties +249 -0
  276. package/dist/pdfjs/web/locale/gn/viewer.properties +279 -0
  277. package/dist/pdfjs/web/locale/gu-IN/viewer.properties +235 -0
  278. package/dist/pdfjs/web/locale/he/viewer.properties +276 -0
  279. package/dist/pdfjs/web/locale/hi-IN/viewer.properties +235 -0
  280. package/dist/pdfjs/web/locale/hr/viewer.properties +267 -0
  281. package/dist/pdfjs/web/locale/hsb/viewer.properties +279 -0
  282. package/dist/pdfjs/web/locale/hu/viewer.properties +277 -0
  283. package/dist/pdfjs/web/locale/hy-AM/viewer.properties +239 -0
  284. package/dist/pdfjs/web/locale/hye/viewer.properties +252 -0
  285. package/dist/pdfjs/web/locale/ia/viewer.properties +277 -0
  286. package/dist/pdfjs/web/locale/id/viewer.properties +277 -0
  287. package/dist/pdfjs/web/locale/is/viewer.properties +277 -0
  288. package/dist/pdfjs/web/locale/it/viewer.properties +217 -0
  289. package/dist/pdfjs/web/locale/ja/viewer.properties +277 -0
  290. package/dist/pdfjs/web/locale/ka/viewer.properties +277 -0
  291. package/dist/pdfjs/web/locale/kab/viewer.properties +274 -0
  292. package/dist/pdfjs/web/locale/kk/viewer.properties +277 -0
  293. package/dist/pdfjs/web/locale/km/viewer.properties +210 -0
  294. package/dist/pdfjs/web/locale/kn/viewer.properties +187 -0
  295. package/dist/pdfjs/web/locale/ko/viewer.properties +277 -0
  296. package/dist/pdfjs/web/locale/lij/viewer.properties +235 -0
  297. package/dist/pdfjs/web/locale/lo/viewer.properties +145 -0
  298. package/dist/pdfjs/web/locale/locale.properties +333 -0
  299. package/dist/pdfjs/web/locale/lt/viewer.properties +260 -0
  300. package/dist/pdfjs/web/locale/ltg/viewer.properties +213 -0
  301. package/dist/pdfjs/web/locale/lv/viewer.properties +235 -0
  302. package/dist/pdfjs/web/locale/meh/viewer.properties +111 -0
  303. package/dist/pdfjs/web/locale/mk/viewer.properties +139 -0
  304. package/dist/pdfjs/web/locale/mr/viewer.properties +231 -0
  305. package/dist/pdfjs/web/locale/ms/viewer.properties +235 -0
  306. package/dist/pdfjs/web/locale/my/viewer.properties +191 -0
  307. package/dist/pdfjs/web/locale/nb-NO/viewer.properties +277 -0
  308. package/dist/pdfjs/web/locale/ne-NP/viewer.properties +218 -0
  309. package/dist/pdfjs/web/locale/nl/viewer.properties +277 -0
  310. package/dist/pdfjs/web/locale/nn-NO/viewer.properties +277 -0
  311. package/dist/pdfjs/web/locale/oc/viewer.properties +277 -0
  312. package/dist/pdfjs/web/locale/pa-IN/viewer.properties +277 -0
  313. package/dist/pdfjs/web/locale/pl/viewer.properties +277 -0
  314. package/dist/pdfjs/web/locale/pt-BR/viewer.properties +277 -0
  315. package/dist/pdfjs/web/locale/pt-PT/viewer.properties +277 -0
  316. package/dist/pdfjs/web/locale/rm/viewer.properties +277 -0
  317. package/dist/pdfjs/web/locale/ro/viewer.properties +241 -0
  318. package/dist/pdfjs/web/locale/ru/viewer.properties +277 -0
  319. package/dist/pdfjs/web/locale/sat/viewer.properties +198 -0
  320. package/dist/pdfjs/web/locale/sc/viewer.properties +261 -0
  321. package/dist/pdfjs/web/locale/scn/viewer.properties +101 -0
  322. package/dist/pdfjs/web/locale/sco/viewer.properties +249 -0
  323. package/dist/pdfjs/web/locale/si/viewer.properties +237 -0
  324. package/dist/pdfjs/web/locale/sk/viewer.properties +277 -0
  325. package/dist/pdfjs/web/locale/skr/viewer.properties +277 -0
  326. package/dist/pdfjs/web/locale/sl/viewer.properties +277 -0
  327. package/dist/pdfjs/web/locale/son/viewer.properties +173 -0
  328. package/dist/pdfjs/web/locale/sq/viewer.properties +271 -0
  329. package/dist/pdfjs/web/locale/sr/viewer.properties +277 -0
  330. package/dist/pdfjs/web/locale/sv-SE/viewer.properties +277 -0
  331. package/dist/pdfjs/web/locale/szl/viewer.properties +245 -0
  332. package/dist/pdfjs/web/locale/ta/viewer.properties +194 -0
  333. package/dist/pdfjs/web/locale/te/viewer.properties +237 -0
  334. package/dist/pdfjs/web/locale/tg/viewer.properties +276 -0
  335. package/dist/pdfjs/web/locale/th/viewer.properties +276 -0
  336. package/dist/pdfjs/web/locale/tl/viewer.properties +243 -0
  337. package/dist/pdfjs/web/locale/tr/viewer.properties +276 -0
  338. package/dist/pdfjs/web/locale/trs/viewer.properties +206 -0
  339. package/dist/pdfjs/web/locale/uk/viewer.properties +277 -0
  340. package/dist/pdfjs/web/locale/ur/viewer.properties +239 -0
  341. package/dist/pdfjs/web/locale/uz/viewer.properties +163 -0
  342. package/dist/pdfjs/web/locale/vi/viewer.properties +277 -0
  343. package/dist/pdfjs/web/locale/wo/viewer.properties +123 -0
  344. package/dist/pdfjs/web/locale/xh/viewer.properties +177 -0
  345. package/dist/pdfjs/web/locale/zh-CN/viewer.properties +277 -0
  346. package/dist/pdfjs/web/locale/zh-TW/viewer.properties +277 -0
  347. package/dist/pdfjs/web/standard_fonts/FoxitDingbats.pfb +0 -0
  348. package/dist/pdfjs/web/standard_fonts/FoxitFixed.pfb +0 -0
  349. package/dist/pdfjs/web/standard_fonts/FoxitFixedBold.pfb +0 -0
  350. package/dist/pdfjs/web/standard_fonts/FoxitFixedBoldItalic.pfb +0 -0
  351. package/dist/pdfjs/web/standard_fonts/FoxitFixedItalic.pfb +0 -0
  352. package/dist/pdfjs/web/standard_fonts/FoxitSans.pfb +0 -0
  353. package/dist/pdfjs/web/standard_fonts/FoxitSansBold.pfb +0 -0
  354. package/dist/pdfjs/web/standard_fonts/FoxitSansBoldItalic.pfb +0 -0
  355. package/dist/pdfjs/web/standard_fonts/FoxitSansItalic.pfb +0 -0
  356. package/dist/pdfjs/web/standard_fonts/FoxitSerif.pfb +0 -0
  357. package/dist/pdfjs/web/standard_fonts/FoxitSerifBold.pfb +0 -0
  358. package/dist/pdfjs/web/standard_fonts/FoxitSerifBoldItalic.pfb +0 -0
  359. package/dist/pdfjs/web/standard_fonts/FoxitSerifItalic.pfb +0 -0
  360. package/dist/pdfjs/web/standard_fonts/FoxitSymbol.pfb +0 -0
  361. package/dist/pdfjs/web/standard_fonts/LICENSE_FOXIT +27 -0
  362. package/dist/pdfjs/web/standard_fonts/LICENSE_LIBERATION +102 -0
  363. package/dist/pdfjs/web/standard_fonts/LiberationSans-Bold.ttf +0 -0
  364. package/dist/pdfjs/web/standard_fonts/LiberationSans-BoldItalic.ttf +0 -0
  365. package/dist/pdfjs/web/standard_fonts/LiberationSans-Italic.ttf +0 -0
  366. package/dist/pdfjs/web/standard_fonts/LiberationSans-Regular.ttf +0 -0
  367. package/dist/pdfjs/web/viewer.css +2692 -0
  368. package/dist/pdfjs/web/viewer.html +433 -0
  369. package/dist/pdfjs/web/viewer.js +13912 -0
  370. package/dist/pdfjs/web/viewer.js.map +1 -0
  371. package/dist/pdfjs-viewer-element.js +64 -0
  372. package/dist/sample-pdf-10MB.pdf +0 -0
  373. package/dist/sample-pdf-file.pdf +0 -0
  374. package/dist/sample-pdf-with-images.pdf +0 -0
  375. package/package.json +2 -2
  376. package/types/elementReady.d.ts +1 -0
  377. package/types/pdfjs-viewer-element.d.ts +2 -2
@@ -0,0 +1,2692 @@
1
+ /* Copyright 2014 Mozilla Foundation
2
+ *
3
+ * Licensed under the Apache License, Version 2.0 (the "License");
4
+ * you may not use this file except in compliance with the License.
5
+ * You may obtain a copy of the License at
6
+ *
7
+ * http://www.apache.org/licenses/LICENSE-2.0
8
+ *
9
+ * Unless required by applicable law or agreed to in writing, software
10
+ * distributed under the License is distributed on an "AS IS" BASIS,
11
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ * See the License for the specific language governing permissions and
13
+ * limitations under the License.
14
+ */
15
+
16
+ :root {
17
+ --highlight-bg-color: rgba(180, 0, 170, 1);
18
+ --highlight-selected-bg-color: rgba(0, 100, 0, 1);
19
+ }
20
+
21
+ @media screen and (forced-colors: active) {
22
+ :root {
23
+ --highlight-bg-color: Highlight;
24
+ --highlight-selected-bg-color: ButtonText;
25
+ }
26
+ }
27
+
28
+ .textLayer {
29
+ position: absolute;
30
+ text-align: initial;
31
+ left: 0;
32
+ top: 0;
33
+ right: 0;
34
+ bottom: 0;
35
+ overflow: hidden;
36
+ opacity: 0.25;
37
+ line-height: 1;
38
+ -webkit-text-size-adjust: none;
39
+ -moz-text-size-adjust: none;
40
+ text-size-adjust: none;
41
+ forced-color-adjust: none;
42
+ transform-origin: 0 0;
43
+ z-index: 2;
44
+ }
45
+
46
+ .textLayer span,
47
+ .textLayer br {
48
+ color: transparent;
49
+ position: absolute;
50
+ white-space: pre;
51
+ cursor: text;
52
+ transform-origin: 0% 0%;
53
+ }
54
+
55
+ /* Only necessary in Google Chrome, see issue 14205, and most unfortunately
56
+ * the problem doesn't show up in "text" reference tests. */
57
+ .textLayer span.markedContent {
58
+ top: 0;
59
+ height: 0;
60
+ }
61
+
62
+ .textLayer .highlight {
63
+ margin: -1px;
64
+ padding: 1px;
65
+ background-color: var(--highlight-bg-color);
66
+ border-radius: 4px;
67
+ }
68
+
69
+ .textLayer .highlight.appended {
70
+ position: initial;
71
+ }
72
+
73
+ .textLayer .highlight.begin {
74
+ border-radius: 4px 0 0 4px;
75
+ }
76
+
77
+ .textLayer .highlight.end {
78
+ border-radius: 0 4px 4px 0;
79
+ }
80
+
81
+ .textLayer .highlight.middle {
82
+ border-radius: 0;
83
+ }
84
+
85
+ .textLayer .highlight.selected {
86
+ background-color: var(--highlight-selected-bg-color);
87
+ }
88
+
89
+ .textLayer ::-moz-selection {
90
+ background: blue;
91
+ background: AccentColor;
92
+ }
93
+
94
+ .textLayer ::selection {
95
+ background: blue;
96
+ background: AccentColor;
97
+ }
98
+
99
+ /* Avoids https://github.com/mozilla/pdf.js/issues/13840 in Chrome */
100
+ .textLayer br::-moz-selection {
101
+ background: transparent;
102
+ }
103
+ .textLayer br::selection {
104
+ background: transparent;
105
+ }
106
+
107
+ .textLayer .endOfContent {
108
+ display: block;
109
+ position: absolute;
110
+ left: 0;
111
+ top: 100%;
112
+ right: 0;
113
+ bottom: 0;
114
+ z-index: -1;
115
+ cursor: default;
116
+ -webkit-user-select: none;
117
+ -moz-user-select: none;
118
+ user-select: none;
119
+ }
120
+
121
+ .textLayer .endOfContent.active {
122
+ top: 0;
123
+ }
124
+
125
+
126
+ :root {
127
+ --annotation-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>");
128
+ --input-focus-border-color: Highlight;
129
+ --input-focus-outline: 1px solid Canvas;
130
+ --input-unfocused-border-color: transparent;
131
+ --input-disabled-border-color: transparent;
132
+ --input-hover-border-color: black;
133
+ --link-outline: none;
134
+ }
135
+
136
+ @media screen and (forced-colors: active) {
137
+ :root {
138
+ --input-focus-border-color: CanvasText;
139
+ --input-unfocused-border-color: ActiveText;
140
+ --input-disabled-border-color: GrayText;
141
+ --input-hover-border-color: Highlight;
142
+ --link-outline: 1.5px solid LinkText;
143
+ }
144
+ .annotationLayer .textWidgetAnnotation input:required,
145
+ .annotationLayer .textWidgetAnnotation textarea:required,
146
+ .annotationLayer .choiceWidgetAnnotation select:required,
147
+ .annotationLayer .buttonWidgetAnnotation.checkBox input:required,
148
+ .annotationLayer .buttonWidgetAnnotation.radioButton input:required {
149
+ outline: 1.5px solid selectedItem;
150
+ }
151
+
152
+ .annotationLayer .linkAnnotation:hover {
153
+ -webkit-backdrop-filter: invert(100%);
154
+ backdrop-filter: invert(100%);
155
+ }
156
+ }
157
+
158
+ .annotationLayer {
159
+ position: absolute;
160
+ top: 0;
161
+ left: 0;
162
+ pointer-events: none;
163
+ transform-origin: 0 0;
164
+ z-index: 3;
165
+ }
166
+
167
+ .annotationLayer section {
168
+ position: absolute;
169
+ text-align: initial;
170
+ pointer-events: auto;
171
+ box-sizing: border-box;
172
+ transform-origin: 0 0;
173
+ }
174
+
175
+ .annotationLayer .linkAnnotation {
176
+ outline: var(--link-outline);
177
+ }
178
+
179
+ .annotationLayer .linkAnnotation > a,
180
+ .annotationLayer .buttonWidgetAnnotation.pushButton > a {
181
+ position: absolute;
182
+ font-size: 1em;
183
+ top: 0;
184
+ left: 0;
185
+ width: 100%;
186
+ height: 100%;
187
+ }
188
+
189
+ .annotationLayer .buttonWidgetAnnotation.pushButton > canvas {
190
+ width: 100%;
191
+ height: 100%;
192
+ }
193
+
194
+ .annotationLayer .linkAnnotation > a:hover,
195
+ .annotationLayer .buttonWidgetAnnotation.pushButton > a:hover {
196
+ opacity: 0.2;
197
+ background: rgba(255, 255, 0, 1);
198
+ box-shadow: 0 2px 10px rgba(255, 255, 0, 1);
199
+ }
200
+
201
+ .annotationLayer .textAnnotation img {
202
+ position: absolute;
203
+ cursor: pointer;
204
+ width: 100%;
205
+ height: 100%;
206
+ }
207
+
208
+ .annotationLayer .textWidgetAnnotation input,
209
+ .annotationLayer .textWidgetAnnotation textarea,
210
+ .annotationLayer .choiceWidgetAnnotation select,
211
+ .annotationLayer .buttonWidgetAnnotation.checkBox input,
212
+ .annotationLayer .buttonWidgetAnnotation.radioButton input {
213
+ background-image: var(--annotation-unfocused-field-background);
214
+ border: 2px solid var(--input-unfocused-border-color);
215
+ box-sizing: border-box;
216
+ font: calc(9px * var(--scale-factor)) sans-serif;
217
+ height: 100%;
218
+ margin: 0;
219
+ vertical-align: top;
220
+ width: 100%;
221
+ }
222
+
223
+ .annotationLayer .textWidgetAnnotation input:required,
224
+ .annotationLayer .textWidgetAnnotation textarea:required,
225
+ .annotationLayer .choiceWidgetAnnotation select:required,
226
+ .annotationLayer .buttonWidgetAnnotation.checkBox input:required,
227
+ .annotationLayer .buttonWidgetAnnotation.radioButton input:required {
228
+ outline: 1.5px solid red;
229
+ }
230
+
231
+ .annotationLayer .choiceWidgetAnnotation select option {
232
+ padding: 0;
233
+ }
234
+
235
+ .annotationLayer .buttonWidgetAnnotation.radioButton input {
236
+ border-radius: 50%;
237
+ }
238
+
239
+ .annotationLayer .textWidgetAnnotation textarea {
240
+ resize: none;
241
+ }
242
+
243
+ .annotationLayer .textWidgetAnnotation input[disabled],
244
+ .annotationLayer .textWidgetAnnotation textarea[disabled],
245
+ .annotationLayer .choiceWidgetAnnotation select[disabled],
246
+ .annotationLayer .buttonWidgetAnnotation.checkBox input[disabled],
247
+ .annotationLayer .buttonWidgetAnnotation.radioButton input[disabled] {
248
+ background: none;
249
+ border: 2px solid var(--input-disabled-border-color);
250
+ cursor: not-allowed;
251
+ }
252
+
253
+ .annotationLayer .textWidgetAnnotation input:hover,
254
+ .annotationLayer .textWidgetAnnotation textarea:hover,
255
+ .annotationLayer .choiceWidgetAnnotation select:hover,
256
+ .annotationLayer .buttonWidgetAnnotation.checkBox input:hover,
257
+ .annotationLayer .buttonWidgetAnnotation.radioButton input:hover {
258
+ border: 2px solid var(--input-hover-border-color);
259
+ }
260
+ .annotationLayer .textWidgetAnnotation input:hover,
261
+ .annotationLayer .textWidgetAnnotation textarea:hover,
262
+ .annotationLayer .choiceWidgetAnnotation select:hover,
263
+ .annotationLayer .buttonWidgetAnnotation.checkBox input:hover {
264
+ border-radius: 2px;
265
+ }
266
+
267
+ .annotationLayer .textWidgetAnnotation input:focus,
268
+ .annotationLayer .textWidgetAnnotation textarea:focus,
269
+ .annotationLayer .choiceWidgetAnnotation select:focus {
270
+ background: none;
271
+ border: 2px solid var(--input-focus-border-color);
272
+ border-radius: 2px;
273
+ outline: var(--input-focus-outline);
274
+ }
275
+
276
+ .annotationLayer .buttonWidgetAnnotation.checkBox :focus,
277
+ .annotationLayer .buttonWidgetAnnotation.radioButton :focus {
278
+ background-image: none;
279
+ background-color: transparent;
280
+ }
281
+
282
+ .annotationLayer .buttonWidgetAnnotation.checkBox :focus {
283
+ border: 2px solid var(--input-focus-border-color);
284
+ border-radius: 2px;
285
+ outline: var(--input-focus-outline);
286
+ }
287
+
288
+ .annotationLayer .buttonWidgetAnnotation.radioButton :focus {
289
+ border: 2px solid var(--input-focus-border-color);
290
+ outline: var(--input-focus-outline);
291
+ }
292
+
293
+ .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,
294
+ .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,
295
+ .annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before {
296
+ background-color: CanvasText;
297
+ content: "";
298
+ display: block;
299
+ position: absolute;
300
+ }
301
+
302
+ .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,
303
+ .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after {
304
+ height: 80%;
305
+ left: 45%;
306
+ width: 1px;
307
+ }
308
+
309
+ .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before {
310
+ transform: rotate(45deg);
311
+ }
312
+
313
+ .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after {
314
+ transform: rotate(-45deg);
315
+ }
316
+
317
+ .annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before {
318
+ border-radius: 50%;
319
+ height: 50%;
320
+ left: 30%;
321
+ top: 20%;
322
+ width: 50%;
323
+ }
324
+
325
+ .annotationLayer .textWidgetAnnotation input.comb {
326
+ font-family: monospace;
327
+ padding-left: 2px;
328
+ padding-right: 0;
329
+ }
330
+
331
+ .annotationLayer .textWidgetAnnotation input.comb:focus {
332
+ /*
333
+ * Letter spacing is placed on the right side of each character. Hence, the
334
+ * letter spacing of the last character may be placed outside the visible
335
+ * area, causing horizontal scrolling. We avoid this by extending the width
336
+ * when the element has focus and revert this when it loses focus.
337
+ */
338
+ width: 103%;
339
+ }
340
+
341
+ .annotationLayer .buttonWidgetAnnotation.checkBox input,
342
+ .annotationLayer .buttonWidgetAnnotation.radioButton input {
343
+ -webkit-appearance: none;
344
+ -moz-appearance: none;
345
+ appearance: none;
346
+ }
347
+
348
+ .annotationLayer .popupTriggerArea {
349
+ height: 100%;
350
+ width: 100%;
351
+ }
352
+
353
+ .annotationLayer .popupWrapper {
354
+ position: absolute;
355
+ font-size: calc(9px * var(--scale-factor));
356
+ width: 100%;
357
+ min-width: calc(180px * var(--scale-factor));
358
+ pointer-events: none;
359
+ }
360
+
361
+ .annotationLayer .popup {
362
+ position: absolute;
363
+ max-width: calc(180px * var(--scale-factor));
364
+ background-color: rgba(255, 255, 153, 1);
365
+ box-shadow: 0 calc(2px * var(--scale-factor)) calc(5px * var(--scale-factor))
366
+ rgba(136, 136, 136, 1);
367
+ border-radius: calc(2px * var(--scale-factor));
368
+ padding: calc(6px * var(--scale-factor));
369
+ margin-left: calc(5px * var(--scale-factor));
370
+ cursor: pointer;
371
+ font: message-box;
372
+ white-space: normal;
373
+ word-wrap: break-word;
374
+ pointer-events: auto;
375
+ }
376
+
377
+ .annotationLayer .popup > * {
378
+ font-size: calc(9px * var(--scale-factor));
379
+ }
380
+
381
+ .annotationLayer .popup h1 {
382
+ display: inline-block;
383
+ }
384
+
385
+ .annotationLayer .popupDate {
386
+ display: inline-block;
387
+ margin-left: calc(5px * var(--scale-factor));
388
+ }
389
+
390
+ .annotationLayer .popupContent {
391
+ border-top: 1px solid rgba(51, 51, 51, 1);
392
+ margin-top: calc(2px * var(--scale-factor));
393
+ padding-top: calc(2px * var(--scale-factor));
394
+ }
395
+
396
+ .annotationLayer .richText > * {
397
+ white-space: pre-wrap;
398
+ font-size: calc(9px * var(--scale-factor));
399
+ }
400
+
401
+ .annotationLayer .highlightAnnotation,
402
+ .annotationLayer .underlineAnnotation,
403
+ .annotationLayer .squigglyAnnotation,
404
+ .annotationLayer .strikeoutAnnotation,
405
+ .annotationLayer .freeTextAnnotation,
406
+ .annotationLayer .lineAnnotation svg line,
407
+ .annotationLayer .squareAnnotation svg rect,
408
+ .annotationLayer .circleAnnotation svg ellipse,
409
+ .annotationLayer .polylineAnnotation svg polyline,
410
+ .annotationLayer .polygonAnnotation svg polygon,
411
+ .annotationLayer .caretAnnotation,
412
+ .annotationLayer .inkAnnotation svg polyline,
413
+ .annotationLayer .stampAnnotation,
414
+ .annotationLayer .fileAttachmentAnnotation {
415
+ cursor: pointer;
416
+ }
417
+
418
+ .annotationLayer section svg {
419
+ position: absolute;
420
+ width: 100%;
421
+ height: 100%;
422
+ }
423
+
424
+ .annotationLayer .annotationTextContent {
425
+ position: absolute;
426
+ width: 100%;
427
+ height: 100%;
428
+ opacity: 0;
429
+ color: transparent;
430
+ -webkit-user-select: none;
431
+ -moz-user-select: none;
432
+ user-select: none;
433
+ pointer-events: none;
434
+ }
435
+
436
+ .annotationLayer .annotationTextContent span {
437
+ width: 100%;
438
+ display: inline-block;
439
+ }
440
+
441
+
442
+ :root {
443
+ --xfa-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>");
444
+ --xfa-focus-outline: auto;
445
+ }
446
+
447
+ @media screen and (forced-colors: active) {
448
+ :root {
449
+ --xfa-focus-outline: 2px solid CanvasText;
450
+ }
451
+ .xfaLayer *:required {
452
+ outline: 1.5px solid selectedItem;
453
+ }
454
+ }
455
+
456
+ .xfaLayer {
457
+ background-color: transparent;
458
+ }
459
+
460
+ .xfaLayer .highlight {
461
+ margin: -1px;
462
+ padding: 1px;
463
+ background-color: rgba(239, 203, 237, 1);
464
+ border-radius: 4px;
465
+ }
466
+
467
+ .xfaLayer .highlight.appended {
468
+ position: initial;
469
+ }
470
+
471
+ .xfaLayer .highlight.begin {
472
+ border-radius: 4px 0 0 4px;
473
+ }
474
+
475
+ .xfaLayer .highlight.end {
476
+ border-radius: 0 4px 4px 0;
477
+ }
478
+
479
+ .xfaLayer .highlight.middle {
480
+ border-radius: 0;
481
+ }
482
+
483
+ .xfaLayer .highlight.selected {
484
+ background-color: rgba(203, 223, 203, 1);
485
+ }
486
+
487
+ .xfaPage {
488
+ overflow: hidden;
489
+ position: relative;
490
+ }
491
+
492
+ .xfaContentarea {
493
+ position: absolute;
494
+ }
495
+
496
+ .xfaPrintOnly {
497
+ display: none;
498
+ }
499
+
500
+ .xfaLayer {
501
+ position: absolute;
502
+ text-align: initial;
503
+ top: 0;
504
+ left: 0;
505
+ transform-origin: 0 0;
506
+ line-height: 1.2;
507
+ }
508
+
509
+ .xfaLayer * {
510
+ color: inherit;
511
+ font: inherit;
512
+ font-style: inherit;
513
+ font-weight: inherit;
514
+ font-kerning: inherit;
515
+ letter-spacing: -0.01px;
516
+ text-align: inherit;
517
+ text-decoration: inherit;
518
+ box-sizing: border-box;
519
+ background-color: transparent;
520
+ padding: 0;
521
+ margin: 0;
522
+ pointer-events: auto;
523
+ line-height: inherit;
524
+ }
525
+
526
+ .xfaLayer *:required {
527
+ outline: 1.5px solid red;
528
+ }
529
+
530
+ .xfaLayer div {
531
+ pointer-events: none;
532
+ }
533
+
534
+ .xfaLayer svg {
535
+ pointer-events: none;
536
+ }
537
+
538
+ .xfaLayer svg * {
539
+ pointer-events: none;
540
+ }
541
+
542
+ .xfaLayer a {
543
+ color: blue;
544
+ }
545
+
546
+ .xfaRich li {
547
+ margin-left: 3em;
548
+ }
549
+
550
+ .xfaFont {
551
+ color: black;
552
+ font-weight: normal;
553
+ font-kerning: none;
554
+ font-size: 10px;
555
+ font-style: normal;
556
+ letter-spacing: 0;
557
+ text-decoration: none;
558
+ vertical-align: 0;
559
+ }
560
+
561
+ .xfaCaption {
562
+ overflow: hidden;
563
+ flex: 0 0 auto;
564
+ }
565
+
566
+ .xfaCaptionForCheckButton {
567
+ overflow: hidden;
568
+ flex: 1 1 auto;
569
+ }
570
+
571
+ .xfaLabel {
572
+ height: 100%;
573
+ width: 100%;
574
+ }
575
+
576
+ .xfaLeft {
577
+ display: flex;
578
+ flex-direction: row;
579
+ align-items: center;
580
+ }
581
+
582
+ .xfaRight {
583
+ display: flex;
584
+ flex-direction: row-reverse;
585
+ align-items: center;
586
+ }
587
+
588
+ .xfaLeft > .xfaCaption,
589
+ .xfaLeft > .xfaCaptionForCheckButton,
590
+ .xfaRight > .xfaCaption,
591
+ .xfaRight > .xfaCaptionForCheckButton {
592
+ max-height: 100%;
593
+ }
594
+
595
+ .xfaTop {
596
+ display: flex;
597
+ flex-direction: column;
598
+ align-items: flex-start;
599
+ }
600
+
601
+ .xfaBottom {
602
+ display: flex;
603
+ flex-direction: column-reverse;
604
+ align-items: flex-start;
605
+ }
606
+
607
+ .xfaTop > .xfaCaption,
608
+ .xfaTop > .xfaCaptionForCheckButton,
609
+ .xfaBottom > .xfaCaption,
610
+ .xfaBottom > .xfaCaptionForCheckButton {
611
+ width: 100%;
612
+ }
613
+
614
+ .xfaBorder {
615
+ background-color: transparent;
616
+ position: absolute;
617
+ pointer-events: none;
618
+ }
619
+
620
+ .xfaWrapped {
621
+ width: 100%;
622
+ height: 100%;
623
+ }
624
+
625
+ .xfaTextfield:focus,
626
+ .xfaSelect:focus {
627
+ background-image: none;
628
+ background-color: transparent;
629
+ outline: var(--xfa-focus-outline);
630
+ outline-offset: -1px;
631
+ }
632
+
633
+ .xfaCheckbox:focus,
634
+ .xfaRadio:focus {
635
+ outline: var(--xfa-focus-outline);
636
+ }
637
+
638
+ .xfaTextfield,
639
+ .xfaSelect {
640
+ height: 100%;
641
+ width: 100%;
642
+ flex: 1 1 auto;
643
+ border: none;
644
+ resize: none;
645
+ background-image: var(--xfa-unfocused-field-background);
646
+ }
647
+
648
+ .xfaSelect {
649
+ padding-inline: 2px;
650
+ }
651
+
652
+ .xfaTop > .xfaTextfield,
653
+ .xfaTop > .xfaSelect,
654
+ .xfaBottom > .xfaTextfield,
655
+ .xfaBottom > .xfaSelect {
656
+ flex: 0 1 auto;
657
+ }
658
+
659
+ .xfaButton {
660
+ cursor: pointer;
661
+ width: 100%;
662
+ height: 100%;
663
+ border: none;
664
+ text-align: center;
665
+ }
666
+
667
+ .xfaLink {
668
+ width: 100%;
669
+ height: 100%;
670
+ position: absolute;
671
+ top: 0;
672
+ left: 0;
673
+ }
674
+
675
+ .xfaCheckbox,
676
+ .xfaRadio {
677
+ width: 100%;
678
+ height: 100%;
679
+ flex: 0 0 auto;
680
+ border: none;
681
+ }
682
+
683
+ .xfaRich {
684
+ white-space: pre-wrap;
685
+ width: 100%;
686
+ height: 100%;
687
+ }
688
+
689
+ .xfaImage {
690
+ -o-object-position: left top;
691
+ object-position: left top;
692
+ -o-object-fit: contain;
693
+ object-fit: contain;
694
+ width: 100%;
695
+ height: 100%;
696
+ }
697
+
698
+ .xfaLrTb,
699
+ .xfaRlTb,
700
+ .xfaTb {
701
+ display: flex;
702
+ flex-direction: column;
703
+ align-items: stretch;
704
+ }
705
+
706
+ .xfaLr {
707
+ display: flex;
708
+ flex-direction: row;
709
+ align-items: stretch;
710
+ }
711
+
712
+ .xfaRl {
713
+ display: flex;
714
+ flex-direction: row-reverse;
715
+ align-items: stretch;
716
+ }
717
+
718
+ .xfaTb > div {
719
+ justify-content: left;
720
+ }
721
+
722
+ .xfaPosition {
723
+ position: relative;
724
+ }
725
+
726
+ .xfaArea {
727
+ position: relative;
728
+ }
729
+
730
+ .xfaValignMiddle {
731
+ display: flex;
732
+ align-items: center;
733
+ }
734
+
735
+ .xfaTable {
736
+ display: flex;
737
+ flex-direction: column;
738
+ align-items: stretch;
739
+ }
740
+
741
+ .xfaTable .xfaRow {
742
+ display: flex;
743
+ flex-direction: row;
744
+ align-items: stretch;
745
+ }
746
+
747
+ .xfaTable .xfaRlRow {
748
+ display: flex;
749
+ flex-direction: row-reverse;
750
+ align-items: stretch;
751
+ flex: 1;
752
+ }
753
+
754
+ .xfaTable .xfaRlRow > div {
755
+ flex: 1;
756
+ }
757
+
758
+ .xfaNonInteractive input,
759
+ .xfaNonInteractive textarea,
760
+ .xfaDisabled input,
761
+ .xfaDisabled textarea,
762
+ .xfaReadOnly input,
763
+ .xfaReadOnly textarea {
764
+ background: initial;
765
+ }
766
+
767
+ @media print {
768
+ .xfaTextfield,
769
+ .xfaSelect {
770
+ background: transparent;
771
+ }
772
+
773
+ .xfaSelect {
774
+ -webkit-appearance: none;
775
+ -moz-appearance: none;
776
+ appearance: none;
777
+ text-indent: 1px;
778
+ text-overflow: "";
779
+ }
780
+ }
781
+
782
+
783
+ :root {
784
+ --focus-outline: solid 2px blue;
785
+ --hover-outline: dashed 2px blue;
786
+ --freetext-line-height: 1.35;
787
+ --freetext-padding: 2px;
788
+ --editorFreeText-editing-cursor: text;
789
+ --editorInk-editing-cursor: url(images/cursor-editorInk.svg) 0 16, pointer;
790
+ }
791
+
792
+ @media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 1.1dppx) {
793
+ :root {
794
+ --editorFreeText-editing-cursor: url(images/cursor-editorFreeText.svg) 0 16,
795
+ text;
796
+ }
797
+ }
798
+
799
+ @media screen and (forced-colors: active) {
800
+ :root {
801
+ --focus-outline: solid 3px ButtonText;
802
+ --hover-outline: dashed 3px ButtonText;
803
+ }
804
+ }
805
+
806
+ [data-editor-rotation="90"] {
807
+ transform: rotate(90deg);
808
+ }
809
+ [data-editor-rotation="180"] {
810
+ transform: rotate(180deg);
811
+ }
812
+ [data-editor-rotation="270"] {
813
+ transform: rotate(270deg);
814
+ }
815
+
816
+ .annotationEditorLayer {
817
+ background: transparent;
818
+ position: absolute;
819
+ top: 0;
820
+ left: 0;
821
+ font-size: calc(100px * var(--scale-factor));
822
+ transform-origin: 0 0;
823
+ cursor: auto;
824
+ z-index: 4;
825
+ }
826
+
827
+ .annotationEditorLayer.freeTextEditing {
828
+ cursor: var(--editorFreeText-editing-cursor);
829
+ }
830
+
831
+ .annotationEditorLayer.inkEditing {
832
+ cursor: var(--editorInk-editing-cursor);
833
+ }
834
+
835
+ .annotationEditorLayer .selectedEditor {
836
+ outline: var(--focus-outline);
837
+ resize: none;
838
+ }
839
+
840
+ .annotationEditorLayer .freeTextEditor {
841
+ position: absolute;
842
+ background: transparent;
843
+ border-radius: 3px;
844
+ padding: calc(var(--freetext-padding) * var(--scale-factor));
845
+ resize: none;
846
+ width: auto;
847
+ height: auto;
848
+ z-index: 1;
849
+ transform-origin: 0 0;
850
+ touch-action: none;
851
+ cursor: auto;
852
+ }
853
+
854
+ .annotationEditorLayer .freeTextEditor .internal {
855
+ background: transparent;
856
+ border: none;
857
+ top: 0;
858
+ left: 0;
859
+ overflow: visible;
860
+ white-space: nowrap;
861
+ resize: none;
862
+ font: 10px sans-serif;
863
+ line-height: var(--freetext-line-height);
864
+ }
865
+
866
+ .annotationEditorLayer .freeTextEditor .overlay {
867
+ position: absolute;
868
+ display: none;
869
+ background: transparent;
870
+ top: 0;
871
+ left: 0;
872
+ width: 100%;
873
+ height: 100%;
874
+ }
875
+
876
+ .annotationEditorLayer .freeTextEditor .overlay.enabled {
877
+ display: block;
878
+ }
879
+
880
+ .annotationEditorLayer .freeTextEditor .internal:empty::before {
881
+ content: attr(default-content);
882
+ color: gray;
883
+ }
884
+
885
+ .annotationEditorLayer .freeTextEditor .internal:focus {
886
+ outline: none;
887
+ }
888
+
889
+ .annotationEditorLayer .inkEditor.disabled {
890
+ resize: none;
891
+ }
892
+
893
+ .annotationEditorLayer .inkEditor.disabled.selectedEditor {
894
+ resize: horizontal;
895
+ }
896
+
897
+ .annotationEditorLayer .freeTextEditor:hover:not(.selectedEditor),
898
+ .annotationEditorLayer .inkEditor:hover:not(.selectedEditor) {
899
+ outline: var(--hover-outline);
900
+ }
901
+
902
+ .annotationEditorLayer .inkEditor {
903
+ position: absolute;
904
+ background: transparent;
905
+ border-radius: 3px;
906
+ overflow: auto;
907
+ width: 100%;
908
+ height: 100%;
909
+ z-index: 1;
910
+ transform-origin: 0 0;
911
+ cursor: auto;
912
+ }
913
+
914
+ .annotationEditorLayer .inkEditor.editing {
915
+ resize: none;
916
+ cursor: inherit;
917
+ }
918
+
919
+ .annotationEditorLayer .inkEditor .inkEditorCanvas {
920
+ position: absolute;
921
+ top: 0;
922
+ left: 0;
923
+ width: 100%;
924
+ height: 100%;
925
+ touch-action: none;
926
+ }
927
+
928
+ :root {
929
+ --viewer-container-height: 0;
930
+ --pdfViewer-padding-bottom: 0;
931
+ --page-margin: 1px auto -8px;
932
+ --page-border: 9px solid transparent;
933
+ --spreadHorizontalWrapped-margin-LR: -3.5px;
934
+ --loading-icon-delay: 400ms;
935
+ }
936
+
937
+ @media screen and (forced-colors: active) {
938
+ :root {
939
+ --pdfViewer-padding-bottom: 9px;
940
+ --page-margin: 8px auto -1px;
941
+ --page-border: 1px solid CanvasText;
942
+ --spreadHorizontalWrapped-margin-LR: 3.5px;
943
+ }
944
+ }
945
+
946
+ [data-main-rotation="90"] {
947
+ transform: rotate(90deg) translateY(-100%);
948
+ }
949
+ [data-main-rotation="180"] {
950
+ transform: rotate(180deg) translate(-100%, -100%);
951
+ }
952
+ [data-main-rotation="270"] {
953
+ transform: rotate(270deg) translateX(-100%);
954
+ }
955
+
956
+ .pdfViewer {
957
+ /* Define this variable here and not in :root to avoid to reflow all the UI
958
+ when scaling (see #15929). */
959
+ --scale-factor: 1;
960
+
961
+ padding-bottom: var(--pdfViewer-padding-bottom);
962
+ }
963
+
964
+ .pdfViewer .canvasWrapper {
965
+ overflow: hidden;
966
+ width: 100%;
967
+ height: 100%;
968
+ z-index: 1;
969
+ }
970
+
971
+ .pdfViewer .page {
972
+ direction: ltr;
973
+ width: 816px;
974
+ height: 1056px;
975
+ margin: var(--page-margin);
976
+ position: relative;
977
+ overflow: visible;
978
+ border: var(--page-border);
979
+ background-clip: content-box;
980
+ background-color: rgba(255, 255, 255, 1);
981
+ }
982
+
983
+ .pdfViewer .dummyPage {
984
+ position: relative;
985
+ width: 0;
986
+ height: var(--viewer-container-height);
987
+ }
988
+
989
+ .pdfViewer.removePageBorders .page {
990
+ margin: 0 auto 10px;
991
+ border: none;
992
+ }
993
+
994
+ .pdfViewer.scrollHorizontal,
995
+ .pdfViewer.scrollWrapped,
996
+ .spread {
997
+ margin-left: 3.5px;
998
+ margin-right: 3.5px;
999
+ text-align: center;
1000
+ }
1001
+
1002
+ .pdfViewer.scrollHorizontal,
1003
+ .spread {
1004
+ white-space: nowrap;
1005
+ }
1006
+
1007
+ .pdfViewer.removePageBorders,
1008
+ .pdfViewer.scrollHorizontal .spread,
1009
+ .pdfViewer.scrollWrapped .spread {
1010
+ margin-left: 0;
1011
+ margin-right: 0;
1012
+ }
1013
+
1014
+ .spread .page,
1015
+ .spread .dummyPage,
1016
+ .pdfViewer.scrollHorizontal .page,
1017
+ .pdfViewer.scrollWrapped .page,
1018
+ .pdfViewer.scrollHorizontal .spread,
1019
+ .pdfViewer.scrollWrapped .spread {
1020
+ display: inline-block;
1021
+ vertical-align: middle;
1022
+ }
1023
+
1024
+ .spread .page,
1025
+ .pdfViewer.scrollHorizontal .page,
1026
+ .pdfViewer.scrollWrapped .page {
1027
+ margin-left: var(--spreadHorizontalWrapped-margin-LR);
1028
+ margin-right: var(--spreadHorizontalWrapped-margin-LR);
1029
+ }
1030
+
1031
+ .pdfViewer.removePageBorders .spread .page,
1032
+ .pdfViewer.removePageBorders.scrollHorizontal .page,
1033
+ .pdfViewer.removePageBorders.scrollWrapped .page {
1034
+ margin-left: 5px;
1035
+ margin-right: 5px;
1036
+ }
1037
+
1038
+ .pdfViewer .page canvas {
1039
+ margin: 0;
1040
+ display: block;
1041
+ }
1042
+
1043
+ .pdfViewer .page canvas .structTree {
1044
+ contain: strict;
1045
+ }
1046
+
1047
+ .pdfViewer .page canvas[hidden] {
1048
+ display: none;
1049
+ }
1050
+
1051
+ .pdfViewer .page canvas[zooming] {
1052
+ width: 100%;
1053
+ height: 100%;
1054
+ }
1055
+
1056
+ .pdfViewer .page.loadingIcon:after {
1057
+ position: absolute;
1058
+ top: 0;
1059
+ left: 0;
1060
+ content: "";
1061
+ width: 100%;
1062
+ height: 100%;
1063
+ background: url("images/loading-icon.gif") center no-repeat;
1064
+ display: none;
1065
+ /* Using a delay with background-image doesn't work,
1066
+ consequently we use the display. */
1067
+ transition-property: display;
1068
+ transition-delay: var(--loading-icon-delay);
1069
+ z-index: 5;
1070
+ contain: strict;
1071
+ }
1072
+
1073
+ .pdfViewer .page.loading:after {
1074
+ display: block;
1075
+ }
1076
+
1077
+ .pdfViewer .page:not(.loading):after {
1078
+ transition-property: none;
1079
+ display: none;
1080
+ }
1081
+
1082
+ .pdfViewer.enablePermissions .textLayer span {
1083
+ -webkit-user-select: none !important;
1084
+ -moz-user-select: none !important;
1085
+ user-select: none !important;
1086
+ cursor: not-allowed;
1087
+ }
1088
+
1089
+ .pdfPresentationMode .pdfViewer {
1090
+ padding-bottom: 0;
1091
+ }
1092
+
1093
+ .pdfPresentationMode .spread {
1094
+ margin: 0;
1095
+ }
1096
+
1097
+ .pdfPresentationMode .pdfViewer .page {
1098
+ margin: 0 auto;
1099
+ border: 2px solid transparent;
1100
+ }
1101
+
1102
+ :root {
1103
+ --dir-factor: 1;
1104
+ --inline-start: left;
1105
+ --inline-end: right;
1106
+
1107
+ --sidebar-width: 200px;
1108
+ --sidebar-transition-duration: 200ms;
1109
+ --sidebar-transition-timing-function: ease;
1110
+
1111
+ --toolbar-icon-opacity: 0.7;
1112
+ --doorhanger-icon-opacity: 0.9;
1113
+
1114
+ --main-color: rgba(12, 12, 13, 1);
1115
+ --body-bg-color: rgba(212, 212, 215, 1);
1116
+ --progressBar-color: rgba(10, 132, 255, 1);
1117
+ --progressBar-bg-color: rgba(221, 221, 222, 1);
1118
+ --progressBar-blend-color: rgba(116, 177, 239, 1);
1119
+ --scrollbar-color: auto;
1120
+ --scrollbar-bg-color: auto;
1121
+ --toolbar-icon-bg-color: rgba(0, 0, 0, 1);
1122
+ --toolbar-icon-hover-bg-color: rgba(0, 0, 0, 1);
1123
+
1124
+ --sidebar-narrow-bg-color: rgba(212, 212, 215, 0.9);
1125
+ --sidebar-toolbar-bg-color: rgba(245, 246, 247, 1);
1126
+ --toolbar-bg-color: rgba(249, 249, 250, 1);
1127
+ --toolbar-border-color: rgba(184, 184, 184, 1);
1128
+ --toolbar-box-shadow: 0 1px 0 var(--toolbar-border-color);
1129
+ --toolbar-border-bottom: none;
1130
+ --toolbarSidebar-box-shadow: inset calc(-1px * var(--dir-factor)) 0 0
1131
+ rgba(0, 0, 0, 0.25),
1132
+ 0 1px 0 rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.1);
1133
+ --toolbarSidebar-border-bottom: none;
1134
+ --button-hover-color: rgba(221, 222, 223, 1);
1135
+ --toggled-btn-color: rgba(0, 0, 0, 1);
1136
+ --toggled-btn-bg-color: rgba(0, 0, 0, 0.3);
1137
+ --toggled-hover-active-btn-color: rgba(0, 0, 0, 0.4);
1138
+ --dropdown-btn-bg-color: rgba(215, 215, 219, 1);
1139
+ --dropdown-btn-border: none;
1140
+ --separator-color: rgba(0, 0, 0, 0.3);
1141
+ --field-color: rgba(6, 6, 6, 1);
1142
+ --field-bg-color: rgba(255, 255, 255, 1);
1143
+ --field-border-color: rgba(187, 187, 188, 1);
1144
+ --treeitem-color: rgba(0, 0, 0, 0.8);
1145
+ --treeitem-hover-color: rgba(0, 0, 0, 0.9);
1146
+ --treeitem-selected-color: rgba(0, 0, 0, 0.9);
1147
+ --treeitem-selected-bg-color: rgba(0, 0, 0, 0.25);
1148
+ --sidebaritem-bg-color: rgba(0, 0, 0, 0.15);
1149
+ --doorhanger-bg-color: rgba(255, 255, 255, 1);
1150
+ --doorhanger-border-color: rgba(12, 12, 13, 0.2);
1151
+ --doorhanger-hover-color: rgba(12, 12, 13, 1);
1152
+ --doorhanger-hover-bg-color: rgba(237, 237, 237, 1);
1153
+ --doorhanger-separator-color: rgba(222, 222, 222, 1);
1154
+ --dialog-button-border: none;
1155
+ --dialog-button-bg-color: rgba(12, 12, 13, 0.1);
1156
+ --dialog-button-hover-bg-color: rgba(12, 12, 13, 0.3);
1157
+
1158
+ --loading-icon: url(images/loading.svg);
1159
+ --treeitem-expanded-icon: url(images/treeitem-expanded.svg);
1160
+ --treeitem-collapsed-icon: url(images/treeitem-collapsed.svg);
1161
+ --toolbarButton-editorFreeText-icon: url(images/toolbarButton-editorFreeText.svg);
1162
+ --toolbarButton-editorInk-icon: url(images/toolbarButton-editorInk.svg);
1163
+ --toolbarButton-menuArrow-icon: url(images/toolbarButton-menuArrow.svg);
1164
+ --toolbarButton-sidebarToggle-icon: url(images/toolbarButton-sidebarToggle.svg);
1165
+ --toolbarButton-secondaryToolbarToggle-icon: url(images/toolbarButton-secondaryToolbarToggle.svg);
1166
+ --toolbarButton-pageUp-icon: url(images/toolbarButton-pageUp.svg);
1167
+ --toolbarButton-pageDown-icon: url(images/toolbarButton-pageDown.svg);
1168
+ --toolbarButton-zoomOut-icon: url(images/toolbarButton-zoomOut.svg);
1169
+ --toolbarButton-zoomIn-icon: url(images/toolbarButton-zoomIn.svg);
1170
+ --toolbarButton-presentationMode-icon: url(images/toolbarButton-presentationMode.svg);
1171
+ --toolbarButton-print-icon: url(images/toolbarButton-print.svg);
1172
+ --toolbarButton-openFile-icon: url(images/toolbarButton-openFile.svg);
1173
+ --toolbarButton-download-icon: url(images/toolbarButton-download.svg);
1174
+ --toolbarButton-bookmark-icon: url(images/toolbarButton-bookmark.svg);
1175
+ --toolbarButton-viewThumbnail-icon: url(images/toolbarButton-viewThumbnail.svg);
1176
+ --toolbarButton-viewOutline-icon: url(images/toolbarButton-viewOutline.svg);
1177
+ --toolbarButton-viewAttachments-icon: url(images/toolbarButton-viewAttachments.svg);
1178
+ --toolbarButton-viewLayers-icon: url(images/toolbarButton-viewLayers.svg);
1179
+ --toolbarButton-currentOutlineItem-icon: url(images/toolbarButton-currentOutlineItem.svg);
1180
+ --toolbarButton-search-icon: url(images/toolbarButton-search.svg);
1181
+ --findbarButton-previous-icon: url(images/findbarButton-previous.svg);
1182
+ --findbarButton-next-icon: url(images/findbarButton-next.svg);
1183
+ --secondaryToolbarButton-firstPage-icon: url(images/secondaryToolbarButton-firstPage.svg);
1184
+ --secondaryToolbarButton-lastPage-icon: url(images/secondaryToolbarButton-lastPage.svg);
1185
+ --secondaryToolbarButton-rotateCcw-icon: url(images/secondaryToolbarButton-rotateCcw.svg);
1186
+ --secondaryToolbarButton-rotateCw-icon: url(images/secondaryToolbarButton-rotateCw.svg);
1187
+ --secondaryToolbarButton-selectTool-icon: url(images/secondaryToolbarButton-selectTool.svg);
1188
+ --secondaryToolbarButton-handTool-icon: url(images/secondaryToolbarButton-handTool.svg);
1189
+ --secondaryToolbarButton-scrollPage-icon: url(images/secondaryToolbarButton-scrollPage.svg);
1190
+ --secondaryToolbarButton-scrollVertical-icon: url(images/secondaryToolbarButton-scrollVertical.svg);
1191
+ --secondaryToolbarButton-scrollHorizontal-icon: url(images/secondaryToolbarButton-scrollHorizontal.svg);
1192
+ --secondaryToolbarButton-scrollWrapped-icon: url(images/secondaryToolbarButton-scrollWrapped.svg);
1193
+ --secondaryToolbarButton-spreadNone-icon: url(images/secondaryToolbarButton-spreadNone.svg);
1194
+ --secondaryToolbarButton-spreadOdd-icon: url(images/secondaryToolbarButton-spreadOdd.svg);
1195
+ --secondaryToolbarButton-spreadEven-icon: url(images/secondaryToolbarButton-spreadEven.svg);
1196
+ --secondaryToolbarButton-documentProperties-icon: url(images/secondaryToolbarButton-documentProperties.svg);
1197
+ }
1198
+
1199
+ [dir="rtl"]:root {
1200
+ --dir-factor: -1;
1201
+ --inline-start: right;
1202
+ --inline-end: left;
1203
+ }
1204
+
1205
+ @media (prefers-color-scheme: dark) {
1206
+ :root {
1207
+ --main-color: rgba(249, 249, 250, 1);
1208
+ --body-bg-color: rgba(42, 42, 46, 1);
1209
+ --progressBar-color: rgba(0, 96, 223, 1);
1210
+ --progressBar-bg-color: rgba(40, 40, 43, 1);
1211
+ --progressBar-blend-color: rgba(20, 68, 133, 1);
1212
+ --scrollbar-color: rgba(121, 121, 123, 1);
1213
+ --scrollbar-bg-color: rgba(35, 35, 39, 1);
1214
+ --toolbar-icon-bg-color: rgba(255, 255, 255, 1);
1215
+ --toolbar-icon-hover-bg-color: rgba(255, 255, 255, 1);
1216
+
1217
+ --sidebar-narrow-bg-color: rgba(42, 42, 46, 0.9);
1218
+ --sidebar-toolbar-bg-color: rgba(50, 50, 52, 1);
1219
+ --toolbar-bg-color: rgba(56, 56, 61, 1);
1220
+ --toolbar-border-color: rgba(12, 12, 13, 1);
1221
+ --button-hover-color: rgba(102, 102, 103, 1);
1222
+ --toggled-btn-color: rgba(255, 255, 255, 1);
1223
+ --toggled-btn-bg-color: rgba(0, 0, 0, 0.3);
1224
+ --toggled-hover-active-btn-color: rgba(0, 0, 0, 0.4);
1225
+ --dropdown-btn-bg-color: rgba(74, 74, 79, 1);
1226
+ --separator-color: rgba(0, 0, 0, 0.3);
1227
+ --field-color: rgba(250, 250, 250, 1);
1228
+ --field-bg-color: rgba(64, 64, 68, 1);
1229
+ --field-border-color: rgba(115, 115, 115, 1);
1230
+ --treeitem-color: rgba(255, 255, 255, 0.8);
1231
+ --treeitem-hover-color: rgba(255, 255, 255, 0.9);
1232
+ --treeitem-selected-color: rgba(255, 255, 255, 0.9);
1233
+ --treeitem-selected-bg-color: rgba(255, 255, 255, 0.25);
1234
+ --sidebaritem-bg-color: rgba(255, 255, 255, 0.15);
1235
+ --doorhanger-bg-color: rgba(74, 74, 79, 1);
1236
+ --doorhanger-border-color: rgba(39, 39, 43, 1);
1237
+ --doorhanger-hover-color: rgba(249, 249, 250, 1);
1238
+ --doorhanger-hover-bg-color: rgba(93, 94, 98, 1);
1239
+ --doorhanger-separator-color: rgba(92, 92, 97, 1);
1240
+ --dialog-button-bg-color: rgba(92, 92, 97, 1);
1241
+ --dialog-button-hover-bg-color: rgba(115, 115, 115, 1);
1242
+
1243
+ /* This image is used in <input> elements, which unfortunately means that
1244
+ * the `mask-image` approach used with all of the other images doesn't work
1245
+ * here; hence why we still have two versions of this particular image. */
1246
+ --loading-icon: url(images/loading-dark.svg);
1247
+ }
1248
+ }
1249
+
1250
+ @media screen and (forced-colors: active) {
1251
+ :root {
1252
+ --button-hover-color: Highlight;
1253
+ --doorhanger-hover-bg-color: Highlight;
1254
+ --toolbar-icon-opacity: 1;
1255
+ --toolbar-icon-bg-color: ButtonText;
1256
+ --toolbar-icon-hover-bg-color: ButtonFace;
1257
+ --toolbar-border-color: CanvasText;
1258
+ --toolbar-border-bottom: 1px solid var(--toolbar-border-color);
1259
+ --toolbar-box-shadow: none;
1260
+ --toggled-btn-color: HighlightText;
1261
+ --toggled-btn-bg-color: LinkText;
1262
+ --doorhanger-hover-color: ButtonFace;
1263
+ --doorhanger-border-color-whcm: 1px solid ButtonText;
1264
+ --doorhanger-triangle-opacity-whcm: 0;
1265
+ --dialog-button-border: 1px solid Highlight;
1266
+ --dialog-button-hover-bg-color: Highlight;
1267
+ --dialog-button-hover-color: ButtonFace;
1268
+ --dropdown-btn-border: 1px solid ButtonText;
1269
+ --field-border-color: ButtonText;
1270
+ --main-color: CanvasText;
1271
+ --separator-color: GrayText;
1272
+ --doorhanger-separator-color: GrayText;
1273
+ --toolbarSidebar-box-shadow: none;
1274
+ --toolbarSidebar-border-bottom: 1px solid var(--toolbar-border-color);
1275
+ }
1276
+ }
1277
+
1278
+ @media screen and (prefers-reduced-motion: reduce) {
1279
+ :root {
1280
+ --sidebar-transition-duration: 0;
1281
+ }
1282
+ }
1283
+
1284
+ * {
1285
+ padding: 0;
1286
+ margin: 0;
1287
+ }
1288
+
1289
+ html,
1290
+ body {
1291
+ height: 100%;
1292
+ width: 100%;
1293
+ }
1294
+
1295
+ body {
1296
+ background-color: var(--body-bg-color);
1297
+ scrollbar-color: var(--scrollbar-color) var(--scrollbar-bg-color);
1298
+ }
1299
+
1300
+ .hidden,
1301
+ [hidden] {
1302
+ display: none !important;
1303
+ }
1304
+
1305
+ #viewerContainer.pdfPresentationMode:-webkit-full-screen {
1306
+ top: 0;
1307
+ background-color: rgba(0, 0, 0, 1);
1308
+ width: 100%;
1309
+ height: 100%;
1310
+ overflow: hidden;
1311
+ cursor: none;
1312
+ -webkit-user-select: none;
1313
+ user-select: none;
1314
+ }
1315
+
1316
+ #viewerContainer.pdfPresentationMode:fullscreen {
1317
+ top: 0;
1318
+ background-color: rgba(0, 0, 0, 1);
1319
+ width: 100%;
1320
+ height: 100%;
1321
+ overflow: hidden;
1322
+ cursor: none;
1323
+ -webkit-user-select: none;
1324
+ -moz-user-select: none;
1325
+ user-select: none;
1326
+ }
1327
+
1328
+ .pdfPresentationMode:-webkit-full-screen section:not([data-internal-link]) {
1329
+ pointer-events: none;
1330
+ }
1331
+
1332
+ .pdfPresentationMode:fullscreen section:not([data-internal-link]) {
1333
+ pointer-events: none;
1334
+ }
1335
+
1336
+ .pdfPresentationMode:-webkit-full-screen .textLayer span {
1337
+ cursor: none;
1338
+ }
1339
+
1340
+ .pdfPresentationMode:fullscreen .textLayer span {
1341
+ cursor: none;
1342
+ }
1343
+
1344
+ .pdfPresentationMode.pdfPresentationModeControls > *,
1345
+ .pdfPresentationMode.pdfPresentationModeControls .textLayer span {
1346
+ cursor: default;
1347
+ }
1348
+
1349
+ #outerContainer {
1350
+ width: 100%;
1351
+ height: 100%;
1352
+ position: relative;
1353
+ }
1354
+
1355
+ #sidebarContainer {
1356
+ position: absolute;
1357
+ top: 32px;
1358
+ bottom: 0;
1359
+ inset-inline-start: calc(-1 * var(--sidebar-width));
1360
+ width: var(--sidebar-width);
1361
+ visibility: hidden;
1362
+ z-index: 100;
1363
+ font: message-box;
1364
+ border-top: 1px solid rgba(51, 51, 51, 1);
1365
+ -webkit-border-end: var(--doorhanger-border-color-whcm);
1366
+ border-inline-end: var(--doorhanger-border-color-whcm);
1367
+ transition-property: inset-inline-start;
1368
+ transition-duration: var(--sidebar-transition-duration);
1369
+ transition-timing-function: var(--sidebar-transition-timing-function);
1370
+ }
1371
+
1372
+ #outerContainer.sidebarMoving #sidebarContainer,
1373
+ #outerContainer.sidebarOpen #sidebarContainer {
1374
+ visibility: visible;
1375
+ }
1376
+ #outerContainer.sidebarOpen #sidebarContainer {
1377
+ inset-inline-start: 0;
1378
+ }
1379
+
1380
+ #mainContainer {
1381
+ position: absolute;
1382
+ top: 0;
1383
+ right: 0;
1384
+ bottom: 0;
1385
+ left: 0;
1386
+ min-width: 350px;
1387
+ }
1388
+
1389
+ #sidebarContent {
1390
+ top: 32px;
1391
+ bottom: 0;
1392
+ inset-inline-start: 0;
1393
+ overflow: auto;
1394
+ position: absolute;
1395
+ width: 100%;
1396
+ box-shadow: inset calc(-1px * var(--dir-factor)) 0 0 rgba(0, 0, 0, 0.25);
1397
+ }
1398
+
1399
+ #viewerContainer {
1400
+ overflow: auto;
1401
+ position: absolute;
1402
+ top: 32px;
1403
+ right: 0;
1404
+ bottom: 0;
1405
+ left: 0;
1406
+ outline: none;
1407
+ }
1408
+ #viewerContainer:not(.pdfPresentationMode) {
1409
+ transition-duration: var(--sidebar-transition-duration);
1410
+ transition-timing-function: var(--sidebar-transition-timing-function);
1411
+ }
1412
+
1413
+ #outerContainer.sidebarOpen #viewerContainer:not(.pdfPresentationMode) {
1414
+ inset-inline-start: var(--sidebar-width);
1415
+ transition-property: inset-inline-start;
1416
+ }
1417
+
1418
+ .toolbar {
1419
+ position: relative;
1420
+ left: 0;
1421
+ right: 0;
1422
+ z-index: 9999;
1423
+ cursor: default;
1424
+ font: message-box;
1425
+ }
1426
+
1427
+ .toolbar input,
1428
+ .toolbar button,
1429
+ .toolbar select,
1430
+ .secondaryToolbar input,
1431
+ .secondaryToolbar button,
1432
+ .secondaryToolbar a,
1433
+ .secondaryToolbar select,
1434
+ .editorParamsToolbar input,
1435
+ .editorParamsToolbar button,
1436
+ .editorParamsToolbar select,
1437
+ .findbar input,
1438
+ .findbar button,
1439
+ .findbar select,
1440
+ #sidebarContainer input,
1441
+ #sidebarContainer button,
1442
+ #sidebarContainer select {
1443
+ outline: none;
1444
+ font: message-box;
1445
+ }
1446
+
1447
+ #toolbarContainer {
1448
+ width: 100%;
1449
+ }
1450
+
1451
+ #toolbarSidebar {
1452
+ width: 100%;
1453
+ height: 32px;
1454
+ background-color: var(--sidebar-toolbar-bg-color);
1455
+ box-shadow: var(--toolbarSidebar-box-shadow);
1456
+ border-bottom: var(--toolbarSidebar-border-bottom);
1457
+ }
1458
+
1459
+ #sidebarResizer {
1460
+ position: absolute;
1461
+ top: 0;
1462
+ bottom: 0;
1463
+ inset-inline-end: -6px;
1464
+ width: 6px;
1465
+ z-index: 200;
1466
+ cursor: ew-resize;
1467
+ }
1468
+
1469
+ #toolbarContainer,
1470
+ .findbar,
1471
+ .secondaryToolbar,
1472
+ .editorParamsToolbar {
1473
+ position: relative;
1474
+ height: 32px;
1475
+ background-color: var(--toolbar-bg-color);
1476
+ box-shadow: var(--toolbar-box-shadow);
1477
+ border-bottom: var(--toolbar-border-bottom);
1478
+ }
1479
+
1480
+ #toolbarViewer {
1481
+ height: 32px;
1482
+ }
1483
+
1484
+ #loadingBar {
1485
+ /* Define these variables here, and not in :root, to avoid reflowing the
1486
+ entire viewer when updating progress (see issue 15958). */
1487
+ --progressBar-percent: 0%;
1488
+ --progressBar-end-offset: 0;
1489
+
1490
+ position: absolute;
1491
+ inset-inline: 0 var(--progressBar-end-offset);
1492
+ height: 4px;
1493
+ background-color: var(--progressBar-bg-color);
1494
+ border-bottom: 1px solid var(--toolbar-border-color);
1495
+ transition-property: inset-inline-start;
1496
+ transition-duration: var(--sidebar-transition-duration);
1497
+ transition-timing-function: var(--sidebar-transition-timing-function);
1498
+ }
1499
+
1500
+ #outerContainer.sidebarOpen #loadingBar {
1501
+ inset-inline-start: var(--sidebar-width);
1502
+ }
1503
+
1504
+ #loadingBar .progress {
1505
+ position: absolute;
1506
+ top: 0;
1507
+ left: 0;
1508
+ width: 100%;
1509
+ transform: scaleX(var(--progressBar-percent));
1510
+ transform-origin: 0 0;
1511
+ height: 100%;
1512
+ background-color: var(--progressBar-color);
1513
+ overflow: hidden;
1514
+ transition: transform 200ms;
1515
+ }
1516
+
1517
+ @keyframes progressIndeterminate {
1518
+ 0% {
1519
+ transform: translateX(-142px);
1520
+ }
1521
+ 100% {
1522
+ transform: translateX(0);
1523
+ }
1524
+ }
1525
+
1526
+ #loadingBar.indeterminate .progress {
1527
+ transform: none;
1528
+ background-color: var(--progressBar-bg-color);
1529
+ transition: none;
1530
+ }
1531
+
1532
+ #loadingBar.indeterminate .progress .glimmer {
1533
+ position: absolute;
1534
+ top: 0;
1535
+ left: 0;
1536
+ height: 100%;
1537
+ width: calc(100% + 150px);
1538
+ background: repeating-linear-gradient(
1539
+ 135deg,
1540
+ var(--progressBar-blend-color) 0,
1541
+ var(--progressBar-bg-color) 5px,
1542
+ var(--progressBar-bg-color) 45px,
1543
+ var(--progressBar-color) 55px,
1544
+ var(--progressBar-color) 95px,
1545
+ var(--progressBar-blend-color) 100px
1546
+ );
1547
+ animation: progressIndeterminate 1s linear infinite;
1548
+ }
1549
+
1550
+ #outerContainer.sidebarResizing #sidebarContainer,
1551
+ #outerContainer.sidebarResizing #viewerContainer,
1552
+ #outerContainer.sidebarResizing #loadingBar {
1553
+ /* Improve responsiveness and avoid visual glitches when the sidebar is resized. */
1554
+ transition-duration: 0s;
1555
+ }
1556
+
1557
+ .findbar,
1558
+ .secondaryToolbar,
1559
+ .editorParamsToolbar {
1560
+ top: 32px;
1561
+ position: absolute;
1562
+ z-index: 30000;
1563
+ height: auto;
1564
+ padding: 0 4px;
1565
+ margin: 4px 2px;
1566
+ font: message-box;
1567
+ font-size: 12px;
1568
+ line-height: 14px;
1569
+ text-align: left;
1570
+ cursor: default;
1571
+ }
1572
+
1573
+ .findbar {
1574
+ inset-inline-start: 64px;
1575
+ min-width: 300px;
1576
+ background-color: var(--toolbar-bg-color);
1577
+ }
1578
+ .findbar > div {
1579
+ height: 32px;
1580
+ }
1581
+ .findbar > div#findbarInputContainer {
1582
+ -webkit-margin-end: 4px;
1583
+ margin-inline-end: 4px;
1584
+ }
1585
+ .findbar.wrapContainers > div,
1586
+ .findbar.wrapContainers > div#findbarMessageContainer > * {
1587
+ clear: both;
1588
+ }
1589
+ .findbar.wrapContainers > div#findbarMessageContainer {
1590
+ height: auto;
1591
+ }
1592
+
1593
+ .findbar input[type="checkbox"] {
1594
+ pointer-events: none;
1595
+ }
1596
+
1597
+ .findbar label {
1598
+ -webkit-user-select: none;
1599
+ -moz-user-select: none;
1600
+ user-select: none;
1601
+ }
1602
+
1603
+ .findbar label:hover,
1604
+ .findbar input:focus-visible + label {
1605
+ color: var(--toggled-btn-color);
1606
+ background-color: var(--button-hover-color);
1607
+ }
1608
+
1609
+ .findbar .toolbarField[type="checkbox"]:checked + .toolbarLabel {
1610
+ background-color: var(--toggled-btn-bg-color) !important;
1611
+ color: var(--toggled-btn-color);
1612
+ }
1613
+
1614
+ #findInput {
1615
+ width: 200px;
1616
+ }
1617
+ #findInput::-moz-placeholder {
1618
+ font-style: normal;
1619
+ }
1620
+ #findInput::placeholder {
1621
+ font-style: normal;
1622
+ }
1623
+ #findInput[data-status="pending"] {
1624
+ background-image: var(--loading-icon);
1625
+ background-repeat: no-repeat;
1626
+ background-position: calc(50% + 48% * var(--dir-factor));
1627
+ }
1628
+ #findInput[data-status="notFound"] {
1629
+ background-color: rgba(255, 102, 102, 1);
1630
+ }
1631
+
1632
+ .secondaryToolbar,
1633
+ .editorParamsToolbar {
1634
+ padding: 6px 0 10px;
1635
+ inset-inline-end: 4px;
1636
+ height: auto;
1637
+ background-color: var(--doorhanger-bg-color);
1638
+ }
1639
+
1640
+ .editorParamsToolbarContainer {
1641
+ width: 220px;
1642
+ margin-bottom: -4px;
1643
+ }
1644
+
1645
+ .editorParamsToolbarContainer > .editorParamsSetter {
1646
+ min-height: 26px;
1647
+ display: flex;
1648
+ align-items: center;
1649
+ justify-content: space-between;
1650
+ padding-inline: 10px;
1651
+ }
1652
+
1653
+ .editorParamsToolbarContainer .editorParamsLabel {
1654
+ -webkit-padding-end: 10px;
1655
+ padding-inline-end: 10px;
1656
+ flex: none;
1657
+ color: var(--main-color);
1658
+ }
1659
+
1660
+ .editorParamsToolbarContainer .editorParamsColor {
1661
+ width: 32px;
1662
+ height: 32px;
1663
+ flex: none;
1664
+ }
1665
+
1666
+ .editorParamsToolbarContainer .editorParamsSlider {
1667
+ background-color: transparent;
1668
+ width: 90px;
1669
+ flex: 0 1 0;
1670
+ }
1671
+
1672
+ .editorParamsToolbarContainer .editorParamsSlider::-moz-range-progress {
1673
+ background-color: black;
1674
+ }
1675
+
1676
+ .editorParamsToolbarContainer .editorParamsSlider::-webkit-slider-runnable-track,
1677
+ .editorParamsToolbarContainer .editorParamsSlider::-moz-range-track {
1678
+ background-color: black;
1679
+ }
1680
+
1681
+ .editorParamsToolbarContainer .editorParamsSlider::-webkit-slider-thumb,
1682
+ .editorParamsToolbarContainer .editorParamsSlider::-moz-range-thumb {
1683
+ background-color: white;
1684
+ }
1685
+
1686
+ #secondaryToolbarButtonContainer {
1687
+ max-width: 220px;
1688
+ min-height: 26px;
1689
+ max-height: calc(var(--viewer-container-height) - 40px);
1690
+ overflow-y: auto;
1691
+ margin-bottom: -4px;
1692
+ }
1693
+
1694
+ #editorInkParamsToolbar {
1695
+ inset-inline-end: 40px;
1696
+ background-color: var(--toolbar-bg-color);
1697
+ }
1698
+
1699
+ #editorFreeTextParamsToolbar {
1700
+ inset-inline-end: 68px;
1701
+ background-color: var(--toolbar-bg-color);
1702
+ }
1703
+
1704
+ .doorHanger,
1705
+ .doorHangerRight {
1706
+ border-radius: 2px;
1707
+ box-shadow: 0 1px 5px var(--doorhanger-border-color),
1708
+ 0 0 0 1px var(--doorhanger-border-color);
1709
+ border: var(--doorhanger-border-color-whcm);
1710
+ }
1711
+ .doorHanger:after,
1712
+ .doorHanger:before,
1713
+ .doorHangerRight:after,
1714
+ .doorHangerRight:before {
1715
+ bottom: 100%;
1716
+ border: 8px solid rgba(0, 0, 0, 0);
1717
+ content: " ";
1718
+ height: 0;
1719
+ width: 0;
1720
+ position: absolute;
1721
+ pointer-events: none;
1722
+ opacity: var(--doorhanger-triangle-opacity-whcm);
1723
+ }
1724
+ .doorHanger:after {
1725
+ inset-inline-start: 10px;
1726
+ -webkit-margin-start: -8px;
1727
+ margin-inline-start: -8px;
1728
+ border-bottom-color: var(--toolbar-bg-color);
1729
+ }
1730
+ .doorHangerRight:after {
1731
+ inset-inline-end: 10px;
1732
+ -webkit-margin-end: -8px;
1733
+ margin-inline-end: -8px;
1734
+ border-bottom-color: var(--doorhanger-bg-color);
1735
+ }
1736
+ .doorHanger:before,
1737
+ .doorHangerRight:before {
1738
+ border-bottom-color: var(--doorhanger-border-color);
1739
+ border-width: 9px;
1740
+ }
1741
+ .doorHanger:before {
1742
+ inset-inline-start: 10px;
1743
+ -webkit-margin-start: -9px;
1744
+ margin-inline-start: -9px;
1745
+ }
1746
+ .doorHangerRight:before {
1747
+ inset-inline-end: 10px;
1748
+ -webkit-margin-end: -9px;
1749
+ margin-inline-end: -9px;
1750
+ }
1751
+
1752
+ #findResultsCount {
1753
+ background-color: rgba(217, 217, 217, 1);
1754
+ color: rgba(82, 82, 82, 1);
1755
+ text-align: center;
1756
+ padding: 4px 5px;
1757
+ margin: 5px;
1758
+ }
1759
+
1760
+ #findMsg {
1761
+ color: rgba(251, 0, 0, 1);
1762
+ }
1763
+
1764
+ #findResultsCount:empty,
1765
+ #findMsg:empty {
1766
+ display: none;
1767
+ }
1768
+
1769
+ #toolbarViewerMiddle {
1770
+ position: absolute;
1771
+ left: 50%;
1772
+ transform: translateX(-50%);
1773
+ }
1774
+
1775
+ #toolbarViewerLeft,
1776
+ #toolbarSidebarLeft {
1777
+ float: var(--inline-start);
1778
+ }
1779
+ #toolbarViewerRight,
1780
+ #toolbarSidebarRight {
1781
+ float: var(--inline-end);
1782
+ }
1783
+
1784
+ #toolbarViewerLeft > *,
1785
+ #toolbarViewerMiddle > *,
1786
+ #toolbarViewerRight > *,
1787
+ #toolbarSidebarLeft *,
1788
+ #toolbarSidebarRight *,
1789
+ .findbar * {
1790
+ position: relative;
1791
+ float: var(--inline-start);
1792
+ }
1793
+
1794
+ #toolbarViewerLeft {
1795
+ -webkit-padding-start: 1px;
1796
+ padding-inline-start: 1px;
1797
+ }
1798
+ #toolbarViewerRight {
1799
+ -webkit-padding-end: 1px;
1800
+ padding-inline-end: 1px;
1801
+ }
1802
+ #toolbarSidebarRight {
1803
+ -webkit-padding-end: 2px;
1804
+ padding-inline-end: 2px;
1805
+ }
1806
+
1807
+ .splitToolbarButton {
1808
+ margin: 2px;
1809
+ display: inline-block;
1810
+ }
1811
+ .splitToolbarButton > .toolbarButton {
1812
+ float: var(--inline-start);
1813
+ }
1814
+
1815
+ .toolbarButton,
1816
+ .secondaryToolbarButton,
1817
+ .dialogButton {
1818
+ border: none;
1819
+ background: none;
1820
+ width: 28px;
1821
+ height: 28px;
1822
+ outline: none;
1823
+ }
1824
+
1825
+ .dialogButton:hover,
1826
+ .dialogButton:focus-visible {
1827
+ background-color: var(--dialog-button-hover-bg-color);
1828
+ }
1829
+
1830
+ .dialogButton:hover > span,
1831
+ .dialogButton:focus-visible > span {
1832
+ color: var(--dialog-button-hover-color);
1833
+ }
1834
+
1835
+ .toolbarButton > span {
1836
+ display: inline-block;
1837
+ width: 0;
1838
+ height: 0;
1839
+ overflow: hidden;
1840
+ }
1841
+
1842
+ .toolbarButton[disabled],
1843
+ .secondaryToolbarButton[disabled],
1844
+ .dialogButton[disabled] {
1845
+ opacity: 0.5;
1846
+ }
1847
+
1848
+ .splitToolbarButton > .toolbarButton:hover,
1849
+ .splitToolbarButton > .toolbarButton:focus-visible,
1850
+ .dropdownToolbarButton:hover {
1851
+ background-color: var(--button-hover-color);
1852
+ }
1853
+ .splitToolbarButton > .toolbarButton {
1854
+ position: relative;
1855
+ margin: 0;
1856
+ }
1857
+ #toolbarSidebar .splitToolbarButton > .toolbarButton {
1858
+ -webkit-margin-end: 2px;
1859
+ margin-inline-end: 2px;
1860
+ }
1861
+
1862
+ .splitToolbarButtonSeparator {
1863
+ float: var(--inline-start);
1864
+ margin: 4px 0;
1865
+ width: 1px;
1866
+ height: 20px;
1867
+ background-color: var(--separator-color);
1868
+ }
1869
+
1870
+ .toolbarButton,
1871
+ .dropdownToolbarButton,
1872
+ .secondaryToolbarButton,
1873
+ .dialogButton {
1874
+ min-width: 16px;
1875
+ margin: 2px 1px;
1876
+ padding: 2px 6px 0;
1877
+ border: none;
1878
+ border-radius: 2px;
1879
+ color: var(--main-color);
1880
+ font-size: 12px;
1881
+ line-height: 14px;
1882
+ -webkit-user-select: none;
1883
+ -moz-user-select: none;
1884
+ user-select: none;
1885
+ cursor: default;
1886
+ box-sizing: border-box;
1887
+ }
1888
+
1889
+ .toolbarButton:hover,
1890
+ .toolbarButton:focus-visible {
1891
+ background-color: var(--button-hover-color);
1892
+ }
1893
+ .secondaryToolbarButton:hover,
1894
+ .secondaryToolbarButton:focus-visible {
1895
+ background-color: var(--doorhanger-hover-bg-color);
1896
+ color: var(--doorhanger-hover-color);
1897
+ }
1898
+
1899
+ .toolbarButton.toggled,
1900
+ .splitToolbarButton.toggled > .toolbarButton.toggled,
1901
+ .secondaryToolbarButton.toggled {
1902
+ background-color: var(--toggled-btn-bg-color);
1903
+ color: var(--toggled-btn-color);
1904
+ }
1905
+
1906
+ .toolbarButton.toggled::before,
1907
+ .secondaryToolbarButton.toggled::before {
1908
+ background-color: var(--toggled-btn-color);
1909
+ }
1910
+
1911
+ .toolbarButton.toggled:hover:active,
1912
+ .splitToolbarButton.toggled > .toolbarButton.toggled:hover:active,
1913
+ .secondaryToolbarButton.toggled:hover:active {
1914
+ background-color: var(--toggled-hover-active-btn-color);
1915
+ }
1916
+
1917
+ .dropdownToolbarButton {
1918
+ /* Define this variable here, and not in :root, to avoid reflowing the
1919
+ entire viewer when updating the width. */
1920
+ --scale-select-width: 140px;
1921
+
1922
+ width: var(--scale-select-width);
1923
+ padding: 0;
1924
+ background-color: var(--dropdown-btn-bg-color);
1925
+ border: var(--dropdown-btn-border);
1926
+ }
1927
+ .dropdownToolbarButton::after {
1928
+ top: 6px;
1929
+ inset-inline-end: 6px;
1930
+ pointer-events: none;
1931
+ -webkit-mask-image: var(--toolbarButton-menuArrow-icon);
1932
+ mask-image: var(--toolbarButton-menuArrow-icon);
1933
+ }
1934
+
1935
+ .dropdownToolbarButton > select {
1936
+ -webkit-appearance: none;
1937
+ -moz-appearance: none;
1938
+ appearance: none;
1939
+ width: inherit;
1940
+ height: 28px;
1941
+ font-size: 12px;
1942
+ color: var(--main-color);
1943
+ margin: 0;
1944
+ padding: 1px 0 2px;
1945
+ -webkit-padding-start: 6px;
1946
+ padding-inline-start: 6px;
1947
+ border: none;
1948
+ background-color: var(--dropdown-btn-bg-color);
1949
+ }
1950
+ .dropdownToolbarButton > select:hover,
1951
+ .dropdownToolbarButton > select:focus-visible {
1952
+ background-color: var(--button-hover-color);
1953
+ color: var(--toggled-btn-color);
1954
+ }
1955
+ .dropdownToolbarButton > select > option {
1956
+ background: var(--doorhanger-bg-color);
1957
+ color: var(--main-color);
1958
+ }
1959
+
1960
+ .toolbarButtonSpacer {
1961
+ width: 30px;
1962
+ display: inline-block;
1963
+ height: 1px;
1964
+ }
1965
+
1966
+ .toolbarButton::before,
1967
+ .secondaryToolbarButton::before,
1968
+ .dropdownToolbarButton::after,
1969
+ .treeItemToggler::before {
1970
+ /* All matching images have a size of 16x16
1971
+ * All relevant containers have a size of 28x28 */
1972
+ position: absolute;
1973
+ display: inline-block;
1974
+ width: 16px;
1975
+ height: 16px;
1976
+
1977
+ content: "";
1978
+ background-color: var(--toolbar-icon-bg-color);
1979
+ -webkit-mask-size: cover;
1980
+ mask-size: cover;
1981
+ }
1982
+
1983
+ .dropdownToolbarButton:hover::after,
1984
+ .dropdownToolbarButton:focus-visible::after,
1985
+ .dropdownToolbarButton:active::after {
1986
+ background-color: var(--toolbar-icon-hover-bg-color);
1987
+ }
1988
+
1989
+ .toolbarButton::before {
1990
+ opacity: var(--toolbar-icon-opacity);
1991
+ top: 6px;
1992
+ left: 6px;
1993
+ }
1994
+
1995
+ .toolbarButton:hover::before,
1996
+ .toolbarButton:focus-visible::before,
1997
+ .secondaryToolbarButton:hover::before,
1998
+ .secondaryToolbarButton:focus-visible::before {
1999
+ background-color: var(--toolbar-icon-hover-bg-color);
2000
+ }
2001
+
2002
+ .secondaryToolbarButton::before {
2003
+ opacity: var(--doorhanger-icon-opacity);
2004
+ top: 5px;
2005
+ inset-inline-start: 12px;
2006
+ }
2007
+
2008
+ #sidebarToggle::before {
2009
+ -webkit-mask-image: var(--toolbarButton-sidebarToggle-icon);
2010
+ mask-image: var(--toolbarButton-sidebarToggle-icon);
2011
+ transform: scaleX(var(--dir-factor));
2012
+ }
2013
+
2014
+ #secondaryToolbarToggle::before {
2015
+ -webkit-mask-image: var(--toolbarButton-secondaryToolbarToggle-icon);
2016
+ mask-image: var(--toolbarButton-secondaryToolbarToggle-icon);
2017
+ transform: scaleX(var(--dir-factor));
2018
+ }
2019
+
2020
+ #findPrevious::before {
2021
+ -webkit-mask-image: var(--findbarButton-previous-icon);
2022
+ mask-image: var(--findbarButton-previous-icon);
2023
+ }
2024
+
2025
+ #findNext::before {
2026
+ -webkit-mask-image: var(--findbarButton-next-icon);
2027
+ mask-image: var(--findbarButton-next-icon);
2028
+ }
2029
+
2030
+ #previous::before {
2031
+ -webkit-mask-image: var(--toolbarButton-pageUp-icon);
2032
+ mask-image: var(--toolbarButton-pageUp-icon);
2033
+ }
2034
+
2035
+ #next::before {
2036
+ -webkit-mask-image: var(--toolbarButton-pageDown-icon);
2037
+ mask-image: var(--toolbarButton-pageDown-icon);
2038
+ }
2039
+
2040
+ #zoomOut::before {
2041
+ -webkit-mask-image: var(--toolbarButton-zoomOut-icon);
2042
+ mask-image: var(--toolbarButton-zoomOut-icon);
2043
+ }
2044
+
2045
+ #zoomIn::before {
2046
+ -webkit-mask-image: var(--toolbarButton-zoomIn-icon);
2047
+ mask-image: var(--toolbarButton-zoomIn-icon);
2048
+ }
2049
+
2050
+ #presentationMode::before {
2051
+ -webkit-mask-image: var(--toolbarButton-presentationMode-icon);
2052
+ mask-image: var(--toolbarButton-presentationMode-icon);
2053
+ }
2054
+
2055
+ #editorFreeText::before {
2056
+ -webkit-mask-image: var(--toolbarButton-editorFreeText-icon);
2057
+ mask-image: var(--toolbarButton-editorFreeText-icon);
2058
+ }
2059
+
2060
+ #editorInk::before {
2061
+ -webkit-mask-image: var(--toolbarButton-editorInk-icon);
2062
+ mask-image: var(--toolbarButton-editorInk-icon);
2063
+ }
2064
+
2065
+ #print::before,
2066
+ #secondaryPrint::before {
2067
+ -webkit-mask-image: var(--toolbarButton-print-icon);
2068
+ mask-image: var(--toolbarButton-print-icon);
2069
+ }
2070
+
2071
+ #openFile::before,
2072
+ #secondaryOpenFile::before {
2073
+ -webkit-mask-image: var(--toolbarButton-openFile-icon);
2074
+ mask-image: var(--toolbarButton-openFile-icon);
2075
+ }
2076
+
2077
+ #download::before,
2078
+ #secondaryDownload::before {
2079
+ -webkit-mask-image: var(--toolbarButton-download-icon);
2080
+ mask-image: var(--toolbarButton-download-icon);
2081
+ }
2082
+
2083
+ a.secondaryToolbarButton {
2084
+ padding-top: 5px;
2085
+ text-decoration: none;
2086
+ }
2087
+ a.toolbarButton[href="#"],
2088
+ a.secondaryToolbarButton[href="#"] {
2089
+ opacity: 0.5;
2090
+ pointer-events: none;
2091
+ }
2092
+
2093
+ #viewBookmark::before {
2094
+ -webkit-mask-image: var(--toolbarButton-bookmark-icon);
2095
+ mask-image: var(--toolbarButton-bookmark-icon);
2096
+ }
2097
+
2098
+ #viewThumbnail::before {
2099
+ -webkit-mask-image: var(--toolbarButton-viewThumbnail-icon);
2100
+ mask-image: var(--toolbarButton-viewThumbnail-icon);
2101
+ }
2102
+
2103
+ #viewOutline::before {
2104
+ -webkit-mask-image: var(--toolbarButton-viewOutline-icon);
2105
+ mask-image: var(--toolbarButton-viewOutline-icon);
2106
+ transform: scaleX(var(--dir-factor));
2107
+ }
2108
+
2109
+ #viewAttachments::before {
2110
+ -webkit-mask-image: var(--toolbarButton-viewAttachments-icon);
2111
+ mask-image: var(--toolbarButton-viewAttachments-icon);
2112
+ }
2113
+
2114
+ #viewLayers::before {
2115
+ -webkit-mask-image: var(--toolbarButton-viewLayers-icon);
2116
+ mask-image: var(--toolbarButton-viewLayers-icon);
2117
+ }
2118
+
2119
+ #currentOutlineItem::before {
2120
+ -webkit-mask-image: var(--toolbarButton-currentOutlineItem-icon);
2121
+ mask-image: var(--toolbarButton-currentOutlineItem-icon);
2122
+ transform: scaleX(var(--dir-factor));
2123
+ }
2124
+
2125
+ #viewFind::before {
2126
+ -webkit-mask-image: var(--toolbarButton-search-icon);
2127
+ mask-image: var(--toolbarButton-search-icon);
2128
+ }
2129
+
2130
+ .pdfSidebarNotification::after {
2131
+ position: absolute;
2132
+ display: inline-block;
2133
+ top: 2px;
2134
+ inset-inline-end: 2px;
2135
+ /* Create a filled circle, with a diameter of 9 pixels, using only CSS: */
2136
+ content: "";
2137
+ background-color: rgba(112, 219, 85, 1);
2138
+ height: 9px;
2139
+ width: 9px;
2140
+ border-radius: 50%;
2141
+ }
2142
+
2143
+ .secondaryToolbarButton {
2144
+ position: relative;
2145
+ margin: 0;
2146
+ padding: 0 0 1px;
2147
+ -webkit-padding-start: 36px;
2148
+ padding-inline-start: 36px;
2149
+ height: auto;
2150
+ min-height: 26px;
2151
+ width: auto;
2152
+ min-width: 100%;
2153
+ text-align: start;
2154
+ white-space: normal;
2155
+ border-radius: 0;
2156
+ box-sizing: border-box;
2157
+ display: inline-block;
2158
+ }
2159
+ .secondaryToolbarButton > span {
2160
+ -webkit-padding-end: 4px;
2161
+ padding-inline-end: 4px;
2162
+ }
2163
+
2164
+ #firstPage::before {
2165
+ -webkit-mask-image: var(--secondaryToolbarButton-firstPage-icon);
2166
+ mask-image: var(--secondaryToolbarButton-firstPage-icon);
2167
+ }
2168
+
2169
+ #lastPage::before {
2170
+ -webkit-mask-image: var(--secondaryToolbarButton-lastPage-icon);
2171
+ mask-image: var(--secondaryToolbarButton-lastPage-icon);
2172
+ }
2173
+
2174
+ #pageRotateCcw::before {
2175
+ -webkit-mask-image: var(--secondaryToolbarButton-rotateCcw-icon);
2176
+ mask-image: var(--secondaryToolbarButton-rotateCcw-icon);
2177
+ }
2178
+
2179
+ #pageRotateCw::before {
2180
+ -webkit-mask-image: var(--secondaryToolbarButton-rotateCw-icon);
2181
+ mask-image: var(--secondaryToolbarButton-rotateCw-icon);
2182
+ }
2183
+
2184
+ #cursorSelectTool::before {
2185
+ -webkit-mask-image: var(--secondaryToolbarButton-selectTool-icon);
2186
+ mask-image: var(--secondaryToolbarButton-selectTool-icon);
2187
+ }
2188
+
2189
+ #cursorHandTool::before {
2190
+ -webkit-mask-image: var(--secondaryToolbarButton-handTool-icon);
2191
+ mask-image: var(--secondaryToolbarButton-handTool-icon);
2192
+ }
2193
+
2194
+ #scrollPage::before {
2195
+ -webkit-mask-image: var(--secondaryToolbarButton-scrollPage-icon);
2196
+ mask-image: var(--secondaryToolbarButton-scrollPage-icon);
2197
+ }
2198
+
2199
+ #scrollVertical::before {
2200
+ -webkit-mask-image: var(--secondaryToolbarButton-scrollVertical-icon);
2201
+ mask-image: var(--secondaryToolbarButton-scrollVertical-icon);
2202
+ }
2203
+
2204
+ #scrollHorizontal::before {
2205
+ -webkit-mask-image: var(--secondaryToolbarButton-scrollHorizontal-icon);
2206
+ mask-image: var(--secondaryToolbarButton-scrollHorizontal-icon);
2207
+ }
2208
+
2209
+ #scrollWrapped::before {
2210
+ -webkit-mask-image: var(--secondaryToolbarButton-scrollWrapped-icon);
2211
+ mask-image: var(--secondaryToolbarButton-scrollWrapped-icon);
2212
+ }
2213
+
2214
+ #spreadNone::before {
2215
+ -webkit-mask-image: var(--secondaryToolbarButton-spreadNone-icon);
2216
+ mask-image: var(--secondaryToolbarButton-spreadNone-icon);
2217
+ }
2218
+
2219
+ #spreadOdd::before {
2220
+ -webkit-mask-image: var(--secondaryToolbarButton-spreadOdd-icon);
2221
+ mask-image: var(--secondaryToolbarButton-spreadOdd-icon);
2222
+ }
2223
+
2224
+ #spreadEven::before {
2225
+ -webkit-mask-image: var(--secondaryToolbarButton-spreadEven-icon);
2226
+ mask-image: var(--secondaryToolbarButton-spreadEven-icon);
2227
+ }
2228
+
2229
+ #documentProperties::before {
2230
+ -webkit-mask-image: var(--secondaryToolbarButton-documentProperties-icon);
2231
+ mask-image: var(--secondaryToolbarButton-documentProperties-icon);
2232
+ }
2233
+
2234
+ .verticalToolbarSeparator {
2235
+ display: block;
2236
+ margin: 5px 2px;
2237
+ width: 1px;
2238
+ height: 22px;
2239
+ background-color: var(--separator-color);
2240
+ }
2241
+ .horizontalToolbarSeparator {
2242
+ display: block;
2243
+ margin: 6px 0;
2244
+ height: 1px;
2245
+ width: 100%;
2246
+ background-color: var(--doorhanger-separator-color);
2247
+ }
2248
+
2249
+ .toolbarField {
2250
+ padding: 4px 7px;
2251
+ margin: 3px 0;
2252
+ border-radius: 2px;
2253
+ background-color: var(--field-bg-color);
2254
+ background-clip: padding-box;
2255
+ border: 1px solid var(--field-border-color);
2256
+ box-shadow: none;
2257
+ color: var(--field-color);
2258
+ font-size: 12px;
2259
+ line-height: 16px;
2260
+ outline: none;
2261
+ }
2262
+
2263
+ .toolbarField[type="checkbox"] {
2264
+ opacity: 0;
2265
+ position: absolute !important;
2266
+ left: 0;
2267
+ margin: 10px 0 3px;
2268
+ -webkit-margin-start: 7px;
2269
+ margin-inline-start: 7px;
2270
+ }
2271
+
2272
+ #pageNumber {
2273
+ -moz-appearance: textfield; /* hides the spinner in moz */
2274
+ text-align: right;
2275
+ width: 40px;
2276
+ background-size: 0 0;
2277
+ transition-property: none;
2278
+ }
2279
+ #pageNumber.visiblePageIsLoading {
2280
+ background-image: var(--loading-icon);
2281
+ background-repeat: no-repeat;
2282
+ background-position: 3px;
2283
+ background-size: 16px 16px;
2284
+ /* Using a delay with background-image doesn't work,
2285
+ consequently we use background-size. */
2286
+ transition-property: background-size;
2287
+ transition-delay: var(--loading-icon-delay);
2288
+ }
2289
+ #pageNumber::-webkit-inner-spin-button {
2290
+ -webkit-appearance: none;
2291
+ }
2292
+
2293
+ .toolbarField:focus {
2294
+ border-color: #0a84ff;
2295
+ }
2296
+
2297
+ .toolbarLabel {
2298
+ min-width: 16px;
2299
+ padding: 7px;
2300
+ margin: 2px;
2301
+ border-radius: 2px;
2302
+ color: var(--main-color);
2303
+ font-size: 12px;
2304
+ line-height: 14px;
2305
+ text-align: left;
2306
+ -webkit-user-select: none;
2307
+ -moz-user-select: none;
2308
+ user-select: none;
2309
+ cursor: default;
2310
+ }
2311
+
2312
+ #numPages.toolbarLabel {
2313
+ -webkit-padding-start: 3px;
2314
+ padding-inline-start: 3px;
2315
+ }
2316
+
2317
+ #thumbnailView,
2318
+ #outlineView,
2319
+ #attachmentsView,
2320
+ #layersView {
2321
+ position: absolute;
2322
+ width: calc(100% - 8px);
2323
+ top: 0;
2324
+ bottom: 0;
2325
+ padding: 4px 4px 0;
2326
+ overflow: auto;
2327
+ -webkit-user-select: none;
2328
+ -moz-user-select: none;
2329
+ user-select: none;
2330
+ }
2331
+ #thumbnailView {
2332
+ width: calc(100% - 60px);
2333
+ padding: 10px 30px 0;
2334
+ }
2335
+
2336
+ #thumbnailView > a:active,
2337
+ #thumbnailView > a:focus {
2338
+ outline: 0;
2339
+ }
2340
+
2341
+ .thumbnail {
2342
+ float: var(--inline-start);
2343
+ margin: 0 10px 5px;
2344
+ }
2345
+
2346
+ #thumbnailView > a:last-of-type > .thumbnail {
2347
+ margin-bottom: 10px;
2348
+ }
2349
+ #thumbnailView > a:last-of-type > .thumbnail:not([data-loaded]) {
2350
+ margin-bottom: 9px;
2351
+ }
2352
+
2353
+ .thumbnail:not([data-loaded]) {
2354
+ border: 1px dashed rgba(132, 132, 132, 1);
2355
+ margin: -1px 9px 4px;
2356
+ }
2357
+
2358
+ .thumbnailImage {
2359
+ border: 1px solid rgba(0, 0, 0, 0);
2360
+ box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3);
2361
+ opacity: 0.8;
2362
+ z-index: 99;
2363
+ background-color: rgba(255, 255, 255, 1);
2364
+ background-clip: content-box;
2365
+ }
2366
+
2367
+ .thumbnailSelectionRing {
2368
+ border-radius: 2px;
2369
+ padding: 7px;
2370
+ }
2371
+
2372
+ a:focus > .thumbnail > .thumbnailSelectionRing > .thumbnailImage,
2373
+ .thumbnail:hover > .thumbnailSelectionRing > .thumbnailImage {
2374
+ opacity: 0.9;
2375
+ }
2376
+
2377
+ a:focus > .thumbnail > .thumbnailSelectionRing,
2378
+ .thumbnail:hover > .thumbnailSelectionRing {
2379
+ background-color: var(--sidebaritem-bg-color);
2380
+ background-clip: padding-box;
2381
+ color: rgba(255, 255, 255, 0.9);
2382
+ }
2383
+
2384
+ .thumbnail.selected > .thumbnailSelectionRing > .thumbnailImage {
2385
+ opacity: 1;
2386
+ }
2387
+
2388
+ .thumbnail.selected > .thumbnailSelectionRing {
2389
+ background-color: var(--sidebaritem-bg-color);
2390
+ background-clip: padding-box;
2391
+ color: rgba(255, 255, 255, 1);
2392
+ }
2393
+
2394
+ .treeWithDeepNesting > .treeItem,
2395
+ .treeItem > .treeItems {
2396
+ -webkit-margin-start: 20px;
2397
+ margin-inline-start: 20px;
2398
+ }
2399
+
2400
+ .treeItem > a {
2401
+ text-decoration: none;
2402
+ display: inline-block;
2403
+ /* Subtract the right padding (left, in RTL mode) of the container: */
2404
+ min-width: calc(100% - 4px);
2405
+ height: auto;
2406
+ margin-bottom: 1px;
2407
+ padding: 2px 0 5px;
2408
+ -webkit-padding-start: 4px;
2409
+ padding-inline-start: 4px;
2410
+ border-radius: 2px;
2411
+ color: var(--treeitem-color);
2412
+ font-size: 13px;
2413
+ line-height: 15px;
2414
+ -webkit-user-select: none;
2415
+ -moz-user-select: none;
2416
+ user-select: none;
2417
+ white-space: normal;
2418
+ cursor: pointer;
2419
+ }
2420
+
2421
+ #layersView .treeItem > a * {
2422
+ cursor: pointer;
2423
+ }
2424
+ #layersView .treeItem > a > label {
2425
+ -webkit-padding-start: 4px;
2426
+ padding-inline-start: 4px;
2427
+ }
2428
+ #layersView .treeItem > a > label > input {
2429
+ float: var(--inline-start);
2430
+ margin-top: 1px;
2431
+ }
2432
+
2433
+ .treeItemToggler {
2434
+ position: relative;
2435
+ float: var(--inline-start);
2436
+ height: 0;
2437
+ width: 0;
2438
+ color: rgba(255, 255, 255, 0.5);
2439
+ }
2440
+ .treeItemToggler::before {
2441
+ inset-inline-end: 4px;
2442
+ -webkit-mask-image: var(--treeitem-expanded-icon);
2443
+ mask-image: var(--treeitem-expanded-icon);
2444
+ }
2445
+ .treeItemToggler.treeItemsHidden::before {
2446
+ -webkit-mask-image: var(--treeitem-collapsed-icon);
2447
+ mask-image: var(--treeitem-collapsed-icon);
2448
+ transform: scaleX(var(--dir-factor));
2449
+ }
2450
+ .treeItemToggler.treeItemsHidden ~ .treeItems {
2451
+ display: none;
2452
+ }
2453
+
2454
+ .treeItem.selected > a {
2455
+ background-color: var(--treeitem-selected-bg-color);
2456
+ color: var(--treeitem-selected-color);
2457
+ }
2458
+
2459
+ .treeItemToggler:hover,
2460
+ .treeItemToggler:hover + a,
2461
+ .treeItemToggler:hover ~ .treeItems,
2462
+ .treeItem > a:hover {
2463
+ background-color: var(--sidebaritem-bg-color);
2464
+ background-clip: padding-box;
2465
+ border-radius: 2px;
2466
+ color: var(--treeitem-hover-color);
2467
+ }
2468
+
2469
+ .dialogButton {
2470
+ width: auto;
2471
+ margin: 3px 4px 2px !important;
2472
+ padding: 2px 11px;
2473
+ color: var(--main-color);
2474
+ background-color: var(--dialog-button-bg-color);
2475
+ border: var(--dialog-button-border) !important;
2476
+ }
2477
+
2478
+ dialog {
2479
+ margin: auto;
2480
+ padding: 15px;
2481
+ border-spacing: 4px;
2482
+ color: var(--main-color);
2483
+ font: message-box;
2484
+ font-size: 12px;
2485
+ line-height: 14px;
2486
+ background-color: var(--doorhanger-bg-color);
2487
+ border: 1px solid rgba(0, 0, 0, 0.5);
2488
+ border-radius: 4px;
2489
+ box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
2490
+ }
2491
+ dialog::-webkit-backdrop {
2492
+ background-color: rgba(0, 0, 0, 0.2);
2493
+ }
2494
+ dialog::backdrop {
2495
+ background-color: rgba(0, 0, 0, 0.2);
2496
+ }
2497
+
2498
+ dialog > .row {
2499
+ display: table-row;
2500
+ }
2501
+
2502
+ dialog > .row > * {
2503
+ display: table-cell;
2504
+ }
2505
+
2506
+ dialog .toolbarField {
2507
+ margin: 5px 0;
2508
+ }
2509
+
2510
+ dialog .separator {
2511
+ display: block;
2512
+ margin: 4px 0;
2513
+ height: 1px;
2514
+ width: 100%;
2515
+ background-color: var(--separator-color);
2516
+ }
2517
+
2518
+ dialog .buttonRow {
2519
+ text-align: center;
2520
+ vertical-align: middle;
2521
+ }
2522
+
2523
+ dialog :link {
2524
+ color: rgba(255, 255, 255, 1);
2525
+ }
2526
+
2527
+ #passwordDialog {
2528
+ text-align: center;
2529
+ }
2530
+ #passwordDialog .toolbarField {
2531
+ width: 200px;
2532
+ }
2533
+
2534
+ #documentPropertiesDialog {
2535
+ text-align: left;
2536
+ }
2537
+ #documentPropertiesDialog .row > * {
2538
+ min-width: 100px;
2539
+ text-align: start;
2540
+ }
2541
+ #documentPropertiesDialog .row > span {
2542
+ width: 125px;
2543
+ word-wrap: break-word;
2544
+ }
2545
+ #documentPropertiesDialog .row > p {
2546
+ max-width: 225px;
2547
+ word-wrap: break-word;
2548
+ }
2549
+ #documentPropertiesDialog .buttonRow {
2550
+ margin-top: 10px;
2551
+ }
2552
+
2553
+ .grab-to-pan-grab {
2554
+ cursor: grab !important;
2555
+ }
2556
+ .grab-to-pan-grab
2557
+ *:not(input):not(textarea):not(button):not(select):not(:link) {
2558
+ cursor: inherit !important;
2559
+ }
2560
+ .grab-to-pan-grab:active,
2561
+ .grab-to-pan-grabbing {
2562
+ cursor: grabbing !important;
2563
+ position: fixed;
2564
+ background: rgba(0, 0, 0, 0);
2565
+ display: block;
2566
+ top: 0;
2567
+ left: 0;
2568
+ right: 0;
2569
+ bottom: 0;
2570
+ overflow: hidden;
2571
+ z-index: 50000; /* should be higher than anything else in PDF.js! */
2572
+ }
2573
+
2574
+ @page {
2575
+ margin: 0;
2576
+ }
2577
+
2578
+ #printContainer {
2579
+ display: none;
2580
+ }
2581
+
2582
+ @media print {
2583
+ body {
2584
+ background: rgba(0, 0, 0, 0) none;
2585
+ }
2586
+ body[data-pdfjsprinting] #outerContainer {
2587
+ display: none;
2588
+ }
2589
+ body[data-pdfjsprinting] #printContainer {
2590
+ display: block;
2591
+ }
2592
+ #printContainer {
2593
+ height: 100%;
2594
+ }
2595
+ /* wrapper around (scaled) print canvas elements */
2596
+ #printContainer > .printedPage {
2597
+ page-break-after: always;
2598
+ page-break-inside: avoid;
2599
+
2600
+ /* The wrapper always cover the whole page. */
2601
+ height: 100%;
2602
+ width: 100%;
2603
+
2604
+ display: flex;
2605
+ flex-direction: column;
2606
+ justify-content: center;
2607
+ align-items: center;
2608
+ }
2609
+
2610
+ #printContainer > .xfaPrintedPage .xfaPage {
2611
+ position: absolute;
2612
+ }
2613
+
2614
+ #printContainer > .xfaPrintedPage {
2615
+ page-break-after: always;
2616
+ page-break-inside: avoid;
2617
+ width: 100%;
2618
+ height: 100%;
2619
+ position: relative;
2620
+ }
2621
+
2622
+ #printContainer > .printedPage canvas,
2623
+ #printContainer > .printedPage img {
2624
+ /* The intrinsic canvas / image size will make sure that we fit the page. */
2625
+ max-width: 100%;
2626
+ max-height: 100%;
2627
+
2628
+ direction: ltr;
2629
+ display: block;
2630
+ }
2631
+ }
2632
+
2633
+ .visibleLargeView,
2634
+ .visibleMediumView {
2635
+ display: none;
2636
+ }
2637
+
2638
+ @media all and (max-width: 900px) {
2639
+ #toolbarViewerMiddle {
2640
+ display: table;
2641
+ margin: auto;
2642
+ left: auto;
2643
+ position: inherit;
2644
+ transform: none;
2645
+ }
2646
+ }
2647
+
2648
+ @media all and (max-width: 840px) {
2649
+ #sidebarContainer {
2650
+ background-color: var(--sidebar-narrow-bg-color);
2651
+ }
2652
+ #outerContainer.sidebarOpen #viewerContainer {
2653
+ inset-inline-start: 0 !important;
2654
+ }
2655
+ }
2656
+
2657
+ @media all and (max-width: 820px) {
2658
+ #outerContainer .hiddenLargeView {
2659
+ display: none;
2660
+ }
2661
+ #outerContainer .visibleLargeView {
2662
+ display: inherit;
2663
+ }
2664
+ }
2665
+
2666
+ @media all and (max-width: 750px) {
2667
+ #outerContainer .hiddenMediumView {
2668
+ display: none;
2669
+ }
2670
+ #outerContainer .visibleMediumView {
2671
+ display: inherit;
2672
+ }
2673
+ }
2674
+
2675
+ @media all and (max-width: 690px) {
2676
+ .hiddenSmallView,
2677
+ .hiddenSmallView * {
2678
+ display: none;
2679
+ }
2680
+ .toolbarButtonSpacer {
2681
+ width: 0;
2682
+ }
2683
+ .findbar {
2684
+ inset-inline-start: 34px;
2685
+ }
2686
+ }
2687
+
2688
+ @media all and (max-width: 560px) {
2689
+ #scaleSelectContainer {
2690
+ display: none;
2691
+ }
2692
+ }