sidekiq 6.1.0 → 7.0.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of sidekiq might be problematic. Click here for more details.

Files changed (141) hide show
  1. checksums.yaml +4 -4
  2. data/Changes.md +256 -7
  3. data/LICENSE.txt +9 -0
  4. data/README.md +21 -16
  5. data/bin/sidekiq +4 -9
  6. data/bin/sidekiqload +71 -76
  7. data/bin/sidekiqmon +1 -1
  8. data/lib/generators/sidekiq/job_generator.rb +57 -0
  9. data/lib/generators/sidekiq/templates/{worker.rb.erb → job.rb.erb} +2 -2
  10. data/lib/generators/sidekiq/templates/{worker_spec.rb.erb → job_spec.rb.erb} +1 -1
  11. data/lib/generators/sidekiq/templates/{worker_test.rb.erb → job_test.rb.erb} +1 -1
  12. data/lib/sidekiq/api.rb +352 -229
  13. data/lib/sidekiq/capsule.rb +110 -0
  14. data/lib/sidekiq/cli.rb +109 -89
  15. data/lib/sidekiq/client.rb +75 -86
  16. data/lib/sidekiq/{util.rb → component.rb} +13 -14
  17. data/lib/sidekiq/config.rb +271 -0
  18. data/lib/sidekiq/deploy.rb +62 -0
  19. data/lib/sidekiq/embedded.rb +61 -0
  20. data/lib/sidekiq/fetch.rb +31 -23
  21. data/lib/sidekiq/{worker.rb → job.rb} +162 -28
  22. data/lib/sidekiq/job_logger.rb +17 -29
  23. data/lib/sidekiq/job_retry.rb +80 -60
  24. data/lib/sidekiq/job_util.rb +71 -0
  25. data/lib/sidekiq/launcher.rb +143 -92
  26. data/lib/sidekiq/logger.rb +11 -45
  27. data/lib/sidekiq/manager.rb +40 -41
  28. data/lib/sidekiq/metrics/query.rb +153 -0
  29. data/lib/sidekiq/metrics/shared.rb +95 -0
  30. data/lib/sidekiq/metrics/tracking.rb +134 -0
  31. data/lib/sidekiq/middleware/chain.rb +90 -46
  32. data/lib/sidekiq/middleware/current_attributes.rb +58 -0
  33. data/lib/sidekiq/middleware/i18n.rb +6 -4
  34. data/lib/sidekiq/middleware/modules.rb +21 -0
  35. data/lib/sidekiq/monitor.rb +1 -1
  36. data/lib/sidekiq/paginator.rb +16 -8
  37. data/lib/sidekiq/processor.rb +56 -59
  38. data/lib/sidekiq/rails.rb +17 -5
  39. data/lib/sidekiq/redis_client_adapter.rb +118 -0
  40. data/lib/sidekiq/redis_connection.rb +17 -88
  41. data/lib/sidekiq/ring_buffer.rb +29 -0
  42. data/lib/sidekiq/scheduled.rb +102 -39
  43. data/lib/sidekiq/testing/inline.rb +4 -4
  44. data/lib/sidekiq/testing.rb +42 -71
  45. data/lib/sidekiq/transaction_aware_client.rb +44 -0
  46. data/lib/sidekiq/version.rb +2 -1
  47. data/lib/sidekiq/web/action.rb +3 -3
  48. data/lib/sidekiq/web/application.rb +42 -17
  49. data/lib/sidekiq/web/csrf_protection.rb +33 -6
  50. data/lib/sidekiq/web/helpers.rb +52 -41
  51. data/lib/sidekiq/web/router.rb +4 -1
  52. data/lib/sidekiq/web.rb +26 -81
  53. data/lib/sidekiq/worker_compatibility_alias.rb +13 -0
  54. data/lib/sidekiq.rb +86 -201
  55. data/sidekiq.gemspec +38 -6
  56. data/web/assets/images/apple-touch-icon.png +0 -0
  57. data/web/assets/javascripts/application.js +113 -65
  58. data/web/assets/javascripts/base-charts.js +106 -0
  59. data/web/assets/javascripts/chart.min.js +13 -0
  60. data/web/assets/javascripts/chartjs-plugin-annotation.min.js +7 -0
  61. data/web/assets/javascripts/dashboard-charts.js +166 -0
  62. data/web/assets/javascripts/dashboard.js +36 -273
  63. data/web/assets/javascripts/metrics.js +236 -0
  64. data/web/assets/stylesheets/application-dark.css +61 -51
  65. data/web/assets/stylesheets/application-rtl.css +2 -95
  66. data/web/assets/stylesheets/application.css +98 -532
  67. data/web/locales/ar.yml +71 -65
  68. data/web/locales/cs.yml +62 -62
  69. data/web/locales/da.yml +52 -52
  70. data/web/locales/de.yml +65 -65
  71. data/web/locales/el.yml +43 -24
  72. data/web/locales/en.yml +83 -67
  73. data/web/locales/es.yml +70 -54
  74. data/web/locales/fa.yml +65 -65
  75. data/web/locales/fr.yml +69 -62
  76. data/web/locales/he.yml +65 -64
  77. data/web/locales/hi.yml +59 -59
  78. data/web/locales/it.yml +53 -53
  79. data/web/locales/ja.yml +72 -66
  80. data/web/locales/ko.yml +52 -52
  81. data/web/locales/lt.yml +66 -66
  82. data/web/locales/nb.yml +61 -61
  83. data/web/locales/nl.yml +52 -52
  84. data/web/locales/pl.yml +45 -45
  85. data/web/locales/pt-br.yml +63 -55
  86. data/web/locales/pt.yml +51 -51
  87. data/web/locales/ru.yml +68 -63
  88. data/web/locales/sv.yml +53 -53
  89. data/web/locales/ta.yml +60 -60
  90. data/web/locales/uk.yml +62 -61
  91. data/web/locales/ur.yml +64 -64
  92. data/web/locales/vi.yml +67 -67
  93. data/web/locales/zh-cn.yml +37 -11
  94. data/web/locales/zh-tw.yml +42 -8
  95. data/web/views/_footer.erb +6 -3
  96. data/web/views/_job_info.erb +1 -1
  97. data/web/views/_nav.erb +1 -1
  98. data/web/views/_poll_link.erb +2 -5
  99. data/web/views/_summary.erb +7 -7
  100. data/web/views/busy.erb +57 -21
  101. data/web/views/dashboard.erb +58 -18
  102. data/web/views/dead.erb +1 -1
  103. data/web/views/layout.erb +2 -1
  104. data/web/views/metrics.erb +80 -0
  105. data/web/views/metrics_for_job.erb +69 -0
  106. data/web/views/morgue.erb +6 -6
  107. data/web/views/queue.erb +15 -11
  108. data/web/views/queues.erb +4 -4
  109. data/web/views/retries.erb +7 -7
  110. data/web/views/retry.erb +1 -1
  111. data/web/views/scheduled.erb +1 -1
  112. metadata +87 -52
  113. data/.circleci/config.yml +0 -71
  114. data/.github/contributing.md +0 -32
  115. data/.github/issue_template.md +0 -11
  116. data/.gitignore +0 -13
  117. data/.standard.yml +0 -20
  118. data/3.0-Upgrade.md +0 -70
  119. data/4.0-Upgrade.md +0 -53
  120. data/5.0-Upgrade.md +0 -56
  121. data/6.0-Upgrade.md +0 -72
  122. data/COMM-LICENSE +0 -97
  123. data/Ent-2.0-Upgrade.md +0 -37
  124. data/Ent-Changes.md +0 -269
  125. data/Gemfile +0 -24
  126. data/Gemfile.lock +0 -208
  127. data/LICENSE +0 -9
  128. data/Pro-2.0-Upgrade.md +0 -138
  129. data/Pro-3.0-Upgrade.md +0 -44
  130. data/Pro-4.0-Upgrade.md +0 -35
  131. data/Pro-5.0-Upgrade.md +0 -25
  132. data/Pro-Changes.md +0 -790
  133. data/Rakefile +0 -10
  134. data/code_of_conduct.md +0 -50
  135. data/lib/generators/sidekiq/worker_generator.rb +0 -57
  136. data/lib/sidekiq/delay.rb +0 -41
  137. data/lib/sidekiq/exception_handler.rb +0 -27
  138. data/lib/sidekiq/extensions/action_mailer.rb +0 -47
  139. data/lib/sidekiq/extensions/active_record.rb +0 -43
  140. data/lib/sidekiq/extensions/class_methods.rb +0 -43
  141. data/lib/sidekiq/extensions/generic_proxy.rb +0 -31
