本站源代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2396 lines
55KB

  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: 200;
  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: #404040;
  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: 32px;
  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: 100;
  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: 0px;
  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: 32px;
  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: 32px;
  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: 9999;
  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: 200;
  593. cursor: ew-resize;
  594. }
  595. html[dir='ltr'] #sidebarResizer {
  596. right: -6px;
  597. }
  598. html[dir='rtl'] #sidebarResizer {
  599. left: -6px;
  600. }
  601. #toolbarContainer, .findbar, .secondaryToolbar {
  602. position: relative;
  603. height: 32px;
  604. background-color: #474747; /* fallback */
  605. background-image: url(images/texture.png),
  606. linear-gradient(hsla(0,0%,32%,.99), hsla(0,0%,27%,.95));
  607. }
  608. html[dir='ltr'] #toolbarContainer, .findbar, .secondaryToolbar {
  609. box-shadow: inset 0 1px 1px hsla(0,0%,0%,.15),
  610. inset 0 -1px 0 hsla(0,0%,100%,.05),
  611. 0 1px 0 hsla(0,0%,0%,.15),
  612. 0 1px 1px hsla(0,0%,0%,.1);
  613. }
  614. html[dir='rtl'] #toolbarContainer, .findbar, .secondaryToolbar {
  615. box-shadow: inset 0 1px 1px hsla(0,0%,0%,.15),
  616. inset 0 -1px 0 hsla(0,0%,100%,.05),
  617. 0 1px 0 hsla(0,0%,0%,.15),
  618. 0 1px 1px hsla(0,0%,0%,.1);
  619. }
  620. #toolbarViewer {
  621. height: 32px;
  622. }
  623. #loadingBar {
  624. position: relative;
  625. width: 100%;
  626. height: 4px;
  627. background-color: #333;
  628. border-bottom: 1px solid #333;
  629. }
  630. #loadingBar .progress {
  631. position: absolute;
  632. top: 0;
  633. left: 0;
  634. width: 0%;
  635. height: 100%;
  636. background-color: #ddd;
  637. overflow: hidden;
  638. transition: width 200ms;
  639. }
  640. @-webkit-keyframes progressIndeterminate {
  641. 0% { left: -142px; }
  642. 100% { left: 0; }
  643. }
  644. @keyframes progressIndeterminate {
  645. 0% { left: -142px; }
  646. 100% { left: 0; }
  647. }
  648. #loadingBar .progress.indeterminate {
  649. background-color: #999;
  650. transition: none;
  651. }
  652. #loadingBar .progress.indeterminate .glimmer {
  653. position: absolute;
  654. top: 0;
  655. left: 0;
  656. height: 100%;
  657. width: calc(100% + 150px);
  658. background: repeating-linear-gradient(135deg,
  659. #bbb 0, #999 5px,
  660. #999 45px, #ddd 55px,
  661. #ddd 95px, #bbb 100px);
  662. -webkit-animation: progressIndeterminate 950ms linear infinite;
  663. animation: progressIndeterminate 950ms linear infinite;
  664. }
  665. .findbar, .secondaryToolbar {
  666. top: 32px;
  667. position: absolute;
  668. z-index: 10000;
  669. height: auto;
  670. min-width: 16px;
  671. padding: 0px 6px 0px 6px;
  672. margin: 4px 2px 4px 2px;
  673. color: hsl(0,0%,85%);
  674. font-size: 12px;
  675. line-height: 14px;
  676. text-align: left;
  677. cursor: default;
  678. }
  679. .findbar {
  680. min-width: 300px;
  681. }
  682. .findbar > div {
  683. height: 32px;
  684. }
  685. .findbar.wrapContainers > div {
  686. clear: both;
  687. }
  688. .findbar.wrapContainers > div#findbarMessageContainer {
  689. height: auto;
  690. }
  691. html[dir='ltr'] .findbar {
  692. left: 68px;
  693. }
  694. html[dir='rtl'] .findbar {
  695. right: 68px;
  696. }
  697. .findbar label {
  698. -webkit-user-select: none;
  699. -moz-user-select: none;
  700. -ms-user-select: none;
  701. user-select: none;
  702. }
  703. #findInput {
  704. width: 200px;
  705. }
  706. #findInput::-webkit-input-placeholder {
  707. color: hsl(0, 0%, 75%);
  708. }
  709. #findInput:-ms-input-placeholder {
  710. font-style: italic;
  711. }
  712. #findInput::-ms-input-placeholder {
  713. font-style: italic;
  714. }
  715. #findInput::placeholder {
  716. font-style: italic;
  717. }
  718. #findInput[data-status="pending"] {
  719. background-image: url(images/loading-small.png);
  720. background-repeat: no-repeat;
  721. background-position: right;
  722. }
  723. html[dir='rtl'] #findInput[data-status="pending"] {
  724. background-position: left;
  725. }
  726. .secondaryToolbar {
  727. padding: 6px;
  728. height: auto;
  729. z-index: 30000;
  730. }
  731. html[dir='ltr'] .secondaryToolbar {
  732. right: 4px;
  733. }
  734. html[dir='rtl'] .secondaryToolbar {
  735. left: 4px;
  736. }
  737. #secondaryToolbarButtonContainer {
  738. max-width: 200px;
  739. max-height: 400px;
  740. overflow-y: auto;
  741. -webkit-overflow-scrolling: touch;
  742. margin-bottom: -4px;
  743. }
  744. #secondaryToolbarButtonContainer.hiddenScrollModeButtons > .scrollModeButtons,
  745. #secondaryToolbarButtonContainer.hiddenSpreadModeButtons > .spreadModeButtons {
  746. display: none !important;
  747. }
  748. .doorHanger,
  749. .doorHangerRight {
  750. border: 1px solid hsla(0,0%,0%,.5);
  751. border-radius: 2px;
  752. box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  753. }
  754. .doorHanger:after, .doorHanger:before,
  755. .doorHangerRight:after, .doorHangerRight:before {
  756. bottom: 100%;
  757. border: solid transparent;
  758. content: " ";
  759. height: 0;
  760. width: 0;
  761. position: absolute;
  762. pointer-events: none;
  763. }
  764. .doorHanger:after,
  765. .doorHangerRight:after {
  766. border-bottom-color: hsla(0,0%,32%,.99);
  767. border-width: 8px;
  768. }
  769. .doorHanger:before,
  770. .doorHangerRight:before {
  771. border-bottom-color: hsla(0,0%,0%,.5);
  772. border-width: 9px;
  773. }
  774. html[dir='ltr'] .doorHanger:after,
  775. html[dir='rtl'] .doorHangerRight:after {
  776. left: 13px;
  777. margin-left: -8px;
  778. }
  779. html[dir='ltr'] .doorHanger:before,
  780. html[dir='rtl'] .doorHangerRight:before {
  781. left: 13px;
  782. margin-left: -9px;
  783. }
  784. html[dir='rtl'] .doorHanger:after,
  785. html[dir='ltr'] .doorHangerRight:after {
  786. right: 13px;
  787. margin-right: -8px;
  788. }
  789. html[dir='rtl'] .doorHanger:before,
  790. html[dir='ltr'] .doorHangerRight:before {
  791. right: 13px;
  792. margin-right: -9px;
  793. }
  794. #findResultsCount {
  795. background-color: hsl(0, 0%, 85%);
  796. color: hsl(0, 0%, 32%);
  797. text-align: center;
  798. padding: 3px 4px;
  799. }
  800. #findMsg {
  801. font-style: italic;
  802. color: #A6B7D0;
  803. }
  804. #findMsg:empty {
  805. display: none;
  806. }
  807. #findInput.notFound {
  808. background-color: rgb(255, 102, 102);
  809. }
  810. #toolbarViewerMiddle {
  811. position: absolute;
  812. left: 50%;
  813. -webkit-transform: translateX(-50%);
  814. transform: translateX(-50%);
  815. }
  816. html[dir='ltr'] #toolbarViewerLeft,
  817. html[dir='rtl'] #toolbarViewerRight {
  818. float: left;
  819. }
  820. html[dir='ltr'] #toolbarViewerRight,
  821. html[dir='rtl'] #toolbarViewerLeft {
  822. float: right;
  823. }
  824. html[dir='ltr'] #toolbarViewerLeft > *,
  825. html[dir='ltr'] #toolbarViewerMiddle > *,
  826. html[dir='ltr'] #toolbarViewerRight > *,
  827. html[dir='ltr'] .findbar * {
  828. position: relative;
  829. float: left;
  830. }
  831. html[dir='rtl'] #toolbarViewerLeft > *,
  832. html[dir='rtl'] #toolbarViewerMiddle > *,
  833. html[dir='rtl'] #toolbarViewerRight > *,
  834. html[dir='rtl'] .findbar * {
  835. position: relative;
  836. float: right;
  837. }
  838. html[dir='ltr'] .splitToolbarButton {
  839. margin: 3px 2px 4px 0;
  840. display: inline-block;
  841. }
  842. html[dir='rtl'] .splitToolbarButton {
  843. margin: 3px 0 4px 2px;
  844. display: inline-block;
  845. }
  846. html[dir='ltr'] .splitToolbarButton > .toolbarButton {
  847. border-radius: 0;
  848. float: left;
  849. }
  850. html[dir='rtl'] .splitToolbarButton > .toolbarButton {
  851. border-radius: 0;
  852. float: right;
  853. }
  854. .toolbarButton,
  855. .secondaryToolbarButton,
  856. .overlayButton {
  857. border: 0 none;
  858. background: none;
  859. width: 32px;
  860. height: 25px;
  861. }
  862. .toolbarButton > span {
  863. display: inline-block;
  864. width: 0;
  865. height: 0;
  866. overflow: hidden;
  867. }
  868. .toolbarButton[disabled],
  869. .secondaryToolbarButton[disabled],
  870. .overlayButton[disabled] {
  871. opacity: .5;
  872. }
  873. .splitToolbarButton.toggled .toolbarButton {
  874. margin: 0;
  875. }
  876. .splitToolbarButton:hover > .toolbarButton,
  877. .splitToolbarButton:focus > .toolbarButton,
  878. .splitToolbarButton.toggled > .toolbarButton,
  879. .toolbarButton.textButton {
  880. background-color: hsla(0,0%,0%,.12);
  881. background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
  882. background-clip: padding-box;
  883. border: 1px solid hsla(0,0%,0%,.35);
  884. border-color: hsla(0,0%,0%,.32) hsla(0,0%,0%,.38) hsla(0,0%,0%,.42);
  885. box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset,
  886. 0 0 1px hsla(0,0%,100%,.15) inset,
  887. 0 1px 0 hsla(0,0%,100%,.05);
  888. transition-property: background-color, border-color, box-shadow;
  889. transition-duration: 150ms;
  890. transition-timing-function: ease;
  891. }
  892. .splitToolbarButton > .toolbarButton:hover,
  893. .splitToolbarButton > .toolbarButton:focus,
  894. .dropdownToolbarButton:hover,
  895. .overlayButton:hover,
  896. .overlayButton:focus,
  897. .toolbarButton.textButton:hover,
  898. .toolbarButton.textButton:focus {
  899. background-color: hsla(0,0%,0%,.2);
  900. box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset,
  901. 0 0 1px hsla(0,0%,100%,.15) inset,
  902. 0 0 1px hsla(0,0%,0%,.05);
  903. z-index: 199;
  904. }
  905. .splitToolbarButton > .toolbarButton {
  906. position: relative;
  907. }
  908. html[dir='ltr'] .splitToolbarButton > .toolbarButton:first-child,
  909. html[dir='rtl'] .splitToolbarButton > .toolbarButton:last-child {
  910. position: relative;
  911. margin: 0;
  912. margin-right: -1px;
  913. border-top-left-radius: 2px;
  914. border-bottom-left-radius: 2px;
  915. border-right-color: transparent;
  916. }
  917. html[dir='ltr'] .splitToolbarButton > .toolbarButton:last-child,
  918. html[dir='rtl'] .splitToolbarButton > .toolbarButton:first-child {
  919. position: relative;
  920. margin: 0;
  921. margin-left: -1px;
  922. border-top-right-radius: 2px;
  923. border-bottom-right-radius: 2px;
  924. border-left-color: transparent;
  925. }
  926. .splitToolbarButtonSeparator {
  927. padding: 8px 0;
  928. width: 1px;
  929. background-color: hsla(0,0%,0%,.5);
  930. z-index: 99;
  931. box-shadow: 0 0 0 1px hsla(0,0%,100%,.08);
  932. display: inline-block;
  933. margin: 5px 0;
  934. }
  935. html[dir='ltr'] .splitToolbarButtonSeparator {
  936. float: left;
  937. }
  938. html[dir='rtl'] .splitToolbarButtonSeparator {
  939. float: right;
  940. }
  941. .splitToolbarButton:hover > .splitToolbarButtonSeparator,
  942. .splitToolbarButton.toggled > .splitToolbarButtonSeparator {
  943. padding: 12px 0;
  944. margin: 1px 0;
  945. box-shadow: 0 0 0 1px hsla(0,0%,100%,.03);
  946. transition-property: padding;
  947. transition-duration: 10ms;
  948. transition-timing-function: ease;
  949. }
  950. .toolbarButton,
  951. .dropdownToolbarButton,
  952. .secondaryToolbarButton,
  953. .overlayButton {
  954. min-width: 16px;
  955. padding: 2px 6px 0;
  956. border: 1px solid transparent;
  957. border-radius: 2px;
  958. color: hsla(0,0%,100%,.8);
  959. font-size: 12px;
  960. line-height: 14px;
  961. -webkit-user-select: none;
  962. -moz-user-select: none;
  963. -ms-user-select: none;
  964. user-select: none;
  965. /* Opera does not support user-select, use <... unselectable="on"> instead */
  966. cursor: default;
  967. transition-property: background-color, border-color, box-shadow;
  968. transition-duration: 150ms;
  969. transition-timing-function: ease;
  970. }
  971. html[dir='ltr'] .toolbarButton,
  972. html[dir='ltr'] .overlayButton,
  973. html[dir='ltr'] .dropdownToolbarButton {
  974. margin: 3px 2px 4px 0;
  975. }
  976. html[dir='rtl'] .toolbarButton,
  977. html[dir='rtl'] .overlayButton,
  978. html[dir='rtl'] .dropdownToolbarButton {
  979. margin: 3px 0 4px 2px;
  980. }
  981. .toolbarButton:hover,
  982. .toolbarButton:focus,
  983. .dropdownToolbarButton,
  984. .overlayButton,
  985. .secondaryToolbarButton:hover,
  986. .secondaryToolbarButton:focus {
  987. background-color: hsla(0,0%,0%,.12);
  988. background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
  989. background-clip: padding-box;
  990. border: 1px solid hsla(0,0%,0%,.35);
  991. border-color: hsla(0,0%,0%,.32) hsla(0,0%,0%,.38) hsla(0,0%,0%,.42);
  992. box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset,
  993. 0 0 1px hsla(0,0%,100%,.15) inset,
  994. 0 1px 0 hsla(0,0%,100%,.05);
  995. }
  996. .toolbarButton:hover:active,
  997. .overlayButton:hover:active,
  998. .dropdownToolbarButton:hover:active,
  999. .secondaryToolbarButton:hover:active {
  1000. background-color: hsla(0,0%,0%,.2);
  1001. background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
  1002. border-color: hsla(0,0%,0%,.35) hsla(0,0%,0%,.4) hsla(0,0%,0%,.45);
  1003. box-shadow: 0 1px 1px hsla(0,0%,0%,.1) inset,
  1004. 0 0 1px hsla(0,0%,0%,.2) inset,
  1005. 0 1px 0 hsla(0,0%,100%,.05);
  1006. transition-property: background-color, border-color, box-shadow;
  1007. transition-duration: 10ms;
  1008. transition-timing-function: linear;
  1009. }
  1010. .toolbarButton.toggled,
  1011. .splitToolbarButton.toggled > .toolbarButton.toggled,
  1012. .secondaryToolbarButton.toggled {
  1013. background-color: hsla(0,0%,0%,.3);
  1014. background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
  1015. border-color: hsla(0,0%,0%,.4) hsla(0,0%,0%,.45) hsla(0,0%,0%,.5);
  1016. box-shadow: 0 1px 1px hsla(0,0%,0%,.1) inset,
  1017. 0 0 1px hsla(0,0%,0%,.2) inset,
  1018. 0 1px 0 hsla(0,0%,100%,.05);
  1019. transition-property: background-color, border-color, box-shadow;
  1020. transition-duration: 10ms;
  1021. transition-timing-function: linear;
  1022. }
  1023. .toolbarButton.toggled:hover:active,
  1024. .splitToolbarButton.toggled > .toolbarButton.toggled:hover:active,
  1025. .secondaryToolbarButton.toggled:hover:active {
  1026. background-color: hsla(0,0%,0%,.4);
  1027. border-color: hsla(0,0%,0%,.4) hsla(0,0%,0%,.5) hsla(0,0%,0%,.55);
  1028. box-shadow: 0 1px 1px hsla(0,0%,0%,.2) inset,
  1029. 0 0 1px hsla(0,0%,0%,.3) inset,
  1030. 0 1px 0 hsla(0,0%,100%,.05);
  1031. }
  1032. .dropdownToolbarButton {
  1033. width: 120px;
  1034. max-width: 120px;
  1035. padding: 0;
  1036. overflow: hidden;
  1037. background: url(images/toolbarButton-menuArrows.png) no-repeat;
  1038. }
  1039. html[dir='ltr'] .dropdownToolbarButton {
  1040. background-position: 95%;
  1041. }
  1042. html[dir='rtl'] .dropdownToolbarButton {
  1043. background-position: 5%;
  1044. }
  1045. .dropdownToolbarButton > select {
  1046. min-width: 140px;
  1047. font-size: 12px;
  1048. color: hsl(0,0%,95%);
  1049. margin: 0;
  1050. padding: 3px 2px 2px;
  1051. border: none;
  1052. background: rgba(0,0,0,0); /* Opera does not support 'transparent' <select> background */
  1053. }
  1054. .dropdownToolbarButton > select > option {
  1055. background: hsl(0,0%,24%);
  1056. }
  1057. #customScaleOption {
  1058. display: none;
  1059. }
  1060. #pageWidthOption {
  1061. border-bottom: 1px rgba(255, 255, 255, .5) solid;
  1062. }
  1063. html[dir='ltr'] .splitToolbarButton:first-child,
  1064. html[dir='ltr'] .toolbarButton:first-child,
  1065. html[dir='rtl'] .splitToolbarButton:last-child,
  1066. html[dir='rtl'] .toolbarButton:last-child {
  1067. margin-left: 4px;
  1068. }
  1069. html[dir='ltr'] .splitToolbarButton:last-child,
  1070. html[dir='ltr'] .toolbarButton:last-child,
  1071. html[dir='rtl'] .splitToolbarButton:first-child,
  1072. html[dir='rtl'] .toolbarButton:first-child {
  1073. margin-right: 4px;
  1074. }
  1075. .toolbarButtonSpacer {
  1076. width: 30px;
  1077. display: inline-block;
  1078. height: 1px;
  1079. }
  1080. html[dir='ltr'] #findPrevious {
  1081. margin-left: 3px;
  1082. }
  1083. html[dir='ltr'] #findNext {
  1084. margin-right: 3px;
  1085. }
  1086. html[dir='rtl'] #findPrevious {
  1087. margin-right: 3px;
  1088. }
  1089. html[dir='rtl'] #findNext {
  1090. margin-left: 3px;
  1091. }
  1092. .toolbarButton::before,
  1093. .secondaryToolbarButton::before {
  1094. /* All matching images have a size of 16x16
  1095. * All relevant containers have a size of 32x25 */
  1096. position: absolute;
  1097. display: inline-block;
  1098. top: 4px;
  1099. left: 7px;
  1100. }
  1101. html[dir="ltr"] .secondaryToolbarButton::before {
  1102. left: 4px;
  1103. }
  1104. html[dir="rtl"] .secondaryToolbarButton::before {
  1105. right: 4px;
  1106. }
  1107. html[dir='ltr'] .toolbarButton#sidebarToggle::before {
  1108. content: url(images/toolbarButton-sidebarToggle.png);
  1109. }
  1110. html[dir='rtl'] .toolbarButton#sidebarToggle::before {
  1111. content: url(images/toolbarButton-sidebarToggle-rtl.png);
  1112. }
  1113. html[dir='ltr'] .toolbarButton#secondaryToolbarToggle::before {
  1114. content: url(images/toolbarButton-secondaryToolbarToggle.png);
  1115. }
  1116. html[dir='rtl'] .toolbarButton#secondaryToolbarToggle::before {
  1117. content: url(images/toolbarButton-secondaryToolbarToggle-rtl.png);
  1118. }
  1119. html[dir='ltr'] .toolbarButton.findPrevious::before {
  1120. content: url(images/findbarButton-previous.png);
  1121. }
  1122. html[dir='rtl'] .toolbarButton.findPrevious::before {
  1123. content: url(images/findbarButton-previous-rtl.png);
  1124. }
  1125. html[dir='ltr'] .toolbarButton.findNext::before {
  1126. content: url(images/findbarButton-next.png);
  1127. }
  1128. html[dir='rtl'] .toolbarButton.findNext::before {
  1129. content: url(images/findbarButton-next-rtl.png);
  1130. }
  1131. html[dir='ltr'] .toolbarButton.pageUp::before {
  1132. content: url(images/toolbarButton-pageUp.png);
  1133. }
  1134. html[dir='rtl'] .toolbarButton.pageUp::before {
  1135. content: url(images/toolbarButton-pageUp-rtl.png);
  1136. }
  1137. html[dir='ltr'] .toolbarButton.pageDown::before {
  1138. content: url(images/toolbarButton-pageDown.png);
  1139. }
  1140. html[dir='rtl'] .toolbarButton.pageDown::before {
  1141. content: url(images/toolbarButton-pageDown-rtl.png);
  1142. }
  1143. .toolbarButton.zoomOut::before {
  1144. content: url(images/toolbarButton-zoomOut.png);
  1145. }
  1146. .toolbarButton.zoomIn::before {
  1147. content: url(images/toolbarButton-zoomIn.png);
  1148. }
  1149. .toolbarButton.presentationMode::before,
  1150. .secondaryToolbarButton.presentationMode::before {
  1151. content: url(images/toolbarButton-presentationMode.png);
  1152. }
  1153. .toolbarButton.print::before,
  1154. .secondaryToolbarButton.print::before {
  1155. content: url(images/toolbarButton-print.png);
  1156. }
  1157. .toolbarButton.openFile::before,
  1158. .secondaryToolbarButton.openFile::before {
  1159. content: url(images/toolbarButton-openFile.png);
  1160. }
  1161. .toolbarButton.download::before,
  1162. .secondaryToolbarButton.download::before {
  1163. content: url(images/toolbarButton-download.png);
  1164. }
  1165. .toolbarButton.bookmark,
  1166. .secondaryToolbarButton.bookmark {
  1167. box-sizing: border-box;
  1168. outline: none;
  1169. padding-top: 4px;
  1170. text-decoration: none;
  1171. }
  1172. .secondaryToolbarButton.bookmark {
  1173. padding-top: 5px;
  1174. }
  1175. .bookmark[href='#'] {
  1176. opacity: .5;
  1177. pointer-events: none;
  1178. }
  1179. .toolbarButton.bookmark::before,
  1180. .secondaryToolbarButton.bookmark::before {
  1181. content: url(images/toolbarButton-bookmark.png);
  1182. }
  1183. #viewThumbnail.toolbarButton::before {
  1184. content: url(images/toolbarButton-viewThumbnail.png);
  1185. }
  1186. html[dir="ltr"] #viewOutline.toolbarButton::before {
  1187. content: url(images/toolbarButton-viewOutline.png);
  1188. }
  1189. html[dir="rtl"] #viewOutline.toolbarButton::before {
  1190. content: url(images/toolbarButton-viewOutline-rtl.png);
  1191. }
  1192. #viewAttachments.toolbarButton::before {
  1193. content: url(images/toolbarButton-viewAttachments.png);
  1194. }
  1195. #viewFind.toolbarButton::before {
  1196. content: url(images/toolbarButton-search.png);
  1197. }
  1198. .toolbarButton.pdfSidebarNotification::after {
  1199. position: absolute;
  1200. display: inline-block;
  1201. top: 1px;
  1202. /* Create a filled circle, with a diameter of 9 pixels, using only CSS: */
  1203. content: '';
  1204. background-color: #70DB55;
  1205. height: 9px;
  1206. width: 9px;
  1207. border-radius: 50%;
  1208. }
  1209. html[dir='ltr'] .toolbarButton.pdfSidebarNotification::after {
  1210. left: 17px;
  1211. }
  1212. html[dir='rtl'] .toolbarButton.pdfSidebarNotification::after {
  1213. right: 17px;
  1214. }
  1215. .secondaryToolbarButton {
  1216. position: relative;
  1217. margin: 0 0 4px 0;
  1218. padding: 3px 0 1px 0;
  1219. height: auto;
  1220. min-height: 25px;
  1221. width: auto;
  1222. min-width: 100%;
  1223. white-space: normal;
  1224. }
  1225. html[dir="ltr"] .secondaryToolbarButton {
  1226. padding-left: 24px;
  1227. text-align: left;
  1228. }
  1229. html[dir="rtl"] .secondaryToolbarButton {
  1230. padding-right: 24px;
  1231. text-align: right;
  1232. }
  1233. html[dir="ltr"] .secondaryToolbarButton.bookmark {
  1234. padding-left: 27px;
  1235. }
  1236. html[dir="rtl"] .secondaryToolbarButton.bookmark {
  1237. padding-right: 27px;
  1238. }
  1239. html[dir="ltr"] .secondaryToolbarButton > span {
  1240. padding-right: 4px;
  1241. }
  1242. html[dir="rtl"] .secondaryToolbarButton > span {
  1243. padding-left: 4px;
  1244. }
  1245. .secondaryToolbarButton.firstPage::before {
  1246. content: url(images/secondaryToolbarButton-firstPage.png);
  1247. }
  1248. .secondaryToolbarButton.lastPage::before {
  1249. content: url(images/secondaryToolbarButton-lastPage.png);
  1250. }
  1251. .secondaryToolbarButton.rotateCcw::before {
  1252. content: url(images/secondaryToolbarButton-rotateCcw.png);
  1253. }
  1254. .secondaryToolbarButton.rotateCw::before {
  1255. content: url(images/secondaryToolbarButton-rotateCw.png);
  1256. }
  1257. .secondaryToolbarButton.selectTool::before {
  1258. content: url(images/secondaryToolbarButton-selectTool.png);
  1259. }
  1260. .secondaryToolbarButton.handTool::before {
  1261. content: url(images/secondaryToolbarButton-handTool.png);
  1262. }
  1263. .secondaryToolbarButton.scrollVertical::before {
  1264. content: url(images/secondaryToolbarButton-scrollVertical.png);
  1265. }
  1266. .secondaryToolbarButton.scrollHorizontal::before {
  1267. content: url(images/secondaryToolbarButton-scrollHorizontal.png);
  1268. }
  1269. .secondaryToolbarButton.scrollWrapped::before {
  1270. content: url(images/secondaryToolbarButton-scrollWrapped.png);
  1271. }
  1272. .secondaryToolbarButton.spreadNone::before {
  1273. content: url(images/secondaryToolbarButton-spreadNone.png);
  1274. }
  1275. .secondaryToolbarButton.spreadOdd::before {
  1276. content: url(images/secondaryToolbarButton-spreadOdd.png);
  1277. }
  1278. .secondaryToolbarButton.spreadEven::before {
  1279. content: url(images/secondaryToolbarButton-spreadEven.png);
  1280. }
  1281. .secondaryToolbarButton.documentProperties::before {
  1282. content: url(images/secondaryToolbarButton-documentProperties.png);
  1283. }
  1284. .verticalToolbarSeparator {
  1285. display: block;
  1286. padding: 8px 0;
  1287. margin: 8px 4px;
  1288. width: 1px;
  1289. background-color: hsla(0,0%,0%,.5);
  1290. box-shadow: 0 0 0 1px hsla(0,0%,100%,.08);
  1291. }
  1292. html[dir='ltr'] .verticalToolbarSeparator {
  1293. margin-left: 2px;
  1294. }
  1295. html[dir='rtl'] .verticalToolbarSeparator {
  1296. margin-right: 2px;
  1297. }
  1298. .horizontalToolbarSeparator {
  1299. display: block;
  1300. margin: 0 0 4px 0;
  1301. height: 1px;
  1302. width: 100%;
  1303. background-color: hsla(0,0%,0%,.5);
  1304. box-shadow: 0 0 0 1px hsla(0,0%,100%,.08);
  1305. }
  1306. .toolbarField {
  1307. padding: 3px 6px;
  1308. margin: 4px 0 4px 0;
  1309. border: 1px solid transparent;
  1310. border-radius: 2px;
  1311. background-color: hsla(0,0%,100%,.09);
  1312. background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
  1313. background-clip: padding-box;
  1314. border: 1px solid hsla(0,0%,0%,.35);
  1315. border-color: hsla(0,0%,0%,.32) hsla(0,0%,0%,.38) hsla(0,0%,0%,.42);
  1316. box-shadow: 0 1px 0 hsla(0,0%,0%,.05) inset,
  1317. 0 1px 0 hsla(0,0%,100%,.05);
  1318. color: hsl(0,0%,95%);
  1319. font-size: 12px;
  1320. line-height: 14px;
  1321. outline-style: none;
  1322. transition-property: background-color, border-color, box-shadow;
  1323. transition-duration: 150ms;
  1324. transition-timing-function: ease;
  1325. }
  1326. .toolbarField[type=checkbox] {
  1327. display: inline-block;
  1328. margin: 8px 0px;
  1329. }
  1330. .toolbarField.pageNumber {
  1331. -moz-appearance: textfield; /* hides the spinner in moz */
  1332. min-width: 16px;
  1333. text-align: right;
  1334. width: 40px;
  1335. }
  1336. .toolbarField.pageNumber.visiblePageIsLoading {
  1337. background-image: url(images/loading-small.png);
  1338. background-repeat: no-repeat;
  1339. background-position: 1px;
  1340. }
  1341. .toolbarField.pageNumber::-webkit-inner-spin-button,
  1342. .toolbarField.pageNumber::-webkit-outer-spin-button {
  1343. -webkit-appearance: none;
  1344. margin: 0;
  1345. }
  1346. .toolbarField:hover {
  1347. background-color: hsla(0,0%,100%,.11);
  1348. border-color: hsla(0,0%,0%,.4) hsla(0,0%,0%,.43) hsla(0,0%,0%,.45);
  1349. }
  1350. .toolbarField:focus {
  1351. background-color: hsla(0,0%,100%,.15);
  1352. border-color: hsla(204,100%,65%,.8) hsla(204,100%,65%,.85) hsla(204,100%,65%,.9);
  1353. }
  1354. .toolbarLabel {
  1355. min-width: 16px;
  1356. padding: 3px 6px 3px 2px;
  1357. margin: 4px 2px 4px 0;
  1358. border: 1px solid transparent;
  1359. border-radius: 2px;
  1360. color: hsl(0,0%,85%);
  1361. font-size: 12px;
  1362. line-height: 14px;
  1363. text-align: left;
  1364. -webkit-user-select: none;
  1365. -moz-user-select: none;
  1366. -ms-user-select: none;
  1367. user-select: none;
  1368. cursor: default;
  1369. }
  1370. #thumbnailView {
  1371. position: absolute;
  1372. width: calc(100% - 60px);
  1373. top: 0;
  1374. bottom: 0;
  1375. padding: 10px 30px 0;
  1376. overflow: auto;
  1377. -webkit-overflow-scrolling: touch;
  1378. }
  1379. #thumbnailView > a:active,
  1380. #thumbnailView > a:focus {
  1381. outline: 0;
  1382. }
  1383. .thumbnail {
  1384. margin: 0 10px 5px 10px;
  1385. }
  1386. html[dir='ltr'] .thumbnail {
  1387. float: left;
  1388. }
  1389. html[dir='rtl'] .thumbnail {
  1390. float: right;
  1391. }
  1392. #thumbnailView > a:last-of-type > .thumbnail {
  1393. margin-bottom: 10px;
  1394. }
  1395. #thumbnailView > a:last-of-type > .thumbnail:not([data-loaded]) {
  1396. margin-bottom: 9px;
  1397. }
  1398. .thumbnail:not([data-loaded]) {
  1399. border: 1px dashed rgba(255, 255, 255, 0.5);
  1400. margin: -1px 9px 4px 9px;
  1401. }
  1402. .thumbnailImage {
  1403. border: 1px solid transparent;
  1404. box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3);
  1405. opacity: 0.8;
  1406. z-index: 99;
  1407. background-color: white;
  1408. background-clip: content-box;
  1409. }
  1410. .thumbnailSelectionRing {
  1411. border-radius: 2px;
  1412. padding: 7px;
  1413. }
  1414. a:focus > .thumbnail > .thumbnailSelectionRing > .thumbnailImage,
  1415. .thumbnail:hover > .thumbnailSelectionRing > .thumbnailImage {
  1416. opacity: .9;
  1417. }
  1418. a:focus > .thumbnail > .thumbnailSelectionRing,
  1419. .thumbnail:hover > .thumbnailSelectionRing {
  1420. background-color: hsla(0,0%,100%,.15);
  1421. background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
  1422. background-clip: padding-box;
  1423. box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset,
  1424. 0 0 1px hsla(0,0%,100%,.2) inset,
  1425. 0 0 1px hsla(0,0%,0%,.2);
  1426. color: hsla(0,0%,100%,.9);
  1427. }
  1428. .thumbnail.selected > .thumbnailSelectionRing > .thumbnailImage {
  1429. box-shadow: 0 0 0 1px hsla(0,0%,0%,.5);
  1430. opacity: 1;
  1431. }
  1432. .thumbnail.selected > .thumbnailSelectionRing {
  1433. background-color: hsla(0,0%,100%,.3);
  1434. background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
  1435. background-clip: padding-box;
  1436. box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset,
  1437. 0 0 1px hsla(0,0%,100%,.1) inset,
  1438. 0 0 1px hsla(0,0%,0%,.2);
  1439. color: hsla(0,0%,100%,1);
  1440. }
  1441. #outlineView,
  1442. #attachmentsView {
  1443. position: absolute;
  1444. width: calc(100% - 8px);
  1445. top: 0;
  1446. bottom: 0;
  1447. overflow: auto;
  1448. -webkit-overflow-scrolling: touch;
  1449. -webkit-user-select: none;
  1450. -moz-user-select: none;
  1451. -ms-user-select: none;
  1452. user-select: none;
  1453. }
  1454. #outlineView {
  1455. padding: 4px 4px 0;
  1456. }
  1457. #attachmentsView {
  1458. padding: 3px 4px 0;
  1459. }
  1460. html[dir='ltr'] .outlineWithDeepNesting > .outlineItem,
  1461. html[dir='ltr'] .outlineItem > .outlineItems {
  1462. margin-left: 20px;
  1463. }
  1464. html[dir='rtl'] .outlineWithDeepNesting > .outlineItem,
  1465. html[dir='rtl'] .outlineItem > .outlineItems {
  1466. margin-right: 20px;
  1467. }
  1468. .outlineItem > a,
  1469. .attachmentsItem > button {
  1470. text-decoration: none;
  1471. display: inline-block;
  1472. min-width: 95%;
  1473. min-width: calc(100% - 4px); /* Subtract the right padding (left, in RTL mode)
  1474. of the container. */
  1475. height: auto;
  1476. margin-bottom: 1px;
  1477. border-radius: 2px;
  1478. color: hsla(0,0%,100%,.8);
  1479. font-size: 13px;
  1480. line-height: 15px;
  1481. -webkit-user-select: none;
  1482. -moz-user-select: none;
  1483. -ms-user-select: none;
  1484. user-select: none;
  1485. white-space: normal;
  1486. }
  1487. .attachmentsItem > button {
  1488. border: 0 none;
  1489. background: none;
  1490. cursor: pointer;
  1491. width: 100%;
  1492. }
  1493. html[dir='ltr'] .outlineItem > a {
  1494. padding: 2px 0 5px 4px;
  1495. }
  1496. html[dir='ltr'] .attachmentsItem > button {
  1497. padding: 2px 0 3px 7px;
  1498. text-align: left;
  1499. }
  1500. html[dir='rtl'] .outlineItem > a {
  1501. padding: 2px 4px 5px 0;
  1502. }
  1503. html[dir='rtl'] .attachmentsItem > button {
  1504. padding: 2px 7px 3px 0;
  1505. text-align: right;
  1506. }
  1507. .outlineItemToggler {
  1508. position: relative;
  1509. height: 0;
  1510. width: 0;
  1511. color: hsla(0,0%,100%,.5);
  1512. }
  1513. .outlineItemToggler::before {
  1514. content: url(images/treeitem-expanded.png);
  1515. display: inline-block;
  1516. position: absolute;
  1517. }
  1518. html[dir='ltr'] .outlineItemToggler.outlineItemsHidden::before {
  1519. content: url(images/treeitem-collapsed.png);
  1520. }
  1521. html[dir='rtl'] .outlineItemToggler.outlineItemsHidden::before {
  1522. content: url(images/treeitem-collapsed-rtl.png);
  1523. }
  1524. .outlineItemToggler.outlineItemsHidden ~ .outlineItems {
  1525. display: none;
  1526. }
  1527. html[dir='ltr'] .outlineItemToggler {
  1528. float: left;
  1529. }
  1530. html[dir='rtl'] .outlineItemToggler {
  1531. float: right;
  1532. }
  1533. html[dir='ltr'] .outlineItemToggler::before {
  1534. right: 4px;
  1535. }
  1536. html[dir='rtl'] .outlineItemToggler::before {
  1537. left: 4px;
  1538. }
  1539. .outlineItemToggler:hover,
  1540. .outlineItemToggler:hover + a,
  1541. .outlineItemToggler:hover ~ .outlineItems,
  1542. .outlineItem > a:hover,
  1543. .attachmentsItem > button:hover {
  1544. background-color: hsla(0,0%,100%,.02);
  1545. background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
  1546. background-clip: padding-box;
  1547. box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset,
  1548. 0 0 1px hsla(0,0%,100%,.2) inset,
  1549. 0 0 1px hsla(0,0%,0%,.2);
  1550. border-radius: 2px;
  1551. color: hsla(0,0%,100%,.9);
  1552. }
  1553. .outlineItem.selected {
  1554. background-color: hsla(0,0%,100%,.08);
  1555. background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
  1556. background-clip: padding-box;
  1557. box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset,
  1558. 0 0 1px hsla(0,0%,100%,.1) inset,
  1559. 0 0 1px hsla(0,0%,0%,.2);
  1560. color: hsla(0,0%,100%,1);
  1561. }
  1562. .noResults {
  1563. font-size: 12px;
  1564. color: hsla(0,0%,100%,.8);
  1565. font-style: italic;
  1566. cursor: default;
  1567. }
  1568. /* TODO: file FF bug to support ::-moz-selection:window-inactive
  1569. so we can override the opaque grey background when the window is inactive;
  1570. see https://bugzilla.mozilla.org/show_bug.cgi?id=706209 */
  1571. ::-moz-selection { background: rgba(0,0,255,0.3); }
  1572. ::selection { background: rgba(0,0,255,0.3); }
  1573. #errorWrapper {
  1574. background: none repeat scroll 0 0 #FF5555;
  1575. color: white;
  1576. left: 0;
  1577. position: absolute;
  1578. right: 0;
  1579. z-index: 1000;
  1580. padding: 3px;
  1581. font-size: 0.8em;
  1582. }
  1583. .loadingInProgress #errorWrapper {
  1584. top: 37px;
  1585. }
  1586. #errorMessageLeft {
  1587. float: left;
  1588. }
  1589. #errorMessageRight {
  1590. float: right;
  1591. }
  1592. #errorMoreInfo {
  1593. background-color: #FFFFFF;
  1594. color: black;
  1595. padding: 3px;
  1596. margin: 3px;
  1597. width: 98%;
  1598. }
  1599. .overlayButton {
  1600. width: auto;
  1601. margin: 3px 4px 2px 4px !important;
  1602. padding: 2px 6px 3px 6px;
  1603. }
  1604. #overlayContainer {
  1605. display: table;
  1606. position: absolute;
  1607. width: 100%;
  1608. height: 100%;
  1609. background-color: hsla(0,0%,0%,.2);
  1610. z-index: 40000;
  1611. }
  1612. #overlayContainer > * {
  1613. overflow: auto;
  1614. -webkit-overflow-scrolling: touch;
  1615. }
  1616. #overlayContainer > .container {
  1617. display: table-cell;
  1618. vertical-align: middle;
  1619. text-align: center;
  1620. }
  1621. #overlayContainer > .container > .dialog {
  1622. display: inline-block;
  1623. padding: 15px;
  1624. border-spacing: 4px;
  1625. color: hsl(0,0%,85%);
  1626. font-size: 12px;
  1627. line-height: 14px;
  1628. background-color: #474747; /* fallback */
  1629. background-image: url(images/texture.png),
  1630. linear-gradient(hsla(0,0%,32%,.99), hsla(0,0%,27%,.95));
  1631. box-shadow: inset 1px 0 0 hsla(0,0%,100%,.08),
  1632. inset 0 1px 1px hsla(0,0%,0%,.15),
  1633. inset 0 -1px 0 hsla(0,0%,100%,.05),
  1634. 0 1px 0 hsla(0,0%,0%,.15),
  1635. 0 1px 1px hsla(0,0%,0%,.1);
  1636. border: 1px solid hsla(0,0%,0%,.5);
  1637. border-radius: 4px;
  1638. box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  1639. }
  1640. .dialog > .row {
  1641. display: table-row;
  1642. }
  1643. .dialog > .row > * {
  1644. display: table-cell;
  1645. }
  1646. .dialog .toolbarField {
  1647. margin: 5px 0;
  1648. }
  1649. .dialog .separator {
  1650. display: block;
  1651. margin: 4px 0 4px 0;
  1652. height: 1px;
  1653. width: 100%;
  1654. background-color: hsla(0,0%,0%,.5);
  1655. box-shadow: 0 0 0 1px hsla(0,0%,100%,.08);
  1656. }
  1657. .dialog .buttonRow {
  1658. text-align: center;
  1659. vertical-align: middle;
  1660. }
  1661. .dialog :link {
  1662. color: white;
  1663. }
  1664. #passwordOverlay > .dialog {
  1665. text-align: center;
  1666. }
  1667. #passwordOverlay .toolbarField {
  1668. width: 200px;
  1669. }
  1670. #documentPropertiesOverlay > .dialog {
  1671. text-align: left;
  1672. }
  1673. #documentPropertiesOverlay .row > * {
  1674. min-width: 100px;
  1675. }
  1676. html[dir='ltr'] #documentPropertiesOverlay .row > * {
  1677. text-align: left;
  1678. }
  1679. html[dir='rtl'] #documentPropertiesOverlay .row > * {
  1680. text-align: right;
  1681. }
  1682. #documentPropertiesOverlay .row > span {
  1683. width: 125px;
  1684. word-wrap: break-word;
  1685. }
  1686. #documentPropertiesOverlay .row > p {
  1687. max-width: 225px;
  1688. word-wrap: break-word;
  1689. }
  1690. #documentPropertiesOverlay .buttonRow {
  1691. margin-top: 10px;
  1692. }
  1693. .clearBoth {
  1694. clear: both;
  1695. }
  1696. .fileInput {
  1697. background: white;
  1698. color: black;
  1699. margin-top: 5px;
  1700. visibility: hidden;
  1701. position: fixed;
  1702. right: 0;
  1703. top: 0;
  1704. }
  1705. #PDFBug {
  1706. background: none repeat scroll 0 0 white;
  1707. border: 1px solid #666666;
  1708. position: fixed;
  1709. top: 32px;
  1710. right: 0;
  1711. bottom: 0;
  1712. font-size: 10px;
  1713. padding: 0;
  1714. width: 300px;
  1715. }
  1716. #PDFBug .controls {
  1717. background:#EEEEEE;
  1718. border-bottom: 1px solid #666666;
  1719. padding: 3px;
  1720. }
  1721. #PDFBug .panels {
  1722. bottom: 0;
  1723. left: 0;
  1724. overflow: auto;
  1725. -webkit-overflow-scrolling: touch;
  1726. position: absolute;
  1727. right: 0;
  1728. top: 27px;
  1729. }
  1730. #PDFBug button.active {
  1731. font-weight: bold;
  1732. }
  1733. .debuggerShowText {
  1734. background: none repeat scroll 0 0 yellow;
  1735. color: blue;
  1736. }
  1737. .debuggerHideText:hover {
  1738. background: none repeat scroll 0 0 yellow;
  1739. }
  1740. #PDFBug .stats {
  1741. font-family: courier;
  1742. font-size: 10px;
  1743. white-space: pre;
  1744. }
  1745. #PDFBug .stats .title {
  1746. font-weight: bold;
  1747. }
  1748. #PDFBug table {
  1749. font-size: 10px;
  1750. }
  1751. #viewer.textLayer-visible .textLayer {
  1752. opacity: 1.0;
  1753. }
  1754. #viewer.textLayer-visible .canvasWrapper {
  1755. background-color: rgb(128,255,128);
  1756. }
  1757. #viewer.textLayer-visible .canvasWrapper canvas {
  1758. mix-blend-mode: screen;
  1759. }
  1760. #viewer.textLayer-visible .textLayer > span {
  1761. background-color: rgba(255, 255, 0, 0.1);
  1762. color: black;
  1763. border: solid 1px rgba(255, 0, 0, 0.5);
  1764. box-sizing: border-box;
  1765. }
  1766. #viewer.textLayer-hover .textLayer > span:hover {
  1767. background-color: white;
  1768. color: black;
  1769. }
  1770. #viewer.textLayer-shadow .textLayer > span {
  1771. background-color: rgba(255,255,255, .6);
  1772. color: black;
  1773. }
  1774. .grab-to-pan-grab {
  1775. cursor: url("images/grab.cur"), move !important;
  1776. cursor: -webkit-grab !important;
  1777. cursor: grab !important;
  1778. }
  1779. .grab-to-pan-grab *:not(input):not(textarea):not(button):not(select):not(:link) {
  1780. cursor: inherit !important;
  1781. }
  1782. .grab-to-pan-grab:active,
  1783. .grab-to-pan-grabbing {
  1784. cursor: url("images/grabbing.cur"), move !important;
  1785. cursor: -webkit-grabbing !important;
  1786. cursor: grabbing !important;
  1787. position: fixed;
  1788. background: transparent;
  1789. display: block;
  1790. top: 0;
  1791. left: 0;
  1792. right: 0;
  1793. bottom: 0;
  1794. overflow: hidden;
  1795. z-index: 50000; /* should be higher than anything else in PDF.js! */
  1796. }
  1797. @page {
  1798. margin: 0;
  1799. }
  1800. #printContainer {
  1801. display: none;
  1802. }
  1803. @media screen and (-webkit-min-device-pixel-ratio: 1.1), screen and (min-resolution: 1.1dppx) {
  1804. /* Rules for Retina screens */
  1805. .toolbarButton::before {
  1806. -webkit-transform: scale(0.5);
  1807. transform: scale(0.5);
  1808. top: -5px;
  1809. }
  1810. .secondaryToolbarButton::before {
  1811. -webkit-transform: scale(0.5);
  1812. transform: scale(0.5);
  1813. top: -4px;
  1814. }
  1815. html[dir='ltr'] .toolbarButton::before,
  1816. html[dir='rtl'] .toolbarButton::before {
  1817. left: -1px;
  1818. }
  1819. html[dir='ltr'] .secondaryToolbarButton::before {
  1820. left: -2px;
  1821. }
  1822. html[dir='rtl'] .secondaryToolbarButton::before {
  1823. left: 186px;
  1824. }
  1825. .toolbarField.pageNumber.visiblePageIsLoading,
  1826. #findInput[data-status="pending"] {
  1827. background-image: url(images/loading-small@2x.png);
  1828. background-size: 16px 17px;
  1829. }
  1830. .dropdownToolbarButton {
  1831. background: url(images/toolbarButton-menuArrows@2x.png) no-repeat;
  1832. background-size: 7px 16px;
  1833. }
  1834. html[dir='ltr'] .toolbarButton#sidebarToggle::before {
  1835. content: url(images/toolbarButton-sidebarToggle@2x.png);
  1836. }
  1837. html[dir='rtl'] .toolbarButton#sidebarToggle::before {
  1838. content: url(images/toolbarButton-sidebarToggle-rtl@2x.png);
  1839. }
  1840. html[dir='ltr'] .toolbarButton#secondaryToolbarToggle::before {
  1841. content: url(images/toolbarButton-secondaryToolbarToggle@2x.png);
  1842. }
  1843. html[dir='rtl'] .toolbarButton#secondaryToolbarToggle::before {
  1844. content: url(images/toolbarButton-secondaryToolbarToggle-rtl@2x.png);
  1845. }
  1846. html[dir='ltr'] .toolbarButton.findPrevious::before {
  1847. content: url(images/findbarButton-previous@2x.png);
  1848. }
  1849. html[dir='rtl'] .toolbarButton.findPrevious::before {
  1850. content: url(images/findbarButton-previous-rtl@2x.png);
  1851. }
  1852. html[dir='ltr'] .toolbarButton.findNext::before {
  1853. content: url(images/findbarButton-next@2x.png);
  1854. }
  1855. html[dir='rtl'] .toolbarButton.findNext::before {
  1856. content: url(images/findbarButton-next-rtl@2x.png);
  1857. }
  1858. html[dir='ltr'] .toolbarButton.pageUp::before {
  1859. content: url(images/toolbarButton-pageUp@2x.png);
  1860. }
  1861. html[dir='rtl'] .toolbarButton.pageUp::before {
  1862. content: url(images/toolbarButton-pageUp-rtl@2x.png);
  1863. }
  1864. html[dir='ltr'] .toolbarButton.pageDown::before {
  1865. content: url(images/toolbarButton-pageDown@2x.png);
  1866. }
  1867. html[dir='rtl'] .toolbarButton.pageDown::before {
  1868. content: url(images/toolbarButton-pageDown-rtl@2x.png);
  1869. }
  1870. .toolbarButton.zoomIn::before {
  1871. content: url(images/toolbarButton-zoomIn@2x.png);
  1872. }
  1873. .toolbarButton.zoomOut::before {
  1874. content: url(images/toolbarButton-zoomOut@2x.png);
  1875. }
  1876. .toolbarButton.presentationMode::before,
  1877. .secondaryToolbarButton.presentationMode::before {
  1878. content: url(images/toolbarButton-presentationMode@2x.png);
  1879. }
  1880. .toolbarButton.print::before,
  1881. .secondaryToolbarButton.print::before {
  1882. content: url(images/toolbarButton-print@2x.png);
  1883. }
  1884. .toolbarButton.openFile::before,
  1885. .secondaryToolbarButton.openFile::before {
  1886. content: url(images/toolbarButton-openFile@2x.png);
  1887. }
  1888. .toolbarButton.download::before,
  1889. .secondaryToolbarButton.download::before {
  1890. content: url(images/toolbarButton-download@2x.png);
  1891. }
  1892. .toolbarButton.bookmark::before,
  1893. .secondaryToolbarButton.bookmark::before {
  1894. content: url(images/toolbarButton-bookmark@2x.png);
  1895. }
  1896. #viewThumbnail.toolbarButton::before {
  1897. content: url(images/toolbarButton-viewThumbnail@2x.png);
  1898. }
  1899. html[dir="ltr"] #viewOutline.toolbarButton::before {
  1900. content: url(images/toolbarButton-viewOutline@2x.png);
  1901. }
  1902. html[dir="rtl"] #viewOutline.toolbarButton::before {
  1903. content: url(images/toolbarButton-viewOutline-rtl@2x.png);
  1904. }
  1905. #viewAttachments.toolbarButton::before {
  1906. content: url(images/toolbarButton-viewAttachments@2x.png);
  1907. }
  1908. #viewFind.toolbarButton::before {
  1909. content: url(images/toolbarButton-search@2x.png);
  1910. }
  1911. .secondaryToolbarButton.firstPage::before {
  1912. content: url(images/secondaryToolbarButton-firstPage@2x.png);
  1913. }
  1914. .secondaryToolbarButton.lastPage::before {
  1915. content: url(images/secondaryToolbarButton-lastPage@2x.png);
  1916. }
  1917. .secondaryToolbarButton.rotateCcw::before {
  1918. content: url(images/secondaryToolbarButton-rotateCcw@2x.png);
  1919. }
  1920. .secondaryToolbarButton.rotateCw::before {
  1921. content: url(images/secondaryToolbarButton-rotateCw@2x.png);
  1922. }
  1923. .secondaryToolbarButton.selectTool::before {
  1924. content: url(images/secondaryToolbarButton-selectTool@2x.png);
  1925. }
  1926. .secondaryToolbarButton.handTool::before {
  1927. content: url(images/secondaryToolbarButton-handTool@2x.png);
  1928. }
  1929. .secondaryToolbarButton.scrollVertical::before {
  1930. content: url(images/secondaryToolbarButton-scrollVertical@2x.png);
  1931. }
  1932. .secondaryToolbarButton.scrollHorizontal::before {
  1933. content: url(images/secondaryToolbarButton-scrollHorizontal@2x.png);
  1934. }
  1935. .secondaryToolbarButton.scrollWrapped::before {
  1936. content: url(images/secondaryToolbarButton-scrollWrapped@2x.png);
  1937. }
  1938. .secondaryToolbarButton.spreadNone::before {
  1939. content: url(images/secondaryToolbarButton-spreadNone@2x.png);
  1940. }
  1941. .secondaryToolbarButton.spreadOdd::before {
  1942. content: url(images/secondaryToolbarButton-spreadOdd@2x.png);
  1943. }
  1944. .secondaryToolbarButton.spreadEven::before {
  1945. content: url(images/secondaryToolbarButton-spreadEven@2x.png);
  1946. }
  1947. .secondaryToolbarButton.documentProperties::before {
  1948. content: url(images/secondaryToolbarButton-documentProperties@2x.png);
  1949. }
  1950. .outlineItemToggler::before {
  1951. -webkit-transform: scale(0.5);
  1952. transform: scale(0.5);
  1953. top: -1px;
  1954. content: url(images/treeitem-expanded@2x.png);
  1955. }
  1956. html[dir='ltr'] .outlineItemToggler.outlineItemsHidden::before {
  1957. content: url(images/treeitem-collapsed@2x.png);
  1958. }
  1959. html[dir='rtl'] .outlineItemToggler.outlineItemsHidden::before {
  1960. content: url(images/treeitem-collapsed-rtl@2x.png);
  1961. }
  1962. html[dir='ltr'] .outlineItemToggler::before {
  1963. right: 0;
  1964. }
  1965. html[dir='rtl'] .outlineItemToggler::before {
  1966. left: 0;
  1967. }
  1968. }
  1969. @media print {
  1970. /* General rules for printing. */
  1971. body {
  1972. background: transparent none;
  1973. }
  1974. /* Rules for browsers that don't support mozPrintCallback. */
  1975. #sidebarContainer, #secondaryToolbar, .toolbar, #loadingBox, #errorWrapper, .textLayer {
  1976. display: none;
  1977. }
  1978. #viewerContainer {
  1979. overflow: visible;
  1980. }
  1981. #mainContainer, #viewerContainer, .page, .page canvas {
  1982. position: static;
  1983. padding: 0;
  1984. margin: 0;
  1985. }
  1986. .page {
  1987. float: left;
  1988. display: none;
  1989. border: none;
  1990. box-shadow: none;
  1991. background-clip: content-box;
  1992. background-color: white;
  1993. }
  1994. .page[data-loaded] {
  1995. display: block;
  1996. }
  1997. .fileInput {
  1998. display: none;
  1999. }
  2000. /* Rules for browsers that support PDF.js printing */
  2001. body[data-pdfjsprinting] #outerContainer {
  2002. display: none;
  2003. }
  2004. body[data-pdfjsprinting] #printContainer {
  2005. display: block;
  2006. }
  2007. #printContainer {
  2008. height: 100%;
  2009. }
  2010. /* wrapper around (scaled) print canvas elements */
  2011. #printContainer > div {
  2012. position: relative;
  2013. top: 0;
  2014. left: 0;
  2015. width: 1px;
  2016. height: 1px;
  2017. overflow: visible;
  2018. page-break-after: always;
  2019. page-break-inside: avoid;
  2020. }
  2021. #printContainer canvas,
  2022. #printContainer img {
  2023. display: block;
  2024. }
  2025. }
  2026. .visibleLargeView,
  2027. .visibleMediumView,
  2028. .visibleSmallView {
  2029. display: none;
  2030. }
  2031. @media all and (max-width: 900px) {
  2032. #toolbarViewerMiddle {
  2033. display: table;
  2034. margin: auto;
  2035. left: auto;
  2036. position: inherit;
  2037. -webkit-transform: none;
  2038. transform: none;
  2039. }
  2040. }
  2041. @media all and (max-width: 840px) {
  2042. #sidebarContent {
  2043. background-color: hsla(0,0%,0%,.7);
  2044. }
  2045. html[dir='ltr'] #outerContainer.sidebarOpen #viewerContainer {
  2046. left: 0px !important;
  2047. }
  2048. html[dir='rtl'] #outerContainer.sidebarOpen #viewerContainer {
  2049. right: 0px !important;
  2050. }
  2051. #outerContainer .hiddenLargeView,
  2052. #outerContainer .hiddenMediumView {
  2053. display: inherit;
  2054. }
  2055. #outerContainer .visibleLargeView,
  2056. #outerContainer .visibleMediumView {
  2057. display: none;
  2058. }
  2059. }
  2060. @media all and (max-width: 770px) {
  2061. #outerContainer .hiddenLargeView {
  2062. display: none;
  2063. }
  2064. #outerContainer .visibleLargeView {
  2065. display: inherit;
  2066. }
  2067. }
  2068. @media all and (max-width: 700px) {
  2069. #outerContainer .hiddenMediumView {
  2070. display: none;
  2071. }
  2072. #outerContainer .visibleMediumView {
  2073. display: inherit;
  2074. }
  2075. }
  2076. @media all and (max-width: 640px) {
  2077. .hiddenSmallView, .hiddenSmallView * {
  2078. display: none;
  2079. }
  2080. .visibleSmallView {
  2081. display: inherit;
  2082. }
  2083. .toolbarButtonSpacer {
  2084. width: 0;
  2085. }
  2086. html[dir='ltr'] .findbar {
  2087. left: 38px;
  2088. }
  2089. html[dir='rtl'] .findbar {
  2090. right: 38px;
  2091. }
  2092. }
  2093. @media all and (max-width: 535px) {
  2094. #scaleSelectContainer {
  2095. display: none;
  2096. }
  2097. }
上海开阖软件有限公司 沪ICP备12045867号-1