signoz/frontend/src/modules/Traces/TraceGraph.css

50 lines
1.1 KiB
CSS
Raw Normal View History

2021-01-03 18:15:44 +05:30
.d3-tip {
2021-01-18 02:18:49 +05:30
line-height: 1;
padding: 2px;
background: rgba(0, 0, 0, 0.8);
color: #fff;
border-radius: 2px;
2021-01-22 01:22:47 +05:30
font-size: 12px;
2021-01-03 18:15:44 +05:30
}
/* Creates a small triangle extender for the tooltip */
.d3-tip:after {
2021-01-18 02:18:49 +05:30
box-sizing: border-box;
display: inline;
2021-01-22 01:22:47 +05:30
font-size: 12px;
2021-01-18 02:18:49 +05:30
width: 100%;
line-height: 1;
color: rgba(0, 0, 0, 0.8);
content: "\25BC";
position: absolute;
text-align: center;
2021-01-03 18:15:44 +05:30
}
/* Style northward tooltips differently */
.d3-tip.n:after {
2021-01-18 02:18:49 +05:30
margin: -1px 0 0 0;
top: 100%;
left: 0;
2021-01-03 18:15:44 +05:30
}
/* SVG element */
/* Way to add borders in SVG - https://stackoverflow.com/questions/18330344/how-to-add-border-outline-stroke-to-svg-elements-in-css */
.frame {
2021-01-18 02:18:49 +05:30
fill: none;
stroke: rgba(255, 255, 255, 0.25);
stroke-width: 1;
stroke-linecap: round;
stroke-linejoin: round;
2021-01-03 18:15:44 +05:30
}
/* Transparency simulates sub pixel border https://stackoverflow.com/questions/13891177/css-border-less-than-1px */
.d3-flame-graph-label:hover {
2021-01-18 02:18:49 +05:30
border: 1px dotted;
border-color: rgba(255, 255, 255, 0.75);
2021-01-03 18:15:44 +05:30
}
/*
.d3-flame-graph-label:hover {
border: 1px solid;
border-color: rgba(255, 255, 255, 0.75);
} */