qunit.css 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  1. /**
  2. * QUnit v1.10.0 - A JavaScript Unit Testing Framework
  3. *
  4. * http://qunitjs.com
  5. *
  6. * Copyright 2012 jQuery Foundation and other contributors
  7. * Released under the MIT license.
  8. * http://jquery.org/license
  9. */
  10. /** Font Family and Sizes */
  11. #qunit-tests, #qunit-header, #qunit-banner, #qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult {
  12. font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial, sans-serif;
  13. }
  14. #qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult, #qunit-tests li { font-size: small; }
  15. #qunit-tests { font-size: smaller; }
  16. /** Resets */
  17. #qunit-tests, #qunit-tests ol, #qunit-header, #qunit-banner, #qunit-userAgent, #qunit-testresult, #qunit-modulefilter {
  18. margin: 0;
  19. padding: 0;
  20. }
  21. /** Header */
  22. #qunit-header {
  23. padding: 0.5em 0 0.5em 1em;
  24. color: #8699a4;
  25. background-color: #0d3349;
  26. font-size: 1.5em;
  27. line-height: 1em;
  28. font-weight: normal;
  29. border-radius: 5px 5px 0 0;
  30. -moz-border-radius: 5px 5px 0 0;
  31. -webkit-border-top-right-radius: 5px;
  32. -webkit-border-top-left-radius: 5px;
  33. }
  34. #qunit-header a {
  35. text-decoration: none;
  36. color: #c2ccd1;
  37. }
  38. #qunit-header a:hover,
  39. #qunit-header a:focus {
  40. color: #fff;
  41. }
  42. #qunit-testrunner-toolbar label {
  43. display: inline-block;
  44. padding: 0 .5em 0 .1em;
  45. }
  46. #qunit-banner {
  47. height: 5px;
  48. }
  49. #qunit-testrunner-toolbar {
  50. padding: 0.5em 0 0.5em 2em;
  51. color: #5E740B;
  52. background-color: #eee;
  53. overflow: hidden;
  54. }
  55. #qunit-userAgent {
  56. padding: 0.5em 0 0.5em 2.5em;
  57. background-color: #2b81af;
  58. color: #fff;
  59. text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px;
  60. }
  61. #qunit-modulefilter-container {
  62. float: right;
  63. }
  64. /** Tests: Pass/Fail */
  65. #qunit-tests {
  66. list-style-position: inside;
  67. }
  68. #qunit-tests li {
  69. padding: 0.4em 0.5em 0.4em 2.5em;
  70. border-bottom: 1px solid #fff;
  71. list-style-position: inside;
  72. }
  73. #qunit-tests.hidepass li.pass, #qunit-tests.hidepass li.running {
  74. display: none;
  75. }
  76. #qunit-tests li strong {
  77. cursor: pointer;
  78. }
  79. #qunit-tests li a {
  80. padding: 0.5em;
  81. color: #c2ccd1;
  82. text-decoration: none;
  83. }
  84. #qunit-tests li a:hover,
  85. #qunit-tests li a:focus {
  86. color: #000;
  87. }
  88. #qunit-tests ol {
  89. margin-top: 0.5em;
  90. padding: 0.5em;
  91. background-color: #fff;
  92. border-radius: 5px;
  93. -moz-border-radius: 5px;
  94. -webkit-border-radius: 5px;
  95. }
  96. #qunit-tests table {
  97. border-collapse: collapse;
  98. margin-top: .2em;
  99. }
  100. #qunit-tests th {
  101. text-align: right;
  102. vertical-align: top;
  103. padding: 0 .5em 0 0;
  104. }
  105. #qunit-tests td {
  106. vertical-align: top;
  107. }
  108. #qunit-tests pre {
  109. margin: 0;
  110. white-space: pre-wrap;
  111. word-wrap: break-word;
  112. }
  113. #qunit-tests del {
  114. background-color: #e0f2be;
  115. color: #374e0c;
  116. text-decoration: none;
  117. }
  118. #qunit-tests ins {
  119. background-color: #ffcaca;
  120. color: #500;
  121. text-decoration: none;
  122. }
  123. /*** Test Counts */
  124. #qunit-tests b.counts { color: black; }
  125. #qunit-tests b.passed { color: #5E740B; }
  126. #qunit-tests b.failed { color: #710909; }
  127. #qunit-tests li li {
  128. padding: 5px;
  129. background-color: #fff;
  130. border-bottom: none;
  131. list-style-position: inside;
  132. }
  133. /*** Passing Styles */
  134. #qunit-tests li li.pass {
  135. color: #3c510c;
  136. background-color: #fff;
  137. border-left: 10px solid #C6E746;
  138. }
  139. #qunit-tests .pass { color: #528CE0; background-color: #D2E0E6; }
  140. #qunit-tests .pass .test-name { color: #366097; }
  141. #qunit-tests .pass .test-actual,
  142. #qunit-tests .pass .test-expected { color: #999999; }
  143. #qunit-banner.qunit-pass { background-color: #C6E746; }
  144. /*** Failing Styles */
  145. #qunit-tests li li.fail {
  146. color: #710909;
  147. background-color: #fff;
  148. border-left: 10px solid #EE5757;
  149. white-space: pre;
  150. }
  151. #qunit-tests > li:last-child {
  152. border-radius: 0 0 5px 5px;
  153. -moz-border-radius: 0 0 5px 5px;
  154. -webkit-border-bottom-right-radius: 5px;
  155. -webkit-border-bottom-left-radius: 5px;
  156. }
  157. #qunit-tests .fail { color: #000000; background-color: #EE5757; }
  158. #qunit-tests .fail .test-name,
  159. #qunit-tests .fail .module-name { color: #000000; }
  160. #qunit-tests .fail .test-actual { color: #EE5757; }
  161. #qunit-tests .fail .test-expected { color: green; }
  162. #qunit-banner.qunit-fail { background-color: #EE5757; }
  163. /** Result */
  164. #qunit-testresult {
  165. padding: 0.5em 0.5em 0.5em 2.5em;
  166. color: #2b81af;
  167. background-color: #D2E0E6;
  168. border-bottom: 1px solid white;
  169. }
  170. #qunit-testresult .module-name {
  171. font-weight: bold;
  172. }
  173. /** Fixture */
  174. #qunit-fixture {
  175. position: absolute;
  176. top: -10000px;
  177. left: -10000px;
  178. width: 1000px;
  179. height: 1000px;
  180. }