qunit.css 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. /** Font Family and Sizes */
  2. #qunit-wrapper {
  3. font-family: "Helvetica Neue", Helvetica, sans-serif;
  4. }
  5. #qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult, #qunit-tests li { font-size: small; }
  6. #qunit-tests { font-size: smaller; }
  7. /** Resets */
  8. #qunit-wrapper, #qunit-tests, #qunit-tests ol, #qunit-header, #qunit-banner, #qunit-userAgent, #qunit-testresult {
  9. margin: 0;
  10. padding: 0;
  11. }
  12. /** Header */
  13. #qunit-header {
  14. font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Helvetica, sans-serif;
  15. padding: 0.5em 0 0.5em 1.3em;
  16. color: #8699a4;
  17. background-color: #0d3349;
  18. font-size: 1.5em;
  19. line-height: 1em;
  20. font-weight: normal;
  21. }
  22. #qunit-header a {
  23. text-decoration: none;
  24. color: #c2ccd1;
  25. }
  26. #qunit-header a:hover,
  27. #qunit-header a:focus {
  28. color: #fff;
  29. }
  30. #qunit-banner.qunit-pass {
  31. height: 3px;
  32. }
  33. #qunit-banner.qunit-fail {
  34. height: 5px;
  35. }
  36. #qunit-testrunner-toolbar {
  37. padding: 0 0 0.5em 2em;
  38. }
  39. #qunit-testrunner-toolbar label {
  40. margin-right: 1em;
  41. }
  42. #qunit-userAgent {
  43. padding: 0.5em 0 0.5em 2.5em;
  44. font-weight: normal;
  45. color: #666;
  46. }
  47. /** Tests: Pass/Fail */
  48. #qunit-tests {
  49. list-style-type: none;
  50. background-color: #D2E0E6;
  51. }
  52. #qunit-tests li {
  53. padding: 0.4em 0.5em 0.4em 2.5em;
  54. }
  55. #qunit-tests li strong {
  56. font-weight: normal;
  57. cursor: pointer;
  58. }
  59. #qunit-tests ol {
  60. margin: 0.5em 0 1em;
  61. background-color: #fff;
  62. }
  63. #qunit-tests table {
  64. border-collapse: collapse;
  65. margin-top: .2em;
  66. }
  67. #qunit-tests th {
  68. text-align: right;
  69. vertical-align: top;
  70. padding: 0 .5em 0 0;
  71. }
  72. #qunit-tests td {
  73. vertical-align: top;
  74. }
  75. #qunit-tests pre {
  76. margin: 0;
  77. white-space: pre-wrap;
  78. word-wrap: break-word;
  79. }
  80. #qunit-tests del {
  81. background-color: #e0f2be;
  82. color: #374e0c;
  83. text-decoration: none;
  84. }
  85. #qunit-tests ins {
  86. background-color: #ffcaca;
  87. color: #500;
  88. text-decoration: none;
  89. }
  90. /*** Test Counts */
  91. #qunit-tests b.passed { color: #5E740B; }
  92. #qunit-tests b.failed {
  93. color: #710909;
  94. }
  95. #qunit-tests li.fail .failed {
  96. color: #E48989;
  97. }
  98. #qunit-tests li.fail .passed {
  99. color: #E3C987;
  100. }
  101. #qunit-tests li li {
  102. margin-left: 2.5em;
  103. padding: 0.7em 0.5em 0.7em 0;
  104. background-color: #fff;
  105. border-bottom: none;
  106. }
  107. #qunit-tests b.counts {
  108. font-weight: normal;
  109. }
  110. /*** Passing Styles */
  111. #qunit-tests li li.pass {
  112. color: #5E740B;
  113. background-color: #fff;
  114. }
  115. #qunit-tests .pass { color: #2f3424; background-color: #d9dec3; }
  116. #qunit-tests .pass .module-name { color: #636b51; }
  117. #qunit-tests .pass .test-actual,
  118. #qunit-tests .pass .test-expected { color: #999999; }
  119. #qunit-banner.qunit-pass { background-color: #C6E746; }
  120. /*** Failing Styles */
  121. #qunit-tests li li.fail {
  122. color: #710909;
  123. background-color: #fff;
  124. }
  125. #qunit-tests .fail { color: #fff; background-color: #962323; }
  126. #qunit-tests .fail .module-name,
  127. #qunit-tests .fail .counts { color: #DEC1C1; }
  128. #qunit-tests .fail .test-actual { color: #B72F2F; }
  129. #qunit-tests .fail .test-expected { color: green; }
  130. #qunit-banner.qunit-fail,
  131. #qunit-testrunner-toolbar { color: #dec1c1; background-color: #962323; }
  132. /** Footer */
  133. #qunit-testresult {
  134. padding: 0.5em 0.5em 0.5em 2.5em;
  135. color: #333;
  136. }
  137. /** Fixture */
  138. #qunit-fixture {
  139. position: absolute;
  140. top: -10000px;
  141. left: -10000px;
  142. }