spectacular_rails 1.6.0.2 → 1.6.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/font/FontAwesome.otf +0 -0
  3. data/app/assets/font/fontawesome-webfont.eot +0 -0
  4. data/app/assets/font/fontawesome-webfont.svg +399 -0
  5. data/app/assets/font/fontawesome-webfont.ttf +0 -0
  6. data/app/assets/font/fontawesome-webfont.woff +0 -0
  7. data/app/assets/javascripts/jade.js +208 -0
  8. data/app/assets/javascripts/snap.js +11 -0
  9. data/app/assets/javascripts/source-map.js +1804 -0
  10. data/app/assets/javascripts/source-map.min.js +1 -0
  11. data/app/assets/javascripts/spectacular.js +5692 -0
  12. data/app/assets/javascripts/spectacular.min.js +5 -0
  13. data/app/assets/javascripts/templates.js +103 -0
  14. data/app/assets/javascripts/templates.min.js +1 -0
  15. data/app/assets/stylesheets/font-awesome/css/font-awesome-ie7.css +1203 -0
  16. data/app/assets/stylesheets/font-awesome/css/font-awesome-ie7.min.css +384 -0
  17. data/app/assets/stylesheets/font-awesome/css/font-awesome.css.erb +1479 -0
  18. data/app/assets/stylesheets/font-awesome/css/font-awesome.min.css +403 -0
  19. data/app/assets/stylesheets/font-awesome/less/bootstrap.less +84 -0
  20. data/app/assets/stylesheets/font-awesome/less/core.less +129 -0
  21. data/app/assets/stylesheets/font-awesome/less/extras.less +93 -0
  22. data/app/assets/stylesheets/font-awesome/less/font-awesome-ie7.less +1953 -0
  23. data/app/assets/stylesheets/font-awesome/less/font-awesome.less +33 -0
  24. data/app/assets/stylesheets/font-awesome/less/icons.less +381 -0
  25. data/app/assets/stylesheets/font-awesome/less/mixins.less +48 -0
  26. data/app/assets/stylesheets/font-awesome/less/path.less +14 -0
  27. data/app/assets/stylesheets/font-awesome/less/variables.less +735 -0
  28. data/app/assets/stylesheets/font-awesome/scss/_bootstrap.scss +84 -0
  29. data/app/assets/stylesheets/font-awesome/scss/_core.scss +129 -0
  30. data/app/assets/stylesheets/font-awesome/scss/_extras.scss +93 -0
  31. data/app/assets/stylesheets/font-awesome/scss/_icons.scss +381 -0
  32. data/app/assets/stylesheets/font-awesome/scss/_mixins.scss +48 -0
  33. data/app/assets/stylesheets/font-awesome/scss/_path.scss +14 -0
  34. data/app/assets/stylesheets/font-awesome/scss/_variables.scss +734 -0
  35. data/app/assets/stylesheets/font-awesome/scss/font-awesome-ie7.scss +1953 -0
  36. data/app/assets/stylesheets/font-awesome/scss/font-awesome.scss +33 -0
  37. data/app/assets/stylesheets/spectacular.css +950 -0
  38. data/lib/spectacular_rails/version.rb +1 -1
  39. data/lib/spectacular_rails.rb +0 -18
  40. metadata +37 -1
