mongodb_logger 0.2.6-jruby

Sign up to get free protection for your applications and to get access to all the features.
Files changed (118) hide show
  1. data/.gitignore +20 -0
  2. data/.rvmrc +1 -0
  3. data/.travis.yml +19 -0
  4. data/CHANGELOG.md +30 -0
  5. data/Gemfile +10 -0
  6. data/LICENSE +22 -0
  7. data/README.md +207 -0
  8. data/Rakefile +169 -0
  9. data/SUPPORTED_RAILS_VERSIONS +17 -0
  10. data/TESTING.md +24 -0
  11. data/bin/mongodb_logger_web +24 -0
  12. data/config.ru +17 -0
  13. data/examples/server_config.yml +5 -0
  14. data/features/mongodb_logger_web.feature +14 -0
  15. data/features/rails.feature +12 -0
  16. data/features/step_definitions/mongodb_logger_web_steps.rb +45 -0
  17. data/features/step_definitions/rails_application_steps.rb +65 -0
  18. data/features/support/env.rb +15 -0
  19. data/features/support/rails.rb +98 -0
  20. data/features/support/terminal.rb +95 -0
  21. data/lib/mongodb_logger/initializer_mixin.rb +26 -0
  22. data/lib/mongodb_logger/logger.rb +239 -0
  23. data/lib/mongodb_logger/railtie.rb +12 -0
  24. data/lib/mongodb_logger/replica_set_helper.rb +19 -0
  25. data/lib/mongodb_logger/server/coffee/logs.coffee +250 -0
  26. data/lib/mongodb_logger/server/content_for.rb +58 -0
  27. data/lib/mongodb_logger/server/model/additional_filter.rb +104 -0
  28. data/lib/mongodb_logger/server/model/analytic.rb +82 -0
  29. data/lib/mongodb_logger/server/model/filter.rb +84 -0
  30. data/lib/mongodb_logger/server/partials.rb +24 -0
  31. data/lib/mongodb_logger/server/public/images/arrow-down.png +0 -0
  32. data/lib/mongodb_logger/server/public/images/arrow-up.png +0 -0
  33. data/lib/mongodb_logger/server/public/images/date.png +0 -0
  34. data/lib/mongodb_logger/server/public/images/external.png +0 -0
  35. data/lib/mongodb_logger/server/public/images/failure.png +0 -0
  36. data/lib/mongodb_logger/server/public/images/logo.png +0 -0
  37. data/lib/mongodb_logger/server/public/images/mongodb.png +0 -0
  38. data/lib/mongodb_logger/server/public/images/newlog.png +0 -0
  39. data/lib/mongodb_logger/server/public/images/play-icon.png +0 -0
  40. data/lib/mongodb_logger/server/public/images/spinner.gif +0 -0
  41. data/lib/mongodb_logger/server/public/images/spinner2.gif +0 -0
  42. data/lib/mongodb_logger/server/public/images/stop-icon.png +0 -0
  43. data/lib/mongodb_logger/server/public/images/success.png +0 -0
  44. data/lib/mongodb_logger/server/public/javascripts/logs.js +1 -0
  45. data/lib/mongodb_logger/server/public/javascripts/vendors/highlight.pack.js +1 -0
  46. data/lib/mongodb_logger/server/public/javascripts/vendors/jquery-1.7.1.min.js +4 -0
  47. data/lib/mongodb_logger/server/public/javascripts/vendors/jquery-ui-1.8.16.min.js +791 -0
  48. data/lib/mongodb_logger/server/public/javascripts/vendors/jquery.pjax.min.js +6 -0
  49. data/lib/mongodb_logger/server/public/stylesheets/all.css +12 -0
  50. data/lib/mongodb_logger/server/public/stylesheets/grids.css +18 -0
  51. data/lib/mongodb_logger/server/public/stylesheets/group-buttons.css +81 -0
  52. data/lib/mongodb_logger/server/public/stylesheets/group-forms.css +59 -0
  53. data/lib/mongodb_logger/server/public/stylesheets/group-headers.css +8 -0
  54. data/lib/mongodb_logger/server/public/stylesheets/group-tables.css +87 -0
  55. data/lib/mongodb_logger/server/public/stylesheets/highlight/zenburn.css +115 -0
  56. data/lib/mongodb_logger/server/public/stylesheets/humanity/images/ui-bg_flat_75_aaaaaa_40x100.png +0 -0
  57. data/lib/mongodb_logger/server/public/stylesheets/humanity/images/ui-bg_glass_100_f5f0e5_1x400.png +0 -0
  58. data/lib/mongodb_logger/server/public/stylesheets/humanity/images/ui-bg_glass_25_cb842e_1x400.png +0 -0
  59. data/lib/mongodb_logger/server/public/stylesheets/humanity/images/ui-bg_glass_70_ede4d4_1x400.png +0 -0
  60. data/lib/mongodb_logger/server/public/stylesheets/humanity/images/ui-bg_highlight-hard_100_f4f0ec_1x100.png +0 -0
  61. data/lib/mongodb_logger/server/public/stylesheets/humanity/images/ui-bg_highlight-hard_65_fee4bd_1x100.png +0 -0
  62. data/lib/mongodb_logger/server/public/stylesheets/humanity/images/ui-bg_highlight-hard_75_f5f5b5_1x100.png +0 -0
  63. data/lib/mongodb_logger/server/public/stylesheets/humanity/images/ui-bg_inset-soft_100_f4f0ec_1x100.png +0 -0
  64. data/lib/mongodb_logger/server/public/stylesheets/humanity/images/ui-icons_c47a23_256x240.png +0 -0
  65. data/lib/mongodb_logger/server/public/stylesheets/humanity/images/ui-icons_cb672b_256x240.png +0 -0
  66. data/lib/mongodb_logger/server/public/stylesheets/humanity/images/ui-icons_f08000_256x240.png +0 -0
  67. data/lib/mongodb_logger/server/public/stylesheets/humanity/images/ui-icons_f35f07_256x240.png +0 -0
  68. data/lib/mongodb_logger/server/public/stylesheets/humanity/images/ui-icons_ff7519_256x240.png +0 -0
  69. data/lib/mongodb_logger/server/public/stylesheets/humanity/images/ui-icons_ffffff_256x240.png +0 -0
  70. data/lib/mongodb_logger/server/public/stylesheets/humanity/jquery-ui-1.8.16.custom.css +568 -0
  71. data/lib/mongodb_logger/server/public/stylesheets/layout.css +205 -0
  72. data/lib/mongodb_logger/server/public/stylesheets/library.css +330 -0
  73. data/lib/mongodb_logger/server/public/stylesheets/reset.css +43 -0
  74. data/lib/mongodb_logger/server/public/stylesheets/spaces.css +42 -0
  75. data/lib/mongodb_logger/server/view_helpers.rb +113 -0
  76. data/lib/mongodb_logger/server/views/analytics.erb +61 -0
  77. data/lib/mongodb_logger/server/views/error.erb +2 -0
  78. data/lib/mongodb_logger/server/views/layout.erb +47 -0
  79. data/lib/mongodb_logger/server/views/overview.erb +119 -0
  80. data/lib/mongodb_logger/server/views/shared/_collection_stats.erb +14 -0
  81. data/lib/mongodb_logger/server/views/shared/_dynamic_filter.erb +34 -0
  82. data/lib/mongodb_logger/server/views/shared/_log.erb +8 -0
  83. data/lib/mongodb_logger/server/views/shared/_log_info.erb +27 -0
  84. data/lib/mongodb_logger/server/views/shared/_message_tabs.erb +15 -0
  85. data/lib/mongodb_logger/server/views/shared/_tabs.erb +4 -0
  86. data/lib/mongodb_logger/server/views/shared/_tail_panel.erb +13 -0
  87. data/lib/mongodb_logger/server/views/shared/_top_panel.erb +7 -0
  88. data/lib/mongodb_logger/server/views/show_log.erb +105 -0
  89. data/lib/mongodb_logger/server.rb +174 -0
  90. data/lib/mongodb_logger/server_config.rb +77 -0
  91. data/lib/mongodb_logger/version.rb +3 -0
  92. data/lib/mongodb_logger.rb +31 -0
  93. data/mongodb_logger.gemspec +44 -0
  94. data/mongodb_logger.java.gemspec +42 -0
  95. data/spec/javascripts/MongodbLoggerMainSpec.js +13 -0
  96. data/spec/javascripts/helpers/SpecHelper.js +3 -0
  97. data/spec/javascripts/support/jasmine.yml +77 -0
  98. data/spec/javascripts/support/jasmine_config.rb +23 -0
  99. data/spec/javascripts/support/jasmine_runner.rb +32 -0
  100. data/test/active_record.rb +13 -0
  101. data/test/config/samples/database.yml +9 -0
  102. data/test/config/samples/database_no_file_logging.yml +10 -0
  103. data/test/config/samples/database_replica_set.yml +12 -0
  104. data/test/config/samples/database_with_auth.yml +9 -0
  105. data/test/config/samples/database_with_collection.yml +8 -0
  106. data/test/config/samples/mongodb_logger.yml +2 -0
  107. data/test/config/samples/mongoid.yml +30 -0
  108. data/test/config/samples/server_config.yml +3 -0
  109. data/test/rails/app/controllers/order_controller.rb +23 -0
  110. data/test/rails/test/functional/order_controller_test.rb +116 -0
  111. data/test/rails/test/test_helper.rb +10 -0
  112. data/test/rails.rb +22 -0
  113. data/test/shoulda_macros/log_macros.rb +13 -0
  114. data/test/test.sh +6 -0
  115. data/test/test_helper.rb +89 -0
  116. data/test/unit/mongodb_logger_replica_test.rb +56 -0
  117. data/test/unit/mongodb_logger_test.rb +270 -0
  118. metadata +383 -0
