forked from idescat/visual
-
Notifications
You must be signed in to change notification settings - Fork 1
/
visual.css
91 lines (86 loc) · 1.55 KB
/
visual.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
body {
margin: 0;
padding: 0;
background-color: #fff;
overflow: hidden;
}
.visual {
margin: 10px;
}
.visual, #VisualJSTooltip {
font-family: Verdana,Arial,Helvetica,sans-serif;
font-size: 13px;
background-color: #fff;
}
.visual h1 {
font-size: 13px;
}
.visual p {
font-size: 11px;
margin: 10px 0 0 0;
}
#VisualJSleft, #VisualJSright {
text-align: center;
}
#VisualJSTooltip {
display: none;
position: absolute;
border: 1px solid #ccc;
border-radius: 4px;
box-shadow:0 0 8px rgba(0,0,0,.2);
padding: 4px;
background-color: #f6f6f6;
opacity: 0.90;
white-space: nowrap;
font-size: 11px;
}
#VisualJSTooltip strong, #VisualJSTooltip em {
display: block;
font-weight: bold;
}
#VisualJSTooltip em {
font-style: normal;
margin-top: 4px;
}
.visual .VisualJSnw {
white-space: nowrap;
}
/* Flot */
.visual .VisualJSmini .flot-tick-label {
font-size: 8px;
}
.visual .flot-tick-label span {
display: block;
}
/* Avoid x-axis label overlapping in bar charts using styles (since 0.9.6) */
.visual .flot-tick-label.tickLabel span {
padding: 0 2.5em;
}
/* SVG */
.visual .VisualJSarea {
fill: #808080;
stroke: #000;
stroke-width: .05px;
stroke-linejoin: round;
vector-effect: non-scaling-stroke;
}
.visual .VisualJSarea path:hover {
stroke: #ffa500;
stroke-width: 1px;
}
.visual .VisualJSarea path.cnohover {
fill: #666;
}
.visual .VisualJSarea path.cnohover:hover {
stroke: #000;
stroke-width: .05px;
}
.visual svg g.VisualJSlegend {
stroke: #808080;
stroke-width: 1px;
}
.visual svg g.VisualJSlegend text {
font-size: 11px;
fill: #000;
stroke: none;
}