netcasignpdf.css 58 KB

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