viewer.css 52 KB

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