viewer.css 55 KB

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