.graph.loading { padding: 1rem; } .graph { position: relative; width: 100%; height: 100%; overflow: hidden; background: linear-gradient( -45deg, rgba(0, 0, 64, 0.2), rgba(128, 0, 64, 0.2) ); } /* Sidebar boxes */ .box { width: 15rem; position: absolute; top: 1rem; right: 1rem; padding: 0.5rem; background: rgba(64,12,64,0.9); border: 2px solid #000; box-shadow: 2px 2px 4px rgba(0,0,0,0.5); } .box h1, .box h2 { font-size: 1rem; margin: 0 0 0.25rem 0; } .box form label { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 0.25rem; } .box input[type=text], .box input[type=number], .box input[type=password] { padding: 0.25rem; max-width: 100%; border-color: #888; } .box textarea { max-width: 100%; height: 5rem; border-color: #888; } .box .text.description span:first-child { display: none; } /* Graph handles */ .handle { position: absolute; border: 2px solid #888; background: #8833dd; padding: 0.25rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 8rem; user-select: none; cursor: arrow; } .handle a { margin-left: 0.25rem; color: #fff; font-weight: bold; text-decoration: none; }