debugger.css 2.3 KB

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