qunit.css 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  1. /*!
  2. * QUnit 1.17.1
  3. * http://qunitjs.com/
  4. *
  5. * Copyright jQuery Foundation and other contributors
  6. * Released under the MIT license
  7. * http://jquery.org/license
  8. *
  9. * Date: 2015-01-20T19:39Z
  10. */
  11. /** Font Family and Sizes */
  12. #qunit-tests, #qunit-header, #qunit-banner, #qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult {
  13. font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial, sans-serif;
  14. }
  15. #qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult, #qunit-tests li { font-size: small; }
  16. #qunit-tests { font-size: smaller; }
  17. /** Resets */
  18. #qunit-tests, #qunit-header, #qunit-banner, #qunit-userAgent, #qunit-testresult, #qunit-modulefilter {
  19. margin: 0;
  20. padding: 0;
  21. }
  22. /** Header */
  23. #qunit-header {
  24. padding: 0.5em 0 0.5em 1em;
  25. color: #8699A4;
  26. background-color: #0D3349;
  27. font-size: 1.5em;
  28. line-height: 1em;
  29. font-weight: 400;
  30. border-radius: 5px 5px 0 0;
  31. }
  32. #qunit-header a {
  33. text-decoration: none;
  34. color: #C2CCD1;
  35. }
  36. #qunit-header a:hover,
  37. #qunit-header a:focus {
  38. color: #FFF;
  39. }
  40. #qunit-testrunner-toolbar label {
  41. display: inline-block;
  42. padding: 0 0.5em 0 0.1em;
  43. }
  44. #qunit-banner {
  45. height: 5px;
  46. }
  47. #qunit-testrunner-toolbar {
  48. padding: 0.5em 1em 0.5em 1em;
  49. color: #5E740B;
  50. background-color: #EEE;
  51. overflow: hidden;
  52. }
  53. #qunit-userAgent {
  54. padding: 0.5em 1em 0.5em 1em;
  55. background-color: #2B81AF;
  56. color: #FFF;
  57. text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px;
  58. }
  59. #qunit-modulefilter-container {
  60. float: right;
  61. padding: 0.2em;
  62. }
  63. .qunit-url-config {
  64. display: inline-block;
  65. padding: 0.1em;
  66. }
  67. .qunit-filter {
  68. display: block;
  69. float: right;
  70. margin-left: 1em;
  71. }
  72. /** Tests: Pass/Fail */
  73. #qunit-tests {
  74. list-style-position: inside;
  75. }
  76. #qunit-tests li {
  77. padding: 0.4em 1em 0.4em 1em;
  78. border-bottom: 1px solid #FFF;
  79. list-style-position: inside;
  80. }
  81. #qunit-tests > li {
  82. display: none;
  83. }
  84. #qunit-tests li.running,
  85. #qunit-tests li.pass,
  86. #qunit-tests li.fail,
  87. #qunit-tests li.skipped {
  88. display: list-item;
  89. }
  90. #qunit-tests.hidepass li.running,
  91. #qunit-tests.hidepass li.pass {
  92. display: none;
  93. }
  94. #qunit-tests li strong {
  95. cursor: pointer;
  96. }
  97. #qunit-tests li.skipped strong {
  98. cursor: default;
  99. }
  100. #qunit-tests li a {
  101. padding: 0.5em;
  102. color: #C2CCD1;
  103. text-decoration: none;
  104. }
  105. #qunit-tests li a:hover,
  106. #qunit-tests li a:focus {
  107. color: #000;
  108. }
  109. #qunit-tests li .runtime {
  110. float: right;
  111. font-size: smaller;
  112. }
  113. .qunit-assert-list {
  114. margin-top: 0.5em;
  115. padding: 0.5em;
  116. background-color: #FFF;
  117. border-radius: 5px;
  118. }
  119. .qunit-collapsed {
  120. display: none;
  121. }
  122. #qunit-tests table {
  123. border-collapse: collapse;
  124. margin-top: 0.2em;
  125. }
  126. #qunit-tests th {
  127. text-align: right;
  128. vertical-align: top;
  129. padding: 0 0.5em 0 0;
  130. }
  131. #qunit-tests td {
  132. vertical-align: top;
  133. }
  134. #qunit-tests pre {
  135. margin: 0;
  136. white-space: pre-wrap;
  137. word-wrap: break-word;
  138. }
  139. #qunit-tests del {
  140. background-color: #E0F2BE;
  141. color: #374E0C;
  142. text-decoration: none;
  143. }
  144. #qunit-tests ins {
  145. background-color: #FFCACA;
  146. color: #500;
  147. text-decoration: none;
  148. }
  149. /*** Test Counts */
  150. #qunit-tests b.counts { color: #000; }
  151. #qunit-tests b.passed { color: #5E740B; }
  152. #qunit-tests b.failed { color: #710909; }
  153. #qunit-tests li li {
  154. padding: 5px;
  155. background-color: #FFF;
  156. border-bottom: none;
  157. list-style-position: inside;
  158. }
  159. /*** Passing Styles */
  160. #qunit-tests li li.pass {
  161. color: #3C510C;
  162. background-color: #FFF;
  163. border-left: 10px solid #C6E746;
  164. }
  165. #qunit-tests .pass { color: #528CE0; background-color: #D2E0E6; }
  166. #qunit-tests .pass .test-name { color: #366097; }
  167. #qunit-tests .pass .test-actual,
  168. #qunit-tests .pass .test-expected { color: #999; }
  169. #qunit-banner.qunit-pass { background-color: #C6E746; }
  170. /*** Failing Styles */
  171. #qunit-tests li li.fail {
  172. color: #710909;
  173. background-color: #FFF;
  174. border-left: 10px solid #EE5757;
  175. white-space: pre;
  176. }
  177. #qunit-tests > li:last-child {
  178. border-radius: 0 0 5px 5px;
  179. }
  180. #qunit-tests .fail { color: #000; background-color: #EE5757; }
  181. #qunit-tests .fail .test-name,
  182. #qunit-tests .fail .module-name { color: #000; }
  183. #qunit-tests .fail .test-actual { color: #EE5757; }
  184. #qunit-tests .fail .test-expected { color: #008000; }
  185. #qunit-banner.qunit-fail { background-color: #EE5757; }
  186. /*** Skipped tests */
  187. #qunit-tests .skipped {
  188. background-color: #EBECE9;
  189. }
  190. #qunit-tests .qunit-skipped-label {
  191. background-color: #F4FF77;
  192. display: inline-block;
  193. font-style: normal;
  194. color: #366097;
  195. line-height: 1.8em;
  196. padding: 0 0.5em;
  197. margin: -0.4em 0.4em -0.4em 0;
  198. }
  199. /** Result */
  200. #qunit-testresult {
  201. padding: 0.5em 1em 0.5em 1em;
  202. color: #2B81AF;
  203. background-color: #D2E0E6;
  204. border-bottom: 1px solid #FFF;
  205. }
  206. #qunit-testresult .module-name {
  207. font-weight: 700;
  208. }
  209. /** Fixture */
  210. #qunit-fixture {
  211. position: absolute;
  212. top: -10000px;
  213. left: -10000px;
  214. width: 1000px;
  215. height: 1000px;
  216. }