You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

199 lines
2.9 KiB

  1. @charset "UTF-8";
  2. body {
  3. font: 20px/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif;
  4. padding: 60px 50px;
  5. }
  6. #mocha ul, #mocha li {
  7. margin: 0;
  8. padding: 0;
  9. }
  10. #mocha ul {
  11. list-style: none;
  12. }
  13. #mocha h1, #mocha h2 {
  14. margin: 0;
  15. }
  16. #mocha h1 {
  17. margin-top: 15px;
  18. font-size: 1em;
  19. font-weight: 200;
  20. }
  21. #mocha h1 a {
  22. text-decoration: none;
  23. color: inherit;
  24. }
  25. #mocha h1 a:hover {
  26. text-decoration: underline;
  27. }
  28. #mocha .suite .suite h1 {
  29. margin-top: 0;
  30. font-size: .8em;
  31. }
  32. #mocha h2 {
  33. font-size: 12px;
  34. font-weight: normal;
  35. cursor: pointer;
  36. }
  37. #mocha .suite {
  38. margin-left: 15px;
  39. }
  40. #mocha .test {
  41. margin-left: 15px;
  42. }
  43. #mocha .test:hover h2::after {
  44. position: relative;
  45. top: 0;
  46. right: -10px;
  47. content: '(view source)';
  48. font-size: 12px;
  49. font-family: arial;
  50. color: #888;
  51. }
  52. #mocha .test.pending:hover h2::after {
  53. content: '(pending)';
  54. font-family: arial;
  55. }
  56. #mocha .test.pass.medium .duration {
  57. background: #C09853;
  58. }
  59. #mocha .test.pass.slow .duration {
  60. background: #B94A48;
  61. }
  62. #mocha .test.pass::before {
  63. content: '✓';
  64. font-size: 12px;
  65. display: block;
  66. float: left;
  67. margin-right: 5px;
  68. color: #00d6b2;
  69. }
  70. #mocha .test.pass .duration {
  71. font-size: 9px;
  72. margin-left: 5px;
  73. padding: 2px 5px;
  74. color: white;
  75. -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.2);
  76. -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.2);
  77. box-shadow: inset 0 1px 1px rgba(0,0,0,.2);
  78. -webkit-border-radius: 5px;
  79. -moz-border-radius: 5px;
  80. -ms-border-radius: 5px;
  81. -o-border-radius: 5px;
  82. border-radius: 5px;
  83. }
  84. #mocha .test.pass.fast .duration {
  85. display: none;
  86. }
  87. #mocha .test.pending {
  88. color: #0b97c4;
  89. }
  90. #mocha .test.pending::before {
  91. content: '◦';
  92. color: #0b97c4;
  93. }
  94. #mocha .test.fail {
  95. color: #c00;
  96. }
  97. #mocha .test.fail pre {
  98. color: black;
  99. }
  100. #mocha .test.fail::before {
  101. content: '✖';
  102. font-size: 12px;
  103. display: block;
  104. float: left;
  105. margin-right: 5px;
  106. color: #c00;
  107. }
  108. #mocha .test pre.error {
  109. color: #c00;
  110. }
  111. #mocha .test pre {
  112. display: inline-block;
  113. font: 12px/1.5 monaco, monospace;
  114. margin: 5px;
  115. padding: 15px;
  116. border: 1px solid #eee;
  117. border-bottom-color: #ddd;
  118. -webkit-border-radius: 3px;
  119. -webkit-box-shadow: 0 1px 3px #eee;
  120. }
  121. #report.pass .test.fail {
  122. display: none;
  123. }
  124. #report.fail .test.pass {
  125. display: none;
  126. }
  127. #error {
  128. color: #c00;
  129. font-size: 1.5 em;
  130. font-weight: 100;
  131. letter-spacing: 1px;
  132. }
  133. #stats {
  134. position: fixed;
  135. top: 15px;
  136. right: 10px;
  137. font-size: 12px;
  138. margin: 0;
  139. color: #888;
  140. }
  141. #stats .progress {
  142. float: right;
  143. padding-top: 0;
  144. }
  145. #stats em {
  146. color: black;
  147. }
  148. #stats a {
  149. text-decoration: none;
  150. color: inherit;
  151. }
  152. #stats a:hover {
  153. border-bottom: 1px solid #eee;
  154. }
  155. #stats li {
  156. display: inline-block;
  157. margin: 0 5px;
  158. list-style: none;
  159. padding-top: 11px;
  160. }
  161. code .comment { color: #ddd }
  162. code .init { color: #2F6FAD }
  163. code .string { color: #5890AD }
  164. code .keyword { color: #8A6343 }
  165. code .number { color: #2F6FAD }