mocha.css 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. body {
  2. font: 20px/1.5 "Helvetica Neue", Helvetica, Aria;, sans-serif;
  3. padding: 60px 50px;
  4. }
  5. #mocha h1, h2 {
  6. margin: 0;
  7. }
  8. #mocha h1 {
  9. font-size: 1em;
  10. font-weight: 200;
  11. }
  12. #mocha .suite .suite h1 {
  13. font-size: .8em;
  14. }
  15. #mocha h2 {
  16. font-size: 12px;
  17. font-weight: normal;
  18. cursor: pointer;
  19. }
  20. #mocha .suite {
  21. margin-left: 15px;
  22. }
  23. #mocha .test {
  24. margin-left: 15px;
  25. }
  26. #mocha .test.pass::before {
  27. content: '✓';
  28. font-size: 12px;
  29. display: block;
  30. float: left;
  31. margin-right: 5px;
  32. color: #00c41c;
  33. }
  34. #mocha .test.pending {
  35. color: #0b97c4;
  36. }
  37. #mocha .test.pending::before {
  38. content: '◦';
  39. color: #0b97c4;
  40. }
  41. #mocha .test.fail {
  42. color: #c00;
  43. }
  44. #mocha .test.fail pre {
  45. color: black;
  46. }
  47. #mocha .test.fail::before {
  48. content: '✖';
  49. font-size: 12px;
  50. display: block;
  51. float: left;
  52. margin-right: 5px;
  53. color: #c00;
  54. }
  55. #mocha .test pre.error {
  56. color: #c00;
  57. }
  58. #mocha .test pre {
  59. display: inline-block;
  60. font: 12px/1.5 monaco, monospace;
  61. margin: 5px;
  62. padding: 15px;
  63. border: 1px solid #eee;
  64. border-bottom-color: #ddd;
  65. -webkit-border-radius: 3px;
  66. -webkit-box-shadow: 0 1px 3px #eee;
  67. }
  68. #error {
  69. color: #c00;
  70. font-size: 1.5 em;
  71. font-weight: 100;
  72. letter-spacing: 1px;
  73. }
  74. #stats {
  75. position: fixed;
  76. top: 30px;
  77. right: 30px;
  78. font-size: 12px;
  79. margin: 0;
  80. color: #888;
  81. }
  82. #stats .progress {
  83. margin-bottom: 10px;
  84. }
  85. #stats em {
  86. color: black;
  87. }
  88. #stats li {
  89. list-style: none;
  90. }