pdfh5.css 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. .pdfjs {
  2. width: 100%;
  3. height: 100%;
  4. overflow: hidden;
  5. background: #fff;
  6. position: relative;
  7. }
  8. .pdfjs .viewerContainer {
  9. position: relative;
  10. width: 100%;
  11. height: 100%;
  12. overflow: auto;
  13. -webkit-overflow-scrolling: touch;
  14. transition: all .3s;
  15. }
  16. .pdfjs .pdfViewer {
  17. position: relative;
  18. top: 0;
  19. left: 0;
  20. padding: 10px 8px;
  21. }
  22. .pdfjs .pdfViewer .pageContainer {
  23. width: 100%;
  24. margin: 0px auto 8px auto;
  25. position: relative;
  26. overflow: visible;
  27. -webkit-box-shadow: darkgrey 0px 1px 3px 0px;
  28. -moz-box-shadow: darkgrey 0px 1px 3px 0px;
  29. box-shadow: darkgrey 0px 1px 3px 0px;
  30. background-color: white;
  31. box-sizing: border-box;
  32. }
  33. .pdfjs .pdfViewer .pageContainer img {
  34. width: 100%;
  35. height: 100%;
  36. position: relative;
  37. z-index: 100;
  38. /* user-select:none; */
  39. }
  40. .pdfjs .pageNum {
  41. padding: 0px 7px;
  42. height: 26px;
  43. position: absolute;
  44. top: 20px;
  45. left: 15px;
  46. z-index: 997;
  47. border-radius: 8px;
  48. transition: all .3s;
  49. display: none;
  50. }
  51. .pdfjs .pageNum-bg,
  52. .pdfjs .pageNum-num {
  53. width: 100%;
  54. height: 100%;
  55. line-height: 26px;
  56. text-align: center;
  57. position: absolute;
  58. top: 0px;
  59. left: 0px;
  60. color: #fff;
  61. border-radius: 8px;
  62. font-size: 16px;
  63. }
  64. .pdfjs .pageNum-bg {
  65. background: rgba(0, 0, 0, 0.5);
  66. }
  67. .pdfjs .pageNum-num {
  68. position: relative;
  69. }
  70. .pdfjs .pageNum span {
  71. color: #fff;
  72. font-size: 16px;
  73. }
  74. .pdfjs .loadingBar {
  75. position: absolute;
  76. width: 100%;
  77. z-index: 99;
  78. background: #fff !important;
  79. height: 4px;
  80. top: 0px;
  81. left: 0px;
  82. transition: all .3s;
  83. }
  84. .pdfjs .loadingBar .progress {
  85. background: #fff !important;
  86. position: absolute;
  87. top: 0;
  88. left: 0;
  89. width: 0%;
  90. height: 100%;
  91. overflow: hidden;
  92. transition: width 200ms;
  93. }
  94. .pdfjs .loadingBar .progress .glimmer {
  95. position: absolute;
  96. top: 0;
  97. left: 0;
  98. height: 100%;
  99. width: calc(100% + 150px);
  100. background: #7bcf34;
  101. }
  102. .pdfjs .backTop {
  103. width: 50px;
  104. height: 50px;
  105. line-height: 50px;
  106. text-align: center;
  107. position: absolute;
  108. bottom: 90px;
  109. right: 15px;
  110. font-size: 18px;
  111. z-index: 999;
  112. border-radius: 50%;
  113. background: rgba(0, 0, 0, 0.4) url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsSAAALEgHS3X78AAAA+klEQVRYw+2WUQ2DMBCG2TIBSJiESkACEpCAg83BcLBJmIQ5gClgDpiDby9tciGkoaUtZOESXuhdv7+X/pdm2dYC6IgX7Zh3THy+w9oN/rMASqBcE26iSA1XwCAEDIBKBc8F/KE/gB7IU8BbDXyJf2Z2tFFFAE8N6iRIi/jotXssuGn1FzhPrCu9BtCEhlcCrix5hbiYVSh46bKpELvcniO71Q51zWJ7ju3mUe9vzym7eR7Az57CbohTXBzAt9GknG9PoLY8KK4z6htLfeXTTXMZAfoZuWYWKC+YZWMAQuWZSP0k2wXsAnYB2xNwci1wGTKhO/COlLtu/ABVfTFsxwwYRgAAAABJRU5ErkJggg==) no-repeat center;
  114. background-size: 50% 50%;
  115. transition: all .3s;
  116. display: none;
  117. }
  118. .pdfjs .loadEffect {
  119. width: 100px;
  120. height: 100px;
  121. position: absolute;
  122. top: 50%;
  123. left: 50%;
  124. margin-top: -50px;
  125. margin-left: -50px;
  126. z-index: 99;
  127. background: url(data:image/gif;base64,R0lGODlhgACAAKIAAP///93d3bu7u5mZmQAA/wAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFBQAEACwCAAIAfAB8AAAD/0i63P4wygYqmDjrzbtflvWNZGliYXiubKuloivPLlzReD7al+7/Eh5wSFQIi8hHYBkwHUmD6CD5YTJLz49USuVYraRsZ7vtar7XnQ1Kjpoz6LRHvGlz35O4nEPP2O94EnpNc2sef1OBGIOFMId/inB6jSmPdpGScR19EoiYmZobnBCIiZ95k6KGGp6ni4wvqxilrqBfqo6skLW2YBmjDa28r6Eosp27w8Rov8ekycqoqUHODrTRvXsQwArC2NLF29UM19/LtxO5yJd4Au4CK7DUNxPebG4e7+8n8iv2WmQ66BtoYpo/dvfacBjIkITBE9DGlMvAsOIIZjIUAixliv9ixYZVtLUos5GjwI8gzc3iCGghypQqrbFsme8lwZgLZtIcYfNmTJ34WPTUZw5oRxdD9w0z6iOpO15MgTh1BTTJUKos39jE+o/KS64IFVmsFfYT0aU7capdy7at27dw48qdS7eu3bt480I02vUbX2F/JxYNDImw4GiGE/P9qbhxVpWOI/eFKtlNZbWXuzlmG1mv58+gQ4seTbq06dOoU6vGQZJy0FNlMcV+czhQ7SQmYd8eMhPs5BxVdfcGEtV3buDBXQ+fURxx8oM6MT9P+Fh6dOrH2zavc13u9JXVJb520Vp8dvC76wXMuN5Sepm/1WtkEZHDefnzR9Qvsd9+/wi8+en3X0ntYVcSdAE+UN4zs7ln24CaLagghIxBaGF8kFGoIYV+Ybghh841GIyI5ICIFoklJsigihmimJOLEbLYIYwxSgigiZ+8l2KB+Ml4oo/w8dijjcrouCORKwIpnJ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O/at3+f7fICBdzsChgJGeoWHhkV0P4yMRG1BkYeOeECWl5hXQ5uNIAOjA1KgiKKko1CnqBmqqk+nIbCkTq20taVNs7m1vKAnurtLvb6wTMbHsUq4wrrFwSzDzcrLtknW16tI2tvERt6pv0fi48jh5h/U6Zs77EXSN/BE8jP09ZFA+PmhP/xvJgAMSGBgQINvEK5ReIZhQ3QEMTBLAAAh+QQFBQAEACwCAB8AMABXAAAD50i6DA4syklre87qTbHn4OaNYSmNqKmiqVqyrcvBsazRpH3jmC7yD98OCBF2iEXjBKmsAJsWHDQKmw571l8my+16v+CweEwum8+hgHrNbrvbtrd8znbR73MVfg838f8BeoB7doN0cYZvaIuMjY6PkJGSk2gClgJml5pjmp2YYJ6dX6GeXaShWaeoVqqlU62ir7CXqbOWrLafsrNctjIDwAMWvC7BwRWtNsbGFKc+y8fNsTrQ0dK3QtXAYtrCYd3eYN3c49/a5NVj5eLn5u3s6e7x8NDo9fbL+Mzy9/T5+tvUzdN3Zp+GBAAh+QQJBQAEACwCAAIAfAB8AAAD/0i63P4wykmrvTjrzbv/YCiOZGmeaKqubOu+cCzPdArcQK2TOL7/nl4PSMwIfcUk5YhUOh3M5nNKiOaoWCuWqt1Ou16l9RpOgsvEMdocXbOZ7nQ7DjzTaeq7zq6P5fszfIASAYUBIYKDDoaGIImKC4ySH3OQEJKYHZWWi5iZG0ecEZ6eHEOio6SfqCaqpaytrpOwJLKztCO2jLi1uoW8Ir6/wCHCxMG2x7muysukzb230M6H09bX2Nna29zd3t/g4cAC5OXm5+jn3Ons7eba7vHt2fL16tj2+QL0+vXw/e7WAUwnrqDBgwgTKlzIsKHDh2gGSBwAccHEixAvaqTYcFCjRoYeNyoM6REhyZIHT4o0qPIjy5YTTcKUmHImx5cwE85cmJPnSYckK66sSAAj0aNIkypdyrSp06dQo0qdSrWq1atYs2rdyrWr169gwxZJAAA7) no-repeat center;
  128. background-size: 30% 30%;
  129. transition: all .3s;
  130. }
  131. .pdfjs .pdfViewer .pageContainer img.pdfLogo{
  132. /* user-select:none; */
  133. position:absolute;
  134. z-index: 101;
  135. }
  136. .pdfjs .textLayer {
  137. position: absolute;
  138. left: 0;
  139. top: 0;
  140. right: 0;
  141. bottom: 0;
  142. overflow: hidden;
  143. opacity: 0.2;
  144. line-height: 1.0;
  145. z-index: 101;
  146. }
  147. .pdfjs .textLayer > span {
  148. color: transparent;
  149. position: absolute;
  150. white-space: pre;
  151. cursor: text;
  152. transform-origin: 0% 0%;
  153. transform: translate(-99px, -80px) scaleX(1) !important;
  154. }
  155. .pdfjs .textLayer .highlight {
  156. margin: -1px;
  157. padding: 1px;
  158. background-color: rgba(180, 0, 170, 1);
  159. border-radius: 4px;
  160. }
  161. .pdfjs .textLayer .highlight.begin {
  162. border-radius: 4px 0px 0px 4px;
  163. }
  164. .pdfjs .textLayer .highlight.end {
  165. border-radius: 0px 4px 4px 0px;
  166. }
  167. .pdfjs .textLayer .highlight.middle {
  168. border-radius: 0px;
  169. }
  170. .pdfjs .textLayer .highlight.selected {
  171. background-color: rgba(0, 100, 0, 1);
  172. }
  173. .pdfjs .textLayer ::selection {
  174. background: rgba(0, 0, 255, 1);
  175. }
  176. .pdfjs .textLayer .endOfContent {
  177. display: block;
  178. position: absolute;
  179. left: 0px;
  180. top: 100%;
  181. right: 0px;
  182. bottom: 0px;
  183. z-index: -1;
  184. cursor: default;
  185. /* user-select: none; */
  186. }
  187. .pdfjs .textLayer .endOfContent.active {
  188. top: 0px;
  189. }