mirror of
https://github.com/apache/superset.git
synced 2024-09-19 12:09:42 -04:00
1e08b3e8c5
* add tooltips to sankey * update tooltip language ('count' --> 'value', 'Link Weight' --> 'Path Value').
34 lines
506 B
CSS
34 lines
506 B
CSS
.sankey .node rect {
|
|
cursor: move;
|
|
fill-opacity: .9;
|
|
shape-rendering: crispEdges;
|
|
}
|
|
|
|
.sankey .node text {
|
|
pointer-events: none;
|
|
text-shadow: 0 1px 0 #fff;
|
|
}
|
|
|
|
.sankey .link {
|
|
fill: none;
|
|
stroke: #000;
|
|
stroke-opacity: .2;
|
|
}
|
|
|
|
.sankey .link:hover {
|
|
stroke-opacity: .5;
|
|
}
|
|
|
|
.sankey-tooltip {
|
|
position: absolute;
|
|
width: auto;
|
|
background: #ddd;
|
|
padding: 10px;
|
|
font-size: 12px;
|
|
font-weight: 200;
|
|
color: #333;
|
|
border: 1px solid #fff;
|
|
text-align: center;
|
|
pointer-events: none;
|
|
}
|