forked from community/product-iots
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
98 lines
1.5 KiB
98 lines
1.5 KiB
body {
|
|
font: 10px sans-serif;
|
|
}
|
|
.axis path,
|
|
.axis line {
|
|
fill: none;
|
|
stroke: #000;
|
|
shape-rendering: crispEdges;
|
|
}
|
|
.point {
|
|
stroke: #000;
|
|
}
|
|
|
|
form {
|
|
margin-top: 25px;
|
|
text-align: center;
|
|
}
|
|
.slider {
|
|
width: 80%;
|
|
display: block;
|
|
margin: 0 auto;
|
|
}
|
|
output {
|
|
display: block;
|
|
margin: 25px auto;
|
|
font-size:2em;
|
|
}
|
|
div.tooltip {
|
|
position: absolute;
|
|
text-align: center;
|
|
width: 60px;
|
|
height: 28px;
|
|
padding: 2px;
|
|
font: 12px sans-serif;
|
|
background: lightsteelblue;
|
|
border: 0px;
|
|
border-radius: 8px;
|
|
pointer-events: none;
|
|
}
|
|
.axis path,
|
|
.axis line {
|
|
fill: none;
|
|
stroke: #000;
|
|
shape-rendering: crispEdges;
|
|
}
|
|
|
|
.bar {
|
|
fill: orange;
|
|
}
|
|
|
|
.bar:hover {
|
|
fill: orangered ;
|
|
}
|
|
|
|
.x.axis path {
|
|
display: none;
|
|
}
|
|
|
|
.d3-tip {
|
|
line-height: 1;
|
|
font-weight: bold;
|
|
padding: 12px;
|
|
background: rgba(0, 0, 0, 0.8);
|
|
color: #fff;
|
|
border-radius: 2px;
|
|
z-index: 1000;
|
|
}
|
|
|
|
/* Creates a small triangle extender for the tooltip */
|
|
.d3-tip:after {
|
|
box-sizing: border-box;
|
|
display: inline;
|
|
font-size: 10px;
|
|
width: 100%;
|
|
line-height: 1;
|
|
color: rgba(0, 0, 0, 0.8);
|
|
content: "\25BC";
|
|
position: absolute;
|
|
text-align: center;
|
|
}
|
|
|
|
/* Style northward tooltips differently */
|
|
.d3-tip.n:after {
|
|
margin: -1px 0 0 0;
|
|
top: 100%;
|
|
left: 0;
|
|
}
|
|
.btn-space {
|
|
margin-right: 30px;
|
|
margin-bottom: 10px;
|
|
margin-top: 10px;
|
|
}
|
|
.element-space{
|
|
margin-right: 30px;
|
|
margin-bottom: 10px;
|
|
margin-top: 10px;
|
|
}
|