0
0

pdfh5.css 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. html,body {
  2. width:100%;
  3. height:100%;
  4. }
  5. .viewerContainer {
  6. position: relative;
  7. width: 100%;
  8. height: 100%;
  9. overflow: auto;
  10. -webkit-overflow-scrolling: touch;
  11. }
  12. .pdfViewer {
  13. position: relative;
  14. top: 0;
  15. left: 0;
  16. padding: 10px 8px;
  17. }
  18. .pdfViewer .canvasWrapper {
  19. width: 100%;
  20. overflow: hidden;
  21. }
  22. .pdfViewer .page {
  23. width: 100%;
  24. margin: 0px auto 8px auto;
  25. position: relative;
  26. overflow: visible;
  27. -webkit-box-shadow: darkgrey 0px 2px 4px 1px;
  28. -moz-box-shadow: darkgrey 0px 2px 4px 1px;
  29. box-shadow: #888 0px 2px 4px 1px;
  30. background-color: white;
  31. box-sizing: border-box;
  32. }
  33. .pdfViewer .page .box-shadow {
  34. position: absolute;
  35. top: 0;
  36. left: 0;
  37. width: 100%;
  38. height: 100%;
  39. background: rgba(0, 0, 0, 0.2);
  40. z-index: 1;
  41. }
  42. .pdfViewer .page .canvasWrapper {
  43. position: relative;
  44. z-index: 2;
  45. }
  46. .pdfViewer .page img {
  47. width: 100%;
  48. height: 100%;
  49. margin: 0;
  50. display: block;
  51. }
  52. .pageNum {
  53. padding: 0px 7px;
  54. height: 26px;
  55. position: absolute;
  56. top: 20px;
  57. left: 15px;
  58. z-index: 997;
  59. border-radius: 8px;
  60. display: none;
  61. }
  62. .pageNum-bg,
  63. .pageNum-num {
  64. width: 100%;
  65. height: 100%;
  66. line-height: 26px;
  67. text-align: center;
  68. position: absolute;
  69. top: 0px;
  70. left: 0px;
  71. color: #fff;
  72. border-radius: 8px;
  73. font-size: 16px;
  74. }
  75. .pageNum-bg {
  76. background: rgba(0, 0, 0, 0.5);
  77. }
  78. .pageNum-num {
  79. position: relative;
  80. }
  81. .pageNum span {
  82. color: #fff;
  83. font-size: 16px;
  84. }
  85. .loadingBar {
  86. position: absolute;
  87. width: 100%;
  88. z-index: 99;
  89. background: #fff !important;
  90. height: 4px;
  91. top: 0px;
  92. left: 0px;
  93. }
  94. .loadingBar .progress {
  95. background: #fff !important;
  96. position: absolute;
  97. top: 0;
  98. left: 0;
  99. width: 0%;
  100. height: 100%;
  101. overflow: hidden;
  102. transition: width 200ms;
  103. }
  104. .loadingBar .progress .glimmer {
  105. position: absolute;
  106. top: 0;
  107. left: 0;
  108. height: 100%;
  109. width: calc(100% + 150px);
  110. background: #7bcf34;
  111. }
  112. .backTop {
  113. width: 50px;
  114. height: 50px;
  115. line-height: 50px;
  116. text-align: center;
  117. position: absolute;
  118. bottom: 90px;
  119. right: 15px;
  120. font-size: 18px;
  121. z-index: 99;
  122. border-radius: 50%;
  123. 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;
  124. background-size: 50% 50%;
  125. display: none;
  126. }
  127. .loadEffect {
  128. width: 100px;
  129. height: 100px;
  130. position: absolute;
  131. top: 50%;
  132. left: 50%;
  133. margin-top: -50px;
  134. margin-left: -50px;
  135. z-index: 99;
  136. 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/w8dijjcrouCORKwIpnJIjMnkkksalNeR4fuBIm5UEYImhIlsGCeWNNJphpJdSTlkml1jWeOY6TnaRp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