Advertisement
Guest User

Untitled

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