viewer.css 47 KB

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