|
| 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 | +#PDFBug { |
| 17 | + background-color: rgba(255, 255, 255, 1); |
| 18 | + border: 1px solid rgba(102, 102, 102, 1); |
| 19 | + position: fixed; |
| 20 | + top: 32px; |
| 21 | + right: 0; |
| 22 | + bottom: 0; |
| 23 | + font-size: 10px; |
| 24 | + padding: 0; |
| 25 | + width: 300px; |
| 26 | +} |
| 27 | +#PDFBug .controls { |
| 28 | + background: rgba(238, 238, 238, 1); |
| 29 | + border-bottom: 1px solid rgba(102, 102, 102, 1); |
| 30 | + padding: 3px; |
| 31 | +} |
| 32 | +#PDFBug .panels { |
| 33 | + bottom: 0; |
| 34 | + left: 0; |
| 35 | + overflow: auto; |
| 36 | + position: absolute; |
| 37 | + right: 0; |
| 38 | + top: 27px; |
| 39 | +} |
| 40 | +#PDFBug .panels > div { |
| 41 | + padding: 5px; |
| 42 | +} |
| 43 | +#PDFBug button.active { |
| 44 | + font-weight: bold; |
| 45 | +} |
| 46 | +.debuggerShowText, |
| 47 | +.debuggerHideText:hover { |
| 48 | + background-color: rgba(255, 255, 0, 1); |
| 49 | +} |
| 50 | +#PDFBug .stats { |
| 51 | + font-family: courier; |
| 52 | + font-size: 10px; |
| 53 | + white-space: pre; |
| 54 | +} |
| 55 | +#PDFBug .stats .title { |
| 56 | + font-weight: bold; |
| 57 | +} |
| 58 | +#PDFBug table { |
| 59 | + font-size: 10px; |
| 60 | + white-space: pre; |
| 61 | +} |
| 62 | +#PDFBug table.showText { |
| 63 | + border-collapse: collapse; |
| 64 | + text-align: center; |
| 65 | +} |
| 66 | +#PDFBug table.showText, |
| 67 | +#PDFBug table.showText tr, |
| 68 | +#PDFBug table.showText td { |
| 69 | + border: 1px solid black; |
| 70 | + padding: 1px; |
| 71 | +} |
| 72 | +#PDFBug table.showText td.advance { |
| 73 | + color: grey; |
| 74 | +} |
| 75 | + |
| 76 | +#viewer.textLayer-visible .textLayer { |
| 77 | + opacity: 1; |
| 78 | +} |
| 79 | + |
| 80 | +#viewer.textLayer-visible .canvasWrapper { |
| 81 | + background-color: rgba(128, 255, 128, 1); |
| 82 | +} |
| 83 | + |
| 84 | +#viewer.textLayer-visible .canvasWrapper canvas { |
| 85 | + mix-blend-mode: screen; |
| 86 | +} |
| 87 | + |
| 88 | +#viewer.textLayer-visible .textLayer span { |
| 89 | + background-color: rgba(255, 255, 0, 0.1); |
| 90 | + color: rgba(0, 0, 0, 1); |
| 91 | + border: solid 1px rgba(255, 0, 0, 0.5); |
| 92 | + box-sizing: border-box; |
| 93 | +} |
| 94 | + |
| 95 | +#viewer.textLayer-hover .textLayer span:hover { |
| 96 | + background-color: rgba(255, 255, 255, 1); |
| 97 | + color: rgba(0, 0, 0, 1); |
| 98 | +} |
| 99 | + |
| 100 | +#viewer.textLayer-shadow .textLayer span { |
| 101 | + background-color: rgba(255, 255, 255, 0.6); |
| 102 | + color: rgba(0, 0, 0, 1); |
| 103 | +} |
0 commit comments