viewer.css 55 KB

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