viewer.css 55 KB

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