qunit-1.21.0.css 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305
  1. /*!
  2. * QUnit 1.21.0
  3. * https://qunitjs.com/
  4. *
  5. * Copyright jQuery Foundation and other contributors
  6. * Released under the MIT license
  7. * https://jquery.org/license
  8. *
  9. * Date: 2016-02-01T13:07Z
  10. */
  11. /** Font Family and Sizes */
  12. #qunit-tests, #qunit-header, #qunit-banner, #qunit-testrunner-toolbar, #qunit-filteredTest, #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-filteredTest, #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-filteredTest, #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-filteredTest {
  54. padding: 0.5em 1em 0.5em 1em;
  55. background-color: #F4FF77;
  56. color: #366097;
  57. }
  58. #qunit-userAgent {
  59. padding: 0.5em 1em 0.5em 1em;
  60. background-color: #2B81AF;
  61. color: #FFF;
  62. text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px;
  63. }
  64. #qunit-modulefilter-container {
  65. float: right;
  66. padding: 0.2em;
  67. }
  68. .qunit-url-config {
  69. display: inline-block;
  70. padding: 0.1em;
  71. }
  72. .qunit-filter {
  73. display: block;
  74. float: right;
  75. margin-left: 1em;
  76. }
  77. /** Tests: Pass/Fail */
  78. #qunit-tests {
  79. list-style-position: inside;
  80. }
  81. #qunit-tests li {
  82. padding: 0.4em 1em 0.4em 1em;
  83. border-bottom: 1px solid #FFF;
  84. list-style-position: inside;
  85. }
  86. #qunit-tests > li {
  87. display: none;
  88. }
  89. #qunit-tests li.running,
  90. #qunit-tests li.pass,
  91. #qunit-tests li.fail,
  92. #qunit-tests li.skipped {
  93. display: list-item;
  94. }
  95. #qunit-tests.hidepass {
  96. position: relative;
  97. }
  98. #qunit-tests.hidepass li.running,
  99. #qunit-tests.hidepass li.pass {
  100. visibility: hidden;
  101. position: absolute;
  102. width: 0;
  103. height: 0;
  104. padding: 0;
  105. border: 0;
  106. margin: 0;
  107. }
  108. #qunit-tests li strong {
  109. cursor: pointer;
  110. }
  111. #qunit-tests li.skipped strong {
  112. cursor: default;
  113. }
  114. #qunit-tests li a {
  115. padding: 0.5em;
  116. color: #C2CCD1;
  117. text-decoration: none;
  118. }
  119. #qunit-tests li p a {
  120. padding: 0.25em;
  121. color: #6B6464;
  122. }
  123. #qunit-tests li a:hover,
  124. #qunit-tests li a:focus {
  125. color: #000;
  126. }
  127. #qunit-tests li .runtime {
  128. float: right;
  129. font-size: smaller;
  130. }
  131. .qunit-assert-list {
  132. margin-top: 0.5em;
  133. padding: 0.5em;
  134. background-color: #FFF;
  135. border-radius: 5px;
  136. }
  137. .qunit-source {
  138. margin: 0.6em 0 0.3em;
  139. }
  140. .qunit-collapsed {
  141. display: none;
  142. }
  143. #qunit-tests table {
  144. border-collapse: collapse;
  145. margin-top: 0.2em;
  146. }
  147. #qunit-tests th {
  148. text-align: right;
  149. vertical-align: top;
  150. padding: 0 0.5em 0 0;
  151. }
  152. #qunit-tests td {
  153. vertical-align: top;
  154. }
  155. #qunit-tests pre {
  156. margin: 0;
  157. white-space: pre-wrap;
  158. word-wrap: break-word;
  159. }
  160. #qunit-tests del {
  161. background-color: #E0F2BE;
  162. color: #374E0C;
  163. text-decoration: none;
  164. }
  165. #qunit-tests ins {
  166. background-color: #FFCACA;
  167. color: #500;
  168. text-decoration: none;
  169. }
  170. /*** Test Counts */
  171. #qunit-tests b.counts { color: #000; }
  172. #qunit-tests b.passed { color: #5E740B; }
  173. #qunit-tests b.failed { color: #710909; }
  174. #qunit-tests li li {
  175. padding: 5px;
  176. background-color: #FFF;
  177. border-bottom: none;
  178. list-style-position: inside;
  179. }
  180. /*** Passing Styles */
  181. #qunit-tests li li.pass {
  182. color: #3C510C;
  183. background-color: #FFF;
  184. border-left: 10px solid #C6E746;
  185. }
  186. #qunit-tests .pass { color: #528CE0; background-color: #D2E0E6; }
  187. #qunit-tests .pass .test-name { color: #366097; }
  188. #qunit-tests .pass .test-actual,
  189. #qunit-tests .pass .test-expected { color: #999; }
  190. #qunit-banner.qunit-pass { background-color: #C6E746; }
  191. /*** Failing Styles */
  192. #qunit-tests li li.fail {
  193. color: #710909;
  194. background-color: #FFF;
  195. border-left: 10px solid #EE5757;
  196. white-space: pre;
  197. }
  198. #qunit-tests > li:last-child {
  199. border-radius: 0 0 5px 5px;
  200. }
  201. #qunit-tests .fail { color: #000; background-color: #EE5757; }
  202. #qunit-tests .fail .test-name,
  203. #qunit-tests .fail .module-name { color: #000; }
  204. #qunit-tests .fail .test-actual { color: #EE5757; }
  205. #qunit-tests .fail .test-expected { color: #008000; }
  206. #qunit-banner.qunit-fail { background-color: #EE5757; }
  207. /*** Skipped tests */
  208. #qunit-tests .skipped {
  209. background-color: #EBECE9;
  210. }
  211. #qunit-tests .qunit-skipped-label {
  212. background-color: #F4FF77;
  213. display: inline-block;
  214. font-style: normal;
  215. color: #366097;
  216. line-height: 1.8em;
  217. padding: 0 0.5em;
  218. margin: -0.4em 0.4em -0.4em 0;
  219. }
  220. /** Result */
  221. #qunit-testresult {
  222. padding: 0.5em 1em 0.5em 1em;
  223. color: #2B81AF;
  224. background-color: #D2E0E6;
  225. border-bottom: 1px solid #FFF;
  226. }
  227. #qunit-testresult .module-name {
  228. font-weight: 700;
  229. }
  230. /** Fixture */
  231. #qunit-fixture {
  232. position: absolute;
  233. top: -10000px;
  234. left: -10000px;
  235. width: 1000px;
  236. height: 1000px;
  237. }