pdf.viewer.css 52 KB

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