@springernature/nn-charts
Version:
Visualization for DAS products
125 lines (122 loc) • 2.46 kB
CSS
.chart__rectangle--highlighted {
opacity: 0.75;
}
.column-chart {
position: relative;
padding-bottom: 20px;
overflow-y: auto;
}
.column-chart .legend-container {
list-style: none;
padding: 0;
margin: 0;
display: flex;
flex-direction: row;
}
.column-chart .legend-container.horizontal {
flex-direction: column;
}
@media (min-width: 601px) {
.column-chart .legend-container.horizontal {
flex-direction: row;
}
}
.column-chart .legend-container.vertical {
flex-direction: column;
}
.column-chart .legend-container .legend-item {
padding-right: 20px;
}
.column-chart .legend-container.center {
justify-content: center;
}
.column-chart .legend-container.left {
justify-content: left;
}
.column-chart .legend-container.right {
align-content: end;
flex-wrap: wrap;
}
.column-chart .legend-shape {
width: 15px;
height: 15px;
display: inline-block;
margin-right: 5px;
top: 2px;
position: relative;
}
.column-chart .legend-shape__rect {
height: 10px;
}
.column-chart .legend-shape__circle {
border-radius: 50%;
}
.column-chart .horizon .rectangle {
cursor: pointer;
}
.tooltip-group {
position: absolute;
width: 245px;
border-radius: 10px;
list-style-type: none;
margin: 0;
padding: 12px;
z-index: 999;
}
.tooltip-group ul,
.tooltip-group li {
margin: 0;
padding: 0;
}
.tooltip-group .tooltip-heading {
font-weight: bold;
font-size: 1.2rem;
margin: 0;
}
.tooltip-group .tt-shape {
width: 15px;
height: 15px;
display: inline-block;
margin-right: 5px;
top: 2px;
position: relative;
}
.tooltip-group .tt-shape__rect {
height: 10px;
}
.tooltip-group .tt-shape__circle {
border-radius: 50%;
}
.tooltip-group .tt-category,
.tooltip-group .tt-value {
font-size: 0.9rem;
font-weight: 500;
}
.tooltip-group .tooltip-item {
margin-top: 5px;
padding: 3px 5px;
display: flex;
flex-direction: row;
justify-content: space-between;
}
.tooltip-group .tooltip-item.hovered .tt-shape {
border: thin double transparent;
}
.tooltip-group .tooltip-item.hovered span {
font-weight: bold;
}
.tooltip-group .tooltip-footer {
border-top: 1px dashed #d4d4d4;
margin-top: 15px;
padding: 3px 5px;
padding-top: 15px;
display: flex;
flex-direction: row;
justify-content: space-between;
}
.tooltip-group .tooltip-footer .tt-category,
.tooltip-group .tooltip-footer .tt-value {
font-size: 0.9rem;
font-weight: 500;
}
/*# sourceMappingURL=column-chart.css.map */