card-mod-pdfjs 0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (739) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +10 -0
  3. data/public/LICENSE +177 -0
  4. data/public/build/pdf.js +11515 -0
  5. data/public/build/pdf.worker.js +43506 -0
  6. data/public/cmaps/78-EUC-H.bcmap +0 -0
  7. data/public/cmaps/78-EUC-V.bcmap +0 -0
  8. data/public/cmaps/78-H.bcmap +0 -0
  9. data/public/cmaps/78-RKSJ-H.bcmap +0 -0
  10. data/public/cmaps/78-RKSJ-V.bcmap +0 -0
  11. data/public/cmaps/78-V.bcmap +0 -0
  12. data/public/cmaps/78ms-RKSJ-H.bcmap +0 -0
  13. data/public/cmaps/78ms-RKSJ-V.bcmap +0 -0
  14. data/public/cmaps/83pv-RKSJ-H.bcmap +0 -0
  15. data/public/cmaps/90ms-RKSJ-H.bcmap +0 -0
  16. data/public/cmaps/90ms-RKSJ-V.bcmap +0 -0
  17. data/public/cmaps/90msp-RKSJ-H.bcmap +0 -0
  18. data/public/cmaps/90msp-RKSJ-V.bcmap +0 -0
  19. data/public/cmaps/90pv-RKSJ-H.bcmap +0 -0
  20. data/public/cmaps/90pv-RKSJ-V.bcmap +0 -0
  21. data/public/cmaps/Add-H.bcmap +0 -0
  22. data/public/cmaps/Add-RKSJ-H.bcmap +0 -0
  23. data/public/cmaps/Add-RKSJ-V.bcmap +0 -0
  24. data/public/cmaps/Add-V.bcmap +0 -0
  25. data/public/cmaps/Adobe-CNS1-0.bcmap +0 -0
  26. data/public/cmaps/Adobe-CNS1-1.bcmap +0 -0
  27. data/public/cmaps/Adobe-CNS1-2.bcmap +0 -0
  28. data/public/cmaps/Adobe-CNS1-3.bcmap +0 -0
  29. data/public/cmaps/Adobe-CNS1-4.bcmap +0 -0
  30. data/public/cmaps/Adobe-CNS1-5.bcmap +0 -0
  31. data/public/cmaps/Adobe-CNS1-6.bcmap +0 -0
  32. data/public/cmaps/Adobe-CNS1-UCS2.bcmap +0 -0
  33. data/public/cmaps/Adobe-GB1-0.bcmap +0 -0
  34. data/public/cmaps/Adobe-GB1-1.bcmap +0 -0
  35. data/public/cmaps/Adobe-GB1-2.bcmap +0 -0
  36. data/public/cmaps/Adobe-GB1-3.bcmap +0 -0
  37. data/public/cmaps/Adobe-GB1-4.bcmap +0 -0
  38. data/public/cmaps/Adobe-GB1-5.bcmap +0 -0
  39. data/public/cmaps/Adobe-GB1-UCS2.bcmap +0 -0
  40. data/public/cmaps/Adobe-Japan1-0.bcmap +0 -0
  41. data/public/cmaps/Adobe-Japan1-1.bcmap +0 -0
  42. data/public/cmaps/Adobe-Japan1-2.bcmap +0 -0
  43. data/public/cmaps/Adobe-Japan1-3.bcmap +0 -0
  44. data/public/cmaps/Adobe-Japan1-4.bcmap +0 -0
  45. data/public/cmaps/Adobe-Japan1-5.bcmap +0 -0
  46. data/public/cmaps/Adobe-Japan1-6.bcmap +0 -0
  47. data/public/cmaps/Adobe-Japan1-UCS2.bcmap +0 -0
  48. data/public/cmaps/Adobe-Korea1-0.bcmap +0 -0
  49. data/public/cmaps/Adobe-Korea1-1.bcmap +0 -0
  50. data/public/cmaps/Adobe-Korea1-2.bcmap +0 -0
  51. data/public/cmaps/Adobe-Korea1-UCS2.bcmap +0 -0
  52. data/public/cmaps/B5-H.bcmap +0 -0
  53. data/public/cmaps/B5-V.bcmap +0 -0
  54. data/public/cmaps/B5pc-H.bcmap +0 -0
  55. data/public/cmaps/B5pc-V.bcmap +0 -0
  56. data/public/cmaps/CNS-EUC-H.bcmap +0 -0
  57. data/public/cmaps/CNS-EUC-V.bcmap +0 -0
  58. data/public/cmaps/CNS1-H.bcmap +0 -0
  59. data/public/cmaps/CNS1-V.bcmap +0 -0
  60. data/public/cmaps/CNS2-H.bcmap +0 -0
  61. data/public/cmaps/CNS2-V.bcmap +3 -0
  62. data/public/cmaps/ETHK-B5-H.bcmap +0 -0
  63. data/public/cmaps/ETHK-B5-V.bcmap +0 -0
  64. data/public/cmaps/ETen-B5-H.bcmap +0 -0
  65. data/public/cmaps/ETen-B5-V.bcmap +0 -0
  66. data/public/cmaps/ETenms-B5-H.bcmap +3 -0
  67. data/public/cmaps/ETenms-B5-V.bcmap +0 -0
  68. data/public/cmaps/EUC-H.bcmap +0 -0
  69. data/public/cmaps/EUC-V.bcmap +0 -0
  70. data/public/cmaps/Ext-H.bcmap +0 -0
  71. data/public/cmaps/Ext-RKSJ-H.bcmap +0 -0
  72. data/public/cmaps/Ext-RKSJ-V.bcmap +0 -0
  73. data/public/cmaps/Ext-V.bcmap +0 -0
  74. data/public/cmaps/GB-EUC-H.bcmap +0 -0
  75. data/public/cmaps/GB-EUC-V.bcmap +0 -0
  76. data/public/cmaps/GB-H.bcmap +4 -0
  77. data/public/cmaps/GB-V.bcmap +0 -0
  78. data/public/cmaps/GBK-EUC-H.bcmap +0 -0
  79. data/public/cmaps/GBK-EUC-V.bcmap +0 -0
  80. data/public/cmaps/GBK2K-H.bcmap +0 -0
  81. data/public/cmaps/GBK2K-V.bcmap +0 -0
  82. data/public/cmaps/GBKp-EUC-H.bcmap +0 -0
  83. data/public/cmaps/GBKp-EUC-V.bcmap +0 -0
  84. data/public/cmaps/GBT-EUC-H.bcmap +0 -0
  85. data/public/cmaps/GBT-EUC-V.bcmap +0 -0
  86. data/public/cmaps/GBT-H.bcmap +0 -0
  87. data/public/cmaps/GBT-V.bcmap +0 -0
  88. data/public/cmaps/GBTpc-EUC-H.bcmap +0 -0
  89. data/public/cmaps/GBTpc-EUC-V.bcmap +0 -0
  90. data/public/cmaps/GBpc-EUC-H.bcmap +0 -0
  91. data/public/cmaps/GBpc-EUC-V.bcmap +0 -0
  92. data/public/cmaps/H.bcmap +0 -0
  93. data/public/cmaps/HKdla-B5-H.bcmap +0 -0
  94. data/public/cmaps/HKdla-B5-V.bcmap +0 -0
  95. data/public/cmaps/HKdlb-B5-H.bcmap +0 -0
  96. data/public/cmaps/HKdlb-B5-V.bcmap +0 -0
  97. data/public/cmaps/HKgccs-B5-H.bcmap +0 -0
  98. data/public/cmaps/HKgccs-B5-V.bcmap +0 -0
  99. data/public/cmaps/HKm314-B5-H.bcmap +0 -0
  100. data/public/cmaps/HKm314-B5-V.bcmap +0 -0
  101. data/public/cmaps/HKm471-B5-H.bcmap +0 -0
  102. data/public/cmaps/HKm471-B5-V.bcmap +0 -0
  103. data/public/cmaps/HKscs-B5-H.bcmap +0 -0
  104. data/public/cmaps/HKscs-B5-V.bcmap +0 -0
  105. data/public/cmaps/Hankaku.bcmap +0 -0
  106. data/public/cmaps/Hiragana.bcmap +0 -0
  107. data/public/cmaps/KSC-EUC-H.bcmap +0 -0
  108. data/public/cmaps/KSC-EUC-V.bcmap +0 -0
  109. data/public/cmaps/KSC-H.bcmap +0 -0
  110. data/public/cmaps/KSC-Johab-H.bcmap +0 -0
  111. data/public/cmaps/KSC-Johab-V.bcmap +0 -0
  112. data/public/cmaps/KSC-V.bcmap +0 -0
  113. data/public/cmaps/KSCms-UHC-H.bcmap +0 -0
  114. data/public/cmaps/KSCms-UHC-HW-H.bcmap +0 -0
  115. data/public/cmaps/KSCms-UHC-HW-V.bcmap +0 -0
  116. data/public/cmaps/KSCms-UHC-V.bcmap +0 -0
  117. data/public/cmaps/KSCpc-EUC-H.bcmap +0 -0
  118. data/public/cmaps/KSCpc-EUC-V.bcmap +0 -0
  119. data/public/cmaps/Katakana.bcmap +0 -0
  120. data/public/cmaps/LICENSE +36 -0
  121. data/public/cmaps/NWP-H.bcmap +0 -0
  122. data/public/cmaps/NWP-V.bcmap +0 -0
  123. data/public/cmaps/RKSJ-H.bcmap +0 -0
  124. data/public/cmaps/RKSJ-V.bcmap +0 -0
  125. data/public/cmaps/Roman.bcmap +0 -0
  126. data/public/cmaps/UniCNS-UCS2-H.bcmap +0 -0
  127. data/public/cmaps/UniCNS-UCS2-V.bcmap +0 -0
  128. data/public/cmaps/UniCNS-UTF16-H.bcmap +0 -0
  129. data/public/cmaps/UniCNS-UTF16-V.bcmap +0 -0
  130. data/public/cmaps/UniCNS-UTF32-H.bcmap +0 -0
  131. data/public/cmaps/UniCNS-UTF32-V.bcmap +0 -0
  132. data/public/cmaps/UniCNS-UTF8-H.bcmap +0 -0
  133. data/public/cmaps/UniCNS-UTF8-V.bcmap +0 -0
  134. data/public/cmaps/UniGB-UCS2-H.bcmap +0 -0
  135. data/public/cmaps/UniGB-UCS2-V.bcmap +0 -0
  136. data/public/cmaps/UniGB-UTF16-H.bcmap +0 -0
  137. data/public/cmaps/UniGB-UTF16-V.bcmap +0 -0
  138. data/public/cmaps/UniGB-UTF32-H.bcmap +0 -0
  139. data/public/cmaps/UniGB-UTF32-V.bcmap +0 -0
  140. data/public/cmaps/UniGB-UTF8-H.bcmap +0 -0
  141. data/public/cmaps/UniGB-UTF8-V.bcmap +0 -0
  142. data/public/cmaps/UniJIS-UCS2-H.bcmap +0 -0
  143. data/public/cmaps/UniJIS-UCS2-HW-H.bcmap +0 -0
  144. data/public/cmaps/UniJIS-UCS2-HW-V.bcmap +0 -0
  145. data/public/cmaps/UniJIS-UCS2-V.bcmap +0 -0
  146. data/public/cmaps/UniJIS-UTF16-H.bcmap +0 -0
  147. data/public/cmaps/UniJIS-UTF16-V.bcmap +0 -0
  148. data/public/cmaps/UniJIS-UTF32-H.bcmap +0 -0
  149. data/public/cmaps/UniJIS-UTF32-V.bcmap +0 -0
  150. data/public/cmaps/UniJIS-UTF8-H.bcmap +0 -0
  151. data/public/cmaps/UniJIS-UTF8-V.bcmap +0 -0
  152. data/public/cmaps/UniJIS2004-UTF16-H.bcmap +0 -0
  153. data/public/cmaps/UniJIS2004-UTF16-V.bcmap +0 -0
  154. data/public/cmaps/UniJIS2004-UTF32-H.bcmap +0 -0
  155. data/public/cmaps/UniJIS2004-UTF32-V.bcmap +0 -0
  156. data/public/cmaps/UniJIS2004-UTF8-H.bcmap +0 -0
  157. data/public/cmaps/UniJIS2004-UTF8-V.bcmap +0 -0
  158. data/public/cmaps/UniJISPro-UCS2-HW-V.bcmap +0 -0
  159. data/public/cmaps/UniJISPro-UCS2-V.bcmap +0 -0
  160. data/public/cmaps/UniJISPro-UTF8-V.bcmap +0 -0
  161. data/public/cmaps/UniJISX0213-UTF32-H.bcmap +0 -0
  162. data/public/cmaps/UniJISX0213-UTF32-V.bcmap +0 -0
  163. data/public/cmaps/UniJISX02132004-UTF32-H.bcmap +0 -0
  164. data/public/cmaps/UniJISX02132004-UTF32-V.bcmap +0 -0
  165. data/public/cmaps/UniKS-UCS2-H.bcmap +0 -0
  166. data/public/cmaps/UniKS-UCS2-V.bcmap +0 -0
  167. data/public/cmaps/UniKS-UTF16-H.bcmap +0 -0
  168. data/public/cmaps/UniKS-UTF16-V.bcmap +0 -0
  169. data/public/cmaps/UniKS-UTF32-H.bcmap +0 -0
  170. data/public/cmaps/UniKS-UTF32-V.bcmap +0 -0
  171. data/public/cmaps/UniKS-UTF8-H.bcmap +0 -0
  172. data/public/cmaps/UniKS-UTF8-V.bcmap +0 -0
  173. data/public/cmaps/V.bcmap +0 -0
  174. data/public/cmaps/WP-Symbol.bcmap +0 -0
  175. data/public/compatibility.js +616 -0
  176. data/public/compressed.tracemonkey-pldi-09.pdf +0 -0
  177. data/public/debugger.js +616 -0
  178. data/public/images/annotation-check.svg +11 -0
  179. data/public/images/annotation-comment.svg +16 -0
  180. data/public/images/annotation-help.svg +26 -0
  181. data/public/images/annotation-insert.svg +10 -0
  182. data/public/images/annotation-key.svg +11 -0
  183. data/public/images/annotation-newparagraph.svg +11 -0
  184. data/public/images/annotation-noicon.svg +7 -0
  185. data/public/images/annotation-note.svg +42 -0
  186. data/public/images/annotation-paragraph.svg +16 -0
  187. data/public/images/findbarButton-next-rtl.png +0 -0
  188. data/public/images/findbarButton-next-rtl@2x.png +0 -0
  189. data/public/images/findbarButton-next.png +0 -0
  190. data/public/images/findbarButton-next@2x.png +0 -0
  191. data/public/images/findbarButton-previous-rtl.png +0 -0
  192. data/public/images/findbarButton-previous-rtl@2x.png +0 -0
  193. data/public/images/findbarButton-previous.png +0 -0
  194. data/public/images/findbarButton-previous@2x.png +0 -0
  195. data/public/images/grab.cur +0 -0
  196. data/public/images/grabbing.cur +0 -0
  197. data/public/images/loading-icon.gif +0 -0
  198. data/public/images/loading-small.png +0 -0
  199. data/public/images/loading-small@2x.png +0 -0
  200. data/public/images/secondaryToolbarButton-documentProperties.png +0 -0
  201. data/public/images/secondaryToolbarButton-documentProperties@2x.png +0 -0
  202. data/public/images/secondaryToolbarButton-firstPage.png +0 -0
  203. data/public/images/secondaryToolbarButton-firstPage@2x.png +0 -0
  204. data/public/images/secondaryToolbarButton-handTool.png +0 -0
  205. data/public/images/secondaryToolbarButton-handTool@2x.png +0 -0
  206. data/public/images/secondaryToolbarButton-lastPage.png +0 -0
  207. data/public/images/secondaryToolbarButton-lastPage@2x.png +0 -0
  208. data/public/images/secondaryToolbarButton-rotateCcw.png +0 -0
  209. data/public/images/secondaryToolbarButton-rotateCcw@2x.png +0 -0
  210. data/public/images/secondaryToolbarButton-rotateCw.png +0 -0
  211. data/public/images/secondaryToolbarButton-rotateCw@2x.png +0 -0
  212. data/public/images/shadow.png +0 -0
  213. data/public/images/texture.png +0 -0
  214. data/public/images/toolbarButton-bookmark.png +0 -0
  215. data/public/images/toolbarButton-bookmark@2x.png +0 -0
  216. data/public/images/toolbarButton-download.png +0 -0
  217. data/public/images/toolbarButton-download@2x.png +0 -0
  218. data/public/images/toolbarButton-menuArrows.png +0 -0
  219. data/public/images/toolbarButton-menuArrows@2x.png +0 -0
  220. data/public/images/toolbarButton-openFile.png +0 -0
  221. data/public/images/toolbarButton-openFile@2x.png +0 -0
  222. data/public/images/toolbarButton-pageDown-rtl.png +0 -0
  223. data/public/images/toolbarButton-pageDown-rtl@2x.png +0 -0
  224. data/public/images/toolbarButton-pageDown.png +0 -0
  225. data/public/images/toolbarButton-pageDown@2x.png +0 -0
  226. data/public/images/toolbarButton-pageUp-rtl.png +0 -0
  227. data/public/images/toolbarButton-pageUp-rtl@2x.png +0 -0
  228. data/public/images/toolbarButton-pageUp.png +0 -0
  229. data/public/images/toolbarButton-pageUp@2x.png +0 -0
  230. data/public/images/toolbarButton-presentationMode.png +0 -0
  231. data/public/images/toolbarButton-presentationMode@2x.png +0 -0
  232. data/public/images/toolbarButton-print.png +0 -0
  233. data/public/images/toolbarButton-print@2x.png +0 -0
  234. data/public/images/toolbarButton-search.png +0 -0
  235. data/public/images/toolbarButton-search@2x.png +0 -0
  236. data/public/images/toolbarButton-secondaryToolbarToggle-rtl.png +0 -0
  237. data/public/images/toolbarButton-secondaryToolbarToggle-rtl@2x.png +0 -0
  238. data/public/images/toolbarButton-secondaryToolbarToggle.png +0 -0
  239. data/public/images/toolbarButton-secondaryToolbarToggle@2x.png +0 -0
  240. data/public/images/toolbarButton-sidebarToggle-rtl.png +0 -0
  241. data/public/images/toolbarButton-sidebarToggle-rtl@2x.png +0 -0
  242. data/public/images/toolbarButton-sidebarToggle.png +0 -0
  243. data/public/images/toolbarButton-sidebarToggle@2x.png +0 -0
  244. data/public/images/toolbarButton-viewAttachments.png +0 -0
  245. data/public/images/toolbarButton-viewAttachments@2x.png +0 -0
  246. data/public/images/toolbarButton-viewOutline-rtl.png +0 -0
  247. data/public/images/toolbarButton-viewOutline-rtl@2x.png +0 -0
  248. data/public/images/toolbarButton-viewOutline.png +0 -0
  249. data/public/images/toolbarButton-viewOutline@2x.png +0 -0
  250. data/public/images/toolbarButton-viewThumbnail.png +0 -0
  251. data/public/images/toolbarButton-viewThumbnail@2x.png +0 -0
  252. data/public/images/toolbarButton-zoomIn.png +0 -0
  253. data/public/images/toolbarButton-zoomIn@2x.png +0 -0
  254. data/public/images/toolbarButton-zoomOut.png +0 -0
  255. data/public/images/toolbarButton-zoomOut@2x.png +0 -0
  256. data/public/images/treeitem-collapsed-rtl.png +0 -0
  257. data/public/images/treeitem-collapsed-rtl@2x.png +0 -0
  258. data/public/images/treeitem-collapsed.png +0 -0
  259. data/public/images/treeitem-collapsed@2x.png +0 -0
  260. data/public/images/treeitem-expanded.png +0 -0
  261. data/public/images/treeitem-expanded@2x.png +0 -0
  262. data/public/l10n.js +1047 -0
  263. data/public/locale/ach/viewer.properties +173 -0
  264. data/public/locale/af/viewer.properties +173 -0
  265. data/public/locale/ak/viewer.properties +131 -0
  266. data/public/locale/an/viewer.properties +173 -0
  267. data/public/locale/ar/viewer.properties +173 -0
  268. data/public/locale/as/viewer.properties +172 -0
  269. data/public/locale/ast/viewer.properties +173 -0
  270. data/public/locale/az/viewer.properties +173 -0
  271. data/public/locale/be/viewer.properties +105 -0
  272. data/public/locale/bg/viewer.properties +173 -0
  273. data/public/locale/bn-BD/viewer.properties +173 -0
  274. data/public/locale/bn-IN/viewer.properties +173 -0
  275. data/public/locale/br/viewer.properties +173 -0
  276. data/public/locale/bs/viewer.properties +173 -0
  277. data/public/locale/ca/viewer.properties +173 -0
  278. data/public/locale/cs/viewer.properties +173 -0
  279. data/public/locale/csb/viewer.properties +134 -0
  280. data/public/locale/cy/viewer.properties +173 -0
  281. data/public/locale/da/viewer.properties +167 -0
  282. data/public/locale/de/viewer.properties +167 -0
  283. data/public/locale/el/viewer.properties +173 -0
  284. data/public/locale/en-GB/viewer.properties +173 -0
  285. data/public/locale/en-US/viewer.properties +173 -0
  286. data/public/locale/en-ZA/viewer.properties +173 -0
  287. data/public/locale/eo/viewer.properties +173 -0
  288. data/public/locale/es-AR/viewer.properties +167 -0
  289. data/public/locale/es-CL/viewer.properties +173 -0
  290. data/public/locale/es-ES/viewer.properties +111 -0
  291. data/public/locale/es-MX/viewer.properties +173 -0
  292. data/public/locale/et/viewer.properties +173 -0
  293. data/public/locale/eu/viewer.properties +173 -0
  294. data/public/locale/fa/viewer.properties +173 -0
  295. data/public/locale/ff/viewer.properties +173 -0
  296. data/public/locale/fi/viewer.properties +167 -0
  297. data/public/locale/fr/viewer.properties +167 -0
  298. data/public/locale/fy-NL/viewer.properties +180 -0
  299. data/public/locale/ga-IE/viewer.properties +173 -0
  300. data/public/locale/gd/viewer.properties +173 -0
  301. data/public/locale/gl/viewer.properties +173 -0
  302. data/public/locale/gu-IN/viewer.properties +167 -0
  303. data/public/locale/he/viewer.properties +173 -0
  304. data/public/locale/hi-IN/viewer.properties +173 -0
  305. data/public/locale/hr/viewer.properties +173 -0
  306. data/public/locale/hu/viewer.properties +173 -0
  307. data/public/locale/hy-AM/viewer.properties +173 -0
  308. data/public/locale/id/viewer.properties +173 -0
  309. data/public/locale/is/viewer.properties +173 -0
  310. data/public/locale/it/viewer.properties +111 -0
  311. data/public/locale/ja/viewer.properties +167 -0
  312. data/public/locale/ka/viewer.properties +173 -0
  313. data/public/locale/kk/viewer.properties +173 -0
  314. data/public/locale/km/viewer.properties +173 -0
  315. data/public/locale/kn/viewer.properties +173 -0
  316. data/public/locale/ko/viewer.properties +173 -0
  317. data/public/locale/ku/viewer.properties +147 -0
  318. data/public/locale/lg/viewer.properties +111 -0
  319. data/public/locale/lij/viewer.properties +124 -0
  320. data/public/locale/locale.properties +312 -0
  321. data/public/locale/lt/viewer.properties +173 -0
  322. data/public/locale/lv/viewer.properties +173 -0
  323. data/public/locale/mai/viewer.properties +173 -0
  324. data/public/locale/mk/viewer.properties +133 -0
  325. data/public/locale/ml/viewer.properties +173 -0
  326. data/public/locale/mn/viewer.properties +79 -0
  327. data/public/locale/mr/viewer.properties +173 -0
  328. data/public/locale/ms/viewer.properties +173 -0
  329. data/public/locale/my/viewer.properties +173 -0
  330. data/public/locale/nb-NO/viewer.properties +173 -0
  331. data/public/locale/nl/viewer.properties +173 -0
  332. data/public/locale/nn-NO/viewer.properties +173 -0
  333. data/public/locale/nso/viewer.properties +131 -0
  334. data/public/locale/oc/viewer.properties +171 -0
  335. data/public/locale/or/viewer.properties +172 -0
  336. data/public/locale/pa-IN/viewer.properties +173 -0
  337. data/public/locale/pl/viewer.properties +124 -0
  338. data/public/locale/pt-BR/viewer.properties +173 -0
  339. data/public/locale/pt-PT/viewer.properties +173 -0
  340. data/public/locale/rm/viewer.properties +173 -0
  341. data/public/locale/ro/viewer.properties +173 -0
  342. data/public/locale/ru/viewer.properties +111 -0
  343. data/public/locale/rw/viewer.properties +79 -0
  344. data/public/locale/sah/viewer.properties +171 -0
  345. data/public/locale/si/viewer.properties +172 -0
  346. data/public/locale/sk/viewer.properties +173 -0
  347. data/public/locale/sl/viewer.properties +173 -0
  348. data/public/locale/son/viewer.properties +173 -0
  349. data/public/locale/sq/viewer.properties +166 -0
  350. data/public/locale/sr/viewer.properties +173 -0
  351. data/public/locale/sv-SE/viewer.properties +173 -0
  352. data/public/locale/sw/viewer.properties +129 -0
  353. data/public/locale/ta/viewer.properties +173 -0
  354. data/public/locale/ta-LK/viewer.properties +72 -0
  355. data/public/locale/te/viewer.properties +173 -0
  356. data/public/locale/th/viewer.properties +173 -0
  357. data/public/locale/tl/viewer.properties +94 -0
  358. data/public/locale/tn/viewer.properties +83 -0
  359. data/public/locale/tr/viewer.properties +173 -0
  360. data/public/locale/uk/viewer.properties +173 -0
  361. data/public/locale/ur/viewer.properties +173 -0
  362. data/public/locale/vi/viewer.properties +173 -0
  363. data/public/locale/wo/viewer.properties +124 -0
  364. data/public/locale/xh/viewer.properties +173 -0
  365. data/public/locale/zh-CN/viewer.properties +173 -0
  366. data/public/locale/zh-TW/viewer.properties +174 -0
  367. data/public/locale/zu/viewer.properties +132 -0
  368. data/public/pdf.js +11515 -0
  369. data/public/pdf.worker.js +44463 -0
  370. data/public/viewer.css +2190 -0
  371. data/public/viewer.html +423 -0
  372. data/public/viewer.js +9742 -0
  373. data/public/web/cmaps/78-EUC-H.bcmap +0 -0
  374. data/public/web/cmaps/78-EUC-V.bcmap +0 -0
  375. data/public/web/cmaps/78-H.bcmap +0 -0
  376. data/public/web/cmaps/78-RKSJ-H.bcmap +0 -0
  377. data/public/web/cmaps/78-RKSJ-V.bcmap +0 -0
  378. data/public/web/cmaps/78-V.bcmap +0 -0
  379. data/public/web/cmaps/78ms-RKSJ-H.bcmap +0 -0
  380. data/public/web/cmaps/78ms-RKSJ-V.bcmap +0 -0
  381. data/public/web/cmaps/83pv-RKSJ-H.bcmap +0 -0
  382. data/public/web/cmaps/90ms-RKSJ-H.bcmap +0 -0
  383. data/public/web/cmaps/90ms-RKSJ-V.bcmap +0 -0
  384. data/public/web/cmaps/90msp-RKSJ-H.bcmap +0 -0
  385. data/public/web/cmaps/90msp-RKSJ-V.bcmap +0 -0
  386. data/public/web/cmaps/90pv-RKSJ-H.bcmap +0 -0
  387. data/public/web/cmaps/90pv-RKSJ-V.bcmap +0 -0
  388. data/public/web/cmaps/Add-H.bcmap +0 -0
  389. data/public/web/cmaps/Add-RKSJ-H.bcmap +0 -0
  390. data/public/web/cmaps/Add-RKSJ-V.bcmap +0 -0
  391. data/public/web/cmaps/Add-V.bcmap +0 -0
  392. data/public/web/cmaps/Adobe-CNS1-0.bcmap +0 -0
  393. data/public/web/cmaps/Adobe-CNS1-1.bcmap +0 -0
  394. data/public/web/cmaps/Adobe-CNS1-2.bcmap +0 -0
  395. data/public/web/cmaps/Adobe-CNS1-3.bcmap +0 -0
  396. data/public/web/cmaps/Adobe-CNS1-4.bcmap +0 -0
  397. data/public/web/cmaps/Adobe-CNS1-5.bcmap +0 -0
  398. data/public/web/cmaps/Adobe-CNS1-6.bcmap +0 -0
  399. data/public/web/cmaps/Adobe-CNS1-UCS2.bcmap +0 -0
  400. data/public/web/cmaps/Adobe-GB1-0.bcmap +0 -0
  401. data/public/web/cmaps/Adobe-GB1-1.bcmap +0 -0
  402. data/public/web/cmaps/Adobe-GB1-2.bcmap +0 -0
  403. data/public/web/cmaps/Adobe-GB1-3.bcmap +0 -0
  404. data/public/web/cmaps/Adobe-GB1-4.bcmap +0 -0
  405. data/public/web/cmaps/Adobe-GB1-5.bcmap +0 -0
  406. data/public/web/cmaps/Adobe-GB1-UCS2.bcmap +0 -0
  407. data/public/web/cmaps/Adobe-Japan1-0.bcmap +0 -0
  408. data/public/web/cmaps/Adobe-Japan1-1.bcmap +0 -0
  409. data/public/web/cmaps/Adobe-Japan1-2.bcmap +0 -0
  410. data/public/web/cmaps/Adobe-Japan1-3.bcmap +0 -0
  411. data/public/web/cmaps/Adobe-Japan1-4.bcmap +0 -0
  412. data/public/web/cmaps/Adobe-Japan1-5.bcmap +0 -0
  413. data/public/web/cmaps/Adobe-Japan1-6.bcmap +0 -0
  414. data/public/web/cmaps/Adobe-Japan1-UCS2.bcmap +0 -0
  415. data/public/web/cmaps/Adobe-Korea1-0.bcmap +0 -0
  416. data/public/web/cmaps/Adobe-Korea1-1.bcmap +0 -0
  417. data/public/web/cmaps/Adobe-Korea1-2.bcmap +0 -0
  418. data/public/web/cmaps/Adobe-Korea1-UCS2.bcmap +0 -0
  419. data/public/web/cmaps/B5-H.bcmap +0 -0
  420. data/public/web/cmaps/B5-V.bcmap +0 -0
  421. data/public/web/cmaps/B5pc-H.bcmap +0 -0
  422. data/public/web/cmaps/B5pc-V.bcmap +0 -0
  423. data/public/web/cmaps/CNS-EUC-H.bcmap +0 -0
  424. data/public/web/cmaps/CNS-EUC-V.bcmap +0 -0
  425. data/public/web/cmaps/CNS1-H.bcmap +0 -0
  426. data/public/web/cmaps/CNS1-V.bcmap +0 -0
  427. data/public/web/cmaps/CNS2-H.bcmap +0 -0
  428. data/public/web/cmaps/CNS2-V.bcmap +3 -0
  429. data/public/web/cmaps/ETHK-B5-H.bcmap +0 -0
  430. data/public/web/cmaps/ETHK-B5-V.bcmap +0 -0
  431. data/public/web/cmaps/ETen-B5-H.bcmap +0 -0
  432. data/public/web/cmaps/ETen-B5-V.bcmap +0 -0
  433. data/public/web/cmaps/ETenms-B5-H.bcmap +3 -0
  434. data/public/web/cmaps/ETenms-B5-V.bcmap +0 -0
  435. data/public/web/cmaps/EUC-H.bcmap +0 -0
  436. data/public/web/cmaps/EUC-V.bcmap +0 -0
  437. data/public/web/cmaps/Ext-H.bcmap +0 -0
  438. data/public/web/cmaps/Ext-RKSJ-H.bcmap +0 -0
  439. data/public/web/cmaps/Ext-RKSJ-V.bcmap +0 -0
  440. data/public/web/cmaps/Ext-V.bcmap +0 -0
  441. data/public/web/cmaps/GB-EUC-H.bcmap +0 -0
  442. data/public/web/cmaps/GB-EUC-V.bcmap +0 -0
  443. data/public/web/cmaps/GB-H.bcmap +4 -0
  444. data/public/web/cmaps/GB-V.bcmap +0 -0
  445. data/public/web/cmaps/GBK-EUC-H.bcmap +0 -0
  446. data/public/web/cmaps/GBK-EUC-V.bcmap +0 -0
  447. data/public/web/cmaps/GBK2K-H.bcmap +0 -0
  448. data/public/web/cmaps/GBK2K-V.bcmap +0 -0
  449. data/public/web/cmaps/GBKp-EUC-H.bcmap +0 -0
  450. data/public/web/cmaps/GBKp-EUC-V.bcmap +0 -0
  451. data/public/web/cmaps/GBT-EUC-H.bcmap +0 -0
  452. data/public/web/cmaps/GBT-EUC-V.bcmap +0 -0
  453. data/public/web/cmaps/GBT-H.bcmap +0 -0
  454. data/public/web/cmaps/GBT-V.bcmap +0 -0
  455. data/public/web/cmaps/GBTpc-EUC-H.bcmap +0 -0
  456. data/public/web/cmaps/GBTpc-EUC-V.bcmap +0 -0
  457. data/public/web/cmaps/GBpc-EUC-H.bcmap +0 -0
  458. data/public/web/cmaps/GBpc-EUC-V.bcmap +0 -0
  459. data/public/web/cmaps/H.bcmap +0 -0
  460. data/public/web/cmaps/HKdla-B5-H.bcmap +0 -0
  461. data/public/web/cmaps/HKdla-B5-V.bcmap +0 -0
  462. data/public/web/cmaps/HKdlb-B5-H.bcmap +0 -0
  463. data/public/web/cmaps/HKdlb-B5-V.bcmap +0 -0
  464. data/public/web/cmaps/HKgccs-B5-H.bcmap +0 -0
  465. data/public/web/cmaps/HKgccs-B5-V.bcmap +0 -0
  466. data/public/web/cmaps/HKm314-B5-H.bcmap +0 -0
  467. data/public/web/cmaps/HKm314-B5-V.bcmap +0 -0
  468. data/public/web/cmaps/HKm471-B5-H.bcmap +0 -0
  469. data/public/web/cmaps/HKm471-B5-V.bcmap +0 -0
  470. data/public/web/cmaps/HKscs-B5-H.bcmap +0 -0
  471. data/public/web/cmaps/HKscs-B5-V.bcmap +0 -0
  472. data/public/web/cmaps/Hankaku.bcmap +0 -0
  473. data/public/web/cmaps/Hiragana.bcmap +0 -0
  474. data/public/web/cmaps/KSC-EUC-H.bcmap +0 -0
  475. data/public/web/cmaps/KSC-EUC-V.bcmap +0 -0
  476. data/public/web/cmaps/KSC-H.bcmap +0 -0
  477. data/public/web/cmaps/KSC-Johab-H.bcmap +0 -0
  478. data/public/web/cmaps/KSC-Johab-V.bcmap +0 -0
  479. data/public/web/cmaps/KSC-V.bcmap +0 -0
  480. data/public/web/cmaps/KSCms-UHC-H.bcmap +0 -0
  481. data/public/web/cmaps/KSCms-UHC-HW-H.bcmap +0 -0
  482. data/public/web/cmaps/KSCms-UHC-HW-V.bcmap +0 -0
  483. data/public/web/cmaps/KSCms-UHC-V.bcmap +0 -0
  484. data/public/web/cmaps/KSCpc-EUC-H.bcmap +0 -0
  485. data/public/web/cmaps/KSCpc-EUC-V.bcmap +0 -0
  486. data/public/web/cmaps/Katakana.bcmap +0 -0
  487. data/public/web/cmaps/LICENSE +36 -0
  488. data/public/web/cmaps/NWP-H.bcmap +0 -0
  489. data/public/web/cmaps/NWP-V.bcmap +0 -0
  490. data/public/web/cmaps/RKSJ-H.bcmap +0 -0
  491. data/public/web/cmaps/RKSJ-V.bcmap +0 -0
  492. data/public/web/cmaps/Roman.bcmap +0 -0
  493. data/public/web/cmaps/UniCNS-UCS2-H.bcmap +0 -0
  494. data/public/web/cmaps/UniCNS-UCS2-V.bcmap +0 -0
  495. data/public/web/cmaps/UniCNS-UTF16-H.bcmap +0 -0
  496. data/public/web/cmaps/UniCNS-UTF16-V.bcmap +0 -0
  497. data/public/web/cmaps/UniCNS-UTF32-H.bcmap +0 -0
  498. data/public/web/cmaps/UniCNS-UTF32-V.bcmap +0 -0
  499. data/public/web/cmaps/UniCNS-UTF8-H.bcmap +0 -0
  500. data/public/web/cmaps/UniCNS-UTF8-V.bcmap +0 -0
  501. data/public/web/cmaps/UniGB-UCS2-H.bcmap +0 -0
  502. data/public/web/cmaps/UniGB-UCS2-V.bcmap +0 -0
  503. data/public/web/cmaps/UniGB-UTF16-H.bcmap +0 -0
  504. data/public/web/cmaps/UniGB-UTF16-V.bcmap +0 -0
  505. data/public/web/cmaps/UniGB-UTF32-H.bcmap +0 -0
  506. data/public/web/cmaps/UniGB-UTF32-V.bcmap +0 -0
  507. data/public/web/cmaps/UniGB-UTF8-H.bcmap +0 -0
  508. data/public/web/cmaps/UniGB-UTF8-V.bcmap +0 -0
  509. data/public/web/cmaps/UniJIS-UCS2-H.bcmap +0 -0
  510. data/public/web/cmaps/UniJIS-UCS2-HW-H.bcmap +0 -0
  511. data/public/web/cmaps/UniJIS-UCS2-HW-V.bcmap +0 -0
  512. data/public/web/cmaps/UniJIS-UCS2-V.bcmap +0 -0
  513. data/public/web/cmaps/UniJIS-UTF16-H.bcmap +0 -0
  514. data/public/web/cmaps/UniJIS-UTF16-V.bcmap +0 -0
  515. data/public/web/cmaps/UniJIS-UTF32-H.bcmap +0 -0
  516. data/public/web/cmaps/UniJIS-UTF32-V.bcmap +0 -0
  517. data/public/web/cmaps/UniJIS-UTF8-H.bcmap +0 -0
  518. data/public/web/cmaps/UniJIS-UTF8-V.bcmap +0 -0
  519. data/public/web/cmaps/UniJIS2004-UTF16-H.bcmap +0 -0
  520. data/public/web/cmaps/UniJIS2004-UTF16-V.bcmap +0 -0
  521. data/public/web/cmaps/UniJIS2004-UTF32-H.bcmap +0 -0
  522. data/public/web/cmaps/UniJIS2004-UTF32-V.bcmap +0 -0
  523. data/public/web/cmaps/UniJIS2004-UTF8-H.bcmap +0 -0
  524. data/public/web/cmaps/UniJIS2004-UTF8-V.bcmap +0 -0
  525. data/public/web/cmaps/UniJISPro-UCS2-HW-V.bcmap +0 -0
  526. data/public/web/cmaps/UniJISPro-UCS2-V.bcmap +0 -0
  527. data/public/web/cmaps/UniJISPro-UTF8-V.bcmap +0 -0
  528. data/public/web/cmaps/UniJISX0213-UTF32-H.bcmap +0 -0
  529. data/public/web/cmaps/UniJISX0213-UTF32-V.bcmap +0 -0
  530. data/public/web/cmaps/UniJISX02132004-UTF32-H.bcmap +0 -0
  531. data/public/web/cmaps/UniJISX02132004-UTF32-V.bcmap +0 -0
  532. data/public/web/cmaps/UniKS-UCS2-H.bcmap +0 -0
  533. data/public/web/cmaps/UniKS-UCS2-V.bcmap +0 -0
  534. data/public/web/cmaps/UniKS-UTF16-H.bcmap +0 -0
  535. data/public/web/cmaps/UniKS-UTF16-V.bcmap +0 -0
  536. data/public/web/cmaps/UniKS-UTF32-H.bcmap +0 -0
  537. data/public/web/cmaps/UniKS-UTF32-V.bcmap +0 -0
  538. data/public/web/cmaps/UniKS-UTF8-H.bcmap +0 -0
  539. data/public/web/cmaps/UniKS-UTF8-V.bcmap +0 -0
  540. data/public/web/cmaps/V.bcmap +0 -0
  541. data/public/web/cmaps/WP-Symbol.bcmap +0 -0
  542. data/public/web/compatibility.js +596 -0
  543. data/public/web/compressed.tracemonkey-pldi-09.pdf +0 -0
  544. data/public/web/debugger.js +616 -0
  545. data/public/web/images/annotation-check.svg +11 -0
  546. data/public/web/images/annotation-comment.svg +16 -0
  547. data/public/web/images/annotation-help.svg +26 -0
  548. data/public/web/images/annotation-insert.svg +10 -0
  549. data/public/web/images/annotation-key.svg +11 -0
  550. data/public/web/images/annotation-newparagraph.svg +11 -0
  551. data/public/web/images/annotation-noicon.svg +7 -0
  552. data/public/web/images/annotation-note.svg +42 -0
  553. data/public/web/images/annotation-paragraph.svg +16 -0
  554. data/public/web/images/findbarButton-next-rtl.png +0 -0
  555. data/public/web/images/findbarButton-next-rtl@2x.png +0 -0
  556. data/public/web/images/findbarButton-next.png +0 -0
  557. data/public/web/images/findbarButton-next@2x.png +0 -0
  558. data/public/web/images/findbarButton-previous-rtl.png +0 -0
  559. data/public/web/images/findbarButton-previous-rtl@2x.png +0 -0
  560. data/public/web/images/findbarButton-previous.png +0 -0
  561. data/public/web/images/findbarButton-previous@2x.png +0 -0
  562. data/public/web/images/grab.cur +0 -0
  563. data/public/web/images/grabbing.cur +0 -0
  564. data/public/web/images/loading-icon.gif +0 -0
  565. data/public/web/images/loading-small.png +0 -0
  566. data/public/web/images/loading-small@2x.png +0 -0
  567. data/public/web/images/secondaryToolbarButton-documentProperties.png +0 -0
  568. data/public/web/images/secondaryToolbarButton-documentProperties@2x.png +0 -0
  569. data/public/web/images/secondaryToolbarButton-firstPage.png +0 -0
  570. data/public/web/images/secondaryToolbarButton-firstPage@2x.png +0 -0
  571. data/public/web/images/secondaryToolbarButton-handTool.png +0 -0
  572. data/public/web/images/secondaryToolbarButton-handTool@2x.png +0 -0
  573. data/public/web/images/secondaryToolbarButton-lastPage.png +0 -0
  574. data/public/web/images/secondaryToolbarButton-lastPage@2x.png +0 -0
  575. data/public/web/images/secondaryToolbarButton-rotateCcw.png +0 -0
  576. data/public/web/images/secondaryToolbarButton-rotateCcw@2x.png +0 -0
  577. data/public/web/images/secondaryToolbarButton-rotateCw.png +0 -0
  578. data/public/web/images/secondaryToolbarButton-rotateCw@2x.png +0 -0
  579. data/public/web/images/shadow.png +0 -0
  580. data/public/web/images/texture.png +0 -0
  581. data/public/web/images/toolbarButton-bookmark.png +0 -0
  582. data/public/web/images/toolbarButton-bookmark@2x.png +0 -0
  583. data/public/web/images/toolbarButton-download.png +0 -0
  584. data/public/web/images/toolbarButton-download@2x.png +0 -0
  585. data/public/web/images/toolbarButton-menuArrows.png +0 -0
  586. data/public/web/images/toolbarButton-menuArrows@2x.png +0 -0
  587. data/public/web/images/toolbarButton-openFile.png +0 -0
  588. data/public/web/images/toolbarButton-openFile@2x.png +0 -0
  589. data/public/web/images/toolbarButton-pageDown-rtl.png +0 -0
  590. data/public/web/images/toolbarButton-pageDown-rtl@2x.png +0 -0
  591. data/public/web/images/toolbarButton-pageDown.png +0 -0
  592. data/public/web/images/toolbarButton-pageDown@2x.png +0 -0
  593. data/public/web/images/toolbarButton-pageUp-rtl.png +0 -0
  594. data/public/web/images/toolbarButton-pageUp-rtl@2x.png +0 -0
  595. data/public/web/images/toolbarButton-pageUp.png +0 -0
  596. data/public/web/images/toolbarButton-pageUp@2x.png +0 -0
  597. data/public/web/images/toolbarButton-presentationMode.png +0 -0
  598. data/public/web/images/toolbarButton-presentationMode@2x.png +0 -0
  599. data/public/web/images/toolbarButton-print.png +0 -0
  600. data/public/web/images/toolbarButton-print@2x.png +0 -0
  601. data/public/web/images/toolbarButton-search.png +0 -0
  602. data/public/web/images/toolbarButton-search@2x.png +0 -0
  603. data/public/web/images/toolbarButton-secondaryToolbarToggle-rtl.png +0 -0
  604. data/public/web/images/toolbarButton-secondaryToolbarToggle-rtl@2x.png +0 -0
  605. data/public/web/images/toolbarButton-secondaryToolbarToggle.png +0 -0
  606. data/public/web/images/toolbarButton-secondaryToolbarToggle@2x.png +0 -0
  607. data/public/web/images/toolbarButton-sidebarToggle-rtl.png +0 -0
  608. data/public/web/images/toolbarButton-sidebarToggle-rtl@2x.png +0 -0
  609. data/public/web/images/toolbarButton-sidebarToggle.png +0 -0
  610. data/public/web/images/toolbarButton-sidebarToggle@2x.png +0 -0
  611. data/public/web/images/toolbarButton-viewAttachments.png +0 -0
  612. data/public/web/images/toolbarButton-viewAttachments@2x.png +0 -0
  613. data/public/web/images/toolbarButton-viewOutline-rtl.png +0 -0
  614. data/public/web/images/toolbarButton-viewOutline-rtl@2x.png +0 -0
  615. data/public/web/images/toolbarButton-viewOutline.png +0 -0
  616. data/public/web/images/toolbarButton-viewOutline@2x.png +0 -0
  617. data/public/web/images/toolbarButton-viewThumbnail.png +0 -0
  618. data/public/web/images/toolbarButton-viewThumbnail@2x.png +0 -0
  619. data/public/web/images/toolbarButton-zoomIn.png +0 -0
  620. data/public/web/images/toolbarButton-zoomIn@2x.png +0 -0
  621. data/public/web/images/toolbarButton-zoomOut.png +0 -0
  622. data/public/web/images/toolbarButton-zoomOut@2x.png +0 -0
  623. data/public/web/images/treeitem-collapsed-rtl.png +0 -0
  624. data/public/web/images/treeitem-collapsed-rtl@2x.png +0 -0
  625. data/public/web/images/treeitem-collapsed.png +0 -0
  626. data/public/web/images/treeitem-collapsed@2x.png +0 -0
  627. data/public/web/images/treeitem-expanded.png +0 -0
  628. data/public/web/images/treeitem-expanded@2x.png +0 -0
  629. data/public/web/l10n.js +1033 -0
  630. data/public/web/locale/ach/viewer.properties +173 -0
  631. data/public/web/locale/af/viewer.properties +173 -0
  632. data/public/web/locale/ak/viewer.properties +131 -0
  633. data/public/web/locale/an/viewer.properties +173 -0
  634. data/public/web/locale/ar/viewer.properties +173 -0
  635. data/public/web/locale/as/viewer.properties +172 -0
  636. data/public/web/locale/ast/viewer.properties +173 -0
  637. data/public/web/locale/az/viewer.properties +173 -0
  638. data/public/web/locale/be/viewer.properties +105 -0
  639. data/public/web/locale/bg/viewer.properties +173 -0
  640. data/public/web/locale/bn-BD/viewer.properties +173 -0
  641. data/public/web/locale/bn-IN/viewer.properties +173 -0
  642. data/public/web/locale/br/viewer.properties +173 -0
  643. data/public/web/locale/bs/viewer.properties +173 -0
  644. data/public/web/locale/ca/viewer.properties +173 -0
  645. data/public/web/locale/cs/viewer.properties +173 -0
  646. data/public/web/locale/csb/viewer.properties +134 -0
  647. data/public/web/locale/cy/viewer.properties +173 -0
  648. data/public/web/locale/da/viewer.properties +167 -0
  649. data/public/web/locale/de/viewer.properties +167 -0
  650. data/public/web/locale/el/viewer.properties +173 -0
  651. data/public/web/locale/en-GB/viewer.properties +173 -0
  652. data/public/web/locale/en-US/viewer.properties +173 -0
  653. data/public/web/locale/en-ZA/viewer.properties +173 -0
  654. data/public/web/locale/eo/viewer.properties +173 -0
  655. data/public/web/locale/es-AR/viewer.properties +167 -0
  656. data/public/web/locale/es-CL/viewer.properties +173 -0
  657. data/public/web/locale/es-ES/viewer.properties +111 -0
  658. data/public/web/locale/es-MX/viewer.properties +173 -0
  659. data/public/web/locale/et/viewer.properties +173 -0
  660. data/public/web/locale/eu/viewer.properties +173 -0
  661. data/public/web/locale/fa/viewer.properties +173 -0
  662. data/public/web/locale/ff/viewer.properties +173 -0
  663. data/public/web/locale/fi/viewer.properties +167 -0
  664. data/public/web/locale/fr/viewer.properties +167 -0
  665. data/public/web/locale/fy-NL/viewer.properties +180 -0
  666. data/public/web/locale/ga-IE/viewer.properties +173 -0
  667. data/public/web/locale/gd/viewer.properties +173 -0
  668. data/public/web/locale/gl/viewer.properties +173 -0
  669. data/public/web/locale/gu-IN/viewer.properties +167 -0
  670. data/public/web/locale/he/viewer.properties +173 -0
  671. data/public/web/locale/hi-IN/viewer.properties +173 -0
  672. data/public/web/locale/hr/viewer.properties +173 -0
  673. data/public/web/locale/hu/viewer.properties +173 -0
  674. data/public/web/locale/hy-AM/viewer.properties +173 -0
  675. data/public/web/locale/id/viewer.properties +173 -0
  676. data/public/web/locale/is/viewer.properties +173 -0
  677. data/public/web/locale/it/viewer.properties +111 -0
  678. data/public/web/locale/ja/viewer.properties +167 -0
  679. data/public/web/locale/ka/viewer.properties +173 -0
  680. data/public/web/locale/kk/viewer.properties +173 -0
  681. data/public/web/locale/km/viewer.properties +173 -0
  682. data/public/web/locale/kn/viewer.properties +173 -0
  683. data/public/web/locale/ko/viewer.properties +173 -0
  684. data/public/web/locale/ku/viewer.properties +147 -0
  685. data/public/web/locale/lg/viewer.properties +111 -0
  686. data/public/web/locale/lij/viewer.properties +124 -0
  687. data/public/web/locale/locale.properties +312 -0
  688. data/public/web/locale/lt/viewer.properties +173 -0
  689. data/public/web/locale/lv/viewer.properties +173 -0
  690. data/public/web/locale/mai/viewer.properties +173 -0
  691. data/public/web/locale/mk/viewer.properties +133 -0
  692. data/public/web/locale/ml/viewer.properties +173 -0
  693. data/public/web/locale/mn/viewer.properties +79 -0
  694. data/public/web/locale/mr/viewer.properties +173 -0
  695. data/public/web/locale/ms/viewer.properties +173 -0
  696. data/public/web/locale/my/viewer.properties +173 -0
  697. data/public/web/locale/nb-NO/viewer.properties +173 -0
  698. data/public/web/locale/nl/viewer.properties +173 -0
  699. data/public/web/locale/nn-NO/viewer.properties +173 -0
  700. data/public/web/locale/nso/viewer.properties +131 -0
  701. data/public/web/locale/oc/viewer.properties +171 -0
  702. data/public/web/locale/or/viewer.properties +172 -0
  703. data/public/web/locale/pa-IN/viewer.properties +173 -0
  704. data/public/web/locale/pl/viewer.properties +124 -0
  705. data/public/web/locale/pt-BR/viewer.properties +173 -0
  706. data/public/web/locale/pt-PT/viewer.properties +173 -0
  707. data/public/web/locale/rm/viewer.properties +173 -0
  708. data/public/web/locale/ro/viewer.properties +173 -0
  709. data/public/web/locale/ru/viewer.properties +111 -0
  710. data/public/web/locale/rw/viewer.properties +79 -0
  711. data/public/web/locale/sah/viewer.properties +171 -0
  712. data/public/web/locale/si/viewer.properties +172 -0
  713. data/public/web/locale/sk/viewer.properties +173 -0
  714. data/public/web/locale/sl/viewer.properties +173 -0
  715. data/public/web/locale/son/viewer.properties +173 -0
  716. data/public/web/locale/sq/viewer.properties +166 -0
  717. data/public/web/locale/sr/viewer.properties +173 -0
  718. data/public/web/locale/sv-SE/viewer.properties +173 -0
  719. data/public/web/locale/sw/viewer.properties +129 -0
  720. data/public/web/locale/ta/viewer.properties +173 -0
  721. data/public/web/locale/ta-LK/viewer.properties +72 -0
  722. data/public/web/locale/te/viewer.properties +173 -0
  723. data/public/web/locale/th/viewer.properties +173 -0
  724. data/public/web/locale/tl/viewer.properties +94 -0
  725. data/public/web/locale/tn/viewer.properties +83 -0
  726. data/public/web/locale/tr/viewer.properties +173 -0
  727. data/public/web/locale/uk/viewer.properties +173 -0
  728. data/public/web/locale/ur/viewer.properties +173 -0
  729. data/public/web/locale/vi/viewer.properties +173 -0
  730. data/public/web/locale/wo/viewer.properties +124 -0
  731. data/public/web/locale/xh/viewer.properties +173 -0
  732. data/public/web/locale/zh-CN/viewer.properties +173 -0
  733. data/public/web/locale/zh-TW/viewer.properties +174 -0
  734. data/public/web/locale/zu/viewer.properties +132 -0
  735. data/public/web/viewer.css +2191 -0
  736. data/public/web/viewer.html +425 -0
  737. data/public/web/viewer.js +9780 -0
  738. data/set/abstract/pdfjs.rb +36 -0
  739. metadata +796 -0