@@ -0,0 +1,236 @@
1
+ class JobMetricsOverviewChart extends BaseChart {
2
+ constructor(el, options) {
3
+ super(el, { ...options, chartType: "line" });
4
+ this.swatches = [];
5
+ this.visibleKls = options.visibleKls;
6
+
7
+ this.init();
8
+ }
9
+
10
+ get datasets() {
11
+ return Object.entries(this.options.series)
12
+ .filter(([kls, _]) => this.visibleKls.includes(kls))
13
+ .map(([kls, _]) => this.buildDataset(kls));
14
+ }
15
+
16
+ get metric() {
17
+ return this._metric || this.options.initialMetric;
18
+ }
19
+
20
+ set metric(m) {
21
+ this._metric = m;
22
+ }
23
+
24
+ registerSwatch(id) {
25
+ const el = document.getElementById(id);
26
+ el.addEventListener("change", () => this.toggleKls(el.value, el.checked));
27
+ this.swatches[el.value] = el;
28
+ this.updateSwatch(el.value, el.checked);
29
+ }
30
+
31
+ updateSwatch(kls, checked) {
32
+ const el = this.swatches[kls];
33
+ el.checked = checked;
34
+ el.style.color = this.colors.assignments[kls] || "";
35
+ }
36
+
37
+ toggleKls(kls, visible) {
38
+ if (visible) {
39
+ this.chart.data.datasets.push(this.buildDataset(kls));
40
+ } else {
41
+ const i = this.chart.data.datasets.findIndex((ds) => ds.label == kls);
42
+ this.colors.checkIn(kls);
43
+ this.chart.data.datasets.splice(i, 1);
44
+ }
45
+
46
+ this.updateSwatch(kls, visible);
47
+ this.update();
48
+ }
49
+
50
+ buildDataset(kls) {
51
+ const color = this.colors.checkOut(kls);
52
+
53
+ return {
54
+ label: kls,
55
+ data: this.options.series[kls],
56
+ borderColor: color,
57
+ backgroundColor: color,
58
+ borderWidth: 2,
59
+ pointRadius: 2,
60
+ };
61
+ }
62
+
63
+ get chartOptions() {
64
+ return {
65
+ ...super.chartOptions,
66
+ aspectRatio: 4,
67
+ scales: {
68
+ ...super.chartOptions.scales,
69
+ y: {
70
+ ...super.chartOptions.scales.y,
71
+ beginAtZero: true,
72
+ title: {
73
+ text: this.options.yLabel,
74
+ display: true,
75
+ },
76
+ },
77
+ },
78
+ plugins: {
79
+ ...super.chartOptions.plugins,
80
+ tooltip: {
81
+ ...super.chartOptions.plugins.tooltip,
82
+ callbacks: {
83
+ title: (items) => `${items[0].label} UTC`,
84
+ label: (item) =>
85
+ `${item.dataset.label}: ${item.parsed.y.toFixed(1)} ` +
86
+ `${this.options.units}`,
87
+ footer: (items) => {
88
+ const bucket = items[0].label;
89
+ const marks = this.options.marks.filter(([b, _]) => b == bucket);
90
+ return marks.map(
91
+ ([b, msg]) => `${this.options.markLabel}: ${msg}`
92
+ );
93
+ },
94
+ },
95
+ },
96
+ },
97
+ };
98
+ }
99
+ }
100
+
101
+ class HistTotalsChart extends BaseChart {
102
+ constructor(el, options) {
103
+ super(el, { ...options, chartType: "bar" });
104
+ this.init();
105
+ }
106
+
107
+ get datasets() {
108
+ return [
109
+ {
110
+ data: this.options.series,
111
+ backgroundColor: this.colors.primary,
112
+ borderWidth: 0,
113
+ },
114
+ ];
115
+ }
116
+
117
+ get chartOptions() {
118
+ return {
119
+ ...super.chartOptions,
120
+ aspectRatio: 6,
121
+ scales: {
122
+ ...super.chartOptions.scales,
123
+ y: {
124
+ ...super.chartOptions.scales.y,
125
+ beginAtZero: true,
126
+ title: {
127
+ text: this.options.yLabel,
128
+ display: true,
129
+ },
130
+ },
131
+ x: {
132
+ ...super.chartOptions.scales.x,
133
+ title: {
134
+ text: this.options.xLabel,
135
+ display: true,
136
+ },
137
+ },
138
+ },
139
+ plugins: {
140
+ ...super.chartOptions.plugins,
141
+ tooltip: {
142
+ ...super.chartOptions.plugins.tooltip,
143
+ callbacks: {
144
+ label: (item) => `${item.parsed.y} ${this.options.units}`,
145
+ },
146
+ },
147
+ },
148
+ };
149
+ }
150
+ }
151
+
152
+ class HistBubbleChart extends BaseChart {
153
+ constructor(el, options) {
154
+ super(el, { ...options, chartType: "bubble" });
155
+ this.init();
156
+ }
157
+
158
+ get datasets() {
159
+ const data = [];
160
+ let maxCount = 0;
161
+
162
+ Object.entries(this.options.hist).forEach(([bucket, hist]) => {
163
+ hist.forEach((count, histBucket) => {
164
+ if (count > 0) {
165
+ // histogram data is ordered fastest to slowest, but this.histIntervals is
166
+ // slowest to fastest (so it displays correctly on the chart).
167
+ const index = this.options.histIntervals.length - 1 - histBucket;
168
+
169
+ data.push({
170
+ x: bucket,
171
+ y: this.options.histIntervals[index] / 1000,
172
+ count: count,
173
+ });
174
+
175
+ if (count > maxCount) maxCount = count;
176
+ }
177
+ });
178
+ });
179
+
180
+ // Chart.js will not calculate the bubble size. We have to do that.
181
+ const maxRadius = this.el.offsetWidth / this.options.labels.length;
182
+ const minRadius = 1;
183
+ const multiplier = (maxRadius / maxCount) * 1.5;
184
+ data.forEach((entry) => {
185
+ entry.r = entry.count * multiplier + minRadius;
186
+ });
187
+
188
+ return [
189
+ {
190
+ data: data,
191
+ backgroundColor: this.colors.primary,
192
+ borderColor: this.colors.primary,
193
+ },
194
+ ];
195
+ }
196
+
197
+ get chartOptions() {
198
+ return {
199
+ ...super.chartOptions,
200
+ aspectRatio: 3,
201
+ scales: {
202
+ ...super.chartOptions.scales,
203
+ x: {
204
+ ...super.chartOptions.scales.x,
205
+ type: "category",
206
+ labels: this.options.labels,
207
+ },
208
+ y: {
209
+ ...super.chartOptions.scales.y,
210
+ title: {
211
+ text: this.options.yLabel,
212
+ display: true,
213
+ },
214
+ },
215
+ },
216
+ plugins: {
217
+ ...super.chartOptions.plugins,
218
+ tooltip: {
219
+ ...super.chartOptions.plugins.tooltip,
220
+ callbacks: {
221
+ title: (items) => `${items[0].raw.x} UTC`,
222
+ label: (item) =>
223
+ `${item.parsed.y} ${this.options.yUnits}: ${item.raw.count} ${this.options.zUnits}`,
224
+ footer: (items) => {
225
+ const bucket = items[0].raw.x;
226
+ const marks = this.options.marks.filter(([b, _]) => b == bucket);
227
+ return marks.map(
228
+ ([b, msg]) => `${this.options.markLabel}: ${msg}`
229
+ );
230
+ },
231
+ },
232
+ },
233
+ },
234
+ };
235
+ }
236
+ }
@@ -1,34 +1,44 @@
1
1
  html, body {
2
- background-color: #070707 !important;
3
- color: #ccc;
2
+ background-color: #171717 !important;
3
+ color: #DEDEDE;
4
4
  }
