von-dashboard 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,320 @@
1
+ .rickshaw_graph .detail {
2
+ pointer-events: none;
3
+ position: absolute;
4
+ top: 0;
5
+ z-index: 2;
6
+ background: rgba(0, 0, 0, 0.1);
7
+ bottom: 0;
8
+ width: 1px;
9
+ transition: opacity 0.25s linear;
10
+ -moz-transition: opacity 0.25s linear;
11
+ -o-transition: opacity 0.25s linear;
12
+ -webkit-transition: opacity 0.25s linear;
13
+ }
14
+ .rickshaw_graph .detail.inactive {
15
+ opacity: 0;
16
+ }
17
+ .rickshaw_graph .detail .item.active {
18
+ opacity: 1;
19
+ }
20
+ .rickshaw_graph .detail .x_label {
21
+ font-family: Arial, sans-serif;
22
+ border-radius: 3px;
23
+ padding: 6px;
24
+ opacity: 0.5;
25
+ border: 1px solid #e0e0e0;
26
+ font-size: 12px;
27
+ position: absolute;
28
+ background: white;
29
+ white-space: nowrap;
30
+ }
31
+ .rickshaw_graph .detail .item {
32
+ position: absolute;
33
+ z-index: 2;
34
+ border-radius: 3px;
35
+ padding: 0.25em;
36
+ font-size: 12px;
37
+ font-family: Arial, sans-serif;
38
+ opacity: 0;
39
+ background: rgba(0, 0, 0, 0.4);
40
+ color: white;
41
+ border: 1px solid rgba(0, 0, 0, 0.4);
42
+ margin-left: 1em;
43
+ margin-top: -1em;
44
+ white-space: nowrap;
45
+ }
46
+ .rickshaw_graph .detail .item.active {
47
+ opacity: 1;
48
+ background: rgba(0, 0, 0, 0.8);
49
+ }
50
+ .rickshaw_graph .detail .item:before {
51
+ content: "\25c2";
52
+ position: absolute;
53
+ left: -0.5em;
54
+ color: rgba(0, 0, 0, 0.7);
55
+ width: 0;
56
+ }
57
+ .rickshaw_graph .detail .dot {
58
+ width: 4px;
59
+ height: 4px;
60
+ margin-left: -4px;
61
+ margin-top: -3px;
62
+ border-radius: 5px;
63
+ position: absolute;
64
+ box-shadow: 0 0 2px rgba(0, 0, 0, 0.6);
65
+ background: white;
66
+ border-width: 2px;
67
+ border-style: solid;
68
+ display: none;
69
+ background-clip: padding-box;
70
+ }
71
+ .rickshaw_graph .detail .dot.active {
72
+ display: block;
73
+ }
74
+ /* graph */
75
+
76
+ .rickshaw_graph {
77
+ position: relative;
78
+ }
79
+ .rickshaw_graph svg {
80
+ display: block;
81
+ overflow: hidden;
82
+ }
83
+
84
+ /* ticks */
85
+
86
+ .rickshaw_graph .x_tick {
87
+ position: absolute;
88
+ top: 0;
89
+ bottom: 0;
90
+ width: 0px;
91
+ border-left: 1px dotted rgba(0, 0, 0, 0.2);
92
+ pointer-events: none;
93
+ }
94
+ .rickshaw_graph .x_tick .title {
95
+ position: absolute;
96
+ font-size: 12px;
97
+ font-family: Arial, sans-serif;
98
+ opacity: 0.5;
99
+ white-space: nowrap;
100
+ margin-left: 3px;
101
+ bottom: 1px;
102
+ }
103
+
104
+ /* annotations */
105
+
106
+ .rickshaw_annotation_timeline {
107
+ height: 1px;
108
+ border-top: 1px solid #e0e0e0;
109
+ margin-top: 10px;
110
+ position: relative;
111
+ }
112
+ .rickshaw_annotation_timeline .annotation {
113
+ position: absolute;
114
+ height: 6px;
115
+ width: 6px;
116
+ margin-left: -2px;
117
+ top: -3px;
118
+ border-radius: 5px;
119
+ background-color: rgba(0, 0, 0, 0.25);
120
+ }
121
+ .rickshaw_graph .annotation_line {
122
+ position: absolute;
123
+ top: 0;
124
+ bottom: -6px;
125
+ width: 0px;
126
+ border-left: 2px solid rgba(0, 0, 0, 0.3);
127
+ display: none;
128
+ }
129
+ .rickshaw_graph .annotation_line.active {
130
+ display: block;
131
+ }
132
+
133
+ .rickshaw_graph .annotation_range {
134
+ background: rgba(0, 0, 0, 0.1);
135
+ display: none;
136
+ position: absolute;
137
+ top: 0;
138
+ bottom: -6px;
139
+ }
140
+ .rickshaw_graph .annotation_range.active {
141
+ display: block;
142
+ }
143
+ .rickshaw_graph .annotation_range.active.offscreen {
144
+ display: none;
145
+ }
146
+
147
+ .rickshaw_annotation_timeline .annotation .content {
148
+ background: white;
149
+ color: black;
150
+ opacity: 0.9;
151
+ padding: 5px 5px;
152
+ box-shadow: 0 0 2px rgba(0, 0, 0, 0.8);
153
+ border-radius: 3px;
154
+ position: relative;
155
+ z-index: 20;
156
+ font-size: 12px;
157
+ padding: 6px 8px 8px;
158
+ top: 18px;
159
+ left: -11px;
160
+ width: 160px;
161
+ display: none;
162
+ cursor: pointer;
163
+ }
164
+ .rickshaw_annotation_timeline .annotation .content:before {
165
+ content: "\25b2";
166
+ position: absolute;
167
+ top: -11px;
168
+ color: white;
169
+ text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.8);
170
+ }
171
+ .rickshaw_annotation_timeline .annotation.active,
172
+ .rickshaw_annotation_timeline .annotation:hover {
173
+ background-color: rgba(0, 0, 0, 0.8);
174
+ cursor: none;
175
+ }
176
+ .rickshaw_annotation_timeline .annotation .content:hover {
177
+ z-index: 50;
178
+ }
179
+ .rickshaw_annotation_timeline .annotation.active .content {
180
+ display: block;
181
+ }
182
+ .rickshaw_annotation_timeline .annotation:hover .content {
183
+ display: block;
184
+ z-index: 50;
185
+ }
186
+ .rickshaw_graph .y_axis,
187
+ .rickshaw_graph .x_axis_d3 {
188
+ fill: none;
189
+ }
190
+ .rickshaw_graph .y_ticks .tick,
191
+ .rickshaw_graph .x_ticks_d3 .tick {
192
+ stroke: rgba(0, 0, 0, 0.16);
193
+ stroke-width: 2px;
194
+ shape-rendering: crisp-edges;
195
+ pointer-events: none;
196
+ }
197
+ .rickshaw_graph .y_grid .tick,
198
+ .rickshaw_graph .x_grid_d3 .tick {
199
+ z-index: -1;
200
+ stroke: rgba(0, 0, 0, 0.20);
201
+ stroke-width: 1px;
202
+ stroke-dasharray: 1 1;
203
+ }
204
+ .rickshaw_graph .y_grid path,
205
+ .rickshaw_graph .x_grid_d3 path {
206
+ fill: none;
207
+ stroke: none;
208
+ }
209
+ .rickshaw_graph .y_ticks path,
210
+ .rickshaw_graph .x_ticks_d3 path {
211
+ fill: none;
212
+ stroke: #808080;
213
+ }
214
+ .rickshaw_graph .y_ticks text,
215
+ .rickshaw_graph .x_ticks_d3 text {
216
+ opacity: 0.5;
217
+ font-size: 12px;
218
+ pointer-events: none;
219
+ }
220
+ .rickshaw_graph .x_tick.glow .title,
221
+ .rickshaw_graph .y_ticks.glow text {
222
+ fill: black;
223
+ color: black;
224
+ text-shadow:
225
+ -1px 1px 0 rgba(255, 255, 255, 0.1),
226
+ 1px -1px 0 rgba(255, 255, 255, 0.1),
227
+ 1px 1px 0 rgba(255, 255, 255, 0.1),
228
+ 0px 1px 0 rgba(255, 255, 255, 0.1),
229
+ 0px -1px 0 rgba(255, 255, 255, 0.1),
230
+ 1px 0px 0 rgba(255, 255, 255, 0.1),
231
+ -1px 0px 0 rgba(255, 255, 255, 0.1),
232
+ -1px -1px 0 rgba(255, 255, 255, 0.1);
233
+ }
234
+ .rickshaw_graph .x_tick.inverse .title,
235
+ .rickshaw_graph .y_ticks.inverse text {
236
+ fill: white;
237
+ color: white;
238
+ text-shadow:
239
+ -1px 1px 0 rgba(0, 0, 0, 0.8),
240
+ 1px -1px 0 rgba(0, 0, 0, 0.8),
241
+ 1px 1px 0 rgba(0, 0, 0, 0.8),
242
+ 0px 1px 0 rgba(0, 0, 0, 0.8),
243
+ 0px -1px 0 rgba(0, 0, 0, 0.8),
244
+ 1px 0px 0 rgba(0, 0, 0, 0.8),
245
+ -1px 0px 0 rgba(0, 0, 0, 0.8),
246
+ -1px -1px 0 rgba(0, 0, 0, 0.8);
247
+ }
248
+ .rickshaw_legend {
249
+ font-family: Arial;
250
+ font-size: 12px;
251
+ color: white;
252
+ background: #404040;
253
+ display: inline-block;
254
+ padding: 12px 5px;
255
+ border-radius: 2px;
256
+ position: relative;
257
+ }
258
+ .rickshaw_legend:hover {
259
+ z-index: 10;
260
+ }
261
+ .rickshaw_legend .swatch {
262
+ width: 10px;
263
+ height: 10px;
264
+ border: 1px solid rgba(0, 0, 0, 0.2);
265
+ }
266
+ .rickshaw_legend .line {
267
+ clear: both;
268
+ line-height: 140%;
269
+ padding-right: 15px;
270
+ }
271
+ .rickshaw_legend .line .swatch {
272
+ display: inline-block;
273
+ margin-right: 3px;
274
+ border-radius: 2px;
275
+ }
276
+ .rickshaw_legend .label {
277
+ margin: 0;
278
+ white-space: nowrap;
279
+ display: inline;
280
+ font-size: inherit;
281
+ background-color: transparent;
282
+ color: inherit;
283
+ font-weight: normal;
284
+ line-height: normal;
285
+ padding: 0px;
286
+ text-shadow: none;
287
+ }
288
+ .rickshaw_legend .action:hover {
289
+ opacity: 0.6;
290
+ }
291
+ .rickshaw_legend .action {
292
+ margin-right: 0.2em;
293
+ font-size: 10px;
294
+ opacity: 0.2;
295
+ cursor: pointer;
296
+ font-size: 14px;
297
+ }
298
+ .rickshaw_legend .line.disabled {
299
+ opacity: 0.4;
300
+ }
301
+ .rickshaw_legend ul {
302
+ list-style-type: none;
303
+ margin: 0;
304
+ padding: 0;
305
+ margin: 2px;
306
+ cursor: pointer;
307
+ }
308
+ .rickshaw_legend li {
309
+ padding: 0 0 0 2px;
310
+ min-width: 80px;
311
+ white-space: nowrap;
312
+ }
313
+ .rickshaw_legend li:hover {
314
+ background: rgba(255, 255, 255, 0.08);
315
+ border-radius: 3px;
316
+ }
317
+ .rickshaw_legend li:active {
318
+ background: rgba(255, 255, 255, 0.2);
319
+ border-radius: 3px;
320
+ }