qunit-1.14.0.css 4.3 KB

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