reftest-analyzer.css 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. /*
  2. Copyright 2012 Mozilla Foundation
  3. Version: MPL 1.1/GPL 2.0/LGPL 2.1
  4. The contents of this file are subject to the Mozilla Public License Version
  5. 1.1 (the "License"); you may not use this file except in compliance with
  6. the License. You may obtain a copy of the License at
  7. http://www.mozilla.org/MPL
  8. Software distributed under the License is distributed on an "AS IS" basis,
  9. WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  10. for the specific language governing rights and limitations under the
  11. License.
  12. Alternatively, the contents of this file may be used under the terms of
  13. either the GNU General Public License Version 2 or later (the "GPL"), or
  14. the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  15. in which case the provisions of the GPL or the LGPL are applicable instead
  16. of those above. If you wish to allow use of your version of this file only
  17. under the terms of either the GPL or the LGPL, and not to allow others to
  18. use your version of this file under the terms of the MPL, indicate your
  19. decision by deleting the provisions above and replace them with the notice
  20. and other provisions required by the LGPL or the GPL. If you do not delete
  21. the provisions above, a recipient may use your version of this file under
  22. the terms of any one of the MPL, the GPL or the LGPL.
  23. Original author: L. David Baron <dbaron@dbaron.org>
  24. */
  25. * {
  26. padding: 0;
  27. margin: 0;
  28. }
  29. html {
  30. background-color: #fff;
  31. font: message-box;
  32. font-size: 14px;
  33. }
  34. body {
  35. padding: 10px;
  36. }
  37. a {
  38. color: #000;
  39. }
  40. #loading,
  41. #viewer {
  42. display: none;
  43. }
  44. #pixelarea {
  45. position: absolute;
  46. width: 320px;
  47. height: 94px;
  48. overflow: visible;
  49. top: 10px;
  50. left: 10px;
  51. }
  52. #itemlist {
  53. overflow: auto;
  54. position: absolute;
  55. top: 104px;
  56. width: 320px;
  57. bottom: 0;
  58. left: 10px;
  59. }
  60. #leftpane {
  61. width: 320px;
  62. }
  63. #imagepane {
  64. position: fixed;
  65. left: 340px;
  66. right: 0;
  67. top: 10px;
  68. bottom: 0;
  69. }
  70. #images {
  71. position: absolute;
  72. left: 0;
  73. right: 0;
  74. top: 22px;
  75. bottom: 0;
  76. overflow: auto;
  77. }
  78. #imgcontrols {
  79. margin: 0;
  80. display: block;
  81. }
  82. #itemtable,
  83. #itemtable td,
  84. #itemtable th {
  85. border: 1px solid #ccc;
  86. padding: 0;
  87. }
  88. #itemtable {
  89. border-collapse: collapse;
  90. border-spacing: 0;
  91. }
  92. #itemtable td:first-child {
  93. padding-left: 10px;
  94. width: 12px;
  95. }
  96. #itemtable td:last-child {
  97. padding: 0 5px;
  98. }
  99. #itemtable td.selected {
  100. background-color: #ddd;
  101. }
  102. #magnification > svg {
  103. display: block;
  104. width: 84px;
  105. height: 84px;
  106. }
  107. #pixelinfo {
  108. position: absolute;
  109. width: 200px;
  110. left: 85px;
  111. }
  112. #pixelinfo table {
  113. border-collapse: collapse;
  114. }
  115. #pixelinfo table th {
  116. white-space: nowrap;
  117. text-align: left;
  118. padding: 0;
  119. }
  120. #pixelinfo table td {
  121. padding: 0 0 0 0.25em;
  122. }
  123. #pixelhint {
  124. color: #000;
  125. cursor: help;
  126. text-decoration: underline;
  127. width: 15px;
  128. }
  129. #pixelhint > * {
  130. display: none;
  131. position: absolute;
  132. margin: 8px 0 0 8px;
  133. padding: 4px;
  134. width: 400px;
  135. background-color: #ffa;
  136. color: #000;
  137. box-shadow: 3px 3px 2px #888;
  138. z-index: 1;
  139. }
  140. #pixelhint:hover {
  141. color: #000;
  142. }
  143. #pixelhint:hover > * {
  144. display: block;
  145. }
  146. #pixelhint p {
  147. margin: 0;
  148. }
  149. #pixelhint p + p {
  150. margin-top: 1em;
  151. }
  152. #referenceImage,
  153. #differences {
  154. margin: 0 0 10px 20px;
  155. }
  156. #shortcuts {
  157. float: right;
  158. font-size: 10px;
  159. }