viewer.css 52 KB

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