tarantula 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (118) hide show
  1. data/CHANGELOG +2 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.rdoc +106 -0
  4. data/Rakefile +80 -0
  5. data/init.rb +1 -0
  6. data/install.rb +1 -0
  7. data/laf/images/background.jpg +0 -0
  8. data/laf/images/relevance-os-logo.gif +0 -0
  9. data/laf/images/tab.png +0 -0
  10. data/laf/images/table-sort.gif +0 -0
  11. data/laf/images/tarantula-sprites.png +0 -0
  12. data/laf/javascripts/jquery-1.2.3.js +3408 -0
  13. data/laf/javascripts/jquery-ui-tabs.js +890 -0
  14. data/laf/javascripts/jquery.tablesorter.js +861 -0
  15. data/laf/javascripts/tarantula.js +10 -0
  16. data/laf/stylesheets/tarantula.css +638 -0
  17. data/laf/stylesheets/ui.tabs.css +113 -0
  18. data/lib/relevance/core_extensions/ellipsize.rb +34 -0
  19. data/lib/relevance/core_extensions/file.rb +9 -0
  20. data/lib/relevance/core_extensions/response.rb +9 -0
  21. data/lib/relevance/core_extensions/test_case.rb +12 -0
  22. data/lib/relevance/tarantula.rb +63 -0
  23. data/lib/relevance/tarantula/attack.rb +15 -0
  24. data/lib/relevance/tarantula/attack_form_submission.rb +75 -0
  25. data/lib/relevance/tarantula/attack_handler.rb +37 -0
  26. data/lib/relevance/tarantula/crawler.rb +240 -0
  27. data/lib/relevance/tarantula/detail.html.erb +77 -0
  28. data/lib/relevance/tarantula/form.rb +21 -0
  29. data/lib/relevance/tarantula/form_submission.rb +70 -0
  30. data/lib/relevance/tarantula/html_document_handler.rb +36 -0
  31. data/lib/relevance/tarantula/html_report_helper.rb +56 -0
  32. data/lib/relevance/tarantula/html_reporter.rb +105 -0
  33. data/lib/relevance/tarantula/index.html.erb +48 -0
  34. data/lib/relevance/tarantula/invalid_html_handler.rb +18 -0
  35. data/lib/relevance/tarantula/io_reporter.rb +34 -0
  36. data/lib/relevance/tarantula/link.rb +56 -0
  37. data/lib/relevance/tarantula/log_grabber.rb +16 -0
  38. data/lib/relevance/tarantula/rails_integration_proxy.rb +70 -0
  39. data/lib/relevance/tarantula/recording.rb +12 -0
  40. data/lib/relevance/tarantula/response.rb +13 -0
  41. data/lib/relevance/tarantula/result.rb +66 -0
  42. data/lib/relevance/tarantula/test_report.html.erb +34 -0
  43. data/lib/relevance/tarantula/tidy_handler.rb +32 -0
  44. data/lib/relevance/tarantula/transform.rb +17 -0
  45. data/manifest.txt +117 -0
  46. data/rails/init.rb +1 -0
  47. data/tarantula.gemspec +48 -0
  48. data/tasks/tarantula_tasks.rake +34 -0
  49. data/template/tarantula_test.rb +12 -0
  50. data/test/relevance/core_extensions/ellipsize_test.rb +19 -0
  51. data/test/relevance/core_extensions/file_test.rb +8 -0
  52. data/test/relevance/core_extensions/response_test.rb +29 -0
  53. data/test/relevance/core_extensions/test_case_test.rb +16 -0
  54. data/test/relevance/tarantula/attack_form_submission_test.rb +79 -0
  55. data/test/relevance/tarantula/attack_handler_test.rb +29 -0
  56. data/test/relevance/tarantula/crawler_test.rb +296 -0
  57. data/test/relevance/tarantula/form_submission_test.rb +71 -0
  58. data/test/relevance/tarantula/form_test.rb +50 -0
  59. data/test/relevance/tarantula/html_document_handler_test.rb +43 -0
  60. data/test/relevance/tarantula/html_report_helper_test.rb +47 -0
  61. data/test/relevance/tarantula/html_reporter_test.rb +82 -0
  62. data/test/relevance/tarantula/invalid_html_handler_test.rb +33 -0
  63. data/test/relevance/tarantula/io_reporter_test.rb +11 -0
  64. data/test/relevance/tarantula/link_test.rb +61 -0
  65. data/test/relevance/tarantula/log_grabber_test.rb +26 -0
  66. data/test/relevance/tarantula/rails_integration_proxy_test.rb +94 -0
  67. data/test/relevance/tarantula/result_test.rb +85 -0
  68. data/test/relevance/tarantula/tidy_handler_test.rb +58 -0
  69. data/test/relevance/tarantula/transform_test.rb +21 -0
  70. data/test/relevance/tarantula_test.rb +23 -0
  71. data/test/test_helper.rb +34 -0
  72. data/tmp/test_output/images/background.jpg +0 -0
  73. data/tmp/test_output/images/relevance-os-logo.gif +0 -0
  74. data/tmp/test_output/images/tab.png +0 -0
  75. data/tmp/test_output/images/table-sort.gif +0 -0
  76. data/tmp/test_output/images/tarantula-sprites.png +0 -0
  77. data/tmp/test_output/index.html +255 -0
  78. data/tmp/test_output/javascripts/jquery-1.2.3.js +3408 -0
  79. data/tmp/test_output/javascripts/jquery-ui-tabs.js +890 -0
  80. data/tmp/test_output/javascripts/jquery.tablesorter.js +861 -0
  81. data/tmp/test_output/javascripts/tarantula.js +10 -0
  82. data/tmp/test_output/stylesheets/tarantula.css +638 -0
  83. data/tmp/test_output/stylesheets/ui.tabs.css +113 -0
  84. data/tmp/test_output/test_user_pages/1.html +71 -0
  85. data/tmp/test_output/test_user_pages/10.html +71 -0
  86. data/tmp/test_output/test_user_pages/11.html +71 -0
  87. data/tmp/test_output/test_user_pages/12.html +71 -0
  88. data/tmp/test_output/test_user_pages/13.html +71 -0
  89. data/tmp/test_output/test_user_pages/14.html +71 -0
  90. data/tmp/test_output/test_user_pages/15.html +71 -0
  91. data/tmp/test_output/test_user_pages/16.html +71 -0
  92. data/tmp/test_output/test_user_pages/17.html +71 -0
  93. data/tmp/test_output/test_user_pages/18.html +71 -0
  94. data/tmp/test_output/test_user_pages/19.html +71 -0
  95. data/tmp/test_output/test_user_pages/2.html +71 -0
  96. data/tmp/test_output/test_user_pages/20.html +71 -0
  97. data/tmp/test_output/test_user_pages/3.html +71 -0
  98. data/tmp/test_output/test_user_pages/4.html +71 -0
  99. data/tmp/test_output/test_user_pages/5.html +71 -0
  100. data/tmp/test_output/test_user_pages/6.html +71 -0
  101. data/tmp/test_output/test_user_pages/7.html +71 -0
  102. data/tmp/test_output/test_user_pages/8.html +71 -0
  103. data/tmp/test_output/test_user_pages/9.html +71 -0
  104. data/uninstall.rb +1 -0
  105. data/vendor/xss-shield/MIT-LICENSE +20 -0
  106. data/vendor/xss-shield/README +76 -0
  107. data/vendor/xss-shield/init.rb +16 -0
  108. data/vendor/xss-shield/lib/xss_shield.rb +6 -0
  109. data/vendor/xss-shield/lib/xss_shield/erb_hacks.rb +111 -0
  110. data/vendor/xss-shield/lib/xss_shield/haml_hacks.rb +42 -0
  111. data/vendor/xss-shield/lib/xss_shield/safe_string.rb +47 -0
  112. data/vendor/xss-shield/lib/xss_shield/secure_helpers.rb +40 -0
  113. data/vendor/xss-shield/test/test_actionview_integration.rb +40 -0
  114. data/vendor/xss-shield/test/test_erb.rb +44 -0
  115. data/vendor/xss-shield/test/test_haml.rb +43 -0
  116. data/vendor/xss-shield/test/test_helpers.rb +25 -0
  117. data/vendor/xss-shield/test/test_safe_string.rb +55 -0
  118. metadata +283 -0
