batsd-dash 0.2.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +7 -0
- data/Guardfile +10 -0
- data/README.md +40 -43
- data/batsd-dash.gemspec +1 -1
- data/lib/batsd-dash/graph.rb +31 -22
- data/lib/batsd-dash/params.rb +11 -5
- data/lib/batsd-dash/sass/public.scss +99 -6
- data/lib/batsd-dash/version.rb +1 -1
- data/lib/batsd-dash.rb +24 -21
- data/lib/public/css/d3.css +522 -0
- data/lib/public/css/public.css +69 -4
- data/lib/public/js/d3.js +4 -0
- data/lib/public/js/dash.js +81 -60
- data/lib/public/js/nv.d3.js +4 -0
- data/lib/views/layout.haml +9 -6
- data/lib/views/view.haml +8 -0
- data/test/test_dash.rb +99 -0
- metadata +28 -24
- data/test/test_params_helper.rb +0 -86
@@ -0,0 +1,522 @@
|
|
1
|
+
|
2
|
+
/********************
|
3
|
+
* HTML CSS
|
4
|
+
*/
|
5
|
+
|
6
|
+
|
7
|
+
.chartWrap {
|
8
|
+
margin: 0;
|
9
|
+
padding: 0;
|
10
|
+
overflow: hidden;
|
11
|
+
}
|
12
|
+
|
13
|
+
.nvd3.background {
|
14
|
+
fill: none;
|
15
|
+
pointer-events: none;
|
16
|
+
}
|
17
|
+
|
18
|
+
|
19
|
+
/********************
|
20
|
+
* TOOLTIP CSS
|
21
|
+
*/
|
22
|
+
|
23
|
+
.nvtooltip {
|
24
|
+
position: absolute;
|
25
|
+
background-color: rgba(255,255,255,1);
|
26
|
+
padding: 10px;
|
27
|
+
border: 1px solid #ddd;
|
28
|
+
z-index: 10000;
|
29
|
+
|
30
|
+
font-family: Arial;
|
31
|
+
font-size: 13px;
|
32
|
+
|
33
|
+
transition: opacity 500ms linear;
|
34
|
+
-moz-transition: opacity 500ms linear;
|
35
|
+
-webkit-transition: opacity 500ms linear;
|
36
|
+
|
37
|
+
transition-delay: 500ms;
|
38
|
+
-moz-transition-delay: 500ms;
|
39
|
+
-webkit-transition-delay: 500ms;
|
40
|
+
|
41
|
+
-moz-box-shadow: 4px 4px 8px rgba(0,0,0,.5);
|
42
|
+
-webkit-box-shadow: 4px 4px 8px rgba(0,0,0,.5);
|
43
|
+
box-shadow: 4px 4px 8px rgba(0,0,0,.5);
|
44
|
+
|
45
|
+
-moz-border-radius: 10px;
|
46
|
+
border-radius: 10px;
|
47
|
+
|
48
|
+
pointer-events: none;
|
49
|
+
|
50
|
+
-webkit-touch-callout: none;
|
51
|
+
-webkit-user-select: none;
|
52
|
+
-khtml-user-select: none;
|
53
|
+
-moz-user-select: none;
|
54
|
+
-ms-user-select: none;
|
55
|
+
user-select: none;
|
56
|
+
}
|
57
|
+
|
58
|
+
.nvtooltip h3 {
|
59
|
+
margin: 0;
|
60
|
+
padding: 0;
|
61
|
+
text-align: center;
|
62
|
+
}
|
63
|
+
|
64
|
+
.nvtooltip p {
|
65
|
+
margin: 0;
|
66
|
+
padding: 0;
|
67
|
+
text-align: center;
|
68
|
+
}
|
69
|
+
|
70
|
+
.nvtooltip span {
|
71
|
+
display: inline-block;
|
72
|
+
margin: 2px 0;
|
73
|
+
}
|
74
|
+
|
75
|
+
|
76
|
+
/********************
|
77
|
+
* SVG CSS
|
78
|
+
*/
|
79
|
+
|
80
|
+
|
81
|
+
svg {
|
82
|
+
-webkit-touch-callout: none;
|
83
|
+
-webkit-user-select: none;
|
84
|
+
-khtml-user-select: none;
|
85
|
+
-moz-user-select: none;
|
86
|
+
-ms-user-select: none;
|
87
|
+
user-select: none;
|
88
|
+
/* Trying to get SVG to act like a greedy block in all browsers */
|
89
|
+
display: block;
|
90
|
+
width:100%;
|
91
|
+
}
|
92
|
+
|
93
|
+
|
94
|
+
svg text {
|
95
|
+
font: 12px sans-serif;
|
96
|
+
fill:#FFF;
|
97
|
+
}
|
98
|
+
|
99
|
+
svg .title {
|
100
|
+
font: bold 14px Arial;
|
101
|
+
}
|
102
|
+
|
103
|
+
/**********
|
104
|
+
* Brush
|
105
|
+
*/
|
106
|
+
|
107
|
+
.brush .extent {
|
108
|
+
stroke: #666;
|
109
|
+
fill-opacity: .125;
|
110
|
+
shape-rendering: crispEdges;
|
111
|
+
}
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
/**********
|
116
|
+
* Legend
|
117
|
+
*/
|
118
|
+
|
119
|
+
.nvd3 .legend .series {
|
120
|
+
cursor: pointer;
|
121
|
+
}
|
122
|
+
|
123
|
+
.nvd3 .legend .disabled circle {
|
124
|
+
fill-opacity: 0;
|
125
|
+
}
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
/**********
|
130
|
+
* Axes
|
131
|
+
*/
|
132
|
+
|
133
|
+
.nvd3 .axis path {
|
134
|
+
fill: none;
|
135
|
+
stroke: #FFF;
|
136
|
+
stroke-opacity: .75;
|
137
|
+
shape-rendering: crispEdges;
|
138
|
+
}
|
139
|
+
|
140
|
+
.nvd3 .axis path.domain {
|
141
|
+
stroke-opacity: .75;
|
142
|
+
}
|
143
|
+
|
144
|
+
.nvd3 .axis line {
|
145
|
+
fill: none;
|
146
|
+
stroke: #FFF;
|
147
|
+
stroke-opacity: .25;
|
148
|
+
shape-rendering: crispEdges;
|
149
|
+
}
|
150
|
+
|
151
|
+
.nvd3 .axis line.zero {
|
152
|
+
stroke-opacity: .75;
|
153
|
+
}
|
154
|
+
|
155
|
+
.nvd3 .axis .axisMaxMin text {
|
156
|
+
font-weight: bold;
|
157
|
+
}
|
158
|
+
|
159
|
+
|
160
|
+
/**********
|
161
|
+
* Brush
|
162
|
+
*/
|
163
|
+
|
164
|
+
.brush .resize path {
|
165
|
+
fill: #eee;
|
166
|
+
stroke: #666;
|
167
|
+
}
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
/**********
|
172
|
+
* Bars
|
173
|
+
*/
|
174
|
+
|
175
|
+
.nvd3 .bars .negative rect {
|
176
|
+
zfill: brown;
|
177
|
+
cursor: pointer;
|
178
|
+
}
|
179
|
+
|
180
|
+
.nvd3 .bars rect {
|
181
|
+
zfill: steelblue;
|
182
|
+
cursor: pointer;
|
183
|
+
fill-opacity: .75;
|
184
|
+
|
185
|
+
transition: fill-opacity 250ms linear;
|
186
|
+
-moz-transition: fill-opacity 250ms linear;
|
187
|
+
-webkit-transition: fill-opacity 250ms linear;
|
188
|
+
}
|
189
|
+
|
190
|
+
.nvd3 .bars rect:hover {
|
191
|
+
fill-opacity: 1;
|
192
|
+
}
|
193
|
+
|
194
|
+
.nvd3 .bars .hover rect {
|
195
|
+
fill: lightblue;
|
196
|
+
}
|
197
|
+
|
198
|
+
.nvd3 .bars text {
|
199
|
+
/*fill: rgba(0,0,0,0);*/
|
200
|
+
fill: rgba(255,255,255,0);
|
201
|
+
}
|
202
|
+
|
203
|
+
.nvd3 .bars .hover text {
|
204
|
+
/*fill: rgba(0,0,0,1);*/
|
205
|
+
fill: rgba(255,255,255,1);
|
206
|
+
}
|
207
|
+
|
208
|
+
.nvd3 .x.axis text {
|
209
|
+
transform: rotate(90);
|
210
|
+
}
|
211
|
+
|
212
|
+
|
213
|
+
/**********
|
214
|
+
* Bars
|
215
|
+
*/
|
216
|
+
|
217
|
+
.nvd3 .multibar .groups rect,
|
218
|
+
.nvd3 .multibarHorizontal .groups rect,
|
219
|
+
.nvd3 .discretebar .groups rect {
|
220
|
+
stroke-opacity: 0;
|
221
|
+
|
222
|
+
transition: fill-opacity 250ms linear;
|
223
|
+
-moz-transition: fill-opacity 250ms linear;
|
224
|
+
-webkit-transition: fill-opacity 250ms linear;
|
225
|
+
}
|
226
|
+
|
227
|
+
.nvd3 .multibar .groups rect:hover,
|
228
|
+
.nvd3 .multibarHorizontal .groups rect:hover,
|
229
|
+
.nvd3 .discretebar .groups rect:hover {
|
230
|
+
fill-opacity: 1;
|
231
|
+
}
|
232
|
+
|
233
|
+
.nvd3 .discretebar .groups text,
|
234
|
+
.nvd3 .multibarHorizontal .groups text {
|
235
|
+
font-weight: bold;
|
236
|
+
fill: rgba(0,0,0,1);
|
237
|
+
stroke: rgba(0,0,0,0);
|
238
|
+
}
|
239
|
+
|
240
|
+
/***********
|
241
|
+
* Pie Chart
|
242
|
+
*/
|
243
|
+
|
244
|
+
.nvd3 .pie path {
|
245
|
+
stroke-opacity: 0;
|
246
|
+
|
247
|
+
transition: fill-opacity 250ms linear, stroke-width 250ms linear, stroke-opacity 250ms linear;
|
248
|
+
-moz-transition: fill-opacity 250ms linear, stroke-width 250ms linear, stroke-opacity 250ms linear;
|
249
|
+
-webkit-transition: fill-opacity 250ms linear, stroke-width 250ms linear, stroke-opacity 250ms linear;
|
250
|
+
|
251
|
+
}
|
252
|
+
|
253
|
+
.nvd3 .pie .slice text {
|
254
|
+
stroke: #000;
|
255
|
+
stroke-width: 0;
|
256
|
+
}
|
257
|
+
|
258
|
+
.nvd3 .pie path {
|
259
|
+
stroke: #fff;
|
260
|
+
stroke-width: 1px;
|
261
|
+
stroke-opacity: 1;
|
262
|
+
}
|
263
|
+
|
264
|
+
.nvd3 .pie .hover path {
|
265
|
+
fill-opacity: .7;
|
266
|
+
/*
|
267
|
+
stroke-width: 6px;
|
268
|
+
stroke-opacity: 1;
|
269
|
+
*/
|
270
|
+
}
|
271
|
+
|
272
|
+
/**********
|
273
|
+
* Lines
|
274
|
+
*/
|
275
|
+
|
276
|
+
.nvd3 .groups path.line {
|
277
|
+
fill: none;
|
278
|
+
stroke-width: 2.5px;
|
279
|
+
stroke-linecap: round;
|
280
|
+
shape-rendering: geometricPrecision;
|
281
|
+
|
282
|
+
/*
|
283
|
+
transition: stroke-width 250ms linear;
|
284
|
+
-moz-transition: stroke-width 250ms linear;
|
285
|
+
-webkit-transition: stroke-width 250ms linear;
|
286
|
+
|
287
|
+
transition-delay: 250ms
|
288
|
+
-moz-transition-delay: 250ms;
|
289
|
+
-webkit-transition-delay: 250ms;
|
290
|
+
*/
|
291
|
+
}
|
292
|
+
|
293
|
+
.nvd3 .line.hover path {
|
294
|
+
stroke-width: 6px;
|
295
|
+
}
|
296
|
+
|
297
|
+
/*
|
298
|
+
.nvd3.scatter .groups .point {
|
299
|
+
fill-opacity: 0.1;
|
300
|
+
stroke-opacity: 0.1;
|
301
|
+
}
|
302
|
+
*/
|
303
|
+
|
304
|
+
.nvd3.line .nvd3.scatter .groups .point {
|
305
|
+
fill-opacity: 0;
|
306
|
+
stroke-opacity: 0;
|
307
|
+
}
|
308
|
+
|
309
|
+
|
310
|
+
.nvd3 .groups .point {
|
311
|
+
transition: stroke-width 250ms linear, stroke-opacity 250ms linear;
|
312
|
+
-moz-transition: stroke-width 250ms linear, stroke-opacity 250ms linear;
|
313
|
+
-webkit-transition: stroke-width 250ms linear, stroke-opacity 250ms linear;
|
314
|
+
}
|
315
|
+
|
316
|
+
.nvd3.scatter .groups .point.hover,
|
317
|
+
.nvd3 .groups .point.hover {
|
318
|
+
stroke-width: 20px;
|
319
|
+
fill-opacity: .5 !important;
|
320
|
+
stroke-opacity: .5 !important;
|
321
|
+
}
|
322
|
+
|
323
|
+
|
324
|
+
.nvd3 .point-paths path {
|
325
|
+
stroke: #aaa;
|
326
|
+
stroke-opacity: 0;
|
327
|
+
fill: #eee;
|
328
|
+
fill-opacity: 0;
|
329
|
+
}
|
330
|
+
|
331
|
+
|
332
|
+
|
333
|
+
.nvd3 .indexLine {
|
334
|
+
cursor: ew-resize;
|
335
|
+
}
|
336
|
+
|
337
|
+
|
338
|
+
/**********
|
339
|
+
* Distribution
|
340
|
+
*/
|
341
|
+
|
342
|
+
.nvd3 .distribution {
|
343
|
+
pointer-events: none;
|
344
|
+
}
|
345
|
+
|
346
|
+
|
347
|
+
|
348
|
+
/**********
|
349
|
+
* Scatter
|
350
|
+
*/
|
351
|
+
|
352
|
+
.nvd3 .groups .point.hover {
|
353
|
+
stroke-width: 20px;
|
354
|
+
stroke-opacity: .5;
|
355
|
+
}
|
356
|
+
|
357
|
+
.nvd3 .scatter .point.hover {
|
358
|
+
fill-opacity: 1;
|
359
|
+
}
|
360
|
+
|
361
|
+
/*
|
362
|
+
.group.hover .point {
|
363
|
+
fill-opacity: 1;
|
364
|
+
}
|
365
|
+
*/
|
366
|
+
|
367
|
+
|
368
|
+
/**********
|
369
|
+
* Stacked Area
|
370
|
+
*/
|
371
|
+
|
372
|
+
.nvd3 .stackedarea path.area {
|
373
|
+
fill-opacity: .7;
|
374
|
+
/*
|
375
|
+
stroke-opacity: .65;
|
376
|
+
fill-opacity: 1;
|
377
|
+
*/
|
378
|
+
stroke-opacity: 0;
|
379
|
+
|
380
|
+
transition: fill-opacity 250ms linear, stroke-opacity 250ms linear;
|
381
|
+
-moz-transition: fill-opacity 250ms linear, stroke-opacity 250ms linear;
|
382
|
+
-webkit-transition: fill-opacity 250ms linear, stroke-opacity 250ms linear;
|
383
|
+
|
384
|
+
/*
|
385
|
+
transition-delay: 500ms;
|
386
|
+
-moz-transition-delay: 500ms;
|
387
|
+
-webkit-transition-delay: 500ms;
|
388
|
+
*/
|
389
|
+
|
390
|
+
}
|
391
|
+
|
392
|
+
.nvd3 .stackedarea path.area.hover {
|
393
|
+
fill-opacity: .9;
|
394
|
+
/*
|
395
|
+
stroke-opacity: .85;
|
396
|
+
*/
|
397
|
+
}
|
398
|
+
/*
|
399
|
+
.d3stackedarea .groups path {
|
400
|
+
stroke-opacity: 0;
|
401
|
+
}
|
402
|
+
*/
|
403
|
+
|
404
|
+
|
405
|
+
|
406
|
+
.nvd3.stackedarea .groups .point {
|
407
|
+
stroke-opacity: 0;
|
408
|
+
fill-opacity: 0;
|
409
|
+
}
|
410
|
+
|
411
|
+
.nvd3.stackedarea .groups .point.hover {
|
412
|
+
stroke-width: 20px;
|
413
|
+
stroke-opacity: .75;
|
414
|
+
fill-opacity: 1;
|
415
|
+
}
|
416
|
+
|
417
|
+
|
418
|
+
|
419
|
+
/**********
|
420
|
+
* Line Plus Bar
|
421
|
+
*/
|
422
|
+
|
423
|
+
.nvd3 .linePlusBar .bar rect {
|
424
|
+
fill-opacity: .75;
|
425
|
+
}
|
426
|
+
|
427
|
+
.nvd3 .linePlusBar .bar rect:hover {
|
428
|
+
fill-opacity: 1;
|
429
|
+
}
|
430
|
+
|
431
|
+
|
432
|
+
/**********
|
433
|
+
* Bullet
|
434
|
+
*/
|
435
|
+
|
436
|
+
.nvd3.bullet { font: 10px sans-serif; cursor: pointer; }
|
437
|
+
.nvd3.bullet rect { fill-opacity: .6; }
|
438
|
+
.nvd3.bullet rect:hover { fill-opacity: 1; }
|
439
|
+
.nvd3.bullet .marker { stroke: #000; stroke-width: 2px; }
|
440
|
+
.nvd3.bullet .markerTriangle { stroke: #000; fill: #fff; stroke-width: 1.5px; }
|
441
|
+
.nvd3.bullet .tick line { stroke: #666; stroke-width: .5px; }
|
442
|
+
.nvd3.bullet .range.s0 { fill: #eee; }
|
443
|
+
.nvd3.bullet .range.s1 { fill: #ddd; }
|
444
|
+
.nvd3.bullet .range.s2 { fill: #ccc; }
|
445
|
+
.nvd3.bullet .measure.s0 { fill: steelblue; }
|
446
|
+
.nvd3.bullet .measure.s1 { fill: darkblue; }
|
447
|
+
.nvd3.bullet .title { font-size: 14px; font-weight: bold; }
|
448
|
+
.nvd3.bullet .subtitle { fill: #999; }
|
449
|
+
|
450
|
+
|
451
|
+
|
452
|
+
|
453
|
+
/**********
|
454
|
+
* Sparkline plus
|
455
|
+
*/
|
456
|
+
|
457
|
+
.nvd3 .sparklineplus .hoverValue line {
|
458
|
+
stroke: #f44;
|
459
|
+
stroke-width: 1.5px;
|
460
|
+
}
|
461
|
+
|
462
|
+
.nvd3 .sparklineplus,
|
463
|
+
.nvd3 .sparklineplus g {
|
464
|
+
pointer-events: all;
|
465
|
+
}
|
466
|
+
|
467
|
+
.nvd3 .hoverArea {
|
468
|
+
fill-opacity: 0;
|
469
|
+
stroke-opacity: 0;
|
470
|
+
}
|
471
|
+
|
472
|
+
.nvd3 .sparklineplus .xValue,
|
473
|
+
.nvd3 .sparklineplus .yValue {
|
474
|
+
stroke: #666;
|
475
|
+
font-size: .5em;
|
476
|
+
font-weight: normal;
|
477
|
+
}
|
478
|
+
|
479
|
+
.nvd3 .sparklineplus .yValue {
|
480
|
+
stroke: #f66;
|
481
|
+
}
|
482
|
+
|
483
|
+
|
484
|
+
|
485
|
+
/**********
|
486
|
+
* Indented Tree
|
487
|
+
*/
|
488
|
+
|
489
|
+
|
490
|
+
.indentedtree .name {
|
491
|
+
margin-left: 5px;
|
492
|
+
}
|
493
|
+
|
494
|
+
.indentedtree .childrenCount {
|
495
|
+
display: inline-block;
|
496
|
+
margin-left: 5px;
|
497
|
+
}
|
498
|
+
|
499
|
+
.indentedtree .treeicon {
|
500
|
+
cursor: pointer;
|
501
|
+
/*
|
502
|
+
cursor: n-resize;
|
503
|
+
*/
|
504
|
+
}
|
505
|
+
|
506
|
+
.indentedtree .treeicon.folded {
|
507
|
+
cursor: pointer;
|
508
|
+
/*
|
509
|
+
cursor: s-resize;
|
510
|
+
*/
|
511
|
+
}
|
512
|
+
|
513
|
+
.nvd3.indentedtree .clickable {
|
514
|
+
color: #08C;
|
515
|
+
cursor: pointer;
|
516
|
+
}
|
517
|
+
|
518
|
+
.nvd3.indentedtree span.clickable:hover {
|
519
|
+
color: #005580;
|
520
|
+
text-decoration: underline;
|
521
|
+
}
|
522
|
+
|
data/lib/public/css/public.css
CHANGED
@@ -1,41 +1,106 @@
|
|
1
|
+
/* line 17, ../../../../../.rvm/gems/ruby-1.9.2-p290/gems/compass-0.12.1/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
|
1
2
|
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; }
|
2
3
|
|
4
|
+
/* line 20, ../../../../../.rvm/gems/ruby-1.9.2-p290/gems/compass-0.12.1/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
|
3
5
|
body { line-height: 1; }
|
4
6
|
|
7
|
+
/* line 22, ../../../../../.rvm/gems/ruby-1.9.2-p290/gems/compass-0.12.1/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
|
5
8
|
ol, ul { list-style: none; }
|
6
9
|
|
10
|
+
/* line 24, ../../../../../.rvm/gems/ruby-1.9.2-p290/gems/compass-0.12.1/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
|
7
11
|
table { border-collapse: collapse; border-spacing: 0; }
|
8
12
|
|
13
|
+
/* line 26, ../../../../../.rvm/gems/ruby-1.9.2-p290/gems/compass-0.12.1/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
|
9
14
|
caption, th, td { text-align: left; font-weight: normal; vertical-align: middle; }
|
10
15
|
|
16
|
+
/* line 28, ../../../../../.rvm/gems/ruby-1.9.2-p290/gems/compass-0.12.1/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
|
11
17
|
q, blockquote { quotes: none; }
|
18
|
+
/* line 101, ../../../../../.rvm/gems/ruby-1.9.2-p290/gems/compass-0.12.1/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
|
12
19
|
q:before, q:after, blockquote:before, blockquote:after { content: ""; content: none; }
|
13
20
|
|
21
|
+
/* line 30, ../../../../../.rvm/gems/ruby-1.9.2-p290/gems/compass-0.12.1/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
|
14
22
|
a img { border: none; }
|
15
23
|
|
24
|
+
/* line 114, ../../../../../.rvm/gems/ruby-1.9.2-p290/gems/compass-0.12.1/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
|
16
25
|
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary { display: block; }
|
17
26
|
|
27
|
+
/* line 20, ../../batsd-dash/sass/public.scss */
|
18
28
|
html, body { height: 100%; min-height: 100%; background-color: #222; }
|
19
29
|
|
20
|
-
|
30
|
+
/* line 22, ../../batsd-dash/sass/public.scss */
|
31
|
+
h1, h2, strong, em { color: lime; font-family: "Courier New",Courier,monospace; }
|
21
32
|
|
33
|
+
/* line 23, ../../batsd-dash/sass/public.scss */
|
22
34
|
a { text-decoration: none; color: inherit; }
|
23
35
|
|
36
|
+
/* line 25, ../../batsd-dash/sass/public.scss */
|
24
37
|
.wrap { width: 1000px; margin: 0 auto; }
|
25
38
|
|
26
|
-
|
39
|
+
/* line 27, ../../batsd-dash/sass/public.scss */
|
40
|
+
#header { height: 60px; border: 1px solid lime; border-width: 0 0 1px 0; margin: 0 0 20px; background-color: #000000; *zoom: 1; filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#FF000000', endColorstr='#FF222222'); background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #000000), color-stop(100%, #222222)); background-image: -webkit-linear-gradient(top, #000000 0%, #222222 100%); background-image: -moz-linear-gradient(top, #000000 0%, #222222 100%); background-image: -o-linear-gradient(top, #000000 0%, #222222 100%); background-image: -ms-linear-gradient(top, #000000 0%, #222222 100%); background-image: linear-gradient(top, #000000 0%, #222222 100%); *zoom: 1; }
|
41
|
+
/* line 38, ../../../../../.rvm/gems/ruby-1.9.2-p290/gems/compass-0.12.1/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.scss */
|
27
42
|
#header:after { content: ""; display: table; clear: both; }
|
43
|
+
/* line 36, ../../batsd-dash/sass/public.scss */
|
28
44
|
#header h1 { float: left; font-size: 28px; padding: 15px 0 0; }
|
45
|
+
/* line 37, ../../batsd-dash/sass/public.scss */
|
29
46
|
#header ul { float: right; width: 300px; margin: 15px 0; }
|
47
|
+
/* line 40, ../../batsd-dash/sass/public.scss */
|
30
48
|
#header ul li { float: left; margin: 0 20px; }
|
49
|
+
/* line 42, ../../batsd-dash/sass/public.scss */
|
31
50
|
#header ul li a { cursor: pointer; }
|
32
51
|
|
52
|
+
/* line 47, ../../batsd-dash/sass/public.scss */
|
33
53
|
#content { color: #FFF; width: 1000px; margin: 0 auto; font-size: 18px; }
|
54
|
+
/* line 50, ../../batsd-dash/sass/public.scss */
|
34
55
|
#content h1 { font-size: 26px; margin: 30px 0; }
|
56
|
+
/* line 51, ../../batsd-dash/sass/public.scss */
|
35
57
|
#content h2 { font-size: 24px; margin: 20px 0; }
|
58
|
+
/* line 54, ../../batsd-dash/sass/public.scss */
|
36
59
|
#content p em { font-style: italic; margin: 0 -4px 0 0; }
|
37
|
-
|
38
|
-
#content .graph
|
60
|
+
/* line 57, ../../batsd-dash/sass/public.scss */
|
61
|
+
#content .graph { height: 400px; width: 880px; position: relative; margin: 0 auto; }
|
62
|
+
/* line 64, ../../batsd-dash/sass/public.scss */
|
63
|
+
#content .graph em { height: 30px; width: 300px; position: absolute; top: 185px; left: 290px; padding: 2px 0; font-size: 26px; text-align: center; -webkit-animation-name: blink; -webkit-animation-duration: 1s; -webkit-animation-iteration-count: infinite; }
|
64
|
+
/* line 77, ../../batsd-dash/sass/public.scss */
|
39
65
|
#content .inputs { width: 900px; margin: 0 auto 30px; text-align: center; }
|
66
|
+
/* line 80, ../../batsd-dash/sass/public.scss */
|
40
67
|
#content .inputs label { font-weight: bold; }
|
68
|
+
/* line 81, ../../batsd-dash/sass/public.scss */
|
41
69
|
#content .inputs input { width: 200px; }
|
70
|
+
|
71
|
+
/* line 85, ../../batsd-dash/sass/public.scss */
|
72
|
+
#loading { height: 100px; width: 280px; position: absolute; top: 150px; left: 300px; display: none; }
|
73
|
+
/* line 90, ../../batsd-dash/sass/public.scss */
|
74
|
+
#loading strong { float: right; font-size: 26px; margin: 36px 0 0; }
|
75
|
+
/* line 96, ../../batsd-dash/sass/public.scss */
|
76
|
+
#loading #spinner { position: relative; float: left; width: 100px; height: 100px; -webkit-animation-name: rotateSpinner; -webkit-animation-duration: 2s; -webkit-animation-iteration-count: infinite; -webkit-animation-timing-function: linear; }
|
77
|
+
/* line 107, ../../batsd-dash/sass/public.scss */
|
78
|
+
#loading #spinner div { width: 10px; height: 30px; background: lime; position: absolute; top: 35px; left: 45px; }
|
79
|
+
/* line 122, ../../batsd-dash/sass/public.scss */
|
80
|
+
#loading #spinner .bar1 { -webkit-transform: scale(1, 1) rotateZ(0deg) translate(0px, -40px); -moz-transform: scale(1, 1) rotateZ(0deg) translate(0px, -40px); -ms-transform: scale(1, 1) rotateZ(0deg) translate(0px, -40px); -o-transform: scale(1, 1) rotateZ(0deg) translate(0px, -40px); transform: scale(1, 1) rotateZ(0deg) translate(0px, -40px); opacity: 0.12; }
|
81
|
+
/* line 122, ../../batsd-dash/sass/public.scss */
|
82
|
+
#loading #spinner .bar2 { -webkit-transform: scale(1, 1) rotateZ(45deg) translate(0px, -40px); -moz-transform: scale(1, 1) rotateZ(45deg) translate(0px, -40px); -ms-transform: scale(1, 1) rotateZ(45deg) translate(0px, -40px); -o-transform: scale(1, 1) rotateZ(45deg) translate(0px, -40px); transform: scale(1, 1) rotateZ(45deg) translate(0px, -40px); opacity: 0.24; }
|
83
|
+
/* line 122, ../../batsd-dash/sass/public.scss */
|
84
|
+
#loading #spinner .bar3 { -webkit-transform: scale(1, 1) rotateZ(90deg) translate(0px, -40px); -moz-transform: scale(1, 1) rotateZ(90deg) translate(0px, -40px); -ms-transform: scale(1, 1) rotateZ(90deg) translate(0px, -40px); -o-transform: scale(1, 1) rotateZ(90deg) translate(0px, -40px); transform: scale(1, 1) rotateZ(90deg) translate(0px, -40px); opacity: 0.37; }
|
85
|
+
/* line 122, ../../batsd-dash/sass/public.scss */
|
86
|
+
#loading #spinner .bar4 { -webkit-transform: scale(1, 1) rotateZ(135deg) translate(0px, -40px); -moz-transform: scale(1, 1) rotateZ(135deg) translate(0px, -40px); -ms-transform: scale(1, 1) rotateZ(135deg) translate(0px, -40px); -o-transform: scale(1, 1) rotateZ(135deg) translate(0px, -40px); transform: scale(1, 1) rotateZ(135deg) translate(0px, -40px); opacity: 0.49; }
|
87
|
+
/* line 122, ../../batsd-dash/sass/public.scss */
|
88
|
+
#loading #spinner .bar5 { -webkit-transform: scale(1, 1) rotateZ(180deg) translate(0px, -40px); -moz-transform: scale(1, 1) rotateZ(180deg) translate(0px, -40px); -ms-transform: scale(1, 1) rotateZ(180deg) translate(0px, -40px); -o-transform: scale(1, 1) rotateZ(180deg) translate(0px, -40px); transform: scale(1, 1) rotateZ(180deg) translate(0px, -40px); opacity: 0.62; }
|
89
|
+
/* line 122, ../../batsd-dash/sass/public.scss */
|
90
|
+
#loading #spinner .bar6 { -webkit-transform: scale(1, 1) rotateZ(225deg) translate(0px, -40px); -moz-transform: scale(1, 1) rotateZ(225deg) translate(0px, -40px); -ms-transform: scale(1, 1) rotateZ(225deg) translate(0px, -40px); -o-transform: scale(1, 1) rotateZ(225deg) translate(0px, -40px); transform: scale(1, 1) rotateZ(225deg) translate(0px, -40px); opacity: 0.74; }
|
91
|
+
/* line 122, ../../batsd-dash/sass/public.scss */
|
92
|
+
#loading #spinner .bar7 { -webkit-transform: scale(1, 1) rotateZ(270deg) translate(0px, -40px); -moz-transform: scale(1, 1) rotateZ(270deg) translate(0px, -40px); -ms-transform: scale(1, 1) rotateZ(270deg) translate(0px, -40px); -o-transform: scale(1, 1) rotateZ(270deg) translate(0px, -40px); transform: scale(1, 1) rotateZ(270deg) translate(0px, -40px); opacity: 0.87; }
|
93
|
+
/* line 122, ../../batsd-dash/sass/public.scss */
|
94
|
+
#loading #spinner .bar8 { -webkit-transform: scale(1, 1) rotateZ(315deg) translate(0px, -40px); -moz-transform: scale(1, 1) rotateZ(315deg) translate(0px, -40px); -ms-transform: scale(1, 1) rotateZ(315deg) translate(0px, -40px); -o-transform: scale(1, 1) rotateZ(315deg) translate(0px, -40px); transform: scale(1, 1) rotateZ(315deg) translate(0px, -40px); opacity: 0.99; }
|
95
|
+
|
96
|
+
@-webkit-keyframes rotateSpinner { /* line 141, ../../batsd-dash/sass/public.scss */
|
97
|
+
from { -webkit-transform: scale(0.5) rotate(0deg); }
|
98
|
+
/* line 142, ../../batsd-dash/sass/public.scss */
|
99
|
+
to { -webkit-transform: scale(0.5) rotate(360deg); } }
|
100
|
+
|
101
|
+
@-webkit-keyframes blink { /* line 146, ../../batsd-dash/sass/public.scss */
|
102
|
+
0% { opacity: 1.0; }
|
103
|
+
/* line 147, ../../batsd-dash/sass/public.scss */
|
104
|
+
50% { opacity: 0.25; }
|
105
|
+
/* line 148, ../../batsd-dash/sass/public.scss */
|
106
|
+
100% { opacity: 1.0; } }
|