Files

102 lines
1.4 KiB
CSS

/*
* d3-gantt.css by @serxa
*/
.chart {
font-family: Arial, sans-serif;
font-size: 12px;
}
rect.zoom-panel {
fill: none;
pointer-events: all;
}
.axis path,.axis line {
fill: none;
stroke: #000;
shape-rendering: crispEdges;
}
.axis.y {
font-size: 9px;
cursor: ns-resize;
}
.axis.x {
font-size: 9px;
}
#ruler {
text-anchor: middle;
alignment-baseline: before-edge;
font-size: 9px;
font-family: sans-serif;
pointer-events: none;
}
.d3-tip {
line-height: 1;
font-weight: bold;
padding: 12px;
background: rgba(0, 0, 0, 0.8);
color: #fff;
border-radius: 2px;
pointer-events: none !important;
user-select: text;
}
.d3-tip.pinned {
pointer-events: auto !important;
}
.d3-tip table {
border-collapse: collapse;
}
.d3-tip td {
padding: 4px 8px;
}
.d3-tip tr:nth-child(even) {
background-color: rgba(255, 255, 255, 0.1);
}
.d3-tip td:nth-child(even) {
text-align: right;
}
/* Style northward tooltips differently */
.d3-tip.n:after {
margin: -1px 0 0 0;
top: 100%;
left: 0;
}
/* for arrowhead marker */
#arrow {
stroke-width:1;
stroke-dasharray:0;
}
.bar {
stroke-width: 1px;
stroke: rgba(0, 0, 0, 0.3);
}
.bar-u {
opacity: 0.2;
}
.bar:hover,
.bar[data-pinned] {
stroke-width: 1px;
stroke: black;
}
#errmsg {
width: 95vw;
margin: 0 auto;
padding: 10px;
}