qunit.css 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291
  1. /*!
  2. * QUnit 1.18.0
  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-04-03T10:23Z
  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. visibility: hidden;
  93. position: absolute;
  94. width: 0px;
  95. height: 0px;
  96. padding: 0;
  97. border: 0;
  98. margin: 0;
  99. }
  100. #qunit-tests li strong {
  101. cursor: pointer;
  102. }
  103. #qunit-tests li.skipped strong {
  104. cursor: default;
  105. }
  106. #qunit-tests li a {
  107. padding: 0.5em;
  108. color: #C2CCD1;
  109. text-decoration: none;
  110. }
  111. #qunit-tests li p a {
  112. padding: 0.25em;
  113. color: #6B6464;
  114. }
  115. #qunit-tests li a:hover,
  116. #qunit-tests li a:focus {
  117. color: #000;
  118. }
  119. #qunit-tests li .runtime {
  120. float: right;
  121. font-size: smaller;
  122. }
  123. .qunit-assert-list {
  124. margin-top: 0.5em;
  125. padding: 0.5em;
  126. background-color: #FFF;
  127. border-radius: 5px;
  128. }
  129. .qunit-collapsed {
  130. display: none;
  131. }
  132. #qunit-tests table {
  133. border-collapse: collapse;
  134. margin-top: 0.2em;
  135. }
  136. #qunit-tests th {
  137. text-align: right;
  138. vertical-align: top;
  139. padding: 0 0.5em 0 0;
  140. }
  141. #qunit-tests td {
  142. vertical-align: top;
  143. }
  144. #qunit-tests pre {
  145. margin: 0;
  146. white-space: pre-wrap;
  147. word-wrap: break-word;
  148. }
  149. #qunit-tests del {
  150. background-color: #E0F2BE;
  151. color: #374E0C;
  152. text-decoration: none;
  153. }
  154. #qunit-tests ins {
  155. background-color: #FFCACA;
  156. color: #500;
  157. text-decoration: none;
  158. }
  159. /*** Test Counts */
  160. #qunit-tests b.counts { color: #000; }
  161. #qunit-tests b.passed { color: #5E740B; }
  162. #qunit-tests b.failed { color: #710909; }
  163. #qunit-tests li li {
  164. padding: 5px;
  165. background-color: #FFF;
  166. border-bottom: none;
  167. list-style-position: inside;
  168. }
  169. /*** Passing Styles */
  170. #qunit-tests li li.pass {
  171. color: #3C510C;
  172. background-color: #FFF;
  173. border-left: 10px solid #C6E746;
  174. }
  175. #qunit-tests .pass { color: #528CE0; background-color: #D2E0E6; }
  176. #qunit-tests .pass .test-name { color: #366097; }
  177. #qunit-tests .pass .test-actual,
  178. #qunit-tests .pass .test-expected { color: #999; }
  179. #qunit-banner.qunit-pass { background-color: #C6E746; }
  180. /*** Failing Styles */
  181. #qunit-tests li li.fail {
  182. color: #710909;
  183. background-color: #FFF;
  184. border-left: 10px solid #EE5757;
  185. white-space: pre;
  186. }
  187. #qunit-tests > li:last-child {
  188. border-radius: 0 0 5px 5px;
  189. }
  190. #qunit-tests .fail { color: #000; background-color: #EE5757; }
  191. #qunit-tests .fail .test-name,
  192. #qunit-tests .fail .module-name { color: #000; }
  193. #qunit-tests .fail .test-actual { color: #EE5757; }
  194. #qunit-tests .fail .test-expected { color: #008000; }
  195. #qunit-banner.qunit-fail { background-color: #EE5757; }
  196. /*** Skipped tests */
  197. #qunit-tests .skipped {
  198. background-color: #EBECE9;
  199. }
  200. #qunit-tests .qunit-skipped-label {
  201. background-color: #F4FF77;
  202. display: inline-block;
  203. font-style: normal;
  204. color: #366097;
  205. line-height: 1.8em;
  206. padding: 0 0.5em;
  207. margin: -0.4em 0.4em -0.4em 0;
  208. }
  209. /** Result */
  210. #qunit-testresult {
  211. padding: 0.5em 1em 0.5em 1em;
  212. color: #2B81AF;
  213. background-color: #D2E0E6;
  214. border-bottom: 1px solid #FFF;
  215. }
  216. #qunit-testresult .module-name {
  217. font-weight: 700;
  218. }
  219. /** Fixture */
  220. #qunit-fixture {
  221. position: absolute;
  222. top: -10000px;
  223. left: -10000px;
  224. width: 1000px;
  225. height: 1000px;
  226. }