netcasignpdf.css 57 KB

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