guipenedo's picture
guipenedo HF staff
improved viz to include scripts
6a75090 unverified
raw
history blame contribute delete
926 Bytes
body {
font-family: Arial, sans-serif;
margin: 20px;
}
#tree-container {
margin-top: 20px;
}
.node {
cursor: pointer;
}
.node text {
font-size: 12px;
}
.node circle {
stroke: #000;
stroke-width: 1.5px;
}
#tree-container {
position: relative;
width: 100%;
height: 100vh;
overflow: hidden;
}
#language-family-select, #search-bar, #tokenizer-filter, #script-filter {
/*position: absolute;*/
/*top: 10px;*/
background: white;
padding: 5px;
z-index: 10;
}
#tokenizer-filter, #script-filter {
max-height: 200px;
overflow-y: auto;
max-width: 200px;
float:left;
padding-right: 20px;
}
#hover-box {
position: absolute;
background: white;
border: 1px solid #ddd;
padding: 5px;
display: none;
z-index: 10;
}
#controls{
position: absolute;
top: 20px;
left: 20px;
max-width: 400px;
border: 1px solid #ddd;
}