qunit-1.12.0.css 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  1. /**
  2. * QUnit v1.12.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-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 li .runtime {
  89. float: right;
  90. font-size: smaller;
  91. }
  92. .qunit-assert-list {
  93. margin-top: 0.5em;
  94. padding: 0.5em;
  95. background-color: #fff;
  96. border-radius: 5px;
  97. -moz-border-radius: 5px;
  98. -webkit-border-radius: 5px;
  99. }
  100. .qunit-collapsed {
  101. display: none;
  102. }
  103. #qunit-tests table {
  104. border-collapse: collapse;
  105. margin-top: .2em;
  106. }
  107. #qunit-tests th {
  108. text-align: right;
  109. vertical-align: top;
  110. padding: 0 .5em 0 0;
  111. }
  112. #qunit-tests td {
  113. vertical-align: top;
  114. }
  115. #qunit-tests pre {
  116. margin: 0;
  117. white-space: pre-wrap;
  118. word-wrap: break-word;
  119. }
  120. #qunit-tests del {
  121. background-color: #e0f2be;
  122. color: #374e0c;
  123. text-decoration: none;
  124. }
  125. #qunit-tests ins {
  126. background-color: #ffcaca;
  127. color: #500;
  128. text-decoration: none;
  129. }
  130. /*** Test Counts */
  131. #qunit-tests b.counts { color: black; }
  132. #qunit-tests b.passed { color: #5E740B; }
  133. #qunit-tests b.failed { color: #710909; }
  134. #qunit-tests li li {
  135. padding: 5px;
  136. background-color: #fff;
  137. border-bottom: none;
  138. list-style-position: inside;
  139. }
  140. /*** Passing Styles */
  141. #qunit-tests li li.pass {
  142. color: #3c510c;
  143. background-color: #fff;
  144. border-left: 10px solid #C6E746;
  145. }
  146. #qunit-tests .pass { color: #528CE0; background-color: #D2E0E6; }
  147. #qunit-tests .pass .test-name { color: #366097; }
  148. #qunit-tests .pass .test-actual,
  149. #qunit-tests .pass .test-expected { color: #999999; }
  150. #qunit-banner.qunit-pass { background-color: #C6E746; }
  151. /*** Failing Styles */
  152. #qunit-tests li li.fail {
  153. color: #710909;
  154. background-color: #fff;
  155. border-left: 10px solid #EE5757;
  156. white-space: pre;
  157. }
  158. #qunit-tests > li:last-child {
  159. border-radius: 0 0 5px 5px;
  160. -moz-border-radius: 0 0 5px 5px;
  161. -webkit-border-bottom-right-radius: 5px;
  162. -webkit-border-bottom-left-radius: 5px;
  163. }
  164. #qunit-tests .fail { color: #000000; background-color: #EE5757; }
  165. #qunit-tests .fail .test-name,
  166. #qunit-tests .fail .module-name { color: #000000; }
  167. #qunit-tests .fail .test-actual { color: #EE5757; }
  168. #qunit-tests .fail .test-expected { color: green; }
  169. #qunit-banner.qunit-fail { background-color: #EE5757; }
  170. /** Result */
  171. #qunit-testresult {
  172. padding: 0.5em 0.5em 0.5em 2.5em;
  173. color: #2b81af;
  174. background-color: #D2E0E6;
  175. border-bottom: 1px solid white;
  176. }
  177. #qunit-testresult .module-name {
  178. font-weight: bold;
  179. }
  180. /** Fixture */
  181. #qunit-fixture {
  182. position: absolute;
  183. top: -10000px;
  184. left: -10000px;
  185. width: 1000px;
  186. height: 1000px;
  187. }