viewer.css 48 KB

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