qunit-2.5.0.css 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437
  1. /*!
  2. * QUnit 2.5.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: 2018-01-10T02:56Z
  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 (excluding toolbar) */
  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-banner {
  41. height: 5px;
  42. }
  43. #qunit-filteredTest {
  44. padding: 0.5em 1em 0.5em 1em;
  45. color: #366097;
  46. background-color: #F4FF77;
  47. }
  48. #qunit-userAgent {
  49. padding: 0.5em 1em 0.5em 1em;
  50. color: #FFF;
  51. background-color: #2B81AF;
  52. text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px;
  53. }
  54. /** Toolbar */
  55. #qunit-testrunner-toolbar {
  56. padding: 0.5em 1em 0.5em 1em;
  57. color: #5E740B;
  58. background-color: #EEE;
  59. }
  60. #qunit-testrunner-toolbar .clearfix {
  61. height: 0;
  62. clear: both;
  63. }
  64. #qunit-testrunner-toolbar label {
  65. display: inline-block;
  66. }
  67. #qunit-testrunner-toolbar input[type=checkbox],
  68. #qunit-testrunner-toolbar input[type=radio] {
  69. margin: 3px;
  70. vertical-align: -2px;
  71. }
  72. #qunit-testrunner-toolbar input[type=text] {
  73. box-sizing: border-box;
  74. height: 1.6em;
  75. }
  76. .qunit-url-config,
  77. .qunit-filter,
  78. #qunit-modulefilter {
  79. display: inline-block;
  80. line-height: 2.1em;
  81. }
  82. .qunit-filter,
  83. #qunit-modulefilter {
  84. float: right;
  85. position: relative;
  86. margin-left: 1em;
  87. }
  88. .qunit-url-config label {
  89. margin-right: 0.5em;
  90. }
  91. #qunit-modulefilter-search {
  92. box-sizing: border-box;
  93. width: 400px;
  94. }
  95. #qunit-modulefilter-search-container:after {
  96. position: absolute;
  97. right: 0.3em;
  98. content: "\25bc";
  99. color: black;
  100. }
  101. #qunit-modulefilter-dropdown {
  102. /* align with #qunit-modulefilter-search */
  103. box-sizing: border-box;
  104. width: 400px;
  105. position: absolute;
  106. right: 0;
  107. top: 50%;
  108. margin-top: 0.8em;
  109. border: 1px solid #D3D3D3;
  110. border-top: none;
  111. border-radius: 0 0 .25em .25em;
  112. color: #000;
  113. background-color: #F5F5F5;
  114. z-index: 99;
  115. }
  116. #qunit-modulefilter-dropdown a {
  117. color: inherit;
  118. text-decoration: none;
  119. }
  120. #qunit-modulefilter-dropdown .clickable.checked {
  121. font-weight: bold;
  122. color: #000;
  123. background-color: #D2E0E6;
  124. }
  125. #qunit-modulefilter-dropdown .clickable:hover {
  126. color: #FFF;
  127. background-color: #0D3349;
  128. }
  129. #qunit-modulefilter-actions {
  130. display: block;
  131. overflow: auto;
  132. /* align with #qunit-modulefilter-dropdown-list */
  133. font: smaller/1.5em sans-serif;
  134. }
  135. #qunit-modulefilter-dropdown #qunit-modulefilter-actions > * {
  136. box-sizing: border-box;
  137. max-height: 2.8em;
  138. display: block;
  139. padding: 0.4em;
  140. }
  141. #qunit-modulefilter-dropdown #qunit-modulefilter-actions > button {
  142. float: right;
  143. font: inherit;
  144. }
  145. #qunit-modulefilter-dropdown #qunit-modulefilter-actions > :last-child {
  146. /* insert padding to align with checkbox margins */
  147. padding-left: 3px;
  148. }
  149. #qunit-modulefilter-dropdown-list {
  150. max-height: 200px;
  151. overflow-y: auto;
  152. margin: 0;
  153. border-top: 2px groove threedhighlight;
  154. padding: 0.4em 0 0;
  155. font: smaller/1.5em sans-serif;
  156. }
  157. #qunit-modulefilter-dropdown-list li {
  158. white-space: nowrap;
  159. overflow: hidden;
  160. text-overflow: ellipsis;
  161. }
  162. #qunit-modulefilter-dropdown-list .clickable {
  163. display: block;
  164. padding-left: 0.15em;
  165. }
  166. /** Tests: Pass/Fail */
  167. #qunit-tests {
  168. list-style-position: inside;
  169. }
  170. #qunit-tests li {
  171. padding: 0.4em 1em 0.4em 1em;
  172. border-bottom: 1px solid #FFF;
  173. list-style-position: inside;
  174. }
  175. #qunit-tests > li {
  176. display: none;
  177. }
  178. #qunit-tests li.running,
  179. #qunit-tests li.pass,
  180. #qunit-tests li.fail,
  181. #qunit-tests li.skipped,
  182. #qunit-tests li.aborted {
  183. display: list-item;
  184. }
  185. #qunit-tests.hidepass {
  186. position: relative;
  187. }
  188. #qunit-tests.hidepass li.running,
  189. #qunit-tests.hidepass li.pass:not(.todo) {
  190. visibility: hidden;
  191. position: absolute;
  192. width: 0;
  193. height: 0;
  194. padding: 0;
  195. border: 0;
  196. margin: 0;
  197. }
  198. #qunit-tests li strong {
  199. cursor: pointer;
  200. }
  201. #qunit-tests li.skipped strong {
  202. cursor: default;
  203. }
  204. #qunit-tests li a {
  205. padding: 0.5em;
  206. color: #C2CCD1;
  207. text-decoration: none;
  208. }
  209. #qunit-tests li p a {
  210. padding: 0.25em;
  211. color: #6B6464;
  212. }
  213. #qunit-tests li a:hover,
  214. #qunit-tests li a:focus {
  215. color: #000;
  216. }
  217. #qunit-tests li .runtime {
  218. float: right;
  219. font-size: smaller;
  220. }
  221. .qunit-assert-list {
  222. margin-top: 0.5em;
  223. padding: 0.5em;
  224. background-color: #FFF;
  225. border-radius: 5px;
  226. }
  227. .qunit-source {
  228. margin: 0.6em 0 0.3em;
  229. }
  230. .qunit-collapsed {
  231. display: none;
  232. }
  233. #qunit-tests table {
  234. border-collapse: collapse;
  235. margin-top: 0.2em;
  236. }
  237. #qunit-tests th {
  238. text-align: right;
  239. vertical-align: top;
  240. padding: 0 0.5em 0 0;
  241. }
  242. #qunit-tests td {
  243. vertical-align: top;
  244. }
  245. #qunit-tests pre {
  246. margin: 0;
  247. white-space: pre-wrap;
  248. word-wrap: break-word;
  249. }
  250. #qunit-tests del {
  251. color: #374E0C;
  252. background-color: #E0F2BE;
  253. text-decoration: none;
  254. }
  255. #qunit-tests ins {
  256. color: #500;
  257. background-color: #FFCACA;
  258. text-decoration: none;
  259. }
  260. /*** Test Counts */
  261. #qunit-tests b.counts { color: #000; }
  262. #qunit-tests b.passed { color: #5E740B; }
  263. #qunit-tests b.failed { color: #710909; }
  264. #qunit-tests li li {
  265. padding: 5px;
  266. background-color: #FFF;
  267. border-bottom: none;
  268. list-style-position: inside;
  269. }
  270. /*** Passing Styles */
  271. #qunit-tests li li.pass {
  272. color: #3C510C;
  273. background-color: #FFF;
  274. border-left: 10px solid #C6E746;
  275. }
  276. #qunit-tests .pass { color: #528CE0; background-color: #D2E0E6; }
  277. #qunit-tests .pass .test-name { color: #366097; }
  278. #qunit-tests .pass .test-actual,
  279. #qunit-tests .pass .test-expected { color: #999; }
  280. #qunit-banner.qunit-pass { background-color: #C6E746; }
  281. /*** Failing Styles */
  282. #qunit-tests li li.fail {
  283. color: #710909;
  284. background-color: #FFF;
  285. border-left: 10px solid #EE5757;
  286. white-space: pre;
  287. }
  288. #qunit-tests > li:last-child {
  289. border-radius: 0 0 5px 5px;
  290. }
  291. #qunit-tests .fail { color: #000; background-color: #EE5757; }
  292. #qunit-tests .fail .test-name,
  293. #qunit-tests .fail .module-name { color: #000; }
  294. #qunit-tests .fail .test-actual { color: #EE5757; }
  295. #qunit-tests .fail .test-expected { color: #008000; }
  296. #qunit-banner.qunit-fail { background-color: #EE5757; }
  297. /*** Aborted tests */
  298. #qunit-tests .aborted { color: #000; background-color: orange; }
  299. /*** Skipped tests */
  300. #qunit-tests .skipped {
  301. background-color: #EBECE9;
  302. }
  303. #qunit-tests .qunit-todo-label,
  304. #qunit-tests .qunit-skipped-label {
  305. background-color: #F4FF77;
  306. display: inline-block;
  307. font-style: normal;
  308. color: #366097;
  309. line-height: 1.8em;
  310. padding: 0 0.5em;
  311. margin: -0.4em 0.4em -0.4em 0;
  312. }
  313. #qunit-tests .qunit-todo-label {
  314. background-color: #EEE;
  315. }
  316. /** Result */
  317. #qunit-testresult {
  318. color: #2B81AF;
  319. background-color: #D2E0E6;
  320. border-bottom: 1px solid #FFF;
  321. }
  322. #qunit-testresult .clearfix {
  323. height: 0;
  324. clear: both;
  325. }
  326. #qunit-testresult .module-name {
  327. font-weight: 700;
  328. }
  329. #qunit-testresult-display {
  330. padding: 0.5em 1em 0.5em 1em;
  331. width: 85%;
  332. float:left;
  333. }
  334. #qunit-testresult-controls {
  335. padding: 0.5em 1em 0.5em 1em;
  336. width: 10%;
  337. float:left;
  338. }
  339. /** Fixture */
  340. #qunit-fixture {
  341. position: absolute;
  342. top: -10000px;
  343. left: -10000px;
  344. width: 1000px;
  345. height: 1000px;
  346. }