debugger.css 2.4 KB

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