-
Notifications
You must be signed in to change notification settings - Fork 0
/
ThreadArcs.css
115 lines (85 loc) · 1.4 KB
/
ThreadArcs.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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
.point,
.arc {
transition: all 600ms ease-out;
}
.point {
cursor: pointer;
}
.arc {
stroke-width: 1px;
fill: transparent;
}
.ThreadArcsContainer {
position: relative;
z-index: 1;
}
/** Tooltip styles */
.ThreadArcsTooltip {
position: absolute;
z-index: -1;
opacity: 1;
transition: all 400ms ease-out;
transition: opacity 300ms ease-in;
margin-top: -15px; /** Matches .ThreadArcsTooltipLine.top **/
}
.ThreadArcsTooltipLine {
position: absolute;
right: 100%;
display: block;
height: 1px;
background: rgba(0,0,0,0.3);
top: 15px;
}
.horizontal .ThreadArcsTooltipLine {
width: 1px;
bottom: 100%;
top:auto;
left: 30px; /* See next */
}
.horizontal .ThreadArcsTooltip {
margin-left: -30px;
}
.ThreadArcsTooltip.hidden {
display: none;
}
/*********************************/
.point:hover,
.point.hover,
.point:active {
/* ... */
}
.point.highlight {
/* ... */
}
/* General styles for highlighted arcs */
.arc.depth-0,
.arc.depth-1,
.arc.depth-2,
.arc.depth-3,
.arc.depth-4,
.arc.depth-5 {
/* .. */
}
.arc.depth-m0,
.arc.depth-m1,
.arc.depth-m2,
.arc.depth-m3,
.arc.depth-m4,
.arc.depth-m5 {
/* ... */
}
/* Predecessors */
.point.depth-m2 { }
.arc.depth-m2 { }
.point.depth-m1 { }
.arc.depth-m1 { }
.point.depth-m0 { }
.arc.depth-m0 { }
/* Descendants */
.point.depth-0 { }
.arc.depth-0 { }
.point.depth-1 { }
.arc.depth-1 { }
.point.depth-2 { }
.arc.depth-2 { }
/* And so on... */