viewer.css 58 KB

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