data/public/viewer.css ADDED
@@ -0,0 +1,2190 @@
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
+ .textLayer {
17
+ position: absolute;
18
+ left: 0;
19
+ top: 0;
20
+ right: 0;
21
+ bottom: 0;
22
+ overflow: hidden;
23
+ opacity: 0.2;
24
+ line-height: 1.0;
25
+ }
26
+
27
+ .textLayer > div {
28
+ color: transparent;
29
+ position: absolute;
30
+ white-space: pre;
31
+ cursor: text;
32
+ -webkit-transform-origin: 0% 0%;
33
+ -moz-transform-origin: 0% 0%;
34
+ -o-transform-origin: 0% 0%;
35
+ -ms-transform-origin: 0% 0%;
36
+ transform-origin: 0% 0%;
37
+ }
38
+
39
+ .textLayer .highlight {
40
+ margin: -1px;
41
+ padding: 1px;
42
+
43
+ background-color: rgb(180, 0, 170);
44
+ border-radius: 4px;
45
+ }
46
+
47
+ .textLayer .highlight.begin {
48
+ border-radius: 4px 0px 0px 4px;
49
+ }
50
+
51
+ .textLayer .highlight.end {
52
+ border-radius: 0px 4px 4px 0px;
53
+ }
54
+
55
+ .textLayer .highlight.middle {
56
+ border-radius: 0px;
57
+ }
58
+
59
+ .textLayer .highlight.selected {
60
+ background-color: rgb(0, 100, 0);
61
+ }
62
+
63
+ .textLayer ::selection { background: rgb(0,0,255); }
64
+ .textLayer ::-moz-selection { background: rgb(0,0,255); }
65
+
66
+ .textLayer .endOfContent {
67
+ display: block;
68
+ position: absolute;
69
+ left: 0px;
70
+ top: 100%;
71
+ right: 0px;
72
+ bottom: 0px;
73
+ z-index: -1;
74
+ cursor: default;
75
+ -webkit-user-select: none;
76
+ -ms-user-select: none;
77
+ -moz-user-select: none;
78
+ }
79
+
80
+ .textLayer .endOfContent.active {
81
+ top: 0px;
82
+ }
83
+
84
+
85
+ .annotationLayer section {
86
+ position: absolute;
87
+ }
88
+
89
+ .annotationLayer .linkAnnotation > a {
90
+ position: absolute;
91
+ font-size: 1em;
92
+ top: 0;
93
+ left: 0;
94
+ width: 100%;
95
+ height: 100%;
96
+ }
97
+
98
+ .annotationLayer .linkAnnotation > a /* -ms-a */ {
99
+ background: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7") 0 0 repeat;
100
+ }
101
+
102
+ .annotationLayer .linkAnnotation > a:hover {
103
+ opacity: 0.2;
104
+ background: #ff0;
105
+ box-shadow: 0px 2px 10px #ff0;
106
+ }
107
+
108
+ .annotationLayer .textAnnotation img {
109
+ position: absolute;
110
+ cursor: pointer;
111
+ }
112
+
113
+ .annotationLayer .textWidgetAnnotation input,
114
+ .annotationLayer .textWidgetAnnotation textarea {
115
+ background-color: rgba(0, 54, 255, 0.13);
116
+ border: 1px solid transparent;
117
+ box-sizing: border-box;
118
+ font-size: 9px;
119
+ height: 100%;
120
+ padding: 0 3px;
121
+ vertical-align: top;
122
+ width: 100%;
123
+ }
124
+
125
+ .annotationLayer .textWidgetAnnotation textarea {
126
+ font: message-box;
127
+ font-size: 9px;
128
+ resize: none;
129
+ }
130
+
131
+ .annotationLayer .textWidgetAnnotation input[disabled],
132
+ .annotationLayer .textWidgetAnnotation textarea[disabled] {
133
+ background: none;
134
+ border: 1px solid transparent;
135
+ cursor: not-allowed;
136
+ }
137
+
138
+ .annotationLayer .textWidgetAnnotation input:hover,
139
+ .annotationLayer .textWidgetAnnotation textarea:hover {
140
+ border: 1px solid #000;
141
+ }
142
+
143
+ .annotationLayer .textWidgetAnnotation input:focus,
144
+ .annotationLayer .textWidgetAnnotation textarea:focus {
145
+ background: none;
146
+ border: 1px solid transparent;
147
+ }
148
+
149
+ .annotationLayer .textWidgetAnnotation input.comb {
150
+ font-family: monospace;
151
+ padding-left: 2px;
152
+ padding-right: 0;
153
+ }
154
+
155
+ .annotationLayer .textWidgetAnnotation input.comb:focus {
156
+ /*
157
+ * Letter spacing is placed on the right side of each character. Hence, the
158
+ * letter spacing of the last character may be placed outside the visible
159
+ * area, causing horizontal scrolling. We avoid this by extending the width
160
+ * when the element has focus and revert this when it loses focus.
161
+ */
162
+ width: 115%;
163
+ }
164
+
165
+ .annotationLayer .popupWrapper {
166
+ position: absolute;
167
+ width: 20em;
168
+ }
169
+
170
+ .annotationLayer .popup {
171
+ position: absolute;
172
+ z-index: 200;
173
+ max-width: 20em;
174
+ background-color: #FFFF99;
175
+ box-shadow: 0px 2px 5px #333;
176
+ border-radius: 2px;
177
+ padding: 0.6em;
178
+ margin-left: 5px;
179
+ cursor: pointer;
180
+ word-wrap: break-word;
181
+ }
182
+
183
+ .annotationLayer .popup h1 {
184
+ font-size: 1em;
185
+ border-bottom: 1px solid #000000;
186
+ padding-bottom: 0.2em;
187
+ }
188
+
189
+ .annotationLayer .popup p {
190
+ padding-top: 0.2em;
191
+ }
192
+
193
+ .annotationLayer .highlightAnnotation,
194
+ .annotationLayer .underlineAnnotation,
195
+ .annotationLayer .squigglyAnnotation,
196
+ .annotationLayer .strikeoutAnnotation,
197
+ .annotationLayer .fileAttachmentAnnotation {
198
+ cursor: pointer;
199
+ }
200
+
201
+ .pdfViewer .canvasWrapper {
202
+ overflow: hidden;
203
+ }
204
+
205
+ .pdfViewer .page {
206
+ direction: ltr;
207
+ width: 816px;
208
+ height: 1056px;
209
+ margin: 1px auto -8px auto;
210
+ position: relative;
211
+ overflow: visible;
212
+ border: 9px solid transparent;
213
+ background-clip: content-box;
214
+ border-image: url(images/shadow.png) 9 9 repeat;
215
+ background-color: white;
216
+ }
217
+
218
+ .pdfViewer.removePageBorders .page {
219
+ margin: 0px auto 10px auto;
220
+ border: none;
221
+ }
222
+
223
+ .pdfViewer.singlePageView {
224
+ display: inline-block;
225
+ }
226
+
227
+ .pdfViewer.singlePageView .page {
228
+ margin: 0;
229
+ border: none;
230
+ }
231
+
232
+ .pdfViewer .page canvas {
233
+ margin: 0;
234
+ display: block;
235
+ }
236
+
237
+ .pdfViewer .page .loadingIcon {
238
+ position: absolute;
239
+ display: block;
240
+ left: 0;
241
+ top: 0;
242
+ right: 0;
243
+ bottom: 0;
244
+ background: url('images/loading-icon.gif') center no-repeat;
245
+ }
246
+
247
+ .pdfPresentationMode:-webkit-full-screen .pdfViewer .page {
248
+ margin-bottom: 100%;
249
+ border: 0;
250
+ }
251
+
252
+ .pdfPresentationMode:-moz-full-screen .pdfViewer .page {
253
+ margin-bottom: 100%;
254
+ border: 0;
255
+ }
256
+
257
+ .pdfPresentationMode:-ms-fullscreen .pdfViewer .page {
258
+ margin-bottom: 100% !important;
259
+ border: 0;
260
+ }
261
+
262
+ .pdfPresentationMode:fullscreen .pdfViewer .page {
263
+ margin-bottom: 100%;
264
+ border: 0;
265
+ }
266
+
267
+ * {
268
+ padding: 0;
269
+ margin: 0;
270
+ }
271
+
272
+ html {
273
+ height: 100%;
274
+ width: 100%;
275
+ /* Font size is needed to make the activity bar the correct size. */
276
+ font-size: 10px;
277
+ }
278
+
279
+ body {
280
+ height: 100%;
281
+ width: 100%;
282
+ background-color: #404040;
283
+ background-image: url(images/texture.png);
284
+ }
285
+
286
+ body,
287
+ input,
288
+ button,
289
+ select {
290
+ font: message-box;
291
+ outline: none;
292
+ }
293
+
294
+ .hidden {
295
+ display: none !important;
296
+ }
297
+ [hidden] {
298
+ display: none !important;
299
+ }
300
+
301
+ #viewerContainer.pdfPresentationMode:-webkit-full-screen {
302
+ top: 0px;
303
+ border-top: 2px solid transparent;
304
+ background-color: #000;
305
+ width: 100%;
306
+ height: 100%;
307
+ overflow: hidden;
308
+ cursor: none;
309
+ -webkit-user-select: none;
310
+ }
311
+
312
+ #viewerContainer.pdfPresentationMode:-moz-full-screen {
313
+ top: 0px;
314
+ border-top: 2px solid transparent;
315
+ background-color: #000;
316
+ width: 100%;
317
+ height: 100%;
318
+ overflow: hidden;
319
+ cursor: none;
320
+ -moz-user-select: none;
321
+ }
322
+
323
+ #viewerContainer.pdfPresentationMode:-ms-fullscreen {
324
+ top: 0px !important;
325
+ border-top: 2px solid transparent;
326
+ width: 100%;
327
+ height: 100%;
328
+ overflow: hidden !important;
329
+ cursor: none;
330
+ -ms-user-select: none;
331
+ }
332
+
333
+ #viewerContainer.pdfPresentationMode:-ms-fullscreen::-ms-backdrop {
334
+ background-color: #000;
335
+ }
336
+
337
+ #viewerContainer.pdfPresentationMode:fullscreen {
338
+ top: 0px;
339
+ border-top: 2px solid transparent;
340
+ background-color: #000;
341
+ width: 100%;
342
+ height: 100%;
343
+ overflow: hidden;
344
+ cursor: none;
345
+ -webkit-user-select: none;
346
+ -moz-user-select: none;
347
+ -ms-user-select: none;
348
+ }
349
+
350
+ .pdfPresentationMode:-webkit-full-screen a:not(.internalLink) {
351
+ display: none;
352
+ }
353
+
354
+ .pdfPresentationMode:-moz-full-screen a:not(.internalLink) {
355
+ display: none;
356
+ }
357
+
358
+ .pdfPresentationMode:-ms-fullscreen a:not(.internalLink) {
359
+ display: none !important;
360
+ }
361
+
362
+ .pdfPresentationMode:fullscreen a:not(.internalLink) {
363
+ display: none;
364
+ }
365
+
366
+ .pdfPresentationMode:-webkit-full-screen .textLayer > div {
367
+ cursor: none;
368
+ }
369
+
370
+ .pdfPresentationMode:-moz-full-screen .textLayer > div {
371
+ cursor: none;
372
+ }
373
+
374
+ .pdfPresentationMode:-ms-fullscreen .textLayer > div {
375
+ cursor: none;
376
+ }
377
+
378
+ .pdfPresentationMode:fullscreen .textLayer > div {
379
+ cursor: none;
380
+ }
381
+
382
+ .pdfPresentationMode.pdfPresentationModeControls > *,
383
+ .pdfPresentationMode.pdfPresentationModeControls .textLayer > div {
384
+ cursor: default;
385
+ }
386
+
387
+ /* outer/inner center provides horizontal center */
388
+ .outerCenter {
389
+ pointer-events: none;
390
+ position: relative;
391
+ }
392
+ html[dir='ltr'] .outerCenter {
393
+ float: right;
394
+ right: 50%;
395
+ }
396
+ html[dir='rtl'] .outerCenter {
397
+ float: left;
398
+ left: 50%;
399
+ }
400
+ .innerCenter {
401
+ pointer-events: auto;
402
+ position: relative;
403
+ }
404
+ html[dir='ltr'] .innerCenter {
405
+ float: right;
406
+ right: -50%;
407
+ }
408
+ html[dir='rtl'] .innerCenter {
409
+ float: left;
410
+ left: -50%;
411
+ }
412
+
413
+ #outerContainer {
414
+ width: 100%;
415
+ height: 100%;
416
+ position: relative;
417
+ }
418
+
419
+ #sidebarContainer {
420
+ position: absolute;
421
+ top: 0;
422
+ bottom: 0;
423
+ width: 200px;
424
+ visibility: hidden;
425
+ -webkit-transition-duration: 200ms;
426
+ -webkit-transition-timing-function: ease;
427
+ transition-duration: 200ms;
428
+ transition-timing-function: ease;
429
+
430
+ }
431
+ html[dir='ltr'] #sidebarContainer {
432
+ -webkit-transition-property: left;
433
+ transition-property: left;
434
+ left: -200px;
435
+ }
436
+ html[dir='rtl'] #sidebarContainer {
437
+ -webkit-transition-property: right;
438
+ transition-property: right;
439
+ right: -200px;
440
+ }
441
+
442
+ #outerContainer.sidebarMoving > #sidebarContainer,
443
+ #outerContainer.sidebarOpen > #sidebarContainer {
444
+ visibility: visible;
445
+ }
446
+ html[dir='ltr'] #outerContainer.sidebarOpen > #sidebarContainer {
447
+ left: 0px;
448
+ }
449
+ html[dir='rtl'] #outerContainer.sidebarOpen > #sidebarContainer {
450
+ right: 0px;
451
+ }
452
+
453
+ #mainContainer {
454
+ position: absolute;
455
+ top: 0;
456
+ right: 0;
457
+ bottom: 0;
458
+ left: 0;
459
+ min-width: 320px;
460
+ -webkit-transition-duration: 200ms;
461
+ -webkit-transition-timing-function: ease;
462
+ transition-duration: 200ms;
463
+ transition-timing-function: ease;
464
+ }
465
+ html[dir='ltr'] #outerContainer.sidebarOpen > #mainContainer {
466
+ -webkit-transition-property: left;
467
+ transition-property: left;
468
+ left: 200px;
469
+ }
470
+ html[dir='rtl'] #outerContainer.sidebarOpen > #mainContainer {
471
+ -webkit-transition-property: right;
472
+ transition-property: right;
473
+ right: 200px;
474
+ }
475
+
476
+ #sidebarContent {
477
+ top: 32px;
478
+ bottom: 0;
479
+ overflow: auto;
480
+ -webkit-overflow-scrolling: touch;
481
+ position: absolute;
482
+ width: 200px;
483
+ background-color: hsla(0,0%,0%,.1);
484
+ }
485
+ html[dir='ltr'] #sidebarContent {
486
+ left: 0;
487
+ box-shadow: inset -1px 0 0 hsla(0,0%,0%,.25);
488
+ }
489
+ html[dir='rtl'] #sidebarContent {
490
+ right: 0;
491
+ box-shadow: inset 1px 0 0 hsla(0,0%,0%,.25);
492
+ }
493
+
494
+ #viewerContainer {
495
+ overflow: auto;
496
+ -webkit-overflow-scrolling: touch;
497
+ position: absolute;
498
+ top: 32px;
499
+ right: 0;
500
+ bottom: 0;
501
+ left: 0;
502
+ outline: none;
503
+ }
504
+ html[dir='ltr'] #viewerContainer {
505
+ box-shadow: inset 1px 0 0 hsla(0,0%,100%,.05);
506
+ }
507
+ html[dir='rtl'] #viewerContainer {
508
+ box-shadow: inset -1px 0 0 hsla(0,0%,100%,.05);
509
+ }
510
+
511
+ .toolbar {
512
+ position: relative;
513
+ left: 0;
514
+ right: 0;
515
+ z-index: 9999;
516
+ cursor: default;
517
+ }
518
+
519
+ #toolbarContainer {
520
+ width: 100%;
521
+ }
522
+
523
+ #toolbarSidebar {
524
+ width: 200px;
525
+ height: 32px;
526
+ background-color: #424242; /* fallback */
527
+ background-image: url(images/texture.png),
528
+ linear-gradient(hsla(0,0%,30%,.99), hsla(0,0%,25%,.95));
529
+ }
530
+ html[dir='ltr'] #toolbarSidebar {
531
+ box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.25),
532
+ inset 0 -1px 0 hsla(0,0%,100%,.05),
533
+ 0 1px 0 hsla(0,0%,0%,.15),
534
+ 0 0 1px hsla(0,0%,0%,.1);
535
+ }
536
+ html[dir='rtl'] #toolbarSidebar {
537
+ box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.25),
538
+ inset 0 1px 0 hsla(0,0%,100%,.05),
539
+ 0 1px 0 hsla(0,0%,0%,.15),
540
+ 0 0 1px hsla(0,0%,0%,.1);
541
+ }
542
+
543
+ #toolbarContainer, .findbar, .secondaryToolbar {
544
+ position: relative;
545
+ height: 32px;
546
+ background-color: #474747; /* fallback */
547
+ background-image: url(images/texture.png),
548
+ linear-gradient(hsla(0,0%,32%,.99), hsla(0,0%,27%,.95));
549
+ }
550
+ html[dir='ltr'] #toolbarContainer, .findbar, .secondaryToolbar {
551
+ box-shadow: inset 1px 0 0 hsla(0,0%,100%,.08),
552
+ inset 0 1px 1px hsla(0,0%,0%,.15),
553
+ inset 0 -1px 0 hsla(0,0%,100%,.05),
554
+ 0 1px 0 hsla(0,0%,0%,.15),
555
+ 0 1px 1px hsla(0,0%,0%,.1);
556
+ }
557
+ html[dir='rtl'] #toolbarContainer, .findbar, .secondaryToolbar {
558
+ box-shadow: inset -1px 0 0 hsla(0,0%,100%,.08),
559
+ inset 0 1px 1px hsla(0,0%,0%,.15),
560
+ inset 0 -1px 0 hsla(0,0%,100%,.05),
561
+ 0 1px 0 hsla(0,0%,0%,.15),
562
+ 0 1px 1px hsla(0,0%,0%,.1);
563
+ }
564
+
565
+ #toolbarViewer {
566
+ height: 32px;
567
+ }
568
+
569
+ #loadingBar {
570
+ position: relative;
571
+ width: 100%;
572
+ height: 4px;
573
+ background-color: #333;
574
+ border-bottom: 1px solid #333;
575
+ }
576
+
577
+ #loadingBar .progress {
578
+ position: absolute;
579
+ top: 0;
580
+ left: 0;
581
+ width: 0%;
582
+ height: 100%;
583
+ background-color: #ddd;
584
+ overflow: hidden;
585
+ -webkit-transition: width 200ms;
586
+ transition: width 200ms;
587
+ }
588
+
589
+ @-webkit-keyframes progressIndeterminate {
590
+ 0% { left: -142px; }
591
+ 100% { left: 0; }
592
+ }
593
+
594
+ @keyframes progressIndeterminate {
595
+ 0% { left: -142px; }
596
+ 100% { left: 0; }
597
+ }
598
+
599
+ #loadingBar .progress.indeterminate {
600
+ background-color: #999;
601
+ -webkit-transition: none;
602
+ transition: none;
603
+ }
604
+
605
+ #loadingBar .progress.indeterminate .glimmer {
606
+ position: absolute;
607
+ top: 0;
608
+ left: 0;
609
+ height: 100%;
610
+ width: calc(100% + 150px);
611
+
612
+ background: repeating-linear-gradient(135deg,
613
+ #bbb 0, #999 5px,
614
+ #999 45px, #ddd 55px,
615
+ #ddd 95px, #bbb 100px);
616
+
617
+ -webkit-animation: progressIndeterminate 950ms linear infinite;
618
+ animation: progressIndeterminate 950ms linear infinite;
619
+ }
620
+
621
+ .findbar, .secondaryToolbar {
622
+ top: 32px;
623
+ position: absolute;
624
+ z-index: 10000;
625
+ height: 32px;
626
+
627
+ min-width: 16px;
628
+ padding: 0px 6px 0px 6px;
629
+ margin: 4px 2px 4px 2px;
630
+ color: hsl(0,0%,85%);
631
+ font-size: 12px;
632
+ line-height: 14px;
633
+ text-align: left;
634
+ cursor: default;
635
+ }
636
+
637
+ html[dir='ltr'] .findbar {
638
+ left: 68px;
639
+ }
640
+
641
+ html[dir='rtl'] .findbar {
642
+ right: 68px;
643
+ }
644
+
645
+ .findbar label {
646
+ -webkit-user-select: none;
647
+ -moz-user-select: none;
648
+ }
649
+
650
+ #findInput[data-status="pending"] {
651
+ background-image: url(images/loading-small.png);
652
+ background-repeat: no-repeat;
653
+ background-position: right;
654
+ }
655
+ html[dir='rtl'] #findInput[data-status="pending"] {
656
+ background-position: left;
657
+ }
658
+
659
+ .secondaryToolbar {
660
+ padding: 6px;
661
+ height: auto;
662
+ z-index: 30000;
663
+ }
664
+ html[dir='ltr'] .secondaryToolbar {
665
+ right: 4px;
666
+ }
667
+ html[dir='rtl'] .secondaryToolbar {
668
+ left: 4px;
669
+ }
670
+
671
+ #secondaryToolbarButtonContainer {
672
+ max-width: 200px;
673
+ max-height: 400px;
674
+ overflow-y: auto;
675
+ -webkit-overflow-scrolling: touch;
676
+ margin-bottom: -4px;
677
+ }
678
+
679
+ .doorHanger,
680
+ .doorHangerRight {
681
+ border: 1px solid hsla(0,0%,0%,.5);
682
+ border-radius: 2px;
683
+ box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
684
+ }
685
+ .doorHanger:after, .doorHanger:before,
686
+ .doorHangerRight:after, .doorHangerRight:before {
687
+ bottom: 100%;
688
+ border: solid transparent;
689
+ content: " ";
690
+ height: 0;
691
+ width: 0;
692
+ position: absolute;
693
+ pointer-events: none;
694
+ }
695
+ .doorHanger:after,
696
+ .doorHangerRight:after {
697
+ border-bottom-color: hsla(0,0%,32%,.99);
698
+ border-width: 8px;
699
+ }
700
+ .doorHanger:before,
701
+ .doorHangerRight:before {
702
+ border-bottom-color: hsla(0,0%,0%,.5);
703
+ border-width: 9px;
704
+ }
705
+
706
+ html[dir='ltr'] .doorHanger:after,
707
+ html[dir='rtl'] .doorHangerRight:after {
708
+ left: 13px;
709
+ margin-left: -8px;
710
+ }
711
+
712
+ html[dir='ltr'] .doorHanger:before,
713
+ html[dir='rtl'] .doorHangerRight:before {
714
+ left: 13px;
715
+ margin-left: -9px;
716
+ }
717
+
718
+ html[dir='rtl'] .doorHanger:after,
719
+ html[dir='ltr'] .doorHangerRight:after {
720
+ right: 13px;
721
+ margin-right: -8px;
722
+ }
723
+
724
+ html[dir='rtl'] .doorHanger:before,
725
+ html[dir='ltr'] .doorHangerRight:before {
726
+ right: 13px;
727
+ margin-right: -9px;
728
+ }
729
+
730
+ #findResultsCount {
731
+ background-color: hsl(0, 0%, 85%);
732
+ color: hsl(0, 0%, 32%);
733
+ text-align: center;
734
+ padding: 3px 4px;
735
+ }
736
+
737
+ #findMsg {
738
+ font-style: italic;
739
+ color: #A6B7D0;
740
+ }
741
+
742
+ #findInput.notFound {
743
+ background-color: rgb(255, 102, 102);
744
+ }
745
+
746
+ html[dir='ltr'] #toolbarViewerLeft {
747
+ margin-left: -1px;
748
+ }
749
+ html[dir='rtl'] #toolbarViewerRight {
750
+ margin-right: -1px;
751
+ }
752
+
753
+ html[dir='ltr'] #toolbarViewerLeft,
754
+ html[dir='rtl'] #toolbarViewerRight {
755
+ position: absolute;
756
+ top: 0;
757
+ left: 0;
758
+ }
759
+ html[dir='ltr'] #toolbarViewerRight,
760
+ html[dir='rtl'] #toolbarViewerLeft {
761
+ position: absolute;
762
+ top: 0;
763
+ right: 0;
764
+ }
765
+ html[dir='ltr'] #toolbarViewerLeft > *,
766
+ html[dir='ltr'] #toolbarViewerMiddle > *,
767
+ html[dir='ltr'] #toolbarViewerRight > *,
768
+ html[dir='ltr'] .findbar > * {
769
+ position: relative;
770
+ float: left;
771
+ }
772
+ html[dir='rtl'] #toolbarViewerLeft > *,
773
+ html[dir='rtl'] #toolbarViewerMiddle > *,
774
+ html[dir='rtl'] #toolbarViewerRight > *,
775
+ html[dir='rtl'] .findbar > * {
776
+ position: relative;
777
+ float: right;
778
+ }
779
+
780
+ html[dir='ltr'] .splitToolbarButton {
781
+ margin: 3px 2px 4px 0;
782
+ display: inline-block;
783
+ }
784
+ html[dir='rtl'] .splitToolbarButton {
785
+ margin: 3px 0 4px 2px;
786
+ display: inline-block;
787
+ }
788
+ html[dir='ltr'] .splitToolbarButton > .toolbarButton {
789
+ border-radius: 0;
790
+ float: left;
791
+ }
792
+ html[dir='rtl'] .splitToolbarButton > .toolbarButton {
793
+ border-radius: 0;
794
+ float: right;
795
+ }
796
+
797
+ .toolbarButton,
798
+ .secondaryToolbarButton,
799
+ .overlayButton {
800
+ border: 0 none;
801
+ background: none;
802
+ width: 32px;
803
+ height: 25px;
804
+ }
805
+
806
+ .toolbarButton > span {
807
+ display: inline-block;
808
+ width: 0;
809
+ height: 0;
810
+ overflow: hidden;
811
+ }
812
+
813
+ .toolbarButton[disabled],
814
+ .secondaryToolbarButton[disabled],
815
+ .overlayButton[disabled] {
816
+ opacity: .5;
817
+ }
818
+
819
+ .toolbarButton.group {
820
+ margin-right: 0;
821
+ }
822
+
823
+ .splitToolbarButton.toggled .toolbarButton {
824
+ margin: 0;
825
+ }
826
+
827
+ .splitToolbarButton:hover > .toolbarButton,
828
+ .splitToolbarButton:focus > .toolbarButton,
829
+ .splitToolbarButton.toggled > .toolbarButton,
830
+ .toolbarButton.textButton {
831
+ background-color: hsla(0,0%,0%,.12);
832
+ background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
833
+ background-clip: padding-box;
834
+ border: 1px solid hsla(0,0%,0%,.35);
835
+ border-color: hsla(0,0%,0%,.32) hsla(0,0%,0%,.38) hsla(0,0%,0%,.42);
836
+ box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset,
837
+ 0 0 1px hsla(0,0%,100%,.15) inset,
838
+ 0 1px 0 hsla(0,0%,100%,.05);
839
+ -webkit-transition-property: background-color, border-color, box-shadow;
840
+ -webkit-transition-duration: 150ms;
841
+ -webkit-transition-timing-function: ease;
842
+ transition-property: background-color, border-color, box-shadow;
843
+ transition-duration: 150ms;
844
+ transition-timing-function: ease;
845
+
846
+ }
847
+ .splitToolbarButton > .toolbarButton:hover,
848
+ .splitToolbarButton > .toolbarButton:focus,
849
+ .dropdownToolbarButton:hover,
850
+ .overlayButton:hover,
851
+ .overlayButton:focus,
852
+ .toolbarButton.textButton:hover,
853
+ .toolbarButton.textButton:focus {
854
+ background-color: hsla(0,0%,0%,.2);
855
+ box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset,
856
+ 0 0 1px hsla(0,0%,100%,.15) inset,
857
+ 0 0 1px hsla(0,0%,0%,.05);
858
+ z-index: 199;
859
+ }
860
+ .splitToolbarButton > .toolbarButton {
861
+ position: relative;
862
+ }
863
+ html[dir='ltr'] .splitToolbarButton > .toolbarButton:first-child,
864
+ html[dir='rtl'] .splitToolbarButton > .toolbarButton:last-child {
865
+ position: relative;
866
+ margin: 0;
867
+ margin-right: -1px;
868
+ border-top-left-radius: 2px;
869
+ border-bottom-left-radius: 2px;
870
+ border-right-color: transparent;
871
+ }
872
+ html[dir='ltr'] .splitToolbarButton > .toolbarButton:last-child,
873
+ html[dir='rtl'] .splitToolbarButton > .toolbarButton:first-child {
874
+ position: relative;
875
+ margin: 0;
876
+ margin-left: -1px;
877
+ border-top-right-radius: 2px;
878
+ border-bottom-right-radius: 2px;
879
+ border-left-color: transparent;
880
+ }
881
+ .splitToolbarButtonSeparator {
882
+ padding: 8px 0;
883
+ width: 1px;
884
+ background-color: hsla(0,0%,0%,.5);
885
+ z-index: 99;
886
+ box-shadow: 0 0 0 1px hsla(0,0%,100%,.08);
887
+ display: inline-block;
888
+ margin: 5px 0;
889
+ }
890
+ html[dir='ltr'] .splitToolbarButtonSeparator {
891
+ float: left;
892
+ }
893
+ html[dir='rtl'] .splitToolbarButtonSeparator {
894
+ float: right;
895
+ }
896
+ .splitToolbarButton:hover > .splitToolbarButtonSeparator,
897
+ .splitToolbarButton.toggled > .splitToolbarButtonSeparator {
898
+ padding: 12px 0;
899
+ margin: 1px 0;
900
+ box-shadow: 0 0 0 1px hsla(0,0%,100%,.03);
901
+ -webkit-transition-property: padding;
902
+ -webkit-transition-duration: 10ms;
903
+ -webkit-transition-timing-function: ease;
904
+ transition-property: padding;
905
+ transition-duration: 10ms;
906
+ transition-timing-function: ease;
907
+ }
908
+
909
+ .toolbarButton,
910
+ .dropdownToolbarButton,
911
+ .secondaryToolbarButton,
912
+ .overlayButton {
913
+ min-width: 16px;
914
+ padding: 2px 6px 0;
915
+ border: 1px solid transparent;
916
+ border-radius: 2px;
917
+ color: hsla(0,0%,100%,.8);
918
+ font-size: 12px;
919
+ line-height: 14px;
920
+ -webkit-user-select: none;
921
+ -moz-user-select: none;
922
+ -ms-user-select: none;
923
+ /* Opera does not support user-select, use <... unselectable="on"> instead */
924
+ cursor: default;
925
+ -webkit-transition-property: background-color, border-color, box-shadow;
926
+ -webkit-transition-duration: 150ms;
927
+ -webkit-transition-timing-function: ease;
928
+ transition-property: background-color, border-color, box-shadow;
929
+ transition-duration: 150ms;
930
+ transition-timing-function: ease;
931
+ }
932
+
933
+ html[dir='ltr'] .toolbarButton,
934
+ html[dir='ltr'] .overlayButton,
935
+ html[dir='ltr'] .dropdownToolbarButton {
936
+ margin: 3px 2px 4px 0;
937
+ }
938
+ html[dir='rtl'] .toolbarButton,
939
+ html[dir='rtl'] .overlayButton,
940
+ html[dir='rtl'] .dropdownToolbarButton {
941
+ margin: 3px 0 4px 2px;
942
+ }
943
+
944
+ .toolbarButton:hover,
945
+ .toolbarButton:focus,
946
+ .dropdownToolbarButton,
947
+ .overlayButton,
948
+ .secondaryToolbarButton:hover,
949
+ .secondaryToolbarButton:focus {
950
+ background-color: hsla(0,0%,0%,.12);
951
+ background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
952
+ background-clip: padding-box;
953
+ border: 1px solid hsla(0,0%,0%,.35);
954
+ border-color: hsla(0,0%,0%,.32) hsla(0,0%,0%,.38) hsla(0,0%,0%,.42);
955
+ box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset,
956
+ 0 0 1px hsla(0,0%,100%,.15) inset,
957
+ 0 1px 0 hsla(0,0%,100%,.05);
958
+ }
959
+
960
+ .toolbarButton:hover:active,
961
+ .overlayButton:hover:active,
962
+ .dropdownToolbarButton:hover:active,
963
+ .secondaryToolbarButton:hover:active {
964
+ background-color: hsla(0,0%,0%,.2);
965
+ background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
966
+ border-color: hsla(0,0%,0%,.35) hsla(0,0%,0%,.4) hsla(0,0%,0%,.45);
967
+ box-shadow: 0 1px 1px hsla(0,0%,0%,.1) inset,
968
+ 0 0 1px hsla(0,0%,0%,.2) inset,
969
+ 0 1px 0 hsla(0,0%,100%,.05);
970
+ -webkit-transition-property: background-color, border-color, box-shadow;
971
+ -webkit-transition-duration: 10ms;
972
+ -webkit-transition-timing-function: linear;
973
+ transition-property: background-color, border-color, box-shadow;
974
+ transition-duration: 10ms;
975
+ transition-timing-function: linear;
976
+ }
977
+
978
+ .toolbarButton.toggled,
979
+ .splitToolbarButton.toggled > .toolbarButton.toggled,
980
+ .secondaryToolbarButton.toggled {
981
+ background-color: hsla(0,0%,0%,.3);
982
+ background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
983
+ border-color: hsla(0,0%,0%,.4) hsla(0,0%,0%,.45) hsla(0,0%,0%,.5);
984
+ box-shadow: 0 1px 1px hsla(0,0%,0%,.1) inset,
985
+ 0 0 1px hsla(0,0%,0%,.2) inset,
986
+ 0 1px 0 hsla(0,0%,100%,.05);
987
+ -webkit-transition-property: background-color, border-color, box-shadow;
988
+ -webkit-transition-duration: 10ms;
989
+ -webkit-transition-timing-function: linear;
990
+ transition-property: background-color, border-color, box-shadow;
991
+ transition-duration: 10ms;
992
+ transition-timing-function: linear;
993
+ }
994
+
995
+ .toolbarButton.toggled:hover:active,
996
+ .splitToolbarButton.toggled > .toolbarButton.toggled:hover:active,
997
+ .secondaryToolbarButton.toggled:hover:active {
998
+ background-color: hsla(0,0%,0%,.4);
999
+ border-color: hsla(0,0%,0%,.4) hsla(0,0%,0%,.5) hsla(0,0%,0%,.55);
1000
+ box-shadow: 0 1px 1px hsla(0,0%,0%,.2) inset,
1001
+ 0 0 1px hsla(0,0%,0%,.3) inset,
1002
+ 0 1px 0 hsla(0,0%,100%,.05);
1003
+ }
1004
+
1005
+ .dropdownToolbarButton {
1006
+ width: 120px;
1007
+ max-width: 120px;
1008
+ padding: 0;
1009
+ overflow: hidden;
1010
+ background: url(images/toolbarButton-menuArrows.png) no-repeat;
1011
+ }
1012
+ html[dir='ltr'] .dropdownToolbarButton {
1013
+ background-position: 95%;
1014
+ }
1015
+ html[dir='rtl'] .dropdownToolbarButton {
1016
+ background-position: 5%;
1017
+ }
1018
+
1019
+ .dropdownToolbarButton > select {
1020
+ min-width: 140px;
1021
+ font-size: 12px;
1022
+ color: hsl(0,0%,95%);
1023
+ margin: 0;
1024
+ padding: 3px 2px 2px;
1025
+ border: none;
1026
+ background: rgba(0,0,0,0); /* Opera does not support 'transparent' <select> background */
1027
+ }
1028
+
1029
+ .dropdownToolbarButton > select > option {
1030
+ background: hsl(0,0%,24%);
1031
+ }
1032
+
1033
+ #customScaleOption {
1034
+ display: none;
1035
+ }
1036
+
1037
+ #pageWidthOption {
1038
+ border-bottom: 1px rgba(255, 255, 255, .5) solid;
1039
+ }
1040
+
1041
+ html[dir='ltr'] .splitToolbarButton:first-child,
1042
+ html[dir='ltr'] .toolbarButton:first-child,
1043
+ html[dir='rtl'] .splitToolbarButton:last-child,
1044
+ html[dir='rtl'] .toolbarButton:last-child {
1045
+ margin-left: 4px;
1046
+ }
1047
+ html[dir='ltr'] .splitToolbarButton:last-child,
1048
+ html[dir='ltr'] .toolbarButton:last-child,
1049
+ html[dir='rtl'] .splitToolbarButton:first-child,
1050
+ html[dir='rtl'] .toolbarButton:first-child {
1051
+ margin-right: 4px;
1052
+ }
1053
+
1054
+ .toolbarButtonSpacer {
1055
+ width: 30px;
1056
+ display: inline-block;
1057
+ height: 1px;
1058
+ }
1059
+
1060
+ .toolbarButtonFlexibleSpacer {
1061
+ -webkit-box-flex: 1;
1062
+ -moz-box-flex: 1;
1063
+ min-width: 30px;
1064
+ }
1065
+
1066
+ html[dir='ltr'] #findPrevious {
1067
+ margin-left: 3px;
1068
+ }
1069
+ html[dir='ltr'] #findNext {
1070
+ margin-right: 3px;
1071
+ }
1072
+
1073
+ html[dir='rtl'] #findPrevious {
1074
+ margin-right: 3px;
1075
+ }
1076
+ html[dir='rtl'] #findNext {
1077
+ margin-left: 3px;
1078
+ }
1079
+
1080
+ .toolbarButton::before,
1081
+ .secondaryToolbarButton::before {
1082
+ /* All matching images have a size of 16x16
1083
+ * All relevant containers have a size of 32x25 */
1084
+ position: absolute;
1085
+ display: inline-block;
1086
+ top: 4px;
1087
+ left: 7px;
1088
+ }
1089
+
1090
+ html[dir="ltr"] .secondaryToolbarButton::before {
1091
+ left: 4px;
1092
+ }
1093
+ html[dir="rtl"] .secondaryToolbarButton::before {
1094
+ right: 4px;
1095
+ }
1096
+
1097
+ html[dir='ltr'] .toolbarButton#sidebarToggle::before {
1098
+ content: url(images/toolbarButton-sidebarToggle.png);
1099
+ }
1100
+ html[dir='rtl'] .toolbarButton#sidebarToggle::before {
1101
+ content: url(images/toolbarButton-sidebarToggle-rtl.png);
1102
+ }
1103
+
1104
+ html[dir='ltr'] .toolbarButton#secondaryToolbarToggle::before {
1105
+ content: url(images/toolbarButton-secondaryToolbarToggle.png);
1106
+ }
1107
+ html[dir='rtl'] .toolbarButton#secondaryToolbarToggle::before {
1108
+ content: url(images/toolbarButton-secondaryToolbarToggle-rtl.png);
1109
+ }
1110
+
1111
+ html[dir='ltr'] .toolbarButton.findPrevious::before {
1112
+ content: url(images/findbarButton-previous.png);
1113
+ }
1114
+ html[dir='rtl'] .toolbarButton.findPrevious::before {
1115
+ content: url(images/findbarButton-previous-rtl.png);
1116
+ }
1117
+
1118
+ html[dir='ltr'] .toolbarButton.findNext::before {
1119
+ content: url(images/findbarButton-next.png);
1120
+ }
1121
+ html[dir='rtl'] .toolbarButton.findNext::before {
1122
+ content: url(images/findbarButton-next-rtl.png);
1123
+ }
1124
+
1125
+ html[dir='ltr'] .toolbarButton.pageUp::before {
1126
+ content: url(images/toolbarButton-pageUp.png);
1127
+ }
1128
+ html[dir='rtl'] .toolbarButton.pageUp::before {
1129
+ content: url(images/toolbarButton-pageUp-rtl.png);
1130
+ }
1131
+
1132
+ html[dir='ltr'] .toolbarButton.pageDown::before {
1133
+ content: url(images/toolbarButton-pageDown.png);
1134
+ }
1135
+ html[dir='rtl'] .toolbarButton.pageDown::before {
1136
+ content: url(images/toolbarButton-pageDown-rtl.png);
1137
+ }
1138
+
1139
+ .toolbarButton.zoomOut::before {
1140
+ content: url(images/toolbarButton-zoomOut.png);
1141
+ }
1142
+
1143
+ .toolbarButton.zoomIn::before {
1144
+ content: url(images/toolbarButton-zoomIn.png);
1145
+ }
1146
+
1147
+ .toolbarButton.presentationMode::before,
1148
+ .secondaryToolbarButton.presentationMode::before {
1149
+ content: url(images/toolbarButton-presentationMode.png);
1150
+ }
1151
+
1152
+ .toolbarButton.print::before,
1153
+ .secondaryToolbarButton.print::before {
1154
+ content: url(images/toolbarButton-print.png);
1155
+ }
1156
+
1157
+ .toolbarButton.openFile::before,
1158
+ .secondaryToolbarButton.openFile::before {
1159
+ content: url(images/toolbarButton-openFile.png);
1160
+ }
1161
+
1162
+ .toolbarButton.download::before,
1163
+ .secondaryToolbarButton.download::before {
1164
+ content: url(images/toolbarButton-download.png);
1165
+ }
1166
+
1167
+ .toolbarButton.bookmark,
1168
+ .secondaryToolbarButton.bookmark {
1169
+ -webkit-box-sizing: border-box;
1170
+ -moz-box-sizing: border-box;
1171
+ box-sizing: border-box;
1172
+ outline: none;
1173
+ padding-top: 4px;
1174
+ text-decoration: none;
1175
+ }
1176
+ .secondaryToolbarButton.bookmark {
1177
+ padding-top: 5px;
1178
+ }
1179
+
1180
+ .bookmark[href='#'] {
1181
+ opacity: .5;
1182
+ pointer-events: none;
1183
+ }
1184
+
1185
+ .toolbarButton.bookmark::before,
1186
+ .secondaryToolbarButton.bookmark::before {
1187
+ content: url(images/toolbarButton-bookmark.png);
1188
+ }
1189
+
1190
+ #viewThumbnail.toolbarButton::before {
1191
+ content: url(images/toolbarButton-viewThumbnail.png);
1192
+ }
1193
+
1194
+ html[dir="ltr"] #viewOutline.toolbarButton::before {
1195
+ content: url(images/toolbarButton-viewOutline.png);
1196
+ }
1197
+ html[dir="rtl"] #viewOutline.toolbarButton::before {
1198
+ content: url(images/toolbarButton-viewOutline-rtl.png);
1199
+ }
1200
+
1201
+ #viewAttachments.toolbarButton::before {
1202
+ content: url(images/toolbarButton-viewAttachments.png);
1203
+ }
1204
+
1205
+ #viewFind.toolbarButton::before {
1206
+ content: url(images/toolbarButton-search.png);
1207
+ }
1208
+
1209
+ .secondaryToolbarButton {
1210
+ position: relative;
1211
+ margin: 0 0 4px 0;
1212
+ padding: 3px 0 1px 0;
1213
+ height: auto;
1214
+ min-height: 25px;
1215
+ width: auto;
1216
+ min-width: 100%;
1217
+ white-space: normal;
1218
+ }
1219
+ html[dir="ltr"] .secondaryToolbarButton {
1220
+ padding-left: 24px;
1221
+ text-align: left;
1222
+ }
1223
+ html[dir="rtl"] .secondaryToolbarButton {
1224
+ padding-right: 24px;
1225
+ text-align: right;
1226
+ }
1227
+ html[dir="ltr"] .secondaryToolbarButton.bookmark {
1228
+ padding-left: 27px;
1229
+ }
1230
+ html[dir="rtl"] .secondaryToolbarButton.bookmark {
1231
+ padding-right: 27px;
1232
+ }
1233
+
1234
+ html[dir="ltr"] .secondaryToolbarButton > span {
1235
+ padding-right: 4px;
1236
+ }
1237
+ html[dir="rtl"] .secondaryToolbarButton > span {
1238
+ padding-left: 4px;
1239
+ }
1240
+
1241
+ .secondaryToolbarButton.firstPage::before {
1242
+ content: url(images/secondaryToolbarButton-firstPage.png);
1243
+ }
1244
+
1245
+ .secondaryToolbarButton.lastPage::before {
1246
+ content: url(images/secondaryToolbarButton-lastPage.png);
1247
+ }
1248
+
1249
+ .secondaryToolbarButton.rotateCcw::before {
1250
+ content: url(images/secondaryToolbarButton-rotateCcw.png);
1251
+ }
1252
+
1253
+ .secondaryToolbarButton.rotateCw::before {
1254
+ content: url(images/secondaryToolbarButton-rotateCw.png);
1255
+ }
1256
+
1257
+ .secondaryToolbarButton.handTool::before {
1258
+ content: url(images/secondaryToolbarButton-handTool.png);
1259
+ }
1260
+
1261
+ .secondaryToolbarButton.documentProperties::before {
1262
+ content: url(images/secondaryToolbarButton-documentProperties.png);
1263
+ }
1264
+
1265
+ .verticalToolbarSeparator {
1266
+ display: block;
1267
+ padding: 8px 0;
1268
+ margin: 8px 4px;
1269
+ width: 1px;
1270
+ background-color: hsla(0,0%,0%,.5);
1271
+ box-shadow: 0 0 0 1px hsla(0,0%,100%,.08);
1272
+ }
1273
+ html[dir='ltr'] .verticalToolbarSeparator {
1274
+ margin-left: 2px;
1275
+ }
1276
+ html[dir='rtl'] .verticalToolbarSeparator {
1277
+ margin-right: 2px;
1278
+ }
1279
+
1280
+ .horizontalToolbarSeparator {
1281
+ display: block;
1282
+ margin: 0 0 4px 0;
1283
+ height: 1px;
1284
+ width: 100%;
1285
+ background-color: hsla(0,0%,0%,.5);
1286
+ box-shadow: 0 0 0 1px hsla(0,0%,100%,.08);
1287
+ }
1288
+
1289
+ .toolbarField {
1290
+ padding: 3px 6px;
1291
+ margin: 4px 0 4px 0;
1292
+ border: 1px solid transparent;
1293
+ border-radius: 2px;
1294
+ background-color: hsla(0,0%,100%,.09);
1295
+ background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
1296
+ background-clip: padding-box;
1297
+ border: 1px solid hsla(0,0%,0%,.35);
1298
+ border-color: hsla(0,0%,0%,.32) hsla(0,0%,0%,.38) hsla(0,0%,0%,.42);
1299
+ box-shadow: 0 1px 0 hsla(0,0%,0%,.05) inset,
1300
+ 0 1px 0 hsla(0,0%,100%,.05);
1301
+ color: hsl(0,0%,95%);
1302
+ font-size: 12px;
1303
+ line-height: 14px;
1304
+ outline-style: none;
1305
+ transition-property: background-color, border-color, box-shadow;
1306
+ transition-duration: 150ms;
1307
+ transition-timing-function: ease;
1308
+ }
1309
+
1310
+ .toolbarField[type=checkbox] {
1311
+ display: inline-block;
1312
+ margin: 8px 0px;
1313
+ }
1314
+
1315
+ .toolbarField.pageNumber {
1316
+ -moz-appearance: textfield; /* hides the spinner in moz */
1317
+ min-width: 16px;
1318
+ text-align: right;
1319
+ width: 40px;
1320
+ }
1321
+
1322
+ .toolbarField.pageNumber.visiblePageIsLoading {
1323
+ background-image: url(images/loading-small.png);
1324
+ background-repeat: no-repeat;
1325
+ background-position: 1px;
1326
+ }
1327
+
1328
+ .toolbarField.pageNumber::-webkit-inner-spin-button,
1329
+ .toolbarField.pageNumber::-webkit-outer-spin-button {
1330
+ -webkit-appearance: none;
1331
+ margin: 0;
1332
+ }
1333
+
1334
+ .toolbarField:hover {
1335
+ background-color: hsla(0,0%,100%,.11);
1336
+ border-color: hsla(0,0%,0%,.4) hsla(0,0%,0%,.43) hsla(0,0%,0%,.45);
1337
+ }
1338
+
1339
+ .toolbarField:focus {
1340
+ background-color: hsla(0,0%,100%,.15);
1341
+ border-color: hsla(204,100%,65%,.8) hsla(204,100%,65%,.85) hsla(204,100%,65%,.9);
1342
+ }
1343
+
1344
+ .toolbarLabel {
1345
+ min-width: 16px;
1346
+ padding: 3px 6px 3px 2px;
1347
+ margin: 4px 2px 4px 0;
1348
+ border: 1px solid transparent;
1349
+ border-radius: 2px;
1350
+ color: hsl(0,0%,85%);
1351
+ font-size: 12px;
1352
+ line-height: 14px;
1353
+ text-align: left;
1354
+ -webkit-user-select: none;
1355
+ -moz-user-select: none;
1356
+ cursor: default;
1357
+ }
1358
+
1359
+ #thumbnailView {
1360
+ position: absolute;
1361
+ width: 120px;
1362
+ top: 0;
1363
+ bottom: 0;
1364
+ padding: 10px 40px 0;
1365
+ overflow: auto;
1366
+ -webkit-overflow-scrolling: touch;
1367
+ }
1368
+
1369
+ .thumbnail {
1370
+ float: left;
1371
+ margin-bottom: 5px;
1372
+ }
1373
+
1374
+ #thumbnailView > a:last-of-type > .thumbnail {
1375
+ margin-bottom: 10px;
1376
+ }
1377
+
1378
+ #thumbnailView > a:last-of-type > .thumbnail:not([data-loaded]) {
1379
+ margin-bottom: 9px;
1380
+ }
1381
+
1382
+ .thumbnail:not([data-loaded]) {
1383
+ border: 1px dashed rgba(255, 255, 255, 0.5);
1384
+ margin: -1px -1px 4px -1px;
1385
+ }
1386
+
1387
+ .thumbnailImage {
1388
+ border: 1px solid transparent;
1389
+ box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3);
1390
+ opacity: 0.8;
1391
+ z-index: 99;
1392
+ background-color: white;
1393
+ background-clip: content-box;
1394
+ }
1395
+
1396
+ .thumbnailSelectionRing {
1397
+ border-radius: 2px;
1398
+ padding: 7px;
1399
+ }
1400
+
1401
+ a:focus > .thumbnail > .thumbnailSelectionRing > .thumbnailImage,
1402
+ .thumbnail:hover > .thumbnailSelectionRing > .thumbnailImage {
1403
+ opacity: .9;
1404
+ }
1405
+
1406
+ a:focus > .thumbnail > .thumbnailSelectionRing,
1407
+ .thumbnail:hover > .thumbnailSelectionRing {
1408
+ background-color: hsla(0,0%,100%,.15);
1409
+ background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
1410
+ background-clip: padding-box;
1411
+ box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset,
1412
+ 0 0 1px hsla(0,0%,100%,.2) inset,
1413
+ 0 0 1px hsla(0,0%,0%,.2);
1414
+ color: hsla(0,0%,100%,.9);
1415
+ }
1416
+
1417
+ .thumbnail.selected > .thumbnailSelectionRing > .thumbnailImage {
1418
+ box-shadow: 0 0 0 1px hsla(0,0%,0%,.5);
1419
+ opacity: 1;
1420
+ }
1421
+
1422
+ .thumbnail.selected > .thumbnailSelectionRing {
1423
+ background-color: hsla(0,0%,100%,.3);
1424
+ background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
1425
+ background-clip: padding-box;
1426
+ box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset,
1427
+ 0 0 1px hsla(0,0%,100%,.1) inset,
1428
+ 0 0 1px hsla(0,0%,0%,.2);
1429
+ color: hsla(0,0%,100%,1);
1430
+ }
1431
+
1432
+ #outlineView,
1433
+ #attachmentsView {
1434
+ position: absolute;
1435
+ width: 192px;
1436
+ top: 0;
1437
+ bottom: 0;
1438
+ overflow: auto;
1439
+ -webkit-overflow-scrolling: touch;
1440
+ -webkit-user-select: none;
1441
+ -moz-user-select: none;
1442
+ }
1443
+
1444
+ #outlineView {
1445
+ padding: 4px 4px 0;
1446
+ }
1447
+ #attachmentsView {
1448
+ padding: 3px 4px 0;
1449
+ }
1450
+
1451
+ html[dir='ltr'] .outlineWithDeepNesting > .outlineItem,
1452
+ html[dir='ltr'] .outlineItem > .outlineItems {
1453
+ margin-left: 20px;
1454
+ }
1455
+
1456
+ html[dir='rtl'] .outlineWithDeepNesting > .outlineItem,
1457
+ html[dir='rtl'] .outlineItem > .outlineItems {
1458
+ margin-right: 20px;
1459
+ }
1460
+
1461
+ .outlineItem > a,
1462
+ .attachmentsItem > button {
1463
+ text-decoration: none;
1464
+ display: inline-block;
1465
+ min-width: 95%;
1466
+ min-width: calc(100% - 4px); /* Subtract the right padding (left, in RTL mode)
1467
+ of the container. */
1468
+ height: auto;
1469
+ margin-bottom: 1px;
1470
+ border-radius: 2px;
1471
+ color: hsla(0,0%,100%,.8);
1472
+ font-size: 13px;
1473
+ line-height: 15px;
1474
+ -moz-user-select: none;
1475
+ white-space: normal;
1476
+ }
1477
+
1478
+ .attachmentsItem > button {
1479
+ border: 0 none;
1480
+ background: none;
1481
+ cursor: pointer;
1482
+ width: 100%;
1483
+ }
1484
+
1485
+ html[dir='ltr'] .outlineItem > a {
1486
+ padding: 2px 0 5px 4px;
1487
+ }
1488
+ html[dir='ltr'] .attachmentsItem > button {
1489
+ padding: 2px 0 3px 7px;
1490
+ text-align: left;
1491
+ }
1492
+
1493
+ html[dir='rtl'] .outlineItem > a {
1494
+ padding: 2px 4px 5px 0;
1495
+ }
1496
+ html[dir='rtl'] .attachmentsItem > button {
1497
+ padding: 2px 7px 3px 0;
1498
+ text-align: right;
1499
+ }
1500
+
1501
+ .outlineItemToggler {
1502
+ position: relative;
1503
+ height: 0;
1504
+ width: 0;
1505
+ color: hsla(0,0%,100%,.5);
1506
+ }
1507
+ .outlineItemToggler::before {
1508
+ content: url(images/treeitem-expanded.png);
1509
+ display: inline-block;
1510
+ position: absolute;
1511
+ }
1512
+ html[dir='ltr'] .outlineItemToggler.outlineItemsHidden::before {
1513
+ content: url(images/treeitem-collapsed.png);
1514
+ }
1515
+ html[dir='rtl'] .outlineItemToggler.outlineItemsHidden::before {
1516
+ content: url(images/treeitem-collapsed-rtl.png);
1517
+ }
1518
+ .outlineItemToggler.outlineItemsHidden ~ .outlineItems {
1519
+ display: none;
1520
+ }
1521
+ html[dir='ltr'] .outlineItemToggler {
1522
+ float: left;
1523
+ }
1524
+ html[dir='rtl'] .outlineItemToggler {
1525
+ float: right;
1526
+ }
1527
+ html[dir='ltr'] .outlineItemToggler::before {
1528
+ right: 4px;
1529
+ }
1530
+ html[dir='rtl'] .outlineItemToggler::before {
1531
+ left: 4px;
1532
+ }
1533
+
1534
+ .outlineItemToggler:hover,
1535
+ .outlineItemToggler:hover + a,
1536
+ .outlineItemToggler:hover ~ .outlineItems,
1537
+ .outlineItem > a:hover,
1538
+ .attachmentsItem > button:hover {
1539
+ background-color: hsla(0,0%,100%,.02);
1540
+ background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
1541
+ background-clip: padding-box;
1542
+ box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset,
1543
+ 0 0 1px hsla(0,0%,100%,.2) inset,
1544
+ 0 0 1px hsla(0,0%,0%,.2);
1545
+ border-radius: 2px;
1546
+ color: hsla(0,0%,100%,.9);
1547
+ }
1548
+
1549
+ .outlineItem.selected {
1550
+ background-color: hsla(0,0%,100%,.08);
1551
+ background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
1552
+ background-clip: padding-box;
1553
+ box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset,
1554
+ 0 0 1px hsla(0,0%,100%,.1) inset,
1555
+ 0 0 1px hsla(0,0%,0%,.2);
1556
+ color: hsla(0,0%,100%,1);
1557
+ }
1558
+
1559
+ .noResults {
1560
+ font-size: 12px;
1561
+ color: hsla(0,0%,100%,.8);
1562
+ font-style: italic;
1563
+ cursor: default;
1564
+ }
1565
+
1566
+ /* TODO: file FF bug to support ::-moz-selection:window-inactive
1567
+ so we can override the opaque grey background when the window is inactive;
1568
+ see https://bugzilla.mozilla.org/show_bug.cgi?id=706209 */
1569
+ ::selection { background: rgba(0,0,255,0.3); }
1570
+ ::-moz-selection { background: rgba(0,0,255,0.3); }
1571
+
1572
+ #errorWrapper {
1573
+ background: none repeat scroll 0 0 #FF5555;
1574
+ color: white;
1575
+ left: 0;
1576
+ position: absolute;
1577
+ right: 0;
1578
+ z-index: 1000;
1579
+ padding: 3px;
1580
+ font-size: 0.8em;
1581
+ }
1582
+ .loadingInProgress #errorWrapper {
1583
+ top: 37px;
1584
+ }
1585
+
1586
+ #errorMessageLeft {
1587
+ float: left;
1588
+ }
1589
+
1590
+ #errorMessageRight {
1591
+ float: right;
1592
+ }
1593
+
1594
+ #errorMoreInfo {
1595
+ background-color: #FFFFFF;
1596
+ color: black;
1597
+ padding: 3px;
1598
+ margin: 3px;
1599
+ width: 98%;
1600
+ }
1601
+
1602
+ .overlayButton {
1603
+ width: auto;
1604
+ margin: 3px 4px 2px 4px !important;
1605
+ padding: 2px 6px 3px 6px;
1606
+ }
1607
+
1608
+ #overlayContainer {
1609
+ display: table;
1610
+ position: absolute;
1611
+ width: 100%;
1612
+ height: 100%;
1613
+ background-color: hsla(0,0%,0%,.2);
1614
+ z-index: 40000;
1615
+ }
1616
+ #overlayContainer > * {
1617
+ overflow: auto;
1618
+ -webkit-overflow-scrolling: touch;
1619
+ }
1620
+
1621
+ #overlayContainer > .container {
1622
+ display: table-cell;
1623
+ vertical-align: middle;
1624
+ text-align: center;
1625
+ }
1626
+
1627
+ #overlayContainer > .container > .dialog {
1628
+ display: inline-block;
1629
+ padding: 15px;
1630
+ border-spacing: 4px;
1631
+ color: hsl(0,0%,85%);
1632
+ font-size: 12px;
1633
+ line-height: 14px;
1634
+ background-color: #474747; /* fallback */
1635
+ background-image: url(images/texture.png),
1636
+ linear-gradient(hsla(0,0%,32%,.99), hsla(0,0%,27%,.95));
1637
+ box-shadow: inset 1px 0 0 hsla(0,0%,100%,.08),
1638
+ inset 0 1px 1px hsla(0,0%,0%,.15),
1639
+ inset 0 -1px 0 hsla(0,0%,100%,.05),
1640
+ 0 1px 0 hsla(0,0%,0%,.15),
1641
+ 0 1px 1px hsla(0,0%,0%,.1);
1642
+ border: 1px solid hsla(0,0%,0%,.5);
1643
+ border-radius: 4px;
1644
+ box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
1645
+ }
1646
+
1647
+ .dialog > .row {
1648
+ display: table-row;
1649
+ }
1650
+
1651
+ .dialog > .row > * {
1652
+ display: table-cell;
1653
+ }
1654
+
1655
+ .dialog .toolbarField {
1656
+ margin: 5px 0;
1657
+ }
1658
+
1659
+ .dialog .separator {
1660
+ display: block;
1661
+ margin: 4px 0 4px 0;
1662
+ height: 1px;
1663
+ width: 100%;
1664
+ background-color: hsla(0,0%,0%,.5);
1665
+ box-shadow: 0 0 0 1px hsla(0,0%,100%,.08);
1666
+ }
1667
+
1668
+ .dialog .buttonRow {
1669
+ text-align: center;
1670
+ vertical-align: middle;
1671
+ }
1672
+
1673
+ .dialog :link {
1674
+ color: white;
1675
+ }
1676
+
1677
+ #passwordOverlay > .dialog {
1678
+ text-align: center;
1679
+ }
1680
+ #passwordOverlay .toolbarField {
1681
+ width: 200px;
1682
+ }
1683
+
1684
+ #documentPropertiesOverlay > .dialog {
1685
+ text-align: left;
1686
+ }
1687
+ #documentPropertiesOverlay .row > * {
1688
+ min-width: 100px;
1689
+ }
1690
+ html[dir='ltr'] #documentPropertiesOverlay .row > * {
1691
+ text-align: left;
1692
+ }
1693
+ html[dir='rtl'] #documentPropertiesOverlay .row > * {
1694
+ text-align: right;
1695
+ }
1696
+ #documentPropertiesOverlay .row > span {
1697
+ width: 125px;
1698
+ word-wrap: break-word;
1699
+ }
1700
+ #documentPropertiesOverlay .row > p {
1701
+ max-width: 225px;
1702
+ word-wrap: break-word;
1703
+ }
1704
+ #documentPropertiesOverlay .buttonRow {
1705
+ margin-top: 10px;
1706
+ }
1707
+
1708
+ .clearBoth {
1709
+ clear: both;
1710
+ }
1711
+
1712
+ .fileInput {
1713
+ background: white;
1714
+ color: black;
1715
+ margin-top: 5px;
1716
+ visibility: hidden;
1717
+ position: fixed;
1718
+ right: 0;
1719
+ top: 0;
1720
+ }
1721
+
1722
+ #PDFBug {
1723
+ background: none repeat scroll 0 0 white;
1724
+ border: 1px solid #666666;
1725
+ position: fixed;
1726
+ top: 32px;
1727
+ right: 0;
1728
+ bottom: 0;
1729
+ font-size: 10px;
1730
+ padding: 0;
1731
+ width: 300px;
1732
+ }
1733
+ #PDFBug .controls {
1734
+ background:#EEEEEE;
1735
+ border-bottom: 1px solid #666666;
1736
+ padding: 3px;
1737
+ }
1738
+ #PDFBug .panels {
1739
+ bottom: 0;
1740
+ left: 0;
1741
+ overflow: auto;
1742
+ -webkit-overflow-scrolling: touch;
1743
+ position: absolute;
1744
+ right: 0;
1745
+ top: 27px;
1746
+ }
1747
+ #PDFBug button.active {
1748
+ font-weight: bold;
1749
+ }
1750
+ .debuggerShowText {
1751
+ background: none repeat scroll 0 0 yellow;
1752
+ color: blue;
1753
+ }
1754
+ .debuggerHideText:hover {
1755
+ background: none repeat scroll 0 0 yellow;
1756
+ }
1757
+ #PDFBug .stats {
1758
+ font-family: courier;
1759
+ font-size: 10px;
1760
+ white-space: pre;
1761
+ }
1762
+ #PDFBug .stats .title {
1763
+ font-weight: bold;
1764
+ }
1765
+ #PDFBug table {
1766
+ font-size: 10px;
1767
+ }
1768
+
1769
+ #viewer.textLayer-visible .textLayer {
1770
+ opacity: 1.0;
1771
+ }
1772
+
1773
+ #viewer.textLayer-visible .canvasWrapper {
1774
+ background-color: rgb(128,255,128);
1775
+ }
1776
+
1777
+ #viewer.textLayer-visible .canvasWrapper canvas {
1778
+ mix-blend-mode: screen;
1779
+ }
1780
+
1781
+ #viewer.textLayer-visible .textLayer > div {
1782
+ background-color: rgba(255, 255, 0, 0.1);
1783
+ color: black;
1784
+ border: solid 1px rgba(255, 0, 0, 0.5);
1785
+ -webkit-box-sizing: border-box;
1786
+ -moz-box-sizing: border-box;
1787
+ box-sizing: border-box;
1788
+ }
1789
+
1790
+ #viewer.textLayer-hover .textLayer > div:hover {
1791
+ background-color: white;
1792
+ color: black;
1793
+ }
1794
+
1795
+ #viewer.textLayer-shadow .textLayer > div {
1796
+ background-color: rgba(255,255,255, .6);
1797
+ color: black;
1798
+ }
1799
+
1800
+ .grab-to-pan-grab {
1801
+ cursor: url("images/grab.cur"), move !important;
1802
+ cursor: -webkit-grab !important;
1803
+ cursor: -moz-grab !important;
1804
+ cursor: grab !important;
1805
+ }
1806
+ .grab-to-pan-grab *:not(input):not(textarea):not(button):not(select):not(:link) {
1807
+ cursor: inherit !important;
1808
+ }
1809
+ .grab-to-pan-grab:active,
1810
+ .grab-to-pan-grabbing {
1811
+ cursor: url("images/grabbing.cur"), move !important;
1812
+ cursor: -webkit-grabbing !important;
1813
+ cursor: -moz-grabbing !important;
1814
+ cursor: grabbing !important;
1815
+
1816
+ position: fixed;
1817
+ background: transparent;
1818
+ display: block;
1819
+ top: 0;
1820
+ left: 0;
1821
+ right: 0;
1822
+ bottom: 0;
1823
+ overflow: hidden;
1824
+ z-index: 50000; /* should be higher than anything else in PDF.js! */
1825
+ }
1826
+
1827
+ @page {
1828
+ margin: 0;
1829
+ }
1830
+
1831
+ #printContainer {
1832
+ display: none;
1833
+ }
1834
+
1835
+ @media screen and (min-resolution: 2dppx) {
1836
+ /* Rules for Retina screens */
1837
+ .toolbarButton::before {
1838
+ -webkit-transform: scale(0.5);
1839
+ transform: scale(0.5);
1840
+ top: -5px;
1841
+ }
1842
+
1843
+ .secondaryToolbarButton::before {
1844
+ -webkit-transform: scale(0.5);
1845
+ transform: scale(0.5);
1846
+ top: -4px;
1847
+ }
1848
+
1849
+ html[dir='ltr'] .toolbarButton::before,
1850
+ html[dir='rtl'] .toolbarButton::before {
1851
+ left: -1px;
1852
+ }
1853
+
1854
+ html[dir='ltr'] .secondaryToolbarButton::before {
1855
+ left: -2px;
1856
+ }
1857
+ html[dir='rtl'] .secondaryToolbarButton::before {
1858
+ left: 186px;
1859
+ }
1860
+
1861
+ .toolbarField.pageNumber.visiblePageIsLoading,
1862
+ #findInput[data-status="pending"] {
1863
+ background-image: url(images/loading-small@2x.png);
1864
+ background-size: 16px 17px;
1865
+ }
1866
+
1867
+ .dropdownToolbarButton {
1868
+ background: url(images/toolbarButton-menuArrows@2x.png) no-repeat;
1869
+ background-size: 7px 16px;
1870
+ }
1871
+
1872
+ html[dir='ltr'] .toolbarButton#sidebarToggle::before {
1873
+ content: url(images/toolbarButton-sidebarToggle@2x.png);
1874
+ }
1875
+ html[dir='rtl'] .toolbarButton#sidebarToggle::before {
1876
+ content: url(images/toolbarButton-sidebarToggle-rtl@2x.png);
1877
+ }
1878
+
1879
+ html[dir='ltr'] .toolbarButton#secondaryToolbarToggle::before {
1880
+ content: url(images/toolbarButton-secondaryToolbarToggle@2x.png);
1881
+ }
1882
+ html[dir='rtl'] .toolbarButton#secondaryToolbarToggle::before {
1883
+ content: url(images/toolbarButton-secondaryToolbarToggle-rtl@2x.png);
1884
+ }
1885
+
1886
+ html[dir='ltr'] .toolbarButton.findPrevious::before {
1887
+ content: url(images/findbarButton-previous@2x.png);
1888
+ }
1889
+ html[dir='rtl'] .toolbarButton.findPrevious::before {
1890
+ content: url(images/findbarButton-previous-rtl@2x.png);
1891
+ }
1892
+
1893
+ html[dir='ltr'] .toolbarButton.findNext::before {
1894
+ content: url(images/findbarButton-next@2x.png);
1895
+ }
1896
+ html[dir='rtl'] .toolbarButton.findNext::before {
1897
+ content: url(images/findbarButton-next-rtl@2x.png);
1898
+ }
1899
+
1900
+ html[dir='ltr'] .toolbarButton.pageUp::before {
1901
+ content: url(images/toolbarButton-pageUp@2x.png);
1902
+ }
1903
+ html[dir='rtl'] .toolbarButton.pageUp::before {
1904
+ content: url(images/toolbarButton-pageUp-rtl@2x.png);
1905
+ }
1906
+
1907
+ html[dir='ltr'] .toolbarButton.pageDown::before {
1908
+ content: url(images/toolbarButton-pageDown@2x.png);
1909
+ }
1910
+ html[dir='rtl'] .toolbarButton.pageDown::before {
1911
+ content: url(images/toolbarButton-pageDown-rtl@2x.png);
1912
+ }
1913
+
1914
+ .toolbarButton.zoomIn::before {
1915
+ content: url(images/toolbarButton-zoomIn@2x.png);
1916
+ }
1917
+
1918
+ .toolbarButton.zoomOut::before {
1919
+ content: url(images/toolbarButton-zoomOut@2x.png);
1920
+ }
1921
+
1922
+ .toolbarButton.presentationMode::before,
1923
+ .secondaryToolbarButton.presentationMode::before {
1924
+ content: url(images/toolbarButton-presentationMode@2x.png);
1925
+ }
1926
+
1927
+ .toolbarButton.print::before,
1928
+ .secondaryToolbarButton.print::before {
1929
+ content: url(images/toolbarButton-print@2x.png);
1930
+ }
1931
+
1932
+ .toolbarButton.openFile::before,
1933
+ .secondaryToolbarButton.openFile::before {
1934
+ content: url(images/toolbarButton-openFile@2x.png);
1935
+ }
1936
+
1937
+ .toolbarButton.download::before,
1938
+ .secondaryToolbarButton.download::before {
1939
+ content: url(images/toolbarButton-download@2x.png);
1940
+ }
1941
+
1942
+ .toolbarButton.bookmark::before,
1943
+ .secondaryToolbarButton.bookmark::before {
1944
+ content: url(images/toolbarButton-bookmark@2x.png);
1945
+ }
1946
+
1947
+ #viewThumbnail.toolbarButton::before {
1948
+ content: url(images/toolbarButton-viewThumbnail@2x.png);
1949
+ }
1950
+
1951
+ html[dir="ltr"] #viewOutline.toolbarButton::before {
1952
+ content: url(images/toolbarButton-viewOutline@2x.png);
1953
+ }
1954
+ html[dir="rtl"] #viewOutline.toolbarButton::before {
1955
+ content: url(images/toolbarButton-viewOutline-rtl@2x.png);
1956
+ }
1957
+
1958
+ #viewAttachments.toolbarButton::before {
1959
+ content: url(images/toolbarButton-viewAttachments@2x.png);
1960
+ }
1961
+
1962
+ #viewFind.toolbarButton::before {
1963
+ content: url(images/toolbarButton-search@2x.png);
1964
+ }
1965
+
1966
+ .secondaryToolbarButton.firstPage::before {
1967
+ content: url(images/secondaryToolbarButton-firstPage@2x.png);
1968
+ }
1969
+
1970
+ .secondaryToolbarButton.lastPage::before {
1971
+ content: url(images/secondaryToolbarButton-lastPage@2x.png);
1972
+ }
1973
+
1974
+ .secondaryToolbarButton.rotateCcw::before {
1975
+ content: url(images/secondaryToolbarButton-rotateCcw@2x.png);
1976
+ }
1977
+
1978
+ .secondaryToolbarButton.rotateCw::before {
1979
+ content: url(images/secondaryToolbarButton-rotateCw@2x.png);
1980
+ }
1981
+
1982
+ .secondaryToolbarButton.handTool::before {
1983
+ content: url(images/secondaryToolbarButton-handTool@2x.png);
1984
+ }
1985
+
1986
+ .secondaryToolbarButton.documentProperties::before {
1987
+ content: url(images/secondaryToolbarButton-documentProperties@2x.png);
1988
+ }
1989
+
1990
+ .outlineItemToggler::before {
1991
+ -webkit-transform: scale(0.5);
1992
+ transform: scale(0.5);
1993
+ top: -1px;
1994
+ content: url(images/treeitem-expanded@2x.png);
1995
+ }
1996
+ html[dir='ltr'] .outlineItemToggler.outlineItemsHidden::before {
1997
+ content: url(images/treeitem-collapsed@2x.png);
1998
+ }
1999
+ html[dir='rtl'] .outlineItemToggler.outlineItemsHidden::before {
2000
+ content: url(images/treeitem-collapsed-rtl@2x.png);
2001
+ }
2002
+ html[dir='ltr'] .outlineItemToggler::before {
2003
+ right: 0;
2004
+ }
2005
+ html[dir='rtl'] .outlineItemToggler::before {
2006
+ left: 0;
2007
+ }
2008
+ }
2009
+
2010
+ @media print {
2011
+ /* General rules for printing. */
2012
+ body {
2013
+ background: transparent none;
2014
+ }
2015
+
2016
+ /* Rules for browsers that don't support mozPrintCallback. */
2017
+ #sidebarContainer, #secondaryToolbar, .toolbar, #loadingBox, #errorWrapper, .textLayer {
2018
+ display: none;
2019
+ }
2020
+ #viewerContainer {
2021
+ overflow: visible;
2022
+ }
2023
+
2024
+ #mainContainer, #viewerContainer, .page, .page canvas {
2025
+ position: static;
2026
+ padding: 0;
2027
+ margin: 0;
2028
+ }
2029
+
2030
+ .page {
2031
+ float: left;
2032
+ display: none;
2033
+ border: none;
2034
+ box-shadow: none;
2035
+ background-clip: content-box;
2036
+ background-color: white;
2037
+ }
2038
+
2039
+ .page[data-loaded] {
2040
+ display: block;
2041
+ }
2042
+
2043
+ .fileInput {
2044
+ display: none;
2045
+ }
2046
+
2047
+ /* Rules for browsers that support mozPrintCallback */
2048
+ body[data-mozPrintCallback] #outerContainer {
2049
+ display: none;
2050
+ }
2051
+ body[data-mozPrintCallback] #printContainer {
2052
+ display: block;
2053
+ }
2054
+ #printContainer {
2055
+ height: 100%;
2056
+ }
2057
+ /* wrapper around (scaled) print canvas elements */
2058
+ #printContainer > div {
2059
+ position: relative;
2060
+ top: 0;
2061
+ left: 0;
2062
+ height: 100%;
2063
+ overflow: hidden;
2064
+ }
2065
+ #printContainer canvas {
2066
+ display: block;
2067
+ }
2068
+ }
2069
+
2070
+ .visibleLargeView,
2071
+ .visibleMediumView,
2072
+ .visibleSmallView {
2073
+ display: none;
2074
+ }
2075
+
2076
+ @media all and (max-width: 960px) {
2077
+ html[dir='ltr'] #outerContainer.sidebarMoving .outerCenter,
2078
+ html[dir='ltr'] #outerContainer.sidebarOpen .outerCenter {
2079
+ float: left;
2080
+ left: 205px;
2081
+ }
2082
+ html[dir='rtl'] #outerContainer.sidebarMoving .outerCenter,
2083
+ html[dir='rtl'] #outerContainer.sidebarOpen .outerCenter {
2084
+ float: right;
2085
+ right: 205px;
2086
+ }
2087
+ }
2088
+
2089
+ @media all and (max-width: 900px) {
2090
+ .sidebarOpen .hiddenLargeView {
2091
+ display: none;
2092
+ }
2093
+ .sidebarOpen .visibleLargeView {
2094
+ display: inherit;
2095
+ }
2096
+ }
2097
+
2098
+ @media all and (max-width: 860px) {
2099
+ .sidebarOpen .hiddenMediumView {
2100
+ display: none;
2101
+ }
2102
+ .sidebarOpen .visibleMediumView {
2103
+ display: inherit;
2104
+ }
2105
+ }
2106
+
2107
+ @media all and (max-width: 770px) {
2108
+ #sidebarContainer {
2109
+ top: 32px;
2110
+ z-index: 100;
2111
+ }
2112
+ .loadingInProgress #sidebarContainer {
2113
+ top: 37px;
2114
+ }
2115
+ #sidebarContent {
2116
+ top: 32px;
2117
+ background-color: hsla(0,0%,0%,.7);
2118
+ }
2119
+
2120
+ html[dir='ltr'] #outerContainer.sidebarOpen > #mainContainer {
2121
+ left: 0px;
2122
+ }
2123
+ html[dir='rtl'] #outerContainer.sidebarOpen > #mainContainer {
2124
+ right: 0px;
2125
+ }
2126
+
2127
+ html[dir='ltr'] .outerCenter {
2128
+ float: left;
2129
+ left: 205px;
2130
+ }
2131
+ html[dir='rtl'] .outerCenter {
2132
+ float: right;
2133
+ right: 205px;
2134
+ }
2135
+
2136
+ #outerContainer .hiddenLargeView,
2137
+ #outerContainer .hiddenMediumView {
2138
+ display: inherit;
2139
+ }
2140
+ #outerContainer .visibleLargeView,
2141
+ #outerContainer .visibleMediumView {
2142
+ display: none;
2143
+ }
2144
+ }
2145
+
2146
+ @media all and (max-width: 700px) {
2147
+ #outerContainer .hiddenLargeView {
2148
+ display: none;
2149
+ }
2150
+ #outerContainer .visibleLargeView {
2151
+ display: inherit;
2152
+ }
2153
+ }
2154
+
2155
+ @media all and (max-width: 660px) {
2156
+ #outerContainer .hiddenMediumView {
2157
+ display: none;
2158
+ }
2159
+ #outerContainer .visibleMediumView {
2160
+ display: inherit;
2161
+ }
2162
+ }
2163
+
2164
+ @media all and (max-width: 600px) {
2165
+ .hiddenSmallView {
2166
+ display: none;
2167
+ }
2168
+ .visibleSmallView {
2169
+ display: inherit;
2170
+ }
2171
+ html[dir='ltr'] #outerContainer.sidebarMoving .outerCenter,
2172
+ html[dir='ltr'] #outerContainer.sidebarOpen .outerCenter,
2173
+ html[dir='ltr'] .outerCenter {
2174
+ left: 156px;
2175
+ }
2176
+ html[dir='rtl'] #outerContainer.sidebarMoving .outerCenter,
2177
+ html[dir='rtl'] #outerContainer.sidebarOpen .outerCenter,
2178
+ html[dir='rtl'] .outerCenter {
2179
+ right: 156px;
2180
+ }
2181
+ .toolbarButtonSpacer {
2182
+ width: 0;
2183
+ }
2184
+ }
2185
+
2186
+ @media all and (max-width: 510px) {
2187
+ #scaleSelectContainer, #pageNumberLabel {
2188
+ display: none;
2189
+ }
2190
+ }