@@ -0,0 +1,6 @@
1
+ (function(b){b.fn.pjax=function(a,c){c?c.container=a:c=b.isPlainObject(a)?a:{container:a};if(c.container&&"string"!==typeof c.container)throw"pjax container must be a string selector!";return this.live("click",function(a){if(1<a.which||a.metaKey)return!0;var d={url:this.href,container:b(this).attr("data-pjax"),clickedElement:b(this),fragment:null};b.pjax(b.extend({},d,c));a.preventDefault()})};var d=b.pjax=function(a){var c=b(a.container),h=a.success||b.noop;delete a.success;if("string"!==typeof a.container)throw"pjax container must be a string selector!";
2
+ a=b.extend(!0,{},d.defaults,a);if(b.isFunction(a.url))a.url=a.url();a.context=c;a.success=function(c){if(a.fragment){var e=b(c).find(a.fragment);if(e.length)c=e.children();else return window.location=a.url}else if(!b.trim(c)||/<html/i.test(c))return window.location=a.url;this.html(c);var g=document.title,f=b.trim(this.find("title").remove().text());if(f)document.title=f;!f&&a.fragment&&(e.attr("title")||e.data("title"));e={pjax:a.container,fragment:a.fragment,timeout:a.timeout};f=b.param(a.data);
3
+ if("_pjax=true"!=f)e.url=a.url+(/\?/.test(a.url)?"&":"?")+f;if(a.replace)window.history.replaceState(e,document.title,a.url);else if(a.push){if(!d.active)window.history.replaceState(b.extend({},e,{url:null}),g),d.active=!0;window.history.pushState(e,document.title,a.url)}(a.replace||a.push)&&window._gaq&&_gaq.push(["_trackPageview"]);g=window.location.hash.toString();if(""!==g)window.location.href=g;h.apply(this,arguments)};if((c=d.xhr)&&4>c.readyState)c.onreadystatechange=b.noop,c.abort();d.options=
4
+ a;d.xhr=b.ajax(a);b(document).trigger("pjax",[d.xhr,a]);return d.xhr};d.defaults={timeout:650,push:!0,replace:!1,data:{_pjax:!0},type:"GET",dataType:"html",beforeSend:function(a){this.trigger("pjax:start",[a,d.options]);this.trigger("start.pjax",[a,d.options]);a.setRequestHeader("X-PJAX","true")},error:function(a,b){if("abort"!==b)window.location=d.options.url},complete:function(a){this.trigger("pjax:end",[a,d.options]);this.trigger("end.pjax",[a,d.options])}};var h="state"in window.history,i=location.href;
5
+ b(window).bind("popstate",function(a){var c=!h&&location.href==i;h=!0;if(!c&&(a=a.state)&&a.pjax)c=a.pjax,b(c+"").length?b.pjax({url:a.url||location.href,fragment:a.fragment,container:c,push:!1,timeout:a.timeout}):window.location=location.href});0>b.inArray("state",b.event.props)&&b.event.props.push("state");b.support.pjax=window.history&&window.history.pushState&&window.history.replaceState&&!navigator.userAgent.match(/(iPod|iPhone|iPad|WebApps\/.+CFNetwork)/);if(!b.support.pjax)b.pjax=function(a){window.location=
6
+ b.isFunction(a.url)?a.url():a.url},b.fn.pjax=function(){return this}})(jQuery);
@@ -0,0 +1,12 @@
1
+ @import "reset.css";
2
+ @import "grids.css";
3
+ @import "spaces.css";
4
+ @import "layout.css";
5
+ @import "library.css";
6
+ @import "group-headers.css";
7
+ @import "group-buttons.css";
8
+ @import "group-forms.css";
9
+ @import "group-tables.css";
10
+
11
+ @import "humanity/jquery-ui-1.8.16.custom.css";
12
+ @import "highlight/zenburn.css";
@@ -0,0 +1,18 @@
1
+ .clearfix:before,.clearfix:after{content:"";display:table;}
2
+ .clearfix:after{clear:both;}
3
+ .clearfix{*zoom:1;}
4
+ .unit{float:left;}
5
+ .unit-right{float:right;}
6
+ .size1of1{float:none;}
7
+ .size1of2{width:50%;}
8
+ .size1of3{width:33.33333%;}
9
+ .size2of3{width:66.66666%;}
10
+ .size1of4{width:25%;}
11
+ .size3of4{width:75%;}
12
+ .size1of5{width:20%;}
13
+ .size1of10{width:10%;}
14
+ .size2of5{width:40%;}
15
+ .size3of5{width:60%;}
16
+ .size4of5{width:80%;}
17
+ .size80{width: 80px;}
18
+ .lastUnit{float:none;display:block;display:table-cell;width:9999em;*width:auto;*zoom:1;_position:relative;_left:-3px;_margin-right:-3px;}
@@ -0,0 +1,81 @@
1
+ .button {
2
+ display: inline-block;
3
+ padding: 5px 20px;
4
+ border: 1px solid #777;
5
+ border-radius: 3px;
6
+ box-shadow: 0 1px 2px rgba(100,100,100,0.4), 0 1px 0 rgba(255,255,255,0.3) inset;
7
+ text-decoration: none;
8
+ font-weight: bold;
9
+ color: #fff;
10
+ cursor: pointer;
11
+ background: rgb(5,171,239);
12
+ background: -moz-linear-gradient(top, rgba(5,171,239,1) 0%, rgba(3,105,173,1) 100%);
13
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(5,171,239,1)), color-stop(100%,rgba(3,105,173,1)));
14
+ background: -webkit-linear-gradient(top, rgba(5,171,239,1) 0%,rgba(3,105,173,1) 100%);
15
+ background: -o-linear-gradient(top, rgba(5,171,239,1) 0%,rgba(3,105,173,1) 100%);
16
+ background: -ms-linear-gradient(top, rgba(5,171,239,1) 0%,rgba(3,105,173,1) 100%);
17
+ background: linear-gradient(top, rgba(5,171,239,1) 0%,rgba(3,105,173,1) 100%);
18
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#05abef', endColorstr='#0369ad',GradientType=0 );
19
+ }
20
+
21
+ .button.grey {
22
+ color: #333;
23
+ background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(229,229,229,1) 100%);
24
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(100%,rgba(229,229,229,1)));
25
+ background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%);
26
+ background: -o-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%);
27
+ background: -ms-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%);
28
+ background: linear-gradient(top, rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%);
29
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5',GradientType=0 );
30
+ }
31
+
32
+ .button.small {
33
+ padding: 2px 10px;
34
+ }
35
+
36
+ .button.negative {
37
+ color: #fff;
38
+ background: rgb(247,43,0);
39
+ background: -moz-linear-gradient(top, rgba(247,43,0,1) 0%, rgba(201,45,0,1) 100%);
40
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(247,43,0,1)), color-stop(100%,rgba(201,45,0,1)));
41
+ background: -webkit-linear-gradient(top, rgba(247,43,0,1) 0%,rgba(201,45,0,1) 100%);
42
+ background: -o-linear-gradient(top, rgba(247,43,0,1) 0%,rgba(201,45,0,1) 100%);
43
+ background: -ms-linear-gradient(top, rgba(247,43,0,1) 0%,rgba(201,45,0,1) 100%);
44
+ background: linear-gradient(top, rgba(247,43,0,1) 0%,rgba(201,45,0,1) 100%);
45
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f72b00', endColorstr='#c92d00',GradientType=0 );
46
+ }
47
+
48
+ .button.primary {
49
+ padding: 3px 10px;
50
+ color: #fff;
51
+ background: #68B902;
52
+ border-color: #5E8C22;
53
+ text-shadow: 0 1px 0 rgba(0,0,0,0.4);
54
+ }
55
+
56
+ .button:hover {
57
+ color: #fff;
58
+ }
59
+
60
+ .button.grey:hover {
61
+ color: #333;
62
+ }
63
+
64
+
65
+ .button.primary:hover {
66
+ background: #6bc102;
67
+ border-color: #57910C;
68
+ }
69
+
70
+
71
+ .start {
72
+ display: inline-block;
73
+ padding-left: 13px;
74
+ background: url(../images/play-icon.png) no-repeat 0 -35px;
75
+ }
76
+
77
+ .stop {
78
+ display: inline-block;
79
+ padding-left: 13px;
80
+ background: url(../images/stop-icon.png) no-repeat 0 5px;
81
+ }
@@ -0,0 +1,59 @@
1
+ option {
2
+ padding: 0 3px 0 5px;
3
+ }
4
+
5
+ input[type="text"],
6
+ input[type="password"],
7
+ textarea {
8
+ width: 100%;
9
+ padding: 4px 5px;
10
+ -moz-box-sizing: border-box;
11
+ -webkit-box-sizing: border-box;
12
+ box-sizing: border-box;
13
+ font: 12px arial, sans-serif;
14
+ vertical-align: middle;
15
+ border: 1px solid #bbb;
16
+ background-color: #fff;
17
+ border-radius: 3px;
18
+ box-shadow: 0 1px 2px #e6e6e6 inset, 0 1px 0 #fff;
19
+ }
20
+
21
+ select {
22
+ padding: 1px;
23
+ width: 100%;
24
+ font: 12px arial, sans-serif;
25
+ }
26
+
27
+ textarea {
28
+ height: 100px;
29
+ max-width: 100%;
30
+ }
31
+
32
+ .input-wrapper.focused {
33
+ border-color: #40627B;
34
+ box-shadow: 0 0 2px #3E94D0, 0 1px 2px #e6e6e6 inset;
35
+ }
36
+
37
+ .input-wrapper.disabled {
38
+ border-color: #ccc;
39
+ background-color: #e4e4e4;
40
+ }
41
+
42
+ .input-wrapper.focus {
43
+ border-color: #1973b0;
44
+ box-shadow: 0 0 2px #1f8dd8;
45
+ }
46
+
47
+ .input-wrapper.error,
48
+ .input-wrapper.ajax-error {
49
+ border-color: #FF6565;
50
+ background-color: #FFE1E1;
51
+ }
52
+
53
+ input[type="checkbox"],
54
+ input[type="radio"] {
55
+ width: 15px;
56
+ height: 15px;
57
+ vertical-align: 0;
58
+ margin-right: 3px;
59
+ }
@@ -0,0 +1,8 @@
1
+ h1, .h1 {font-size: 22px;}
2
+ h2, .h2 {font-size: 14px;}
3
+ h3, .h3 {font-size: 13px;}
4
+
5
+ h2 {
6
+ border-bottom: 1px solid #ddd;
7
+ padding-bottom: 5px;
8
+ }
@@ -0,0 +1,87 @@
1
+ table {
2
+ width: 100%;
3
+ background-color: #fff;
4
+ }
5
+
6
+ th {
7
+ padding: 10px 20px;
8
+ font-size: 14px;
9
+ font-weight: bold;
10
+ border-bottom: 2px solid #ccc;
11
+ }
12
+
13
+ td {
14
+ padding: 10px 20px;
15
+ border-top: 1px solid #ddd;
16
+ background: #fff;
17
+ white-space: nowrap;
18
+ overflow: hidden;
19
+ text-overflow: ellipsis;
20
+ }
21
+
22
+ tr:nth-child(even) td {
23
+ background-color: #f8f8f8;
24
+ }
25
+
26
+ tr.newlog td {
27
+ font-weight: bold;
28
+ background: #ffe;
29
+ }
30
+
31
+ tr:hover td {
32
+ background-color: #E7F4FB;
33
+ }
34
+
35
+ tr.current td {
36
+ color: #fff;
37
+ background: rgb(59,103,158);
38
+ background: -moz-linear-gradient(top, rgba(59,103,158,1) 0%, rgba(43,136,217,1) 50%, rgba(32,124,202,1) 51%, rgba(125,185,232,1) 100%);
39
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(59,103,158,1)), color-stop(50%,rgba(43,136,217,1)), color-stop(51%,rgba(32,124,202,1)), color-stop(100%,rgba(125,185,232,1)));
40
+ background: -webkit-linear-gradient(top, rgba(59,103,158,1) 0%,rgba(43,136,217,1) 50%,rgba(32,124,202,1) 51%,rgba(125,185,232,1) 100%);
41
+ background: -o-linear-gradient(top, rgba(59,103,158,1) 0%,rgba(43,136,217,1) 50%,rgba(32,124,202,1) 51%,rgba(125,185,232,1) 100%);
42
+ background: -ms-linear-gradient(top, rgba(59,103,158,1) 0%,rgba(43,136,217,1) 50%,rgba(32,124,202,1) 51%,rgba(125,185,232,1) 100%);
43
+ background: linear-gradient(top, rgba(59,103,158,1) 0%,rgba(43,136,217,1) 50%,rgba(32,124,202,1) 51%,rgba(125,185,232,1) 100%);
44
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3b679e', endColorstr='#7db9e8',GradientType=0 );
45
+ }
46
+
47
+ th:last-child,
48
+ td:last-child {
49
+ text-align: right;
50
+ }
51
+
52
+ .status-cell {
53
+ width: 10px;
54
+ text-align: center;
55
+ }
56
+
57
+
58
+ .url-text {
59
+ max-width: 120px;
60
+ white-space: nowrap;
61
+ overflow: hidden;
62
+ text-overflow: ellipsis;
63
+ }
64
+
65
+ .td-time {
66
+ width: 100px;
67
+ }
68
+
69
+ .td-controller {
70
+ width: 15%;
71
+ }
72
+
73
+ .td-action {
74
+ width: 15%;
75
+ }
76
+
77
+ .td-ip {
78
+ width: 15%;
79
+ }
80
+
81
+ .td-runtime {
82
+ width: 15%;
83
+ }
84
+
85
+ .url_log {
86
+ width: 15%;
87
+ }
@@ -0,0 +1,115 @@
1
+ /*
2
+
3
+ Zenburn style from voldmar.ru (c) Vladimir Epifanov <voldmar@voldmar.ru>
4
+ based on dark.css by Ivan Sagalaev
5
+
6
+ */
7
+
8
+ pre code {
9
+ display: block; padding: 0.5em;
10
+ background: #3F3F3F;
11
+ color: #DCDCDC;
12
+ }
13
+
14
+ pre .keyword,
15
+ pre .tag,
16
+ pre .django .tag,
17
+ pre .django .keyword,
18
+ pre .css .class,
19
+ pre .css .id,
20
+ pre .lisp .title {
21
+ color: #E3CEAB;
22
+ }
23
+
24
+ pre .django .template_tag,
25
+ pre .django .variable,
26
+ pre .django .filter .argument {
27
+ color: #DCDCDC;
28
+ }
29
+
30
+ pre .number,
31
+ pre .date {
32
+ color: #8CD0D3;
33
+ }
34
+
35
+ pre .dos .envvar,
36
+ pre .dos .stream,
37
+ pre .variable,
38
+ pre .apache .sqbracket {
39
+ color: #EFDCBC;
40
+ }
41
+
42
+ pre .dos .flow,
43
+ pre .diff .change,
44
+ pre .python .exception,
45
+ pre .python .built_in,
46
+ pre .literal,
47
+ pre .tex .special {
48
+ color: #EFEFAF;
49
+ }
50
+
51
+ pre .diff .chunk,
52
+ pre .ruby .subst {
53
+ color: #8F8F8F;
54
+ }
55
+
56
+ pre .dos .keyword,
57
+ pre .python .decorator,
58
+ pre .class .title,
59
+ pre .haskell .label,
60
+ pre .function .title,
61
+ pre .ini .title,
62
+ pre .diff .header,
63
+ pre .ruby .class .parent,
64
+ pre .apache .tag,
65
+ pre .nginx .built_in,
66
+ pre .tex .command,
67
+ pre .input_number {
68
+ color: #efef8f;
69
+ }
70
+
71
+ pre .dos .winutils,
72
+ pre .ruby .symbol,
73
+ pre .ruby .symbol .string,
74
+ pre .ruby .symbol .keyword,
75
+ pre .ruby .symbol .keymethods,
76
+ pre .ruby .string,
77
+ pre .ruby .instancevar {
78
+ color: #DCA3A3;
79
+ }
80
+
81
+ pre .diff .deletion,
82
+ pre .string,
83
+ pre .tag .value,
84
+ pre .preprocessor,
85
+ pre .built_in,
86
+ pre .sql .aggregate,
87
+ pre .javadoc,
88
+ pre .smalltalk .class,
89
+ pre .smalltalk .localvars,
90
+ pre .smalltalk .array,
91
+ pre .css .rules .value,
92
+ pre .attr_selector,
93
+ pre .pseudo,
94
+ pre .apache .cbracket,
95
+ pre .tex .formula {
96
+ color: #CC9393;
97
+ }
98
+
99
+ pre .shebang,
100
+ pre .diff .addition,
101
+ pre .comment,
102
+ pre .java .annotation,
103
+ pre .template_comment,
104
+ pre .pi,
105
+ pre .doctype {
106
+ color: #7F9F7F;
107
+ }
108
+
109
+ pre .xml .css,
110
+ pre .xml .javascript,
111
+ pre .xml .vbscript,
112
+ pre .tex .formula {
113
+ opacity: 0.5;
114
+ }
115
+