5
5
 
6
6
  a,
7
7
  .title,
8
8
  .summary_bar ul .count,
9
+ span.current-interval,
9
10
  .navbar .navbar-brand {
10
- color: #af0014;
11
+ color: #d04;
12
+ }
13
+
14
+ .history-graph.active,
15
+ .beacon .dot {
16
+ background-color: #d04;
11
17
  }
12
18
 
13
19
  .navbar .navbar-brand:hover {
14
- color: #ccc;
20
+ color: #ddd;
15
21
  }
16
22
 
17
23
  .navbar .navbar-brand .status {
18
- color: #ccc;
24
+ color: #ddd;
25
+ }
26
+
27
+ .navbar-default .navbar-nav > li > a {
28
+ color: #ddd;
19
29
  }
20
30
 
21
31
  .navbar-inverse {
22
- background-color: #000;
23
- border-color: #333;
32
+ background-color: #222;
33
+ border-color: #444;
24
34
  }
25
35
 
26
- table.table-white {
27
- background-color: #111;
36
+ table {
37
+ background-color: #1D1D1D;
28
38
  }
29
39
 
30
40
  .table-striped > tbody > tr:nth-of-type(odd) {
31
- background-color: #222;
41
+ background-color: #2E2E2E;
32
42
  }
33
43
 
34
44
  .table-bordered,
@@ -38,64 +48,67 @@ table.table-white {
38
48
  .table-bordered > tfoot > tr > th,
39
49
  .table-bordered > thead > tr > td,
40
50
  .table-bordered > thead > tr > th {
41
- border: 1px solid #333;
51
+ border: 1px solid #444;
42
52
  }
43
53
 
44
54
  .table-hover > tbody > tr:hover {
45
- background-color: #333;
55
+ background-color: #444;
46
56
  }
47
57
 
48
58
  .alert {
49
59
  border: none;
50
- color: #ccc;
60
+ color: #ddd;
51
61
  }
52
62
 
53
63
  .alert-success {
54
- background-color: #182d11;
64
+ background-color: #484;
55
65
  }
56
66
 
57
- a:link,
58
- a:active,
59
- a:hover,
60
- a:visited {
61
- color: #63798c;
67
+ .alert-danger {
68
+ background-color: #980035;
62
69
  }
63
70
 
64
- a.btn {
65
- color: #000;
71
+ .alert-info {
72
+ background-color: #31708f;
66
73
  }
67
74
 
68
- .summary_bar .summary {
69
- background-color: #111;
70
- border: 1px solid #333;
75
+ a:link, a:active, a:hover, a:visited {
76
+ color: #ddd;
77
+ }
71
78
 
72
- -webkit-box-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
73
- -moz-box-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
74
- box-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
79
+ input {
80
+ background-color: #444;
81
+ color: #ccc;
82
+ padding: 3px;
83
+ }
84
+
85
+ .summary_bar .summary {
86
+ background-color: #232323;
87
+ border: 1px solid #444;
75
88
  }
76
89
 
77
90
  .navbar-default {
78
- background-color: #000;
79
- border-color: #3d3d3d;
91
+ background-color: #0F0F0F;
92
+ border-color: #444;
80
93
  }
81
94
 
82
95
  .navbar-default .navbar-nav > .active > a,
83
96
  .navbar-default .navbar-nav > .active > a:focus,
84
97
  .navbar-default .navbar-nav > .active > a:hover {
85
- color: #ccc;
86
- background-color: #282828;
98
+ color: #ddd;
99
+ background-color: #333;
87
100
  }
88
101
 
89
102
  .navbar-default .navbar-nav > li > a:hover {
90
- color: #ccc;
103
+ color: #ddd;
91
104
  }
92
105
 
93
106
  .pagination > li > a,
94
107
  .pagination > li > a:hover,
95
108
  .pagination > li > span {
96
- color: #ccc;
97
- background-color: #282828;
98
- border-color: #353535;
109
+ color: #ddd;
110
+ background-color: #333;
111
+ border-color: #444;
99
112
  }
100
113
  .pagination > .disabled > a,
101
114
  .pagination > .disabled > a:focus,
@@ -103,31 +116,28 @@ a.btn {
103
116
  .pagination > .disabled > span,
104
117
  .pagination > .disabled > span:focus,
105
118
  .pagination > .disabled > span:hover {
106
- color: #a5a5a5;
107
- background-color: #282828;
108
- border-color: #353535;
119
+ color: #ddd;
120
+ background-color: #333;
121
+ border-color: #444;
109
122
  }
110
123
 
111
124
  .stat {
112
- border: 1px solid rgba(255, 255, 255, 0.1);
113
- }
114
-
115
- #live-poll {
116
- color: #ccc;
117
- }
118
-
119
- .btn-warn {
120
- color: #333;
125
+ border: 1px solid #888;
121
126
  }
122
127
 
123
128
  .rickshaw_graph .detail {
124
- background: rgba(255, 255, 255, .1)
129
+ background: #888;
125
130
  }
126
131
  .rickshaw_graph .x_tick {
127
- border-color: rgba(255, 255, 255, .2);
132
+ border-color: #888;
128
133
  }
129
134
 
130
135
  .rickshaw_graph .y_ticks.glow text {
131
- fill: #ccc;
132
- color: #ccc;
136
+ fill: #ddd;
137
+ color: #ddd;
138
+ }
139
+
140
+ .info-circle {
141
+ color: #222;
142
+ background-color: #888;
133
143
  }
@@ -46,10 +46,6 @@ form .btn-group .btn {
46
46
  .navbar .poll-wrapper {
47
47
  margin: 4px 0 0 4px;
48
48
  }
49
-
50
- .navbar .dropdown-menu a {
51
- text-align: right;
52
- }
53
49
  }
54
50
 
55
51
  .navbar-footer .navbar ul.nav a.navbar-brand {
@@ -106,22 +102,8 @@ div.interval-slider {
106
102
  float: left;
107
103
  }
108
104
 
109
- #realtime-legend,
110
- #history-legend {
111
- text-align: right;
112
- float: left;
113
- }
114
- #realtime-legend .timestamp,
115
- #history-legend .timestamp {
116
- text-align: left;
117
- }
118
- #realtime-legend .line,
119
- #history-legend .line {
120
- margin: 0 20px 0 0;
121
- }
122
- #realtime-legend .swatch,
123
- #history-legend .swatch {
124
- margin: 0 0 0 8px;
105
+ #realtime-legend {
106
+ justify-content: start;
125
107
  }
126
108
 
127
109
  /* Beacon
@@ -169,78 +151,3 @@ div.interval-slider {
169
151
  padding-left: 5px;
170
152
  }
171
153
  }
172
-
173
- /* Rickshaw */
174
-
175
- .rickshaw_graph .detail .x_label.left {
176
- right: 0
177
- }
178
- .rickshaw_graph .detail .x_label.right {
179
- left: 0
180
- }
181
- .rickshaw_graph .detail .item.left {
182
- right: 0
183
- }
184
- .rickshaw_graph .detail .item.right {
185
- left: 0
186
- }
187
- .rickshaw_graph .detail .item.left:after {
188
- left: 0;
189
- right: -5px;
190
- border-right-color: unset;
191
- border-left-color: rgba(0, 0, 0, .8);
192
- border-right-width: 0;
193
- border-left-width: unset;
194
- }
195
- .rickshaw_graph .detail .item.right:after {
196
- right: 0;
197
- left: -5px;
198
- border-left-color: unset;
199
- border-right-color: rgba(0, 0, 0, .8);
200
- border-left-width: 0;
201
- border-right-width: unset;
202
- }
203
- .rickshaw_graph .detail .dot {
204
- margin-right: -3px;
205
- margin-left: unset;
206
- }
207
- .rickshaw_graph .x_tick {
208
- border-left: unset;
209
- border-right: 1px dotted rgba(0, 0, 0, .2);
210
- }
211
- .rickshaw_graph .x_tick .title {
212
- margin-right: 3px;
213
- margin-left: unset;
214
- }
215
- .rickshaw_annotation_timeline .annotation {
216
- margin-right: -2px;
217
- margin-left: unset;
218
- }
219
- .rickshaw_graph .annotation_line {
220
- border-right: 2px solid rgba(0, 0, 0, .3);
221
- border-left: unset;
222
- }
223
- .rickshaw_annotation_timeline .annotation .content {
224
- left: unset;
225
- right: -11px;
226
- }
227
- .rickshaw_graph .x_tick.glow .title,
228
- .rickshaw_graph .y_ticks.glow text {
229
- text-shadow: 1px 1px 0 rgba(255, 255, 255, .1), -1px -1px 0 rgba(255, 255, 255, .1), -1px 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1), 0 -1px 0 rgba(255, 255, 255, .1), -1px 0 0 rgba(255, 255, 255, .1), 1px 0 0 rgba(255, 255, 255, .1), 1px -1px 0 rgba(255, 255, 255, .1)
230
- }
231
- .rickshaw_graph .x_tick.inverse .title,
232
- .rickshaw_graph .y_ticks.inverse text {
233
- text-shadow: 1px 1px 0 rgba(0, 0, 0, .8), -1px -1px 0 rgba(0, 0, 0, .8), -1px 1px 0 rgba(0, 0, 0, .8), 0 1px 0 rgba(0, 0, 0, .8), 0 -1px 0 rgba(0, 0, 0, .8), -1px 0 0 rgba(0, 0, 0, .8), 1px 0 0 rgba(0, 0, 0, .8), 1px -1px 0 rgba(0, 0, 0, .8)
234
- }
235
- .rickshaw_legend .line {
236
- padding-left: 15px;
237
- padding-right: unset;
238
- }
239
- .rickshaw_legend .line .swatch {
240
- margin-left: 3px;
241
- margin-right: unset;
242
- }
243
- .rickshaw_legend .action {
244
- margin-left: .2em;
245
- margin-right: unset;
246
- }