@@ -0,0 +1,10 @@
1
+ $(document).ready(function() {
2
+ $(".tablesorter").tablesorter({
3
+ sortColumn: 'name', // Integer or String of the name of the column to sort by.
4
+ cssAsc: 'sort asc', // class name for ascending sorting action to header
5
+ cssDesc: 'sort desc', // class name for descending sorting action to header
6
+ headerClass: 'header' // class name for headers (th's)
7
+ });
8
+ $('#tabs-container > ul').tabs();
9
+ });
10
+
@@ -0,0 +1,638 @@
1
+ /* RESET */
2
+
3
+ html, body, div, span, applet, object, iframe,
4
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
5
+ a, abbr, acronym, address, big, cite, code,
6
+ del, dfn, em, font, img, ins, kbd, q, s, samp,
7
+ small, strike, strong, sub, sup, tt, var,
8
+ b, u, i, center,
9
+ dl, dt, dd, ol, ul, li,
10
+ fieldset, form, label, legend,
11
+ table, caption, tbody, tfoot, thead, tr, th, td {
12
+ margin: 0;
13
+ padding: 0;
14
+ border: 0;
15
+ outline: 0;
16
+ font-size: 100%;
17
+ vertical-align: baseline;
18
+ background: transparent;
19
+ }
20
+ body {
21
+ line-height: 1;
22
+ }
23
+ ol, ul {
24
+ list-style: none;
25
+ }
26
+ blockquote, q {
27
+ quotes: none;
28
+ }
29
+
30
+ /* remember to define focus styles! */
31
+ :focus {
32
+ outline: 0;
33
+ }
34
+
35
+ /* remember to highlight inserts somehow! */
36
+ ins {
37
+ text-decoration: none;
38
+ }
39
+ del {
40
+ text-decoration: line-through;
41
+ }
42
+
43
+ /* tables still need 'cellspacing="0"' in the markup */
44
+ table {
45
+ border-collapse: collapse;
46
+ border-spacing: 0;
47
+ }
48
+
49
+ /* UTILITY */
50
+
51
+ /* IE Background Scroll Fix */
52
+ html {
53
+ background: url(null) fixed no-repeat;
54
+ }
55
+
56
+
57
+ /* Firefox Link Fix */
58
+ a:active, a:focus {
59
+ outline: 0;
60
+ }
61
+
62
+ .hide {
63
+ display: none;
64
+ }
65
+
66
+ /* TAGS */
67
+ body {
68
+ min-width: 960px;
69
+ font-family: Arial, Helvetica, sans-serif;
70
+ }
71
+
72
+ strong, b {
73
+ font-weight: 900;
74
+ }
75
+
76
+ em, i {
77
+ font-style: italic;
78
+ }
79
+
80
+ a:link { /* unvisited link */
81
+ color: #003399
82
+ }
83
+
84
+ a:visited { /* visited link */
85
+ color: #666666
86
+ }
87
+
88
+ a:hover { /* mouse over link */
89
+
90
+ }
91
+
92
+ a:active { /* selected link */
93
+ color: #003399
94
+ }
95
+
96
+ /* IMAGES */
97
+ #header, #header h1, #page-container hr.top, #footer, #footer h4, #header ul.navigation li, #header ul.navigation li a,
98
+ table.grid thead tr:first-child th, table.grid thead th a, table.output thead tr:first-child th, table.output thead th ul.tab li a,
99
+ table.output thead th ul.tab li a span, #page table thead tr th.asc span.sort, #page table thead tr th.desc span.sort {
100
+ background-image: url('../images/tarantula-sprites.png');
101
+ background-repeat: no-repeat;
102
+ }
103
+
104
+ #header {
105
+ background-position: 100% -80px;
106
+ background-repeat: repeat-x;
107
+
108
+ }
109
+
110
+ #header h1 {
111
+ position: absolute;
112
+ display: block;
113
+ height: 81px;
114
+ width: 473px;
115
+ }
116
+
117
+ #header ul.navigation li {
118
+ height: 50px;
119
+ background-position: 0 -162px;
120
+ background-repeat: repeat-x;
121
+ width: 147px;
122
+ }
123
+
124
+ #header ul.navigation li a {
125
+ background-position: 100% -162px;
126
+ height: 50px;
127
+ width: 150px;
128
+ }
129
+
130
+ #header ul.navigation li a:hover {
131
+ background-position: 100% -164px;
132
+ }
133
+
134
+ #page-container hr.top {
135
+ background-position: 100% -211px;
136
+ background-repeat: repeat-x;
137
+ height: 13px;
138
+ }
139
+
140
+ #footer {
141
+ background-position: 100% -330px;
142
+ background-repeat: repeat-x;
143
+ height: 55px;
144
+ }
145
+
146
+ #footer > h4 {
147
+ background-position: 4px -390px;
148
+ display: block;
149
+ height: 65px;
150
+ width: 165px;
151
+ }
152
+
153
+ /* LAYOUT */
154
+ html {
155
+ background-color: #dac7ad;
156
+ color: #000;
157
+ }
158
+
159
+ body {
160
+ padding-top: .65em;
161
+ }
162
+
163
+ #header {
164
+ background-color: #000;
165
+ color: #000;
166
+ border-top: 10px solid #000;
167
+ height: 81px;
168
+ border-bottom: 1px solid #dac7ad;
169
+ position: inherit;
170
+ }
171
+
172
+ #header hr.top {
173
+ background-color: #dac7ad;
174
+ border: 0;
175
+ color: #dac7ad;
176
+ height: 1px;
177
+ margin: 0;
178
+ padding: 0;
179
+ }
180
+
181
+ #header > h1 {
182
+ display: -moz-inline-box;
183
+ display: inline-block;
184
+ }
185
+
186
+ #header ul.navigation {
187
+ display: inline;
188
+ left: 510px;
189
+ list-style: none;
190
+ position: relative;
191
+ top: 28px;
192
+ width: auto;
193
+ }
194
+
195
+ #header ul.navigation li {
196
+ display: -moz-inline-box;
197
+ display: inline-block;
198
+ font-size: 100%;
199
+ margin: 0;
200
+ text-align:left;
201
+ }
202
+
203
+ #header ul.navigation li a {
204
+ display: block;
205
+ margin-left: 1px;
206
+ font-family: Arial, Helvetica, sans-serif;
207
+ text-decoration: none;
208
+ padding-top: 5px;
209
+ padding-bottom: 0;
210
+ padding-left: 5px;
211
+ }
212
+
213
+ #header ul.navigation li a:hover {
214
+ border-top: 2px solid;
215
+ padding-top: 3px;
216
+ }
217
+
218
+ #header ul.navigation li a.result-all {
219
+ border-color: #003399;
220
+ }
221
+
222
+ #header ul.navigation li a.result-failure {
223
+ border-color: #990000;
224
+ }
225
+
226
+ #header ul.navigation li a.result-success {
227
+ border-color: #339900;
228
+ }
229
+
230
+ #header ul.navigation li span {
231
+ display: block;
232
+ color: #a8876e;
233
+ font-size: .70em;
234
+ font-weight: 900;
235
+ }
236
+
237
+ #header ul.navigation li em {
238
+ color: #727779;
239
+ display: block;
240
+ font-size: .70em;
241
+ font-style: normal;
242
+ }
243
+
244
+ h1 > span {
245
+ display: block;
246
+ margin-left: -9999em;
247
+ width: 475px;
248
+ clear: left;
249
+ }
250
+
251
+ #page-container {
252
+ border-top: 10px solid #000;
253
+ }
254
+
255
+ #page-container hr.top {
256
+ border: 0;
257
+ margin: 0;
258
+ padding: 0;
259
+ }
260
+
261
+ #page {
262
+ float: left;
263
+ margin: 1.5em;
264
+ padding-bottom: 40px;
265
+ width: 75%;
266
+ }
267
+
268
+ p, ul li, #sidebar p, #sidebar ul li {
269
+ font-family: Arial, Helvetica, sans-serif;
270
+ font-size: 82%;
271
+ margin: .45em;
272
+ text-align: justify;
273
+ }
274
+
275
+ ul {
276
+ margin-left: 2%;
277
+
278
+ }
279
+
280
+ ul li {
281
+ list-style: square;
282
+ margin: .15em 1.5%;
283
+ }
284
+
285
+ h2, h3, h4, h5
286
+ {
287
+ font-family: Arial, Helvetica, sans-serif;
288
+ padding-bottom: 4px;
289
+ margin: .25em;
290
+ }
291
+
292
+ #page h2 {
293
+ color: #1f1512;
294
+ border-bottom: 2px solid #cab8a0;
295
+ }
296
+
297
+ #page h3 {
298
+ font-size: 90%;
299
+ color: #48322c;
300
+ }
301
+
302
+ #page h4 {
303
+ font-size: 85%;
304
+ color: #82574f;
305
+ border-bottom: 1px solid #cab8a0;
306
+ }
307
+
308
+ #sidebar {
309
+ width: 19%;
310
+ float: right;
311
+ margin-top: 1.5em;
312
+ margin-right: 1%;
313
+ }
314
+
315
+ #sidebar p {
316
+ font-size: 76%;
317
+ margin: .40em;
318
+ padding: .2em;
319
+ text-align: justify;
320
+ }
321
+
322
+ #sidebar h3 {
323
+ font-family: Arial;
324
+ color: #3f110f;
325
+ margin: .25em;
326
+ padding-bottom: 4px;
327
+ font-size: 90%;
328
+ border-bottom: 2px solid #342320;
329
+ }
330
+
331
+ #sidebar h4 {
332
+ color: #613737;
333
+ font-size: 85%;
334
+ }
335
+
336
+ #footer {
337
+ background-color: #000;
338
+ border-top: 1px solid #fff5da;
339
+ bottom: 0;
340
+ color: #fff;
341
+ position: fixed;
342
+ text-align: right;
343
+ width: 100%;
344
+ }
345
+
346
+ #footer > h4 {
347
+
348
+ float: right;
349
+ clear: left;
350
+ }
351
+
352
+ #footer h4 > span {
353
+ display: block;
354
+ margin-right: -999em;
355
+ }
356
+
357
+ /* TABLES */
358
+
359
+ table {
360
+ width: 99%;
361
+ }
362
+
363
+ table th.desc span.sort,
364
+ table th.asc span.sort {
365
+ margin: 0 !important;
366
+
367
+ display: -moz-inline-block !important;
368
+ width: 18px !important;
369
+ height: 12px !important;
370
+ position: relative;
371
+ padding: 0 !important;
372
+ float: right;
373
+ }
374
+
375
+ table span.sort em {
376
+ margin-left: -9999px;
377
+ }
378
+
379
+ table th.asc span.sort{
380
+ background-position: 4px -304px;
381
+ background-repeat: repeat-x;
382
+ }
383
+
384
+ table th.desc span.sort {
385
+ background-position: 4px -316px;
386
+ background-repeat: repeat-x;
387
+
388
+ }
389
+
390
+ #page table {
391
+ margin: .45em 0 0 0 !important;
392
+ }
393
+
394
+ #page table th, #page table td {
395
+ font-family: Arial, Helvetica, sans-serif;
396
+ font-size: .75em;
397
+ color: #66463e;
398
+ }
399
+
400
+ #page table.grid {
401
+ border-collapse: separate;
402
+ padding: 1px;
403
+ margin-bottom: 1em;
404
+ width: 100%;
405
+ }
406
+
407
+ #page table.grid tbody td {
408
+ border-color: #d6bda7;
409
+ border-style: solid;
410
+ border-top-width: 1px;
411
+ border-right-width: 1px;
412
+ font-family: "Andale Mono","Monaco","Lucida Console", "Bitstream Vera Sans Mono", Courier, monospace;
413
+ font-size: .80em;
414
+ color: #1a1a1a;
415
+ }
416
+
417
+ #page table.grid tbody td:first-child {
418
+ border-left-width: 1px;
419
+ }
420
+
421
+ #page table.grid tbody tr:last-child td {
422
+ border-bottom-width: 1px;
423
+ }
424
+
425
+ #page table.grid thead tr:first-child th:first-child, #page table.grid tfoot tr td, #page table.grid thead th:first-child a {
426
+ background-color: #d3bda4;
427
+ background-image: none;
428
+ border: none;
429
+ color: #66463e;
430
+ }
431
+
432
+ #page table.grid tfoot tr td {
433
+ padding: 4px;
434
+ font-weight: 900;
435
+ }
436
+
437
+ #page table.grid thead tr:first-child th {
438
+ background-position: 0 -223px;
439
+ background-repeat: repeat-x;
440
+ padding-left: 1px;
441
+ }
442
+
443
+
444
+ #page table.grid thead th a {
445
+ display: -moz-inline-block;
446
+ display: inline-block;
447
+ border-top: 1px solid #84574e;
448
+ background-image: none;
449
+ text-decoration: none;
450
+ height: 25px;
451
+ color: #dac7ad;
452
+ width: 100%;
453
+ font-size: 95%;
454
+ }
455
+
456
+ #page table.grid thead th span.sort {
457
+
458
+ height: 19px;
459
+ vertical-align: middle;
460
+ margin-right: 12px;
461
+ padding: 6px 18px 0px 18px;
462
+ /* padding: 6px; */
463
+ }
464
+
465
+ #page table.grid tbody a {
466
+ color: #003399;
467
+ }
468
+
469
+ #page table.grid tbody td {
470
+ padding: 2px 4px;
471
+ background-color: #dacab4;
472
+ }
473
+
474
+ #page table.grid tbody tr.alt td {
475
+ background-color: #dfccb2
476
+ }
477
+
478
+ #page table.output {
479
+ width: 100%;
480
+ }
481
+
482
+ #page table.output thead tr:first-child th {
483
+ height: 20px;
484
+ background-position: 100% -250px;
485
+ background-repeat: repeat-x;
486
+ }
487
+
488
+ #page table.output thead th {
489
+ background-color: #d3bda4;
490
+ }
491
+
492
+ #page table.output thead tr th>span {
493
+ height: 17px;
494
+ padding: 4px;
495
+ display: block;
496
+ }
497
+
498
+ #page table.output thead tr th ul.tab {
499
+ display: block;
500
+ list-style: none;
501
+ position: relative;
502
+ margin-left: 0;
503
+ }
504
+
505
+ #page table.output thead th ul.tab li {
506
+ display: -moz-inline-box;
507
+ display: inline-block;
508
+ text-align: left;
509
+ width: 160px;
510
+ font-size: 100% !important;
511
+ margin: 0 !important;
512
+ padding: 0 !important;
513
+ text-align: left !important;
514
+
515
+
516
+ }
517
+
518
+ #page table.output thead th ul.tab li a {
519
+ background-position: 0 -250px;
520
+ background-repeat: repeat-x;
521
+ display: -moz-inline-box;
522
+ display: inline-block;
523
+ width: 160px;
524
+ height: 25px;
525
+ color: #dac7ad;
526
+ text-decoration: none;
527
+ }
528
+
529
+ #page table.output thead th ul.tab li a span {
530
+ margin-left: 1px;
531
+ background-position: 100% -250px;
532
+ background-repeat: repeat-x;
533
+ display: -moz-inline-box;
534
+ display: inline-block;
535
+ width: 162px;
536
+ padding: 4px 6px;
537
+
538
+ height: 17px;
539
+ }
540
+
541
+ #page table.output thead th ul.tab li.active a span {
542
+ background-position: 100% -277px;
543
+ background-repeat: repeat-x;
544
+ display: -moz-inline-box;
545
+ display: inline-block;
546
+ }
547
+
548
+ #page table.output tbody tr td:first-child {
549
+ background-color: #dfccb2;
550
+
551
+ border-right-width: 1px;
552
+ border-left-width: 1px;
553
+ }
554
+
555
+ #page table.output tbody tr td {
556
+ background-color: #dacab4;
557
+
558
+ border-style: solid;
559
+ border-color: #d6bda7;
560
+ border-bottom-width: 1px;
561
+ border-right-width: 1px;
562
+
563
+ font-family: "Andale Mono","Monaco","Lucida Console", "Bitstream Vera Sans Mono", Courier, monospace;
564
+ font-size: .80em;
565
+
566
+ padding: 4px;
567
+
568
+ color: #1a1a1a;
569
+ }
570
+
571
+ #page table.output tfoot tr td {
572
+ font-weight: 900;
573
+ padding: 4px;
574
+ }
575
+
576
+ table tr .left {
577
+ text-align: left;
578
+ }
579
+
580
+ table tr .right {
581
+ text-align: right;
582
+ }
583
+
584
+ table tr td.center {
585
+ text-align: center;
586
+ }
587
+
588
+ /* Response Codes */
589
+
590
+ span.r1, span.r2, span.r3, span.r4,
591
+ span.r5 {
592
+ display: block;
593
+ padding: .15em;
594
+ margin: .15em;
595
+ color: #dac7ad;
596
+ }
597
+
598
+ /* Informational 1xx */
599
+ span.r1 {
600
+ background-color: #3333cc;
601
+ border: 1px solid #376edc;
602
+ }
603
+
604
+ /* Successfull 2xx */
605
+ span.r2 {
606
+ background-color: #006600;
607
+ border: 1px solid #008900;
608
+ }
609
+
610
+ /* Redirection 3xx */
611
+ span.r3 {
612
+ background-color: #555652;
613
+ border: 1px solid #80817b;
614
+ }
615
+
616
+ /* Client 4xx */
617
+ span.r4 {
618
+ background-color: #857400;
619
+ border: 1px solid #baa200;
620
+ }
621
+ /* Server Error 5xx */
622
+ span.r5 {
623
+ background-color: #c40000;
624
+ border: 1px solid #dc0000;
625
+ }
626
+
627
+ /* Fixes */
628
+
629
+ /* Safari Bold Fix */
630
+ /*\*/
631
+ html*table th {
632
+ font-weight: normal;
633
+ }/**/
634
+
635
+ /*\*/
636
+ html*#header ul.navigation {
637
+ top: 30px;
638
+ } /**/