Advertisement
Guest User

Untitled

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