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