2022-06-25 16:03:08 +05:00
|
|
|
.asb-d3-chart {
|
2022-06-17 19:22:07 +05:00
|
|
|
|
2022-06-25 16:03:08 +05:00
|
|
|
& .tooltip {
|
|
|
|
@color: white;
|
|
|
|
@bg-color: rgba(0, 0, 0, .75);
|
2022-06-26 17:16:12 +05:00
|
|
|
@arrow-size: 8px;
|
|
|
|
|
|
|
|
width: 100%;
|
|
|
|
height: 100% - @arrow-size;
|
2022-06-25 16:03:08 +05:00
|
|
|
|
2022-06-27 05:53:16 +05:00
|
|
|
font-size: 13px;
|
2022-06-25 16:03:08 +05:00
|
|
|
color: @color;
|
2022-06-17 19:22:07 +05:00
|
|
|
position: absolute;
|
2022-06-26 17:16:12 +05:00
|
|
|
padding: 5px;
|
2022-06-25 16:03:08 +05:00
|
|
|
border: none;
|
|
|
|
border-radius: 2px;
|
|
|
|
background-color: @bg-color;
|
|
|
|
|
|
|
|
transition: opacity .1s ease-out;
|
|
|
|
|
|
|
|
&::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;
|
|
|
|
}
|
2022-06-27 05:53:16 +05:00
|
|
|
|
|
|
|
& .tooltip-group {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: stretch;
|
|
|
|
align-items: flex-start;
|
|
|
|
|
|
|
|
& .group-label {
|
|
|
|
width: 200%;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
& span {
|
|
|
|
font-weight: 600;
|
|
|
|
margin-left: 5px;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-06-17 19:22:07 +05:00
|
|
|
}
|
|
|
|
|
2022-06-25 16:03:08 +05:00
|
|
|
& .chart-empty {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2022-06-17 19:22:07 +05:00
|
|
|
}
|
2022-06-25 16:03:08 +05:00
|
|
|
}
|