-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathstyle.css
69 lines (62 loc) · 1.04 KB
/
style.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
.link {
stroke: #ccc;
}
.node {
stroke: #fff;
}
.d3-tip {
line-height: 1;
font-weight: bold;
padding: 12px;
background: rgba(0, 0, 0, 0.8);
color: #fff;
border-radius: 2px;
}
/* Creates a small triangle extender for the tooltip */
.d3-tip:after {
box-sizing: border-box;
display: inline;
font-size: 10px;
width: 100%;
line-height: 1;
color: rgba(0, 0, 0, 0.8);
content: "\25BC";
position: absolute;
text-align: center;
}
/* Style northward tooltips differently */
.d3-tip.n:after {
margin: -1px 0 0 0;
top: 100%;
left: 0;
}
/* Style eastward tooltips differently */
.d3-tip.e:after {
margin: -4px 0 0 0;
top:50%;
left: -8px;
}
/* Style southward tooltips differently */
.d3-tip.s:after {
margin: 0 0 1px 0;
top:-8px;
left: 0;
text-align: center;
}
/* Style westward tooltips differently */
.d3-tip.w:after {
margin: -4px 0 0 -1px;
top:50%;
left: 100%;
}
/*
#footer {
position: absolute;
width: 100%;
clear: both;
bottom: 0;
padding: 0;
margin: 0;
height: 30px;
background: #333;
}*/