@@ -0,0 +1,950 @@
1
+ body {
2
+ font-family: Roboto, Helvetica Neue, Helvetica, sans;
3
+ font-weight: 300;
4
+ background: #0b1d26;
5
+ overflow: hidden;
6
+ }
7
+ * {
8
+ -webkit-box-sizing: border-box;
9
+ -moz-box-sizing: border-box;
10
+ -ms-box-sizing: border-box;
11
+ -o-box-sizing: border-box;
12
+ box-sizing: border-box;
13
+ }
14
+ #progress,
15
+ #examples,
16
+ #viewer {
17
+ position: absolute;
18
+ }
19
+ #progress > span,
20
+ #examples > span,
21
+ #viewer > span,
22
+ #progress > div,
23
+ #examples > div,
24
+ #viewer > div {
25
+ -webkit-border-radius: 3px;
26
+ -moz-border-radius: 3px;
27
+ -ms-border-radius: 3px;
28
+ -o-border-radius: 3px;
29
+ border-radius: 3px;
30
+ display: block;
31
+ }
32
+ #progress,
33
+ #viewer {
34
+ z-index: 1;
35
+ }
36
+ #progress section,
37
+ #viewer section {
38
+ padding: 10px;
39
+ height: 48px;
40
+ background-image: linear-gradient(to bottom, #0f2935 0%, #0b1d26 100%);
41
+ margin: -10px -10px 0;
42
+ -webkit-box-shadow: 0 1px 4px rgba(0,0,0,0.7);
43
+ -moz-box-shadow: 0 1px 4px rgba(0,0,0,0.7);
44
+ -ms-box-shadow: 0 1px 4px rgba(0,0,0,0.7);
45
+ -o-box-shadow: 0 1px 4px rgba(0,0,0,0.7);
46
+ box-shadow: 0 1px 4px rgba(0,0,0,0.7);
47
+ }
48
+ #viewer section {
49
+ margin: -15px -20px 10px;
50
+ padding: 13px 0px 13px 20px;
51
+ }
52
+ #examples {
53
+ z-index: 2;
54
+ }
55
+ #progress .all,
56
+ #examples .all {
57
+ margin: 0;
58
+ display: block;
59
+ font-weight: 100;
60
+ color: #cfe7e6;
61
+ }
62
+ #progress .all .value,
63
+ #examples .all .value {
64
+ font-weight: 100;
65
+ }
66
+ #progress.fail .all .total,
67
+ #examples.fail .all .total {
68
+ color: #ff2814;
69
+ }
70
+ #progress.failure .all,
71
+ #examples.failure .all,
72
+ #progress.failure .all .total,
73
+ #examples.failure .all .total {
74
+ color: #ff2814;
75
+ }
76
+ #progress.success .all,
77
+ #examples.success .all,
78
+ #progress.success .all .total,
79
+ #examples.success .all .total {
80
+ color: #64b432;
81
+ }
82
+ #examples .all {
83
+ padding-left: 8px;
84
+ font-size: 30px;
85
+ line-height: 36px;
86
+ -webkit-text-shadow: -1.5px -1.5px 0px #0b1d26, 1.5px 1.5px 0px #1c4960;
87
+ -moz-text-shadow: -1.5px -1.5px 0px #0b1d26, 1.5px 1.5px 0px #1c4960;
88
+ -ms-text-shadow: -1.5px -1.5px 0px #0b1d26, 1.5px 1.5px 0px #1c4960;
89
+ -o-text-shadow: -1.5px -1.5px 0px #0b1d26, 1.5px 1.5px 0px #1c4960;
90
+ text-shadow: -1.5px -1.5px 0px #0b1d26, 1.5px 1.5px 0px #1c4960;
91
+ display: block;
92
+ position: absolute;
93
+ left: 48px;
94
+ top: 4px;
95
+ }
96
+ #examples .all span {
97
+ font-size: 30px;
98
+ line-height: 36px;
99
+ }
100
+ #progress {
101
+ color: #aac8c8;
102
+ padding: 10px;
103
+ width: 266px;
104
+ left: 0;
105
+ top: 0;
106
+ bottom: 0;
107
+ }
108
+ #progress .all {
109
+ font-size: 40px;
110
+ line-height: 43px;
111
+ margin: 8px 0;
112
+ }
113
+ #progress .errored .symbol {
114
+ color: #ff9614;
115
+ }
116
+ #progress .errored.not-zero {
117
+ color: #ff9614;
118
+ }
119
+ #progress span:not(:first-child):not(.not-zero) .symbol {
120
+ color: #aac8c8;
121
+ }
122
+ #progress .skipped .symbol {
123
+ color: #ff14dc;
124
+ }
125
+ #progress .skipped.not-zero {
126
+ color: #ff14dc;
127
+ }
128
+ #progress span:not(:first-child):not(.not-zero) .symbol {
129
+ color: #aac8c8;
130
+ }
131
+ #progress .pending .symbol {
132
+ color: #ffc85a;
133
+ }
134
+ #progress .pending.not-zero {
135
+ color: #ffc85a;
136
+ }
137
+ #progress span:not(:first-child):not(.not-zero) .symbol {
138
+ color: #aac8c8;
139
+ }
140
+ #progress .failure .symbol {
141
+ color: #ff2814;
142
+ }
143
+ #progress .failure.not-zero {
144
+ color: #ff2814;
145
+ }
146
+ #progress span:not(:first-child):not(.not-zero) .symbol {
147
+ color: #aac8c8;
148
+ }
149
+ #progress .success .symbol {
150
+ color: #64b432;
151
+ }
152
+ #progress .success.not-zero {
153
+ color: #64b432;
154
+ }
155
+ #progress span:not(:first-child):not(.not-zero) .symbol {
156
+ color: #aac8c8;
157
+ }
158
+ #progress .seed,
159
+ #progress .time {
160
+ color: #cfe7e6;
161
+ display: inline-block;
162
+ float: left;
163
+ -webkit-border-radius: 3px;
164
+ -moz-border-radius: 3px;
165
+ -ms-border-radius: 3px;
166
+ -o-border-radius: 3px;
167
+ border-radius: 3px;
168
+ line-height: 1em;
169
+ padding: 3px 5px;
170
+ margin-top: 3px;
171
+ background: #3893c1;
172
+ -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.3), 0 1px 0px #163a4c;
173
+ -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.3), 0 1px 0px #163a4c;
174
+ -ms-box-shadow: inset 0 1px 2px rgba(0,0,0,0.3), 0 1px 0px #163a4c;
175
+ -o-box-shadow: inset 0 1px 2px rgba(0,0,0,0.3), 0 1px 0px #163a4c;
176
+ box-shadow: inset 0 1px 2px rgba(0,0,0,0.3), 0 1px 0px #163a4c;
177
+ }
178
+ #progress .seed .value,
179
+ #progress .time .value {
180
+ -webkit-text-shadow: 0 1px 2px rgba(22,58,76,0.5);
181
+ -moz-text-shadow: 0 1px 2px rgba(22,58,76,0.5);
182
+ -ms-text-shadow: 0 1px 2px rgba(22,58,76,0.5);
183
+ -o-text-shadow: 0 1px 2px rgba(22,58,76,0.5);
184
+ text-shadow: 0 1px 2px rgba(22,58,76,0.5);
185
+ }
186
+ #progress .seed i,
187
+ #progress .time i {
188
+ color: #163a4c;
189
+ margin-right: 5px;
190
+ }
191
+ #progress .time {
192
+ margin-left: 10px;
193
+ }
194
+ #progress ul {
195
+ margin: 0;
196
+ padding: 0;
197
+ }
198
+ #progress li {
199
+ margin: 0 -10px;
200
+ padding: 0;
201
+ position: relative;
202
+ list-style: none;
203
+ padding: 10px;
204
+ border-top: 1px solid #163a4c;
205
+ cursor: pointer;
206
+ -webkit-transition: all 0.3s;
207
+ -moz-transition: all 0.3s;
208
+ -ms-transition: all 0.3s;
209
+ -o-transition: all 0.3s;
210
+ transition: all 0.3s;
211
+ }
212
+ #progress li:first-child {
213
+ border-top: none;
214
+ }
215
+ #progress li:hover {
216
+ background: #163a4c;
217
+ }
218
+ #progress li:hover + li {
219
+ border-color: #0b1d26;
220
+ }
221
+ #progress li:after {
222
+ content: '\f06e';
223
+ font-family: FontAwesome;
224
+ color: #aac8c8;
225
+ position: absolute;
226
+ right: 20px;
227
+ }
228
+ #viewer {
229
+ width: 50%;
230
+ top: 0;
231
+ bottom: 0;
232
+ right: 0;
233
+ margin-top: -5px;
234
+ }
235
+ .hide-errored #progress li.errored:after {
236
+ color: #000;
237
+ -webkit-text-shadow: 0 1px 1px #fff;
238
+ -moz-text-shadow: 0 1px 1px #fff;
239
+ -ms-text-shadow: 0 1px 1px #fff;
240
+ -o-text-shadow: 0 1px 1px #fff;
241
+ text-shadow: 0 1px 1px #fff;
242
+ }
243
+ .hide-skipped #progress li.skipped:after {
244
+ color: #000;
245
+ -webkit-text-shadow: 0 1px 1px #fff;
246
+ -moz-text-shadow: 0 1px 1px #fff;
247
+ -ms-text-shadow: 0 1px 1px #fff;
248
+ -o-text-shadow: 0 1px 1px #fff;
249
+ text-shadow: 0 1px 1px #fff;
250
+ }
251
+ .hide-pending #progress li.pending:after {
252
+ color: #000;
253
+ -webkit-text-shadow: 0 1px 1px #fff;
254
+ -moz-text-shadow: 0 1px 1px #fff;
255
+ -ms-text-shadow: 0 1px 1px #fff;
256
+ -o-text-shadow: 0 1px 1px #fff;
257
+ text-shadow: 0 1px 1px #fff;
258
+ }
259
+ .hide-failure #progress li.failure:after {
260
+ color: #000;
261
+ -webkit-text-shadow: 0 1px 1px #fff;
262
+ -moz-text-shadow: 0 1px 1px #fff;
263
+ -ms-text-shadow: 0 1px 1px #fff;
264
+ -o-text-shadow: 0 1px 1px #fff;
265
+ text-shadow: 0 1px 1px #fff;
266
+ }
267
+ .hide-success #progress li.success:after {
268
+ color: #000;
269
+ -webkit-text-shadow: 0 1px 1px #fff;
270
+ -moz-text-shadow: 0 1px 1px #fff;
271
+ -ms-text-shadow: 0 1px 1px #fff;
272
+ -o-text-shadow: 0 1px 1px #fff;
273
+ text-shadow: 0 1px 1px #fff;
274
+ }
275
+ .snapjs-left #examples:before,
276
+ .snapjs-right #examples:before {
277
+ content: '';
278
+ display: block;
279
+ position: absolute;
280
+ width: 100%;
281
+ height: 100%;
282
+ z-index: 3;
283
+ }
284
+ .snapjs-left #viewer {
285
+ display: none;
286
+ }
287
+ .snapjs-right #progress {
288
+ display: none;
289
+ }
290
+ #examples {
291
+ background: #cfe7e6;
292
+ top: 0;
293
+ left: 0;
294
+ right: 0;
295
+ bottom: 0;
296
+ -webkit-box-shadow: 0 0 5px 4px #000;
297
+ -moz-box-shadow: 0 0 5px 4px #000;
298
+ -ms-box-shadow: 0 0 5px 4px #000;
299
+ -o-box-shadow: 0 0 5px 4px #000;
300
+ box-shadow: 0 0 5px 4px #000;
301
+ -webkit-border-radius: 5px;
302
+ -moz-border-radius: 5px;
303
+ -ms-border-radius: 5px;
304
+ -o-border-radius: 5px;
305
+ border-radius: 5px;
306
+ }
307
+ #examples > div {
308
+ overflow: auto;
309
+ padding-top: 48px;
310
+ height: 100%;
311
+ border: 1px solid rgba(22,58,76,0.2);
312
+ }
313
+ #examples > header {
314
+ position: absolute;
315
+ padding: 0;
316
+ top: 5px;
317
+ }
318
+ #examples .header {
319
+ position: absolute;
320
+ left: 0;
321
+ right: 0;
322
+ top: 0;
323
+ height: 48px;
324
+ z-index: 2;
325
+ background-image: linear-gradient(to bottom, #163a4c 0%, #0b1d26 100%);
326
+ -webkit-border-radius: 3px;
327
+ -moz-border-radius: 3px;
328
+ -ms-border-radius: 3px;
329
+ -o-border-radius: 3px;
330
+ border-radius: 3px;
331
+ -webkit-box-shadow: 0 1px 3px rgba(11,29,38,0.5);
332
+ -moz-box-shadow: 0 1px 3px rgba(11,29,38,0.5);
333
+ -ms-box-shadow: 0 1px 3px rgba(11,29,38,0.5);
334
+ -o-box-shadow: 0 1px 3px rgba(11,29,38,0.5);
335
+ box-shadow: 0 1px 3px rgba(11,29,38,0.5);
336
+ }
337
+ #examples .header #search {
338
+ position: absolute;
339
+ height: 36px;
340
+ top: 4px;
341
+ left: 48px;
342
+ text-align: right;
343
+ right: 102px;
344
+ }
345
+ #examples .header #search input {
346
+ font-family: Roboto, Helvetica Neue, sans;
347
+ min-width: 200px;
348
+ width: 200px;
349
+ height: 100%;
350
+ padding: 5px 36px 3px 8px;
351
+ border-top: 1px solid #0b1d26;
352
+ border-left: 1px solid #0b1d26;
353
+ border-right: 1px solid #163a4c;
354
+ border-bottom: 1px solid #163a4c;
355
+ color: #cfe7e6;
356
+ overflow: hidden;
357
+ white-space: nowrap;
358
+ text-overflow: ellipsis;
359
+ font-size: 20px;
360
+ font-weight: 100;
361
+ -webkit-border-radius: 4px;
362
+ -moz-border-radius: 4px;
363
+ -ms-border-radius: 4px;
364
+ -o-border-radius: 4px;
365
+ border-radius: 4px;
366
+ -webkit-box-sizing: border-box;
367
+ -moz-box-sizing: border-box;
368
+ -ms-box-sizing: border-box;
369
+ -o-box-sizing: border-box;
370
+ box-sizing: border-box;
371
+ -webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
372
+ -moz-box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
373
+ -ms-box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
374
+ -o-box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
375
+ box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
376
+ background-image: linear-gradient(to bottom, #0b1d26 0%, #163a4c 100%);
377
+ -webkit-transition: all 0.3s;
378
+ -moz-transition: all 0.3s;
379
+ -ms-transition: all 0.3s;
380
+ -o-transition: all 0.3s;
381
+ transition: all 0.3s;
382
+ }
383
+ #examples .header #search input:focus {
384
+ min-width: 164px;
385
+ width: 50%;
386
+ }
387
+ #examples .header #search button {
388
+ border: none;
389
+ width: 30px;
390
+ height: 30px;
391
+ position: absolute;
392
+ font-size: 15px;
393
+ right: 0;
394
+ top: 3px;
395
+ color: #aac8c8;
396
+ -webkit-text-shadow: 0 1px 2px rgba(0,0,0,0.5);
397
+ -moz-text-shadow: 0 1px 2px rgba(0,0,0,0.5);
398
+ -ms-text-shadow: 0 1px 2px rgba(0,0,0,0.5);
399
+ -o-text-shadow: 0 1px 2px rgba(0,0,0,0.5);
400
+ text-shadow: 0 1px 2px rgba(0,0,0,0.5);
401
+ -webkit-transition: all 0.3s;
402
+ -moz-transition: all 0.3s;
403
+ -ms-transition: all 0.3s;
404
+ -o-transition: all 0.3s;
405
+ transition: all 0.3s;
406
+ }
407
+ #examples .header button {
408
+ color: #cfe7e6;
409
+ background: transparent;
410
+ border: none;
411
+ border-left: 1px solid #163a4c;
412
+ border-right: 1px solid #0b1d26;
413
+ height: 48px;
414
+ width: 48px;
415
+ position: relative;
416
+ font-size: 32px;
417
+ cursor: pointer;
418
+ }
419
+ #examples .header button:active {
420
+ background: #163a4c;
421
+ }
422
+ #examples .header button.btn-open-left:after {
423
+ content: '';
424
+ display: block;
425
+ position: absolute;
426
+ margin-left: 1px;
427
+ left: 100%;
428
+ top: 0;
429
+ height: 100%;
430
+ border-left: 1px solid #163a4c;
431
+ }
432
+ #examples .header button.btn-open-right {
433
+ position: absolute;
434
+ right: 0px;
435
+ }
436
+ #examples .header button.btn-collapse {
437
+ position: absolute;
438
+ right: 48px;
439
+ }
440
+ #examples .header button.btn-collapse:before {
441
+ content: '';
442
+ display: block;
443
+ position: absolute;
444
+ margin-left: -2px;
445
+ left: 0;
446
+ top: 0;
447
+ height: 100%;
448
+ border-left: 1px solid #0b1d26;
449
+ }
450
+ #examples .value {
451
+ font-weight: 400;
452
+ }
453
+ #examples .example-group {
454
+ position: relative;
455
+ color: #163a4c;
456
+ }
457
+ #examples .example-group + .example-group {
458
+ border-top: 1px solid rgba(22,58,76,0.1);
459
+ }
460
+ #examples .example-group.level0 header {
461
+ padding-left: 28px;
462
+ }
463
+ #examples .example-group.level0 article {
464
+ padding-left: 48px;
465
+ }
466
+ #examples .example-group.level1 header {
467
+ padding-left: 48px;
468
+ }
469
+ #examples .example-group.level1 article {
470
+ padding-left: 68px;
471
+ }
472
+ #examples .example-group.level2 header {
473
+ padding-left: 68px;
474
+ }
475
+ #examples .example-group.level2 article {
476
+ padding-left: 88px;
477
+ }
478
+ #examples .example-group.level3 header {
479
+ padding-left: 88px;
480
+ }
481
+ #examples .example-group.level3 article {
482
+ padding-left: 108px;
483
+ }
484
+ #examples .example-group.level4 header {
485
+ padding-left: 108px;
486
+ }
487
+ #examples .example-group.level4 article {
488
+ padding-left: 128px;
489
+ }
490
+ #examples .example-group.level5 header {
491
+ padding-left: 128px;
492
+ }
493
+ #examples .example-group.level5 article {
494
+ padding-left: 148px;
495
+ }
496
+ #examples .example-group.level6 header {
497
+ padding-left: 148px;
498
+ }
499
+ #examples .example-group.level6 article {
500
+ padding-left: 168px;
501
+ }
502
+ #examples .example-group.level7 header {
503
+ padding-left: 168px;
504
+ }
505
+ #examples .example-group.level7 article {
506
+ padding-left: 188px;
507
+ }
508
+ #examples .example-group.level8 header {
509
+ padding-left: 188px;
510
+ }
511
+ #examples .example-group.level8 article {
512
+ padding-left: 208px;
513
+ }
514
+ #examples .example-group.level9 header {
515
+ padding-left: 208px;
516
+ }
517
+ #examples .example-group.level9 article {
518
+ padding-left: 228px;
519
+ }
520
+ #examples .example-group.level10 header {
521
+ padding-left: 228px;
522
+ }
523
+ #examples .example-group.level10 article {
524
+ padding-left: 248px;
525
+ }
526
+ #examples .example-group.level11 header {
527
+ padding-left: 248px;
528
+ }
529
+ #examples .example-group.level11 article {
530
+ padding-left: 268px;
531
+ }
532
+ #examples .example-group.level12 header {
533
+ padding-left: 268px;
534
+ }
535
+ #examples .example-group.level12 article {
536
+ padding-left: 288px;
537
+ }
538
+ #examples .example-group.level13 header {
539
+ padding-left: 288px;
540
+ }
541
+ #examples .example-group.level13 article {
542
+ padding-left: 308px;
543
+ }
544
+ #examples .example-group.level14 header {
545
+ padding-left: 308px;
546
+ }
547
+ #examples .example-group.level14 article {
548
+ padding-left: 328px;
549
+ }
550
+ #examples .example-group.level15 header {
551
+ padding-left: 328px;
552
+ }
553
+ #examples .example-group.level15 article {
554
+ padding-left: 348px;
555
+ }
556
+ #examples .example-group.level16 header {
557
+ padding-left: 348px;
558
+ }
559
+ #examples .example-group.level16 article {
560
+ padding-left: 368px;
561
+ }
562
+ #examples .example-group.level17 header {
563
+ padding-left: 368px;
564
+ }
565
+ #examples .example-group.level17 article {
566
+ padding-left: 388px;
567
+ }
568
+ #examples .example-group.level18 header {
569
+ padding-left: 388px;
570
+ }
571
+ #examples .example-group.level18 article {
572
+ padding-left: 408px;
573
+ }
574
+ #examples .example-group.level19 header {
575
+ padding-left: 408px;
576
+ }
577
+ #examples .example-group.level19 article {
578
+ padding-left: 428px;
579
+ }
580
+ #examples .example-group.level20 header {
581
+ padding-left: 428px;
582
+ }
583
+ #examples .example-group.level20 article {
584
+ padding-left: 448px;
585
+ }
586
+ #examples .example-group:before {
587
+ position: absolute;
588
+ content: '\f13a';
589
+ font-family: FontAwesome;
590
+ display: block;
591
+ width: 20px;
592
+ height: 20px;
593
+ top: 8px;
594
+ left: 5px;
595
+ -webkit-transition: all 0.2s;
596
+ -moz-transition: all 0.2s;
597
+ -ms-transition: all 0.2s;
598
+ -o-transition: all 0.2s;
599
+ transition: all 0.2s;
600
+ -webkit-opacity: 0;
601
+ -moz-opacity: 0;
602
+ -ms-opacity: 0;
603
+ -o-opacity: 0;
604
+ opacity: 0;
605
+ }
606
+ #examples .example-group:hover:before {
607
+ -webkit-opacity: 0.4;
608
+ -moz-opacity: 0.4;
609
+ -ms-opacity: 0.4;
610
+ -o-opacity: 0.4;
611
+ opacity: 0.4;
612
+ }
613
+ #examples .example-group.success {
614
+ background: rgba(100,180,50,0.2);
615
+ }
616
+ #examples .example-group.failure {
617
+ background: rgba(255,40,20,0.2);
618
+ }
619
+ #examples .example-group.collapse section,
620
+ #examples .example-group.collapse article {
621
+ display: none;
622
+ }
623
+ #examples .example-group.collapse:before {
624
+ content: '\f138';
625
+ }
626
+ #examples .example-group.collapse header:after {
627
+ -webkit-opacity: 1;
628
+ -moz-opacity: 1;
629
+ -ms-opacity: 1;
630
+ -o-opacity: 1;
631
+ opacity: 1;
632
+ }
633
+ #examples .example-group header:after {
634
+ display: inline-block;
635
+ background: #ffc85a;
636
+ line-height: 8px;
637
+ padding: 2px 3px;
638
+ content: '•••';
639
+ -webkit-border-radius: 3px;
640
+ -moz-border-radius: 3px;
641
+ -ms-border-radius: 3px;
642
+ -o-border-radius: 3px;
643
+ border-radius: 3px;
644
+ -webkit-opacity: 0;
645
+ -moz-opacity: 0;
646
+ -ms-opacity: 0;
647
+ -o-opacity: 0;
648
+ opacity: 0;
649
+ -webkit-transition: all 0.3s;
650
+ -moz-transition: all 0.3s;
651
+ -ms-transition: all 0.3s;
652
+ -o-transition: all 0.3s;
653
+ transition: all 0.3s;
654
+ }
655
+ #examples .example-group header,
656
+ #examples .example-group article {
657
+ cursor: pointer;
658
+ margin: 0;
659
+ font-weight: 300;
660
+ padding: 5px 8px;
661
+ }
662
+ #examples .example + .example {
663
+ border-top: 1px solid rgba(22,58,76,0.1);
664
+ }
665
+ #examples .example.errored {
666
+ background: rgba(255,150,20,0.2);
667
+ }
668
+ #examples .example.skipped {
669
+ background: rgba(255,20,220,0.2);
670
+ }
671
+ #examples .example.pending {
672
+ background: rgba(255,200,90,0.2);
673
+ }
674
+ #examples .example.failure {
675
+ background: rgba(255,40,20,0.2);
676
+ }
677
+ #examples .example.success {
678
+ background: rgba(100,180,50,0.2);
679
+ }
680
+ .hide-errored #examples .errored {
681
+ display: none;
682
+ }
683
+ .hide-skipped #examples .skipped {
684
+ display: none;
685
+ }
686
+ .hide-pending #examples .pending {
687
+ display: none;
688
+ }
689
+ .hide-failure #examples .failure {
690
+ display: none;
691
+ }
692
+ .hide-success #examples .success {
693
+ display: none;
694
+ }
695
+ #viewer {
696
+ background: #0b1d26;
697
+ padding: 10px 20px;
698
+ overflow: auto;
699
+ }
700
+ #viewer .example {
701
+ width: 100%;
702
+ color: #cfe7e6;
703
+ }
704
+ #viewer .example.errored .state {
705
+ background: #ff9614;
706
+ }
707
+ #viewer .example.errored .message {
708
+ color: #ff9614;
709
+ }
710
+ #viewer .example.skipped .state {
711
+ background: #ff14dc;
712
+ }
713
+ #viewer .example.skipped .message {
714
+ color: #ff14dc;
715
+ }
716
+ #viewer .example.pending .state {
717
+ background: #ffc85a;
718
+ }
719
+ #viewer .example.pending .message {
720
+ color: #ffc85a;
721
+ }
722
+ #viewer .example.failure .state {
723
+ background: #ff2814;
724
+ }
725
+ #viewer .example.failure .message {
726
+ color: #ff2814;
727
+ }
728
+ #viewer .example.success .state {
729
+ background: #64b432;
730
+ }
731
+ #viewer .example.success .message {
732
+ color: #64b432;
733
+ }
734
+ #viewer .example h3 {
735
+ margin: 0;
736
+ font-weight: 300;
737
+ }
738
+ #viewer .example .details,
739
+ #viewer .example .message,
740
+ #viewer .example .stack {
741
+ margin: 10px 0;
742
+ }
743
+ #viewer .example .message {
744
+ white-space: pre-wrap;
745
+ }
746
+ #viewer .example .stack {
747
+ font-size: 12px;
748
+ font-family: monospace;
749
+ white-space: nowrap;
750
+ }
751
+ #viewer .example .stack a {
752
+ color: #3893c1;
753
+ cursor: pointer;
754
+ }
755
+ #viewer .example .stack a:hover {
756
+ text-decoration: none;
757
+ }
758
+ #viewer .example .stack pre {
759
+ color: #7dabab;
760
+ }
761
+ #viewer .example .stack pre .line-number {
762
+ color: #497070;
763
+ }
764
+ #viewer .example .time,
765
+ #viewer .example .state,
766
+ #viewer .example .refresh {
767
+ display: inline-block;
768
+ color: #cfe7e6;
769
+ -webkit-border-radius: 3px;
770
+ -moz-border-radius: 3px;
771
+ -ms-border-radius: 3px;
772
+ -o-border-radius: 3px;
773
+ border-radius: 3px;
774
+ font-weight: 300;
775
+ margin-right: 10px;
776
+ text-decoration: none;
777
+ padding: 3px 5px;
778
+ line-height: 1em;
779
+ -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.3), 0 1px 0px #163a4c;
780
+ -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.3), 0 1px 0px #163a4c;
781
+ -ms-box-shadow: inset 0 1px 2px rgba(0,0,0,0.3), 0 1px 0px #163a4c;
782
+ -o-box-shadow: inset 0 1px 2px rgba(0,0,0,0.3), 0 1px 0px #163a4c;
783
+ box-shadow: inset 0 1px 2px rgba(0,0,0,0.3), 0 1px 0px #163a4c;
784
+ }
785
+ #viewer .example .time i,
786
+ #viewer .example .state i,
787
+ #viewer .example .refresh i {
788
+ margin-right: 5px;
789
+ color: #163a4c;
790
+ }
791
+ #viewer .example .time span,
792
+ #viewer .example .state span,
793
+ #viewer .example .refresh span {
794
+ -webkit-text-shadow: 0 0 2px rgba(22,58,76,0.7);
795
+ -moz-text-shadow: 0 0 2px rgba(22,58,76,0.7);
796
+ -ms-text-shadow: 0 0 2px rgba(22,58,76,0.7);
797
+ -o-text-shadow: 0 0 2px rgba(22,58,76,0.7);
798
+ text-shadow: 0 0 2px rgba(22,58,76,0.7);
799
+ }
800
+ #viewer .example .time {
801
+ background: #3893c1;
802
+ }
803
+ #viewer .example .refresh {
804
+ background: #ff2814;
805
+ text-transform: uppercase;
806
+ }
807
+ #viewer .example .state {
808
+ text-transform: uppercase;
809
+ }
810
+ #viewer .example .expectations {
811
+ padding: 0;
812
+ margin: 10px 0;
813
+ }
814
+ #viewer .example .expectations .expectation {
815
+ list-style: none;
816
+ cursor: pointer;
817
+ padding: 5px;
818
+ margin: 0 -5px;
819
+ -webkit-border-radius: 3px;
820
+ -moz-border-radius: 3px;
821
+ -ms-border-radius: 3px;
822
+ -o-border-radius: 3px;
823
+ border-radius: 3px;
824
+ }
825
+ #viewer .example .expectations .expectation.active {
826
+ background: #163a4c;
827
+ }
828
+ #viewer .example .expectations .expectation.success {
829
+ color: #64b432;
830
+ }
831
+ #viewer .example .expectations .expectation.failure {
832
+ color: #ff2814;
833
+ }
834
+ #viewer .example .expectation-message {
835
+ border-top: 1px solid #163a4c;
836
+ padding-top: 5px;
837
+ white-space: pre-wrap;
838
+ font-family: Menlo, Consolas, monospace;
839
+ font-size: 0.8em;
840
+ }
841
+ #viewer .example .expectation-message.success {
842
+ color: #64b432;
843
+ }
844
+ #viewer .example .expectation-message.failure {
845
+ color: #ff2814;
846
+ }
847
+ #viewer .example .expectation-message .value {
848
+ background: #163a4c;
849
+ -webkit-border-radius: 3px;
850
+ -moz-border-radius: 3px;
851
+ -ms-border-radius: 3px;
852
+ -o-border-radius: 3px;
853
+ border-radius: 3px;
854
+ padding: 1px 3px;
855
+ }
856
+ #viewer .example .diff {
857
+ display: block;
858
+ background: #163a4c;
859
+ padding: 5px;
860
+ -webkit-border-radius: 4px;
861
+ -moz-border-radius: 4px;
862
+ -ms-border-radius: 4px;
863
+ -o-border-radius: 4px;
864
+ border-radius: 4px;
865
+ color: #aac8c8;
866
+ }
867
+ #viewer .example .diff del,
868
+ #viewer .example .diff ins {
869
+ padding: 2px;
870
+ text-decoration: none;
871
+ }
872
+ #viewer .example .diff del {
873
+ background: rgba(255,40,20,0.5);
874
+ }
875
+ #viewer .example .diff ins {
876
+ background: rgba(100,180,50,0.5);
877
+ }
878
+ .error {
879
+ background: rgba(255,40,20,0.3);
880
+ padding: 5px;
881
+ -webkit-border-radius: 5px;
882
+ -moz-border-radius: 5px;
883
+ -ms-border-radius: 5px;
884
+ -o-border-radius: 5px;
885
+ border-radius: 5px;
886
+ margin-bottom: 8px;
887
+ }
888
+ .error .message {
889
+ color: #ff2814;
890
+ }
891
+ .error pre {
892
+ color: #aac8c8;
893
+ }
894
+ @media screen and (max-width: 480px) {
895
+ #examples .header #search {
896
+ overflow: hidden;
897
+ }
898
+ #examples .header #search input {
899
+ min-width: 0px;
900
+ width: 0px;
901
+ padding-right: 20px;
902
+ }
903
+ #examples .header #search input:focus + button {
904
+ right: 0;
905
+ }
906
+ #examples .header #search input:focus + button i:after {
907
+ -webkit-opacity: 0;
908
+ -moz-opacity: 0;
909
+ -ms-opacity: 0;
910
+ -o-opacity: 0;
911
+ opacity: 0;
912
+ }
913
+ #examples .header #search button {
914
+ right: -30px;
915
+ }
916
+ #examples .header #search button i:after {
917
+ content: '\f002';
918
+ font-family: FontAwesome;
919
+ color: #aac8c8;
920
+ position: absolute;
921
+ display: block;
922
+ right: 37px;
923
+ top: 8px;
924
+ -webkit-opacity: 0.5;
925
+ -moz-opacity: 0.5;
926
+ -ms-opacity: 0.5;
927
+ -o-opacity: 0.5;
928
+ opacity: 0.5;
929
+ -webkit-transition: all 0.3s;
930
+ -moz-transition: all 0.3s;
931
+ -ms-transition: all 0.3s;
932
+ -o-transition: all 0.3s;
933
+ transition: all 0.3s;
934
+ z-index: 2;
935
+ pointer-events: none;
936
+ }
937
+ #viewer .example section .time,
938
+ #viewer .example section .state {
939
+ margin-right: 3px;
940
+ }
941
+ #viewer .example section .refresh {
942
+ margin-right: 0;
943
+ }
944
+ #viewer .example section .refresh i {
945
+ margin-right: 0;
946
+ }
947
+ #viewer .example section .refresh span {
948
+ display: none;
949
+ }
950
+ }