70 lines
1.2 KiB
CSS
70 lines
1.2 KiB
CSS
|
html {
|
||
|
overflow-x: scroll;
|
||
|
}
|
||
|
|
||
|
* {
|
||
|
box-sizing: border-box;
|
||
|
}
|
||
|
|
||
|
main {
|
||
|
padding: 5px;
|
||
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
||
|
}
|
||
|
|
||
|
div.gantt {
|
||
|
position: relative;
|
||
|
padding: 25px 0px;
|
||
|
}
|
||
|
|
||
|
div.row {
|
||
|
white-space: nowrap;
|
||
|
position: relative;
|
||
|
height: 2em;
|
||
|
}
|
||
|
|
||
|
div.row:nth-child(even) {
|
||
|
background-color: #f2f2f2;
|
||
|
}
|
||
|
|
||
|
div.row>span.axis-tick {
|
||
|
border-left: 1px solid #777777;
|
||
|
position: absolute;
|
||
|
padding-left: 1ch;
|
||
|
display: inline-block;
|
||
|
height: 100%;
|
||
|
}
|
||
|
|
||
|
div.row>span.axis-tick:nth-of-type(2) {
|
||
|
border-left: 0;
|
||
|
}
|
||
|
|
||
|
div.row>span.job {
|
||
|
display: inline-block;
|
||
|
height: 100%;
|
||
|
border-radius: 3px;
|
||
|
border: 0.5px solid white;
|
||
|
position: absolute;
|
||
|
}
|
||
|
|
||
|
div.row>span.legend {
|
||
|
display: inline-block;
|
||
|
height: 100%;
|
||
|
border-right: 1px solid #777777;
|
||
|
}
|
||
|
|
||
|
span[data-descr]:hover::after,
|
||
|
span[data-descr]:focus::after {
|
||
|
content: attr(data-descr);
|
||
|
position: absolute;
|
||
|
left: 0px;
|
||
|
top: 1.8em;
|
||
|
min-width: 200px;
|
||
|
border: 1px #aaaaaa solid;
|
||
|
border-radius: 10px;
|
||
|
background-color: #ffff8d;
|
||
|
padding: 6px;
|
||
|
color: #000000;
|
||
|
font-size: 14px;
|
||
|
z-index: 1;
|
||
|
white-space: pre;
|
||
|
}
|