qunit.css 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  1. /**
  2. * QUnit v1.4.0 - A JavaScript Unit Testing Framework
  3. *
  4. * http://docs.jquery.com/QUnit
  5. *
  6. * Copyright (c) 2012 John Resig, Jörn Zaefferer
  7. * Dual licensed under the MIT (MIT-LICENSE.txt)
  8. * or GPL (GPL-LICENSE.txt) licenses.
  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 {
  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: 15px 15px 0 0;
  30. -moz-border-radius: 15px 15px 0 0;
  31. -webkit-border-top-right-radius: 15px;
  32. -webkit-border-top-left-radius: 15px;
  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-header label {
  43. display: inline-block;
  44. }
  45. #qunit-banner {
  46. height: 5px;
  47. }
  48. #qunit-testrunner-toolbar {
  49. padding: 0.5em 0 0.5em 2em;
  50. color: #5E740B;
  51. background-color: #eee;
  52. }
  53. #qunit-userAgent {
  54. padding: 0.5em 0 0.5em 2.5em;
  55. background-color: #2b81af;
  56. color: #fff;
  57. text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px;
  58. }
  59. /** Tests: Pass/Fail */
  60. #qunit-tests {
  61. list-style-position: inside;
  62. }
  63. #qunit-tests li {
  64. padding: 0.4em 0.5em 0.4em 2.5em;
  65. border-bottom: 1px solid #fff;
  66. list-style-position: inside;
  67. }
  68. #qunit-tests.hidepass li.pass, #qunit-tests.hidepass li.running {
  69. display: none;
  70. }
  71. #qunit-tests li strong {
  72. cursor: pointer;
  73. }
  74. #qunit-tests li a {
  75. padding: 0.5em;
  76. color: #c2ccd1;
  77. text-decoration: none;
  78. }
  79. #qunit-tests li a:hover,
  80. #qunit-tests li a:focus {
  81. color: #000;
  82. }
  83. #qunit-tests ol {
  84. margin-top: 0.5em;
  85. padding: 0.5em;
  86. background-color: #fff;
  87. border-radius: 15px;
  88. -moz-border-radius: 15px;
  89. -webkit-border-radius: 15px;
  90. box-shadow: inset 0px 2px 13px #999;
  91. -moz-box-shadow: inset 0px 2px 13px #999;
  92. -webkit-box-shadow: inset 0px 2px 13px #999;
  93. }
  94. #qunit-tests table {
  95. border-collapse: collapse;
  96. margin-top: .2em;
  97. }
  98. #qunit-tests th {
  99. text-align: right;
  100. vertical-align: top;
  101. padding: 0 .5em 0 0;
  102. }
  103. #qunit-tests td {
  104. vertical-align: top;
  105. }
  106. #qunit-tests pre {
  107. margin: 0;
  108. white-space: pre-wrap;
  109. word-wrap: break-word;
  110. }
  111. #qunit-tests del {
  112. background-color: #e0f2be;
  113. color: #374e0c;
  114. text-decoration: none;
  115. }
  116. #qunit-tests ins {
  117. background-color: #ffcaca;
  118. color: #500;
  119. text-decoration: none;
  120. }
  121. /*** Test Counts */
  122. #qunit-tests b.counts { color: black; }
  123. #qunit-tests b.passed { color: #5E740B; }
  124. #qunit-tests b.failed { color: #710909; }
  125. #qunit-tests li li {
  126. margin: 0.5em;
  127. padding: 0.4em 0.5em 0.4em 0.5em;
  128. background-color: #fff;
  129. border-bottom: none;
  130. list-style-position: inside;
  131. }
  132. /*** Passing Styles */
  133. #qunit-tests li li.pass {
  134. color: #5E740B;
  135. background-color: #fff;
  136. border-left: 26px solid #C6E746;
  137. }
  138. #qunit-tests .pass { color: #528CE0; background-color: #D2E0E6; }
  139. #qunit-tests .pass .test-name { color: #366097; }
  140. #qunit-tests .pass .test-actual,
  141. #qunit-tests .pass .test-expected { color: #999999; }
  142. #qunit-banner.qunit-pass { background-color: #C6E746; }
  143. /*** Failing Styles */
  144. #qunit-tests li li.fail {
  145. color: #710909;
  146. background-color: #fff;
  147. border-left: 26px solid #EE5757;
  148. white-space: pre;
  149. }
  150. #qunit-tests > li:last-child {
  151. border-radius: 0 0 15px 15px;
  152. -moz-border-radius: 0 0 15px 15px;
  153. -webkit-border-bottom-right-radius: 15px;
  154. -webkit-border-bottom-left-radius: 15px;
  155. }
  156. #qunit-tests .fail { color: #000000; background-color: #EE5757; }
  157. #qunit-tests .fail .test-name,
  158. #qunit-tests .fail .module-name { color: #000000; }
  159. #qunit-tests .fail .test-actual { color: #EE5757; }
  160. #qunit-tests .fail .test-expected { color: green; }
  161. #qunit-banner.qunit-fail { background-color: #EE5757; }
  162. /** Result */
  163. #qunit-testresult {
  164. padding: 0.5em 0.5em 0.5em 2.5em;
  165. color: #2b81af;
  166. background-color: #D2E0E6;
  167. border-bottom: 1px solid white;
  168. }
  169. /** Fixture */
  170. #qunit-fixture {
  171. position: absolute;
  172. top: -10000px;
  173. left: -10000px;
  174. width: 1000px;
  175. height: 1000px;
  176. }