-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenergy-sankey.css
77 lines (73 loc) · 1.25 KB
/
energy-sankey.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
.node rect {
cursor: move;
fill-opacity: .9;
shape-rendering: crispEdges;
}
.node text {
pointer-events: none;
text-shadow: 0px 0px 0px #999;
}
.link {
fill: none;
stroke: #000;
stroke-opacity: 0.6;
}
.link:hover {
stroke-opacity: 0.85; !important
}
.axis {
font: 10px sans-serif;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
.axis .domain {
fill: none;
stroke: #000;
stroke-opacity: .3;
stroke-width: 10px;
stroke-linecap: round;
}
.axis .halo {
fill: none;
stroke: #ddd;
stroke-width: 8px;
stroke-linecap: round;
}
.slider .handle {
fill: #fff;
stroke: #000;
stroke-opacity: .5;
stroke-width: 1.25px;
pointer-events: none;
}
/* This section controls the tooltip */
.hover-tooltip-sankey{
background-color:rgba(255,255,255,0);
border: 1px solid;
border-color: rgba(255,255,255,0);
width: 150px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
-ms-border-radius: 3px;
-o-border-radius: 3px;
border-radius: 3px;
text-align: center;
position:absolute;
left:150px;
top:0px;
padding:10px;
}
@media (max-width: 549px) {
.hover-tooltip-sankey{
display:none;
}
.hover-title{
width:300px;
}
.hover-value{
text-align: right;
font-weight: 400;
color: rgba(52,124,180,0);
font-size: 20px;
}