metrics-graphics-rails 2.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,363 @@
1
+ .mg-active-datapoint {
2
+ fill: black;
3
+ font-size: 0.9rem;
4
+ font-weight: 400;
5
+ opacity: 0.8;
6
+ }
7
+
8
+ .mg-area1-color {
9
+ fill: #0000ff;
10
+ }
11
+
12
+ .mg-area2-color {
13
+ fill: #05b378;
14
+ }
15
+
16
+ .mg-area3-color {
17
+ fill: #db4437;
18
+ }
19
+
20
+ .mg-area4-color {
21
+ fill: #f8b128;
22
+ }
23
+
24
+ .mg-area5-color {
25
+ fill: #5c5c5c;
26
+ }
27
+
28
+ .mg-barplot rect.mg-bar {
29
+ shape-rendering: auto;
30
+ fill: #b6b6fc;
31
+ }
32
+
33
+ .mg-barplot rect.mg-bar.active {
34
+ fill: #9e9efc;
35
+ }
36
+
37
+ .mg-barplot .mg-bar-prediction {
38
+ fill: #5b5b5b;
39
+ }
40
+
41
+ .mg-barplot .mg-bar-baseline {
42
+ stroke: #5b5b5b;
43
+ stroke-width: 2;
44
+ }
45
+
46
+ .mg-baselines line {
47
+ opacity: 1;
48
+ shape-rendering: auto;
49
+ stroke: #b3b2b2;
50
+ stroke-width: 1px;
51
+ }
52
+
53
+ .mg-baselines text {
54
+ fill: black;
55
+ font-size: 0.7rem;
56
+ opacity: 0.5;
57
+ stroke: none;
58
+ }
59
+
60
+ .mg-chart-title .popover {
61
+ font-size: 0.95rem;
62
+ }
63
+
64
+ .mg-chart-title .popover-content {
65
+ cursor: auto;
66
+ line-height: 17px;
67
+ }
68
+
69
+ .mg-chart-title .popover.top,
70
+ .mg-data-table .popover.top {
71
+ margin-top: 0;
72
+ }
73
+
74
+ .mg-chart-title {
75
+ cursor: default;
76
+ font-size: 1.8rem;
77
+ padding-top: 8px;
78
+ text-align: center;
79
+ }
80
+
81
+ .mg-chart-title .fa {
82
+ color: #ccc;
83
+ font-size: 1.2rem;
84
+ padding-left: 4px;
85
+ vertical-align: top;
86
+ }
87
+
88
+ .mg-chart-title .fa.warning {
89
+ font-weight: 300;
90
+ }
91
+
92
+ .mg-points circle {
93
+ opacity: 0.85;
94
+ }
95
+
96
+ .mg-data-table {
97
+ margin-top: 30px;
98
+ }
99
+
100
+ .mg-data-table thead tr th {
101
+ border-bottom: 1px solid darkgray;
102
+ cursor: default;
103
+ font-size: 1.1rem;
104
+ font-weight: normal;
105
+ padding: 5px 5px 8px 5px;
106
+ text-align: right;
107
+ }
108
+
109
+ .mg-data-table thead tr th .fa {
110
+ color: #ccc;
111
+ padding-left: 4px;
112
+ }
113
+
114
+ .mg-data-table thead tr th .popover {
115
+ font-size: 1rem;
116
+ font-weight: normal;
117
+ }
118
+
119
+ .mg-data-table .secondary-title {
120
+ color: darkgray;
121
+ }
122
+
123
+ .mg-data-table tbody tr td {
124
+ margin: 2px;
125
+ padding: 5px;
126
+ vertical-align: top;
127
+ }
128
+
129
+ .mg-data-table tbody tr td.table-text {
130
+ opacity: 0.8;
131
+ padding-left: 30px;
132
+ }
133
+
134
+ .mg-y-axis line.mg-extended-y-ticks {
135
+ opacity: 0.4;
136
+ }
137
+
138
+ .mg-x-axis line.mg-extended-x-ticks {
139
+ opacity: 0.4;
140
+ }
141
+
142
+ .mg-histogram .axis path,
143
+ .mg-histogram .axis line {
144
+ fill: none;
145
+ opacity: 0.7;
146
+ shape-rendering: auto;
147
+ stroke: #ccc;
148
+ }
149
+
150
+ .mg-histogram .mg-bar rect {
151
+ fill: #b6b6fc;
152
+ shape-rendering: auto;
153
+ }
154
+
155
+ .mg-histogram .mg-bar rect.active {
156
+ fill: #9e9efc;
157
+ }
158
+
159
+ .mg-least-squares-line {
160
+ stroke: red;
161
+ stroke-width: 1px;
162
+ }
163
+
164
+ .mg-lowess-line {
165
+ fill: none;
166
+ stroke: red;
167
+ }
168
+
169
+ .mg-line1-color {
170
+ stroke: #4040e8;
171
+ }
172
+
173
+ .mg-hover-line1-color {
174
+ fill: #4040e8;
175
+ }
176
+
177
+ .mg-line2-color {
178
+ stroke: #05b378;
179
+ }
180
+
181
+ .mg-hover-line2-color {
182
+ fill: #05b378;
183
+ }
184
+
185
+ .mg-line3-color {
186
+ stroke: #db4437;
187
+ }
188
+
189
+ .mg-hover-line3-color {
190
+ fill: #db4437;
191
+ }
192
+
193
+ .mg-line4-color {
194
+ stroke: #f8b128;
195
+ }
196
+
197
+ .mg-hover-line4-color {
198
+ fill: #f8b128;
199
+ }
200
+
201
+ .mg-line5-color {
202
+ stroke: #5c5c5c;
203
+ }
204
+
205
+ .mg-hover-line5-color {
206
+ fill: #5c5c5c;
207
+ }
208
+
209
+ .mg-line1-legend-color {
210
+ color: #4040e8;
211
+ }
212
+
213
+ .mg-line2-legend-color {
214
+ color: #05b378;
215
+ }
216
+
217
+ .mg-line3-legend-color {
218
+ color: #db4437;
219
+ }
220
+
221
+ .mg-line4-legend-color {
222
+ color: #f8b128;
223
+ }
224
+
225
+ .mg-line5-legend-color {
226
+ color: #5c5c5c;
227
+ }
228
+
229
+ .mg-main-area-solid svg .mg-main-area {
230
+ fill: #ccccff;
231
+ opacity: 1;
232
+ }
233
+
234
+ .mg-markers line {
235
+ opacity: 0.9;
236
+ shape-rendering: auto;
237
+ stroke: #b3b2b2;
238
+ stroke-width: 1px;
239
+ }
240
+
241
+ .mg-markers text {
242
+ fill: black;
243
+ font-size: 0.7rem;
244
+ opacity: 0.5;
245
+ stroke: none;
246
+ }
247
+
248
+ .mg-missing-text {
249
+ opacity: 0.9;
250
+ }
251
+
252
+ .mg-missing-background {
253
+ stroke: blue;
254
+ fill: none;
255
+ stroke-dasharray: 10,5;
256
+ stroke-opacity: 0.05;
257
+ stroke-width: 2;
258
+ }
259
+
260
+ .mg-missing .mg-main-line {
261
+ opacity: 0.1;
262
+ }
263
+
264
+ .mg-missing .mg-main-area {
265
+ opacity: 0.03;
266
+ }
267
+
268
+ path.mg-main-area {
269
+ opacity: 0.2;
270
+ stroke: none;
271
+ }
272
+
273
+ path.mg-confidence-band {
274
+ fill: #ccc;
275
+ opacity: 0.4;
276
+ stroke: none;
277
+ }
278
+
279
+ path.mg-main-line {
280
+ fill: none;
281
+ opacity: 0.8;
282
+ stroke-width: 1.1px;
283
+ }
284
+
285
+ .mg-points circle {
286
+ fill-opacity: 0.4;
287
+ stroke-opacity: 1;
288
+ }
289
+
290
+ circle.mg-points-mono {
291
+ fill: #0000ff;
292
+ stroke: #0000ff;
293
+ }
294
+
295
+ /* a selected point in a scatterplot */
296
+ .mg-points circle.selected {
297
+ fill-opacity: 1;
298
+ stroke-opacity: 1;
299
+ }
300
+
301
+ .mg-voronoi path {
302
+ fill: none;
303
+ pointer-events: all;
304
+ stroke: none;
305
+ stroke-opacity: 0.1;
306
+ }
307
+
308
+ .mg-x-rug-mono,
309
+ .mg-y-rug-mono {
310
+ stroke: black;
311
+ }
312
+
313
+ .mg-x-axis line,
314
+ .mg-y-axis line {
315
+ opacity: 1;
316
+ shape-rendering: auto;
317
+ stroke: #b3b2b2;
318
+ stroke-width: 1px;
319
+ }
320
+
321
+ .mg-x-axis text,
322
+ .mg-y-axis text,
323
+ .mg-histogram .axis text {
324
+ fill: black;
325
+ font-size: 0.9rem;
326
+ opacity: 0.5;
327
+ }
328
+
329
+ .mg-x-axis .label,
330
+ .mg-y-axis .label,
331
+ .mg-axis .label {
332
+ font-size: 0.8rem;
333
+ text-transform: uppercase;
334
+ font-weight: 400;
335
+ }
336
+
337
+ .mg-x-axis-small text,
338
+ .mg-y-axis-small text,
339
+ .mg-active-datapoint-small {
340
+ font-size: 0.6rem;
341
+ }
342
+
343
+ .mg-x-axis-small .label,
344
+ .mg-y-axis-small .label {
345
+ font-size: 0.65rem;
346
+ }
347
+
348
+ .mg-year-marker text {
349
+ fill: black;
350
+ font-size: 0.7rem;
351
+ opacity: 0.5;
352
+ }
353
+
354
+ .mg-year-marker line {
355
+ opacity: 1;
356
+ shape-rendering: auto;
357
+ stroke: #b3b2b2;
358
+ stroke-width: 1px;
359
+ }
360
+
361
+ .mg-year-marker-small text {
362
+ font-size: 0.6rem;
363
+ }
metadata ADDED
@@ -0,0 +1,85 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: metrics-graphics-rails
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.1.3
5
+ platform: ruby
6
+ authors:
7
+ - David Gil
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-02-08 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: railties
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '3.1'
20
+ - - <
21
+ - !ruby/object:Gem::Version
22
+ version: '5.0'
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '3.1'
30
+ - - <
31
+ - !ruby/object:Gem::Version
32
+ version: '5.0'
33
+ - !ruby/object:Gem::Dependency
34
+ name: json
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - '>='
38
+ - !ruby/object:Gem::Version
39
+ version: '0'
40
+ type: :runtime
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - '>='
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
47
+ description: metrics-graphics for the Rails Assets Pipeline
48
+ email:
49
+ executables: []
50
+ extensions: []
51
+ extra_rdoc_files: []
52
+ files:
53
+ - README.md
54
+ - lib/metrics-graphics-rails.rb
55
+ - lib/metrics-graphics-rails/engine.rb
56
+ - lib/metrics-graphics-rails/version.rb
57
+ - lib/metrics-graphics-rails/view_helpers.rb
58
+ - vendor/assets/javascripts/d3.js
59
+ - vendor/assets/javascripts/metrics-graphics-rails.js
60
+ - vendor/assets/javascripts/metricsgraphics.js
61
+ - vendor/assets/stylesheets/metricsgraphics.css
62
+ homepage: https://github.com/dgilperez/metrics-graphics-rails
63
+ licenses: []
64
+ metadata: {}
65
+ post_install_message:
66
+ rdoc_options: []
67
+ require_paths:
68
+ - lib
69
+ required_ruby_version: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - '>='
72
+ - !ruby/object:Gem::Version
73
+ version: '0'
74
+ required_rubygems_version: !ruby/object:Gem::Requirement
75
+ requirements:
76
+ - - '>='
77
+ - !ruby/object:Gem::Version
78
+ version: '0'
79
+ requirements: []
80
+ rubyforge_project:
81
+ rubygems_version: 2.2.0
82
+ signing_key:
83
+ specification_version: 4
84
+ summary: metrics-graphics-rails is an assets gem for metrics-graphics
85
+ test_files: []