document.css 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299
  1. /* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab filetype=css: */
  2. /*!
  3. * Base CSS for pdf2htmlEX
  4. * Copyright 2012,2013 Lu Wang <coolwanglu@gmail.com>
  5. * https://github.com/coolwanglu/pdf2htmlEX/blob/master/share/LICENSE
  6. */
  7. /* Part 1: Web Page Layout: Free to modify, except for a few of them which are required by pdf2htmlEX.js, see the comments */
  8. #sidebar { /* Sidebar */
  9. position:absolute;
  10. top:0;
  11. left:0;
  12. bottom:0;
  13. width:250px;
  14. padding:0;
  15. margin:0px;
  16. overflow:auto;
  17. }
  18. #page-container { /* PDF container */
  19. position:absolute; /* required for calculating relative positions of pages in pdf2htmlEX.js */
  20. top:0;
  21. left:0px;
  22. margin:0;
  23. padding:0;
  24. border:0; /* required for lazy page loading in pdf2htmlEX.js (page visibility test) */
  25. }
  26. @media screen {
  27. /* for sidebar */
  28. #sidebar.opened + #page-container { left:250px; }
  29. #page-container {
  30. /* `bottom' and `right' are required for lazy page loading in pdf2htmlEX.js (page visibility test)
  31. * alternatively you may set width and height
  32. */
  33. bottom:0;
  34. right:0;
  35. overflow:auto;
  36. }
  37. .loading-indicator {
  38. display:none;
  39. }
  40. .loading-indicator.active {
  41. display:block;
  42. position:absolute;
  43. width:64px;
  44. height:64px;
  45. top:50%;
  46. left:50%;
  47. margin-top:-32px;
  48. margin-left:-32px;
  49. }
  50. .loading-indicator img {
  51. position:absolute;
  52. top:0;
  53. left:0;
  54. bottom:0;
  55. right:0;
  56. }
  57. }
  58. @media print {
  59. @page { margin:0; }
  60. html { margin:0; }
  61. body {
  62. margin:0;
  63. -webkit-print-color-adjust:exact; /* enable printing background images for WebKit */
  64. }
  65. #sidebar { display:none; }
  66. #page-container {
  67. width:auto;
  68. height:auto;
  69. overflow:visible;
  70. background-color:transparent;
  71. }
  72. .d { display:none; }
  73. }
  74. /* Part 2: Page Elements: Modify with caution
  75. * The followings are base classes, some of which are meant to be override by PDF specific classes
  76. * So do not increase the specificity (e.g. ".classname" -> "#page-container .classname")
  77. */
  78. .pf { /* page */
  79. position:relative;
  80. background-color:white;
  81. overflow: hidden;
  82. margin:0;
  83. border:0; /* required by pdf2htmlEX.js for page visibility test */
  84. }
  85. .pc { /* content of a page */
  86. position:absolute;
  87. border:0;
  88. padding:0;
  89. margin:0;
  90. top:0;
  91. left:0;
  92. width:100%;
  93. height:100%;
  94. overflow:hidden;
  95. display:block;
  96. /* set transform-origin for scaling */
  97. transform-origin:0% 0%;
  98. -ms-transform-origin:0% 0%;
  99. -webkit-transform-origin:0% 0%;
  100. }
  101. .pc.opened { /* used by pdf2htmlEX.js, to show/hide pages */
  102. display:block;
  103. }
  104. .bf { /* images that occupies the whole page */
  105. position:absolute;
  106. border:0;
  107. margin:0;
  108. top:0;
  109. bottom:0;
  110. width:100%;
  111. height:100%;
  112. -ms-user-select:none;
  113. -moz-user-select:none;
  114. -webkit-user-select:none;
  115. user-select:none;
  116. }
  117. .bi { /* images that cover only a part of the page */
  118. position:absolute;
  119. border:0;
  120. margin:0;
  121. -ms-user-select:none;
  122. -moz-user-select:none;
  123. -webkit-user-select:none;
  124. user-select:none;
  125. }
  126. @media print {
  127. .pf {
  128. margin:0;
  129. box-shadow:none;
  130. page-break-after:always;
  131. page-break-inside:avoid;
  132. }
  133. @-moz-document url-prefix() {
  134. /* fix page truncation for FireFox */
  135. .pf {
  136. overflow:visible;
  137. border:1px solid #FFFFFF;
  138. }
  139. .pc {overflow:visible;}
  140. }
  141. }
  142. .c { /* clip box */
  143. position:absolute;
  144. border:0;
  145. padding:0;
  146. margin:0;
  147. overflow:hidden;
  148. display:block;
  149. }
  150. .t { /* text line */
  151. position:absolute;
  152. white-space:pre;
  153. font-size:1px;
  154. transform-origin:0% 100%;
  155. -ms-transform-origin:0% 100%;
  156. -webkit-transform-origin:0% 100%;
  157. unicode-bidi:bidi-override;/* For rtl languages, e.g. Hebrew, we don't want the default Unicode behaviour */
  158. -moz-font-feature-settings:"liga" 0;/* We don't want Firefox to recognize ligatures */
  159. }
  160. .t:after { /* webkit #35443 */
  161. content: '';
  162. }
  163. .t:before { /* Workaround Blink(up to 41)/Webkit bug of word-spacing with leading spaces (chromium #404444 and pdf2htmlEX #412) */
  164. content: '';
  165. display: inline-block;
  166. }
  167. .t span { /* text blocks within a line */
  168. /* Blink(up to 41)/Webkit have bug with negative word-spacing and inline-block (pdf2htmlEX #416), so keep normal span inline. */
  169. position:relative;
  170. unicode-bidi:bidi-override; /* For rtl languages, e.g. Hebrew, we don't want the default Unicode behaviour */
  171. }
  172. ._ { /* text shift */
  173. /* Blink(up to 41)/Webkit have bug with inline element, continuous spaces and word-spacing. Workaround by inline-block. */
  174. display: inline-block;
  175. color: transparent;
  176. z-index: -1;
  177. }
  178. /* selection background should not be opaque, for fallback mode */
  179. ::selection{
  180. background: rgba(255,255,255,0.4);
  181. }
  182. ::-moz-selection{
  183. background: rgba(255,255,255,0.4);
  184. }
  185. .pi { /* info for Javascript */
  186. display:none;
  187. }
  188. .l { /* annotation links */
  189. }
  190. /* transparent color - WebKit */
  191. .d { /* css drawing */
  192. position:absolute;
  193. transform-origin:0% 100%;
  194. -ms-transform-origin:0% 100%;
  195. -webkit-transform-origin:0% 100%;
  196. }
  197. /* for the forms */
  198. .it {
  199. border: none;
  200. background-color: rgba(255, 255, 255, 0.0);
  201. }
  202. .ir:hover {
  203. cursor: pointer;
  204. }
  205. /* Base CSS END */
  206. /* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab filetype=css: */
  207. /*!
  208. * Fancy styles for pdf2htmlEX
  209. * Copyright 2012,2013 Lu Wang <coolwanglu@gmail.com>
  210. * https://github.com/coolwanglu/pdf2htmlEX/blob/master/share/LICENSE
  211. */
  212. @keyframes fadein { from { opacity:0;} to { opacity:1;} }
  213. @-webkit-keyframes fadein { from { opacity:0;} to { opacity:1;} }
  214. @keyframes swing {
  215. 0% { transform: rotate(0deg); }
  216. 10% { transform: rotate(0deg); }
  217. 90% { transform: rotate(720deg); }
  218. 100%{ transform: rotate(720deg); }
  219. }
  220. @-webkit-keyframes swing {
  221. 0% { -webkit-transform: rotate(0deg); }
  222. 10% { -webkit-transform: rotate(0deg); }
  223. 90% { -webkit-transform: rotate(720deg); }
  224. 100%{ -webkit-transform: rotate(720deg); }
  225. }
  226. @media screen {
  227. #sidebar {
  228. background-color:#2f3236;
  229. /* modified from http://philbit.com/svgpatterns/#crossstripes */
  230. background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0IiBoZWlnaHQ9IjQiPgo8cmVjdCB3aWR0aD0iNCIgaGVpZ2h0PSI0IiBmaWxsPSIjNDAzYzNmIj48L3JlY3Q+CjxwYXRoIGQ9Ik0wIDBMNCA0Wk00IDBMMCA0WiIgc3Ryb2tlLXdpZHRoPSIxIiBzdHJva2U9IiMxZTI5MmQiPjwvcGF0aD4KPC9zdmc+");
  231. }
  232. #outline {
  233. font-family:Georgia,Times,"Times New Roman",serif;
  234. font-size:13px;
  235. margin:2em 1em;
  236. }
  237. #outline ul {
  238. padding:0;
  239. }
  240. #outline li {
  241. list-style-type:none;
  242. margin:1em 0;
  243. }
  244. #outline li > ul {
  245. margin-left: 1em;
  246. }
  247. #outline a,
  248. #outline a:visited,
  249. #outline a:hover,
  250. #outline a:active {
  251. line-height:1.2;
  252. color:#e8e8e8;
  253. text-overflow:ellipsis;
  254. white-space:nowrap;
  255. text-decoration:none;
  256. display:block;
  257. overflow:hidden;
  258. outline:0;
  259. }
  260. #outline a:hover {
  261. color:rgb(0,204,255);
  262. }
  263. #page-container {
  264. background-color:#9e9e9e;
  265. /* http://philbit.com/svgpatterns/#thinstripes */
  266. background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1IiBoZWlnaHQ9IjUiPgo8cmVjdCB3aWR0aD0iNSIgaGVpZ2h0PSI1IiBmaWxsPSIjOWU5ZTllIj48L3JlY3Q+CjxwYXRoIGQ9Ik0wIDVMNSAwWk02IDRMNCA2Wk0tMSAxTDEgLTFaIiBzdHJva2U9IiM4ODgiIHN0cm9rZS13aWR0aD0iMSI+PC9wYXRoPgo8L3N2Zz4=");
  267. -webkit-transition:left 500ms;
  268. transition:left 500ms;
  269. }
  270. .pf {
  271. margin: 13px auto;
  272. box-shadow: 1px 1px 3px 1px #333;
  273. /* Needed by IE to make box-shadow works * https://developer.mozilla.org/en-US/docs/Web/CSS/box-shadow */
  274. border-collapse: separate;
  275. }
  276. .pc.opened { /* used by pdf2htmlEX.js, to show/hide pages */
  277. -webkit-animation: fadein 100ms;
  278. animation: fadein 100ms;
  279. }
  280. .loading-indicator.active {
  281. /*
  282. * use 0.01s instead of 0s,
  283. * since YUI Compressor will change 0s to 0,
  284. * which is not recognized by Firefox
  285. */
  286. -webkit-animation: swing 1.5s ease-in-out 0.01s infinite alternate none;
  287. animation: swing 1.5s ease-in-out 0.01s infinite alternate none;
  288. }
  289. .checked {
  290. background: no-repeat url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goQDSYgDiGofgAAAslJREFUOMvtlM9LFGEYx7/vvOPM6ywuuyPFihWFBUsdNnA6KLIh+QPx4KWExULdHQ/9A9EfUodYmATDYg/iRewQzklFWxcEBcGgEplDkDtI6sw4PzrIbrOuedBb9MALD7zv+3m+z4/3Bf7bZS2bzQIAcrmcMDExcTeXy10DAFVVAQDksgFUVZ1ljD3yfd+0LOuFpmnvVVW9GHhkZAQcxwkNDQ2FSCQyRMgJxnVdy7KstKZpn7nwha6urqqfTqfPBAJAuVymlNLXoigOhfd5nmeiKL5TVTV+lmIKwAOA7u5u6Lped2BsbOwjY6yf4zgQQkAIAcedaPR9H67r3uYBQFEUFItFtLe332lpaVkUBOHK3t5eRtf1DwAwODiIubk5DA8PM8bYW1EU+wEgCIJqsCAIQAiB7/u253k2BQDDMJBKpa4mEon5eDx+UxAESJL0uK2t7XosFlvSdf0QAEmlUnlRFJ9Waho2Qghc1/U9z3uWz+eX+Wr+lL6SZfleEAQIggA8z6OpqSknimIvYyybSCReMsZ6TislhCAIAti2Dc/zejVNWwCAavN8339j27YbTg0AGGM3WltbP4WhlRWq6Q/btrs1TVsYHx+vNgqKoqBUKn2NRqPFxsbGJzzP05puUlpt0ukyOI6z7zjOwNTU1OLo6CgmJyf/gA3DgKIoWF1d/cIY24/FYgOU0pp0z/Ityzo8Pj5OTk9PbwHA+vp6zWghDC+VSiuRSOQgGo32UErJ38CO42wdHR09LBQK3zKZDDY2NupmFmF4R0cHVlZWlmRZ/iVJUn9FeWWcCCE4ODjYtG27Z2Zm5juAOmgdGAB2d3cBADs7O8uSJN2SZfl+WKlpmpumaT6Yn58vn/fs6XmbhmHMNjc3tzDGFI7jYJrm5vb29sDa2trPC/9aiqJUy5pOp4f6+vqeJ5PJBAB0dnZe/t8NBajx/z37Df5OGX8d13xzAAAAAElFTkSuQmCC);
  291. }
  292. }
  293. /* Fancy CSS END */
  294. .document-api-box{position:relative;padding-top:51px}.document-toolsbar-mod{background:url(img/api_toolsbar_bg.png);height:51px;margin:0;padding:0;zoom:1;overflow:hidden;visibility:hidden;position:absolute;top:0;*left:0}.document-toolsbar-mod *{margin:0;padding:0}.document-toolsbar-inner{margin-top:2px;height:49px;zoom:1;overflow:hidden;border-left:1px solid #ddd;border-right:1px solid #ddd}.document-toolsbar-logo{float:left;_display:inline;margin-left:25px;margin-right:30px}.document-toolsbar-logo a{display:block;background:url(img/api_logo.png) no-repeat;width:93px;height:51px;overflow:hidden;text-indent:-99999px;margin-top:-2px;position:relative}.document-toolsbar-content{zoom:1;overflow:hidden}.document-toolsbar-nav,.document-toolsbar-zoom,.document-toolsbar-menu{zoom:1;overflow:hidden}.document-toolsbar-nav{float:left}.document-toolsbar-top,.document-toolsbar-bottom{display:inline-block;height:46px;margin-top:3px;width:40px;text-align:center;position:relative;margin-top:1px}.document-toolsbar-top:hover,.document-toolsbar-bottom:hover{background-color:#ececec}.document-toolsbar-top b,.document-toolsbar-bottom b,.document-toolsbar-zoomin,.document-toolsbar-zoomout,.document-toolsbar-fav,.document-toolsbar-download{margin-top:10px;font-size:0;line-height:0;overflow:hidden;display:inline-block;height:30px;background:url(img/api_icon.png) no-repeat}.document-toolsbar-top b,.document-toolsbar-bottom b{width:15px}.document-toolsbar-top b{background-position:-20px 0}.document-toolsbar-top:hover b{background-position:-82px 0}.document-toolsbar-bottom b{background-position:-51px 0}.document-toolsbar-bottom:hover b{background-position:-108px 0}.document-toolsbar-input{width:35px;font-size:12px;padding:3px 4px;vertical-align:10px;text-align:right}.document-toolsbar-zoomin,.document-toolsbar-zoomout,.document-toolsbar-fullscreen,.document-toolsbar-outfullscreen{width:20px;margin-right:10px;margin-top:12px;font-size:0;line-height:0;overflow:hidden;display:inline-block;height:30px;background:url(img/toolbar-icons.png) no-repeat}.document-toolsbar-outfullscreen{margin-top:13px;background-position:-10px -263px;display:none}.document-toolsbar-zoomin{background-position:-118px -140px}.zoomin-forbidden{cursor:default;background-position:-158px -140px}.document-toolsbar-zoomout{background-position:-118px -77px}.zoomout-forbidden{cursor:default;background-position:-158px -77px}.document-toolsbar-fullscreen{background-position:-120px -20px}.document-toolsbar-zoom{float:left;_display:inline;margin-left:30px}.document-toolsbar-menu{float:right;_display:inline;margin-right:30px}.document-toolsbar-fav{background-position:-271px 0;width:72px;margin-right:10px}.document-toolsbar-download{background-position:-350px 0;width:72px}.document-toolsbar-pageCount{font-size:12px;vertical-align:10px;*vertical-align:14px}.document-toolsbar-zoomin,.document-toolsbar-zoomout{display:inline-block}.document-pagenav-mod a{display:inline-block;margin:10px 6px}.document-dialog{position:fixed;top:-9999px;bottom:9899px;left:0;right:0;opacity:0}.document-dialog .dialog-left-greenbar{width:7px;height:23px;position:absolute;background:#20b888;left:0;top:20px;overflow:hidden}.document-dialog .document-dialog-title{color:#333;font-size:18px;height:30px;line-height:30px;padding:20px 0;border-bottom:1px dotted #e6e6e6;margin-bottom:20px}.document-dialog .document-dialog-close{width:16px;height:16px;background:url(img/api_icon.png) no-repeat -433px -7px;position:absolute;cursor:pointer;top:15px;right:15px;overflow:hidden;z-index:1001}.document-dialog .document-dialog-close:hover{background:url(img/api_icon.png) no-repeat -456px -7px}.document-dialog .document-mask{position:absolute;background-color:#000;opacity:.8;top:0;left:0;bottom:0;right:0}.document-dialog .document-box{position:absolute;padding:0 35px;background-color:#fff;border:1px solid #9c9c9c}.document-dialog .document-ft{text-align:center;height:30px;line-height:30px;padding:20px 0;margin-top:20px;border-top:1px dotted #e6e6e6;color:#999;font-size:12px}.document-download-dialog{font-size:12px}.document-download-dialog .document-download-dialog-line{text-align:center;line-height:24px;font-size:18px}.document-download-dialog .document-download-dialog-alert{color:red}.document-download-dialog .ui-bz-btn-senior{cursor:pointer;color:#fff;display:inline-block;text-shadow:#188062 0 1px 0;font-family:'微软雅黑',arial;text-decoration:none;border:0;border-radius:2px;background:#2fad85}.document-download-dialog .ui-bz-btn-senior b{cursor:pointer}.document-download-dialog .ui-bz-btn-p-16{display:block;font-size:18px;height:36px;line-height:36px;padding:0 16px}#document-loading{display:none;position:absolute;*position:static;*margin-top:-200px;width:100%;height:202px;top:0;min-width:302px;background:#fff}#document-loading span{position:absolute;width:31px;height:32px;display:block;top:70px;left:50%;margin-left:-16px;background:url(img/api_loading.gif) no-repeat}_::-webkit-full-page-media,_:future,:root .document-toolsbar-top,:root .document-toolsbar-bottom{position:relative;top:-12px}_::-webkit-full-page-media,_:future,:root .document-toolsbar-input,:root .document-toolsbar-pageCount{position:relative;top:15px}