qunit-1.16.0.css 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264
  1. /*!
  2. * QUnit 1.16.0
  3. * http://qunitjs.com/
  4. *
  5. * Copyright 2006, 2014 jQuery Foundation and other contributors
  6. * Released under the MIT license
  7. * http://jquery.org/license
  8. *
  9. * Date: 2014-12-03T16:32Z
  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. }
  62. /** Tests: Pass/Fail */
  63. #qunit-tests {
  64. list-style-position: inside;
  65. }
  66. #qunit-tests li {
  67. padding: 0.4em 1em 0.4em 1em;
  68. border-bottom: 1px solid #FFF;
  69. list-style-position: inside;
  70. }
  71. #qunit-tests > li {
  72. display: none;
  73. }
  74. #qunit-tests li.pass, #qunit-tests li.running, #qunit-tests li.fail {
  75. display: list-item;
  76. }
  77. #qunit-tests.hidepass li.pass, #qunit-tests.hidepass li.running {
  78. display: none;
  79. }
  80. #qunit-tests li strong {
  81. cursor: pointer;
  82. }
  83. #qunit-tests li.skipped strong {
  84. cursor: default;
  85. }
  86. #qunit-tests li a {
  87. padding: 0.5em;
  88. color: #C2CCD1;
  89. text-decoration: none;
  90. }
  91. #qunit-tests li a:hover,
  92. #qunit-tests li a:focus {
  93. color: #000;
  94. }
  95. #qunit-tests li .runtime {
  96. float: right;
  97. font-size: smaller;
  98. }
  99. .qunit-assert-list {
  100. margin-top: 0.5em;
  101. padding: 0.5em;
  102. background-color: #FFF;
  103. border-radius: 5px;
  104. }
  105. .qunit-collapsed {
  106. display: none;
  107. }
  108. #qunit-tests table {
  109. border-collapse: collapse;
  110. margin-top: 0.2em;
  111. }
  112. #qunit-tests th {
  113. text-align: right;
  114. vertical-align: top;
  115. padding: 0 0.5em 0 0;
  116. }
  117. #qunit-tests td {
  118. vertical-align: top;
  119. }
  120. #qunit-tests pre {
  121. margin: 0;
  122. white-space: pre-wrap;
  123. word-wrap: break-word;
  124. }
  125. #qunit-tests del {
  126. background-color: #E0F2BE;
  127. color: #374E0C;
  128. text-decoration: none;
  129. }
  130. #qunit-tests ins {
  131. background-color: #FFCACA;
  132. color: #500;
  133. text-decoration: none;
  134. }
  135. /*** Test Counts */
  136. #qunit-tests b.counts { color: #000; }
  137. #qunit-tests b.passed { color: #5E740B; }
  138. #qunit-tests b.failed { color: #710909; }
  139. #qunit-tests li li {
  140. padding: 5px;
  141. background-color: #FFF;
  142. border-bottom: none;
  143. list-style-position: inside;
  144. }
  145. /*** Passing Styles */
  146. #qunit-tests li li.pass {
  147. color: #3C510C;
  148. background-color: #FFF;
  149. border-left: 10px solid #C6E746;
  150. }
  151. #qunit-tests .pass { color: #528CE0; background-color: #D2E0E6; }
  152. #qunit-tests .pass .test-name { color: #366097; }
  153. #qunit-tests .pass .test-actual,
  154. #qunit-tests .pass .test-expected { color: #999; }
  155. #qunit-banner.qunit-pass { background-color: #C6E746; }
  156. /*** Failing Styles */
  157. #qunit-tests li li.fail {
  158. color: #710909;
  159. background-color: #FFF;
  160. border-left: 10px solid #EE5757;
  161. white-space: pre;
  162. }
  163. #qunit-tests > li:last-child {
  164. border-radius: 0 0 5px 5px;
  165. }
  166. #qunit-tests .fail { color: #000; background-color: #EE5757; }
  167. #qunit-tests .fail .test-name,
  168. #qunit-tests .fail .module-name { color: #000; }
  169. #qunit-tests .fail .test-actual { color: #EE5757; }
  170. #qunit-tests .fail .test-expected { color: #008000; }
  171. #qunit-banner.qunit-fail { background-color: #EE5757; }
  172. /*** Skipped tests */
  173. #qunit-tests .skipped {
  174. background-color: #EBECE9;
  175. }
  176. #qunit-tests .qunit-skipped-label {
  177. background-color: #F4FF77;
  178. display: inline-block;
  179. font-style: normal;
  180. color: #366097;
  181. line-height: 1.8em;
  182. padding: 0 0.5em;
  183. margin: -0.4em 0.4em -0.4em 0;
  184. }
  185. /** Result */
  186. #qunit-testresult {
  187. padding: 0.5em 1em 0.5em 1em;
  188. color: #2B81AF;
  189. background-color: #D2E0E6;
  190. border-bottom: 1px solid #FFF;
  191. }
  192. #qunit-testresult .module-name {
  193. font-weight: 700;
  194. }
  195. /** Fixture */
  196. #qunit-fixture {
  197. position: absolute;
  198. top: -10000px;
  199. left: -10000px;
  200. width: 1000px;
  201. height: 1000px;
  202. }