viewer.css 51 KB

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