asb_cloud_front/src/styles/d3.less

30 lines
565 B
Plaintext
Raw Normal View History

.asb-d3-tooltip {
@color: white;
@bg-color: rgba(0, 0, 0, .75);
color: @color;
position: absolute;
padding: 0;
border: none;
border-radius: 2px;
background-color: @bg-color;
transition: opacity .1s ease-out;
@arrow-size: 8px;
&::after {
content: ' ';
position: absolute;
width: 0;
height: 0;
border: @arrow-size solid transparent;
}
&.bottom::after {
border-top-color: @bg-color;
top: 100%;
left: 50%;
margin-left: -@arrow-size